Skip to content

Commit e243e2b

Browse files
dhruvak001DHRUVA KUMAR KAUSHALpre-commit-ci[bot]dcherian
authored
update dependencies; drop python 3.10 (#10438)
Co-authored-by: DHRUVA KUMAR KAUSHAL <sanjay@MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
1 parent b97ada9 commit e243e2b

File tree

18 files changed

+153
-99
lines changed

18 files changed

+153
-99
lines changed

.binder/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: xarray-examples
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.10
5+
- python=3.11
66
- boto3
77
- bottleneck
88
- cartopy

.github/workflows/ci-additional.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@ jobs:
132132
fail_ci_if_error: false
133133

134134
mypy-min:
135-
name: Mypy 3.10
135+
name: Mypy 3.11
136136
runs-on: "ubuntu-latest"
137137
needs: detect-ci-trigger
138138
defaults:
139139
run:
140140
shell: bash -l {0}
141141
env:
142142
CONDA_ENV_FILE: ci/requirements/environment.yml
143-
PYTHON_VERSION: "3.10"
143+
PYTHON_VERSION: "3.11"
144144

145145
steps:
146146
- uses: actions/checkout@v4
@@ -239,7 +239,7 @@ jobs:
239239
fail_ci_if_error: false
240240

241241
pyright39:
242-
name: Pyright 3.10
242+
name: Pyright 3.11
243243
runs-on: "ubuntu-latest"
244244
needs: detect-ci-trigger
245245
if: |
@@ -252,7 +252,7 @@ jobs:
252252
shell: bash -l {0}
253253
env:
254254
CONDA_ENV_FILE: ci/requirements/environment.yml
255-
PYTHON_VERSION: "3.10"
255+
PYTHON_VERSION: "3.11"
256256

257257
steps:
258258
- uses: actions/checkout@v4

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,18 @@ jobs:
4747
matrix:
4848
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
4949
# Bookend python versions
50-
python-version: ["3.10", "3.13"]
50+
python-version: ["3.11", "3.13"]
5151
env: [""]
5252
include:
5353
# Minimum python version:
5454
- env: "bare-minimum"
55-
python-version: "3.10"
55+
python-version: "3.11"
5656
os: ubuntu-latest
5757
- env: "bare-min-and-scipy"
58-
python-version: "3.10"
58+
python-version: "3.11"
5959
os: ubuntu-latest
6060
- env: "min-all-deps"
61-
python-version: "3.10"
61+
python-version: "3.11"
6262
os: ubuntu-latest
6363
# Latest python version:
6464
- env: "all-but-numba"
@@ -73,7 +73,7 @@ jobs:
7373
# The mypy tests must be executed using only 1 process in order to guarantee
7474
# predictable mypy output messages for comparison to expectations.
7575
- env: "mypy"
76-
python-version: "3.10"
76+
python-version: "3.11"
7777
numprocesses: 1
7878
os: ubuntu-latest
7979
- env: "mypy"

ci/requirements/all-but-numba.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- nodefaults
55
dependencies:
66
# Pin a "very new numpy" (updated Sept 24, 2024)
7-
- numpy>=2.1.1
7+
- numpy>=2.2
88
- aiobotocore
99
- array-api-strict<2.4
1010
- boto3

ci/requirements/bare-min-and-scipy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
- nodefaults
55
dependencies:
6-
- python=3.10
6+
- python=3.11
77
- coveralls
88
- pip
99
- pytest
@@ -12,7 +12,7 @@ dependencies:
1212
- pytest-mypy-plugins
1313
- pytest-timeout
1414
- pytest-xdist
15-
- numpy=1.24
16-
- packaging=23.1
17-
- pandas=2.1
18-
- scipy=1.11
15+
- numpy=1.26
16+
- packaging=24.1
17+
- pandas=2.2
18+
- scipy=1.13

ci/requirements/bare-minimum.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
- nodefaults
55
dependencies:
6-
- python=3.10
6+
- python=3.11
77
- coveralls
88
- pip
99
- pytest
@@ -12,6 +12,6 @@ dependencies:
1212
- pytest-mypy-plugins
1313
- pytest-timeout
1414
- pytest-xdist
15-
- numpy=1.24
16-
- packaging=23.1
17-
- pandas=2.1
15+
- numpy=1.26
16+
- packaging=24.1
17+
- pandas=2.2

ci/requirements/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies:
2323
- ncdata
2424
- netcdf4
2525
- numba
26-
- numpy>=2
26+
- numpy>=2.2
2727
- packaging
2828
- pandas
2929
- pooch

ci/requirements/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies:
2626
- numba
2727
- numbagg
2828
- numexpr
29-
- numpy>=2
29+
- numpy>=2.2
3030
- opt_einsum
3131
- packaging
3232
- pandas

ci/requirements/min-all-deps.yml

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,40 +7,36 @@ dependencies:
77
# Run ci/min_deps_check.py to verify that this file respects the policy.
88
# When upgrading python, numpy, or pandas, must also change
99
# doc/user-guide/installing.rst, doc/user-guide/plotting.rst and setup.py.
10-
- python=3.10
11-
- array-api-strict=1.0 # dependency for testing the array api compat
12-
- boto3=1.29
13-
- bottleneck=1.3
14-
- cartopy=0.22
10+
- python=3.11
11+
- array-api-strict=1.1 # dependency for testing the array api compat
12+
- boto3=1.34
13+
- bottleneck=1.4
14+
- cartopy=0.23
1515
- cftime=1.6
1616
- coveralls
17-
- dask-core=2023.11
18-
- distributed=2023.11
19-
# Flox > 0.8 has a bug with numbagg versions
20-
# It will require numbagg > 0.6
21-
# so we should just skip that series eventually
22-
# or keep flox pinned for longer than necessary
23-
- flox=0.7
17+
- dask-core=2024.6
18+
- distributed=2024.6
19+
- flox=0.9
2420
- h5netcdf=1.3
2521
# h5py and hdf5 tend to cause conflicts
2622
# for e.g. hdf5 1.12 conflicts with h5py=3.1
2723
# prioritize bumping other packages instead
28-
- h5py=3.8
29-
- hdf5=1.12
24+
- h5py=3.11
25+
- hdf5=1.14
3026
- hypothesis
31-
- iris=3.7
32-
- lxml=4.9 # Optional dep of pydap
27+
- iris=3.9
28+
- lxml=5.1 # Optional dep of pydap
3329
- matplotlib-base=3.8
3430
- nc-time-axis=1.4
3531
# netcdf follows a 1.major.minor[.patch] convention
3632
# (see https://github.com/Unidata/netcdf4-python/issues/1090)
37-
- netcdf4=1.6.0
38-
- numba=0.57
39-
- numbagg=0.6
40-
- numpy=1.24
41-
- packaging=23.2
42-
- pandas=2.1
43-
- pint=0.22
33+
- netcdf4=1.6
34+
- numba=0.60
35+
- numbagg=0.8
36+
- numpy=1.26
37+
- packaging=24.1
38+
- pandas=2.2
39+
- pint=0.24
4440
- pip
4541
- pydap=3.5
4642
- pytest
@@ -50,9 +46,8 @@ dependencies:
5046
- pytest-timeout
5147
- pytest-xdist
5248
- rasterio=1.3
53-
- scipy=1.11
49+
- scipy=1.13
5450
- seaborn=0.13
55-
- sparse=0.14
51+
- sparse=0.15
5652
- toolz=0.12
57-
- typing_extensions=4.8
58-
- zarr=2.16
53+
- zarr=2.18

doc/contribute/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ We'll now kick off a two-step process:
290290
.. code-block:: sh
291291
292292
# Create and activate the build environment
293-
conda create -c conda-forge -n xarray-tests python=3.10
293+
conda create -c conda-forge -n xarray-tests python=3.11
294294
295295
# This is for Linux and MacOS
296296
conda env update -f ci/requirements/environment.yml

0 commit comments

Comments
 (0)