Skip to content

Commit 9565453

Browse files
committed
pre-v3.18.1
1 parent 8cceb9b commit 9565453

File tree

9 files changed

+16
-13
lines changed

9 files changed

+16
-13
lines changed

Changelog.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Version NEXTVERSION
1+
Version 3.18.1
22
--------------
33

4-
**2025-??-??**
4+
**2025-08-20**
55

66
* New methods to allow changing units in a chain: `cf.Field.to_units`,
77
`cf.Data.to_units`
@@ -13,6 +13,7 @@ Version NEXTVERSION
1313
for missing external cell measures data
1414
(https://github.com/NCAS-CMS/cf-python/issues/885)
1515
* New dependency: ``distributed>=2025.5.1``
16+
* Changed dependency: ``cfdm>=1.12.3.0, <1.12.4.0``
1617

1718
----
1819

cf/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
8181
"""
8282

83-
__date__ = "2025-06-05"
84-
__version__ = "3.18.0"
83+
__date__ = "2025-08-20"
84+
__version__ = "3.18.1"
8585

8686
_requires = (
8787
"numpy",
@@ -93,6 +93,7 @@
9393
"dask",
9494
"packaging",
9595
"scipy",
96+
"distributed",
9697
)
9798
x = ", ".join(_requires)
9899
_error0 = f"cf v{__version__} requires the modules {x}. "
@@ -121,8 +122,8 @@
121122
raise ImportError(_error0 + str(error1))
122123
else:
123124
# Check the version of cfdm
124-
_minimum_vn = "1.12.2.0"
125-
_maximum_vn = "1.12.10.0"
125+
_minimum_vn = "1.12.3.0"
126+
_maximum_vn = "1.12.4.0"
126127
_cfdm_version = Version(cfdm.__version__)
127128
if _cfdm_version < Version(_minimum_vn) or _cfdm_version >= Version(
128129
_maximum_vn

cf/data/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7391,7 +7391,7 @@ def to_units(self, units, inplace=False):
73917391
Not to be confused with overriding the units with
73927392
`override_units`
73937393
7394-
.. versionadded:: NEXTVERSION
7394+
.. versionadded:: 3.18.1
73957395
73967396
.. seealso:: `override_units`, `override_calendar`, `Units`,
73977397
`units`, `calendar`

cf/mixin/propertiesdata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4442,7 +4442,7 @@ def to_units(self, units, inplace=False):
44424442
Not to be confused with overriding the units with
44434443
`override_units`
44444444
4445-
.. versionadded:: NEXTVERSION
4445+
.. versionadded:: 3.18.1
44464446
44474447
.. seealso:: `override_units`, `override_calendar`, `Units`,
44484448
`units`, `calendar`

cf/mixin/propertiesdatabounds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3331,7 +3331,7 @@ def to_units(self, units, inplace=False):
33313331
Not to be confused with overriding the units with
33323332
`override_units`
33333333
3334-
.. versionadded:: NEXTVERSION
3334+
.. versionadded:: 3.18.1
33353335
33363336
.. seealso:: `override_units`, `override_calendar`, `Units`,
33373337
`units`, `calendar`

docs/source/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ Required
225225

226226
* `scipy <https://pypi.org/project/scipy>`_, version 1.10.0 or newer.
227227

228-
* `cfdm <https://pypi.org/project/cfdm/>`_, version 1.12.2.0 or up to,
229-
but not including, 1.12.3.0.
228+
* `cfdm <https://pypi.org/project/cfdm/>`_, version 1.12.3.0 or up to,
229+
but not including, 1.12.4.0.
230230

231231
* `cfunits <https://pypi.org/project/cfunits/>`_, version 3.3.7 or newer.
232232

docs/source/releases.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Documentation for all versions of cf.
1616
**CF-1.12**
1717
-----------
1818

19+
* `Version 3.18.1 <https://ncas-cms.github.io/cf-python-docs/3.18.1>`_ (2025-08-20)
1920
* `Version 3.18.0 <https://ncas-cms.github.io/cf-python-docs/3.18.0>`_ (2025-06-05)
2021
* `Version 3.17.0 <https://ncas-cms.github.io/cf-python-docs/3.17.0>`_ (2025-04-02)
2122

@@ -158,7 +159,7 @@ version , and is found in the usual manner:
158159
:caption: *Retrieve the version of the cf package.*
159160
160161
>>> cf.__version__
161-
'3.18.0'
162+
'3.18.1'
162163
163164
The next section outlines the scheme used to set version identifiers.
164165

3.26 KB
Binary file not shown.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
netCDF4>=1.7.2
22
cftime>=1.6.4
33
numpy>=2.0.0
4-
cfdm>=1.12.2.0, <1.12.3.0
4+
cfdm>=1.12.3.0, <1.12.4.0
55
psutil>=0.6.0
66
cfunits>=3.3.7
77
dask>=2025.5.1

0 commit comments

Comments
 (0)