Skip to content

Commit 2adb411

Browse files
authored
Adopt pins to fix outstanding dependency problems. (#6773)
* Adopt pins to fix outstanding dependency problems, ready for v3.14.0 release. * Add python<3.14 pin to the pypi dependencies. * Also pin Python<3.14; add issue refs for all 3 pins; add whatsnew. * Move the Python pin from pypi-core.txt into pyproject.toml.
1 parent 295db4d commit 2adb411

File tree

6 files changed

+17
-9
lines changed

6 files changed

+17
-9
lines changed

docs/src/whatsnew/latest.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,12 @@ This document explains the changes made to Iris for this release
129129
:func:`iris.util.mask_cube_from_shape`. These packages support new functionality that
130130
handles additional shapefile types and projections. (:issue:`6126`, :pull:`6129`)
131131

132+
#. `@pp-mo`_ added a temporary dependency pins for Python<3.14, dask<2025.10.0 and
133+
netCDF4<1.7.3. All of these introduce problems that won't necessarily be fixed soon,
134+
so we anticipate that these pins will be wanted for the v3.14 release.
135+
(:issue:`6775`, :issue:`6776`, :issue:`6777`, :pull:`6773`)
136+
137+
132138
📚 Documentation
133139
================
134140

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ keywords = [
5050
license = "BSD-3-Clause"
5151
license-files = ["LICENSE"]
5252
name = "scitools-iris"
53-
requires-python = ">=3.11"
53+
# NOTE: currently pinning to avoid Python 3.14
54+
# see : https://github.com/SciTools/iris/issues/6775
55+
requires-python = ">=3.11,<3.14"
5456

5557
[project.urls]
5658
Code = "https://github.com/SciTools/iris"

requirements/py311.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ dependencies:
1414
- cartopy >=0.21
1515
- cf-units >=3.1
1616
- cftime >=1.5
17-
- dask-core >=2025.1.0 # github.com/SciTools/iris/issues/6264
17+
- dask-core >=2025.1.0,<2025.10.0 # https://github.com/SciTools/iris/issues/6776
1818
- libnetcdf !=4.9.1
1919
- matplotlib-base >=3.5, !=3.9.1
20-
- netcdf4
20+
- netcdf4<1.7.3 # https://github.com/SciTools/iris/issues/6777
2121
- numpy >=1.24, !=1.24.3
2222
- python-xxhash
2323
- pyproj

requirements/py312.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ dependencies:
1414
- cartopy >=0.21
1515
- cf-units >=3.1
1616
- cftime >=1.5
17-
- dask-core >=2025.1.0 # github.com/SciTools/iris/issues/6264
17+
- dask-core >=2025.1.0,<2025.10.0 # https://github.com/SciTools/iris/issues/6776
1818
- libnetcdf !=4.9.1
1919
- matplotlib-base >=3.5, !=3.9.1
20-
- netcdf4
20+
- netcdf4<1.7.3 # https://github.com/SciTools/iris/issues/6777
2121
- numpy >=1.24, !=1.24.3
2222
- python-xxhash
2323
- pyproj

requirements/py313.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ dependencies:
1414
- cartopy >=0.21
1515
- cf-units >=3.1
1616
- cftime >=1.5
17-
- dask-core >=2025.1.0 # github.com/SciTools/iris/issues/6264
17+
- dask-core >=2025.1.0,<2025.10.0 # https://github.com/SciTools/iris/issues/6776
1818
- libnetcdf !=4.9.1
1919
- matplotlib-base >=3.5, !=3.9.1
20-
- netcdf4
20+
- netcdf4<1.7.3 # https://github.com/SciTools/iris/issues/6777
2121
- numpy >=1.24, !=1.24.3
2222
- python-xxhash
2323
- pyproj

requirements/pypi-core.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
cartopy>=0.21
22
cf-units>=3.1
33
cftime>=1.5.0
4-
dask[array]>=2025.1.0 # github.com/SciTools/iris/issues/6264
4+
dask[array]>=2025.1.0,<2025.10.0 # https://github.com/SciTools/iris/issues/6776
55
# libnetcdf!=4.9.1 (not available on PyPI)
66
matplotlib>=3.5
7-
netcdf4
7+
netcdf4<1.7.3 # https://github.com/SciTools/iris/issues/6777
88
numpy>=1.24,!=1.24.3
99
pyproj
1010
scipy

0 commit comments

Comments
 (0)