Skip to content

Commit 1900f03

Browse files
committed
neCDF4 and cfunits dependencies
1 parent 772ffc9 commit 1900f03

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

Changelog.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ version 3.16.2
3535
* Fix bug whereby `Field.cyclic` is not updated after a
3636
`Field.del_construct` operation
3737
(https://github.com/NCAS-CMS/cf-python/issues/758)
38-
38+
* Changed dependency: ``cfunits>=3.3.7``
39+
* Changed dependency: ``netCDF4>=1.6.5``
40+
3941
----
4042

4143
version 3.16.1

cf/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
)
168168

169169
# Check the version of netCDF4
170-
_minimum_vn = "1.5.4"
170+
_minimum_vn = "1.6.5"
171171
if Version(netCDF4.__version__) < Version(_minimum_vn):
172172
raise RuntimeError(
173173
f"Bad netCDF4 version: cf requires netCDF4>={_minimum_vn}. "
@@ -191,7 +191,7 @@
191191
)
192192

193193
# Check the version of cfunits
194-
_minimum_vn = "3.3.6"
194+
_minimum_vn = "3.3.7"
195195
if Version(cfunits.__version__) < Version(_minimum_vn):
196196
raise RuntimeError(
197197
f"Bad cfunits version: cf requires cfunits>={_minimum_vn}. "

docs/source/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Required
196196

197197
* `dask <https://pypi.org/project/dask/>`_, 2022.12.1 or newer.
198198

199-
* `netCDF4 <https://pypi.org/project/netcdf4/>`_, 1.5.4 or newer.
199+
* `netCDF4 <https://pypi.org/project/netcdf4/>`_, 1.6.5 or newer.
200200

201201
* `cftime <https://pypi.org/project/cftime/>`_, version 1.6.2 or newer
202202
(note that this package may be installed with netCDF4).
@@ -206,7 +206,7 @@ Required
206206
* `cfdm <https://pypi.org/project/cfdm/>`_, version 1.11.1.0 or up to,
207207
but not including, 1.11.2.0.
208208

209-
* `cfunits <https://pypi.org/project/cfunits/>`_, version 3.3.6 or newer.
209+
* `cfunits <https://pypi.org/project/cfunits/>`_, version 3.3.7 or newer.
210210

211211
* `psutil <https://pypi.org/project/psutil/>`_, version 0.6.0 or newer.
212212

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
netCDF4>=1.5.4
1+
netCDF4>=1.6.5
22
cftime>=1.6.2
33
numpy>=1.22
44
cfdm>=1.11.1.0, <1.11.2.0
55
psutil>=0.6.0
6-
cfunits>=3.3.6
6+
cfunits>=3.3.7
77
dask>=2022.12.1
88
packaging>=20.0
99
scipy>=1.10.0

0 commit comments

Comments
 (0)