Skip to content

Releases: SciTools/cf-units

v3.3.0

31 Oct 17:20
fec1451
Compare
Choose a tag to compare

A minor release

What's Changed

It has been some time since v3.2.0
As a result, supported versions of various dependencies have changed significantly

Highlights

  • now tested and built with 3.10, 3.11, 3.12, 3.13 (#512)
  • now compatible with numpy v2 (#488)
    • note : backwards-compatibility with v1 is expected, but no longer tested
  • vendored the antlr4 runtime library (#487)
    • stable support for the tex() function, with no install dependency on ANTLR4-python

Other user-relevant changes

  • Avoid issues with LC_NUMERIC locale (#436)
  • Read the Docs fixes and modernisation (#489)
  • Update docstring for date2num (module function) (#483)
  • Updated docstring for num2date. (#467)
  • Fully support Python 3.12 (#461)
  • nep29 drop numpy 1.22 (#400)
  • Update contributing guidelines in line with v5 SciTools CLA. (#398)
  • Remove in-house long time interval checking. (#279)
  • Adopt microsecond precision in num2date and date2num (#184)

All non-automated changes

  • Fix ci-tests env generation, align with ci-locks. (#481)
  • Vendor the antlr4 runtime library (#487)
  • Avoid issues with LC_NUMERIC locale (#436)
  • Fix lock file action to work with artifacts v4. (#499)
  • Use the Codecov GitHub Action (#497)
  • Use unshallow Git fetch for setuptools-scm (Read the Docs) (#491)
  • Artifact Actions v4 (#493)
  • updated conda lock files (#495)
  • Read the Docs fixes and modernisation (#489)
  • support numpy 2 (#488)
  • Update docstring for date2num (module function) (#483)
  • Modernise setup scripts (#484)
  • Make antlr optional (#423)
  • Ruff: smaller steps (#364)
  • Updated docstring for num2date. (#467)
  • updated conda lock files (#479)
  • Revert to 00:03 Mondays for lockfile updates. (#480)
  • New trigger time for GMT. (#478)
  • Check lockfile updates @ 3pm daily (temporary for testing). (#477)
  • Fixlocks (#470)
  • Adopt cython3 (require >=3) (#460)
  • Add repo-review (#456)
  • Fully support Python 3.12 (#461)
  • Fix for bad git path in GHA macos instances. (#464)
  • test macos wheels (#458)
  • Fixes for CI wheels (#455)
  • Dependabot check weekly. (#439)
  • nep29 drop numpy 1.22 (#400)
  • Update contributing guidelines in line with v5 SciTools CLA. (#398)
  • Remove in-house long time interval checking. (#279)
  • clean-cython unlink (#359)
  • explicitly set cython language_level (#358)
  • remove CHANGES (#351)
  • Add py 3.12 exception to ci-wheels.yml (#376)
  • reorganise readme badges (#352)
  • refresh supported python distros (#357)
  • Adopt microsecond precision in num2date and date2num (#184)
  • support py311 locks (#348)
  • pin tox (#355)

COMPLETE changelog : v3.2.0...v3.3.0

New contributors

Availability

The cf-units v3.3.0 package is available on both conda-forge and PyPI for py310, py311, py312, and py313.

v3.2.0

17 Apr 15:11
cf4d66d
Compare
Choose a tag to compare

This is a light minor release of cf-units, which for the first time will also include the binary wheel for python 3.11.

What's Changed

Full Changelog: v3.1.1...v3.2.0

New Contributors

Availability

The cf-units v3.2.0 package is available on both conda-forge and PyPI for py38, py39, py310 and py311.

v3.1.1

12 Jul 15:19
1e3990f
Compare
Choose a tag to compare

This patch release includes the following changes:

Highlights

  • Extended PyPI wheels support to MacOS on x86_64 and arm64 architectures.
  • Restored cf-units documentation on readthedocs.

Pull Requests

  1. PR 264 - Add CI concurrency group (@bjlittle, reviewer @trexfeathers)
  2. PR 265 - setuptools-scm update (@bjlittle, reviewer @trexfeathers)
  3. PR 269 - CI build wheels for MaxOS (@bjlittle, reviewer @trexfeathers)
  4. PR 271 - Fix readthedocs (@bjlittle, reviewer @trexfeathers)
  5. PR 272 - readthedocs unshallow (@bjlittle, reviewer @trexfeathers)
  6. PR 273 - Update README.md badges (@bjlittle, reviewer @trexfeathers)
  7. PR 275 - Add readthedocs common conda environment link (@bjlittle, reviewer @trexfeathers)

Availability

The cf-units v3.1.1 package is available on both conda-forge and PyPI for py38, py39 and py310.

v3.1.0

01 Jul 09:33
692d6b3
Compare
Choose a tag to compare

This minor release includes the following changes:

Pull Requests

  1. PR 191 - Add udunits xml to wheel (@bjlittle)
  2. PR 186 - Build and publish wheels (@ocefpaf)
  3. PR 193 - Update GH action PyPI publish version (@bjlittle)
  4. PR 208 - Diagnose CI build failures (@wjbenfold)
  5. PR 209 - Improve pre-commit config to apply fixes locally (@wjbenfold)
  6. PR 213 - Make mamba overwrite the existing lockfile on cache miss (@wjbenfold)
  7. PR 205 - Support gregorian to standard calendar change (@larsbarring)
  8. PR 214 - Infrastructure refresh (@bjlittle)
  9. PR 236 - Fix CI failures (@bjlittle)
  10. PR 237 - Black py310 support (@bjlittle)
  11. PR 235 - Implement Unit.change_calendar (@rcomer)
  12. PR 259 - Use GitHub App for lockfile PR token (@bjlittle)
  13. PR 261 - Update ci-wheels GHA for tags release (@bjlittle)

Thank you to all our contributors 🎉 🥳

Availability

The cf-units v3.1.0 package is available on both conda-forge and PyPI for py38, py39 and py310.

v3.0.1.post0

04 Aug 11:58
6e42f39
Compare
Choose a tag to compare

This v3.0.1.post0 patch release includes additional infrastructure to support the automated building and publishing of manylinux wheels to PyPI.

All features are the same as the v3.0.1 patch release.

v3.0.1

30 Jun 14:14
5aa890a
Compare
Choose a tag to compare

This patch release includes the following changes:

Pull Requests Merged

  1. PR 183 - Persist calendar when discarding cftime microsecond (@bjlittle)

For further details, see the v3.0.x GitHub Discussion.

v3.0.0

24 Jun 13:09
5475a85
Compare
Choose a tag to compare

Adopts the latest cftime (v1.5) behaviour, including breaking changes.

  • utime, julian_day2date and date2julian_day removed (#168).
  • num2date method now returns a cftime.datetime by default, with options to override this (#168, #172).
  • Improvements to type preservation during conversion (#164).

v2.1.5

11 May 15:09
855077c
Compare
Choose a tag to compare

This is a bugfix to restore the num2date and utime behaviour to that before cftime v1.1, which saw a change to return cftime.datetime objects by default (#165).

Also drops Python 2 since that is now out of support (#157).

The next cf-units release should be a major release, which explicitly adopts and documents cftime's post-1.1 behaviour referenced above.

v2.1.4

21 Mar 12:45
a3eeaf1
Compare
Choose a tag to compare
  • This patch releases moves cython from a run requirement to a setup (build) requirement.

v2.1.3

02 Aug 07:26
47830e0
Compare
Choose a tag to compare

This patch release includes the following changes:

  • Unpin numpy<1.17.0 (#154)