Recent Releases of cf-units

cf-units - v3.3.0

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 : https://github.com/SciTools/cf-units/compare/v3.2.0...v3.3.0

New contributors

  • @HGWright made their first contribution in #376
  • @ukmo-ccbunney made their first contribution in #456
  • @stephenworsley made their first contribution in #488
  • @bouweandela made their first contribution in #436

Availability

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

- Python
Published by pp-mo over 1 year ago

cf-units - v3.2.0

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

  • Deprecate cf_units.util.approx_equal by @rcomer in https://github.com/SciTools/cf-units/pull/316
  • setup method is not a test by @rcomer in https://github.com/SciTools/cf-units/pull/332
  • Relicense from LGPL-3 to BSD-3 by @lbdreyer in https://github.com/SciTools/cf-units/pull/331

Full Changelog: https://github.com/SciTools/cf-units/compare/v3.1.1...v3.2.0

New Contributors

  • @lbdreyer made their first contribution in https://github.com/SciTools/cf-units/pull/331

Availability

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

- Python
Published by bjlittle almost 3 years ago

cf-units - v3.1.1

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.

- Python
Published by bjlittle over 3 years ago

cf-units - v3.1.0

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 :tada: :partying_face:

Availability

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

- Python
Published by bjlittle over 3 years ago

cf-units - v3.0.1.post0

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.

- Python
Published by bjlittle over 4 years ago

cf-units - v3.0.1

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.

- Python
Published by bjlittle over 4 years ago

cf-units - v3.0.0

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).

- Python
Published by trexfeathers over 4 years ago

cf-units - v2.1.5

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.

- Python
Published by trexfeathers almost 5 years ago

cf-units - v2.1.4

  • This patch releases moves cython from a run requirement to a setup (build) requirement.

- Python
Published by ocefpaf almost 6 years ago

cf-units - v2.1.3

This patch release includes the following changes: * Unpin numpy<1.17.0 (https://github.com/SciTools/cf-units/pull/154)

- Python
Published by bjlittle over 6 years ago

cf-units - v2.1.2

This patch release includes the following changes: * Fix to deal with non-Unit equality (#150, #149) * Fixes to setup.py, primarily for correctly setting __NUMPY_SETUP__ on __builtins__ (#153, #152, #151)

- Python
Published by bjlittle over 6 years ago

cf-units - v2.1.1

  • Added a UDUNITS2 -> [La]TeX converter. cf_units.tex.tex(unit_string)

    tex

  • In order to solve the above, a formal UDUNITS2 grammar and a private parser API was added (#140)

  • Support for unicode units (e.g. cf_units.Unit('π m²')) (#135, #137)

  • Replaced use of private _Unit factory function (#131)

  • Improve py38 compatibility (#142)

  • Better UDUNITS2 exception handling for py3 (#136)

  • Allow pip install without needing numpy pre-installed (#145)

- Python
Published by pelson about 7 years ago

cf-units - v2.1.0

- Python
Published by pelson about 7 years ago

cf-units - v2.0.2

cf_units was renamed to cf-units for broader consistency with the scientific python naming practices

- Python
Published by pelson over 7 years ago

cf-units - v2.0.1

Fix source tar-ball distribution, which was missing necessary cython files.

- Python
Published by pelson almost 8 years ago

cf-units - v2.0.0

Technically, this release should have no breaking changes between v1.x and v2.x.

However, the major change in this release is that udunits is now wrapped via cython, not ctypes. This is in response to costly import times being experienced on distributed filesystems such as Lustre (where gcc was being called to identify the libudunits.so path).

This means that the cf_units/site.cfg is now no longer used to identify the location of libudunits, and standard LD library path definitions may be used instead.

- Python
Published by pelson almost 8 years ago

cf-units - v1.2.0

  • Use succinct unit string for str (#79)
  • Handle reference time units of months & years appropriately (#72)

- Python
Published by pelson about 8 years ago

cf-units - v1.1.3

Fix for num2date/date2num allowing support for multi-dimensional arrays.

- Python
Published by DPeterK over 9 years ago

cf-units - v1.1.2

Bug fix: https://github.com/SciTools/cf_units/pull/66 Ensure dates are rounded to nearest second when using netcdf4-python. The netcdf4-python behaviour changed between v1.1.1 and 1.2.2. This release is insulated from that change.

- Python
Published by marqh over 9 years ago

cf-units - v1.1.1

Cross platform bug fix to correctly load udunits2 xml database from site.cfg

- Python
Published by bjlittle over 9 years ago

cf-units - v1.1

Documentation: http://scitools.org.uk/cf_units/index.html

Bug fix to handle calendars when creating a cf_unit from another type of unit

- Python
Published by marqh about 10 years ago

cf-units - v1.0.0

Refactor of cf_units files.

Get cf_units ready for drop-in to Iris.

- Python
Published by DPeterK over 10 years ago

cf-units - v0.1.1

  • Python 3 support

- Python
Published by ocefpaf over 10 years ago

cf-units - v0.1.0

First stable release v0.1.0

- Python
Published by ocefpaf almost 11 years ago

cf-units - First release

A fork of iris.unit

- Python
Published by ocefpaf almost 11 years ago