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
- stable support for the
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
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_equalby @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_64andarm64architectures. - Restored
cf-unitsdocumentation on readthedocs.
Pull Requests
- PR 264 - Add CI concurrency group (@bjlittle, reviewer @trexfeathers)
- PR 265 -
setuptools-scmupdate (@bjlittle, reviewer @trexfeathers) - PR 269 - CI build wheels for MaxOS (@bjlittle, reviewer @trexfeathers)
- PR 271 - Fix
readthedocs(@bjlittle, reviewer @trexfeathers) - PR 272 -
readthedocsunshallow (@bjlittle, reviewer @trexfeathers) - PR 273 - Update
README.mdbadges (@bjlittle, reviewer @trexfeathers) - PR 275 - Add
readthedocscommon 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
- PR 191 - Add udunits xml to wheel (@bjlittle)
- PR 186 - Build and publish wheels (@ocefpaf)
- PR 193 - Update GH action PyPI publish version (@bjlittle)
- PR 208 - Diagnose CI build failures (@wjbenfold)
- PR 209 - Improve pre-commit config to apply fixes locally (@wjbenfold)
- PR 213 - Make mamba overwrite the existing lockfile on cache miss (@wjbenfold)
- PR 205 - Support gregorian to standard calendar change (@larsbarring)
- PR 214 - Infrastructure refresh (@bjlittle)
- PR 236 - Fix CI failures (@bjlittle)
- PR 237 - Black py310 support (@bjlittle)
- PR 235 - Implement Unit.change_calendar (@rcomer)
- PR 259 - Use GitHub App for lockfile PR token (@bjlittle)
- 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
- 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_day2dateanddate2julian_dayremoved (#168).num2datemethod now returns acftime.datetimeby 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.1
Added a UDUNITS2 -> [La]TeX converter.
cf_units.tex.tex(unit_string)
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
_Unitfactory 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.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