Cf-units

Latest version: v3.3.0

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

3.3.0

A minor release

What's Changed
It has been some time since [v3.2.0](https://github.com/SciTools/cf-units/releases/tag/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](https://github.com/SciTools/cf-units/blob/fec145170b99365947e57b4ff4d6e090668a3735/cf_units/tex.py#L39-L41), 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
<details>

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

</details>

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](https://anaconda.org/conda-forge/cf-units?version=3.3.0&channel=main) and [PyPI](https://pypi.org/project/cf-units/3.3.0/) for `py310`, `py311`, `py312`, and `py313`.

3.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](https://anaconda.org/conda-forge/cf-units?version=3.2.0&channel=main) and [PyPI](https://pypi.org/project/cf-units/3.2.0/) for `py38`, `py39`, `py310` and `py311`.

3.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](https://cf-units.readthedocs.io/en/latest/?badge=latest).

Pull Requests

1. [PR 264](https://github.com/SciTools/cf-units/pull/264) - Add CI concurrency group (bjlittle, reviewer trexfeathers)
2. [PR 265](https://github.com/SciTools/cf-units/pull/265) - `setuptools-scm` update (bjlittle, reviewer trexfeathers)
3. [PR 269](https://github.com/SciTools/cf-units/pull/269) - CI build wheels for MaxOS (bjlittle, reviewer trexfeathers)
4. [PR 271](https://github.com/SciTools/cf-units/pull/271) - Fix `readthedocs` (bjlittle, reviewer trexfeathers)
5. [PR 272](https://github.com/SciTools/cf-units/pull/272) - `readthedocs` unshallow (bjlittle, reviewer trexfeathers)
6. [PR 273](https://github.com/SciTools/cf-units/pull/273) - Update `README.md` badges (bjlittle, reviewer trexfeathers)
7. [PR 275](https://github.com/SciTools/cf-units/pull/275) - Add `readthedocs` common conda environment link (bjlittle, reviewer trexfeathers)

Availability

The `cf-units` v3.1.1 package is available on both [conda-forge](https://anaconda.org/conda-forge/cf-units?version=3.1.1&channel=main) and [PyPI](https://pypi.org/project/cf-units/3.1.1/) for `py38`, `py39` and `py310`.

3.1.0

This minor release includes the following changes:

Pull Requests

1. [PR 191](https://github.com/SciTools/cf-units/pull/191) - Add udunits xml to wheel (bjlittle)
2. [PR 186](https://github.com/SciTools/cf-units/pull/186) - Build and publish wheels (ocefpaf)
3. [PR 193](https://github.com/SciTools/cf-units/pull/193) - Update GH action PyPI publish version (bjlittle)
4. [PR 208](https://github.com/SciTools/cf-units/pull/208) - Diagnose CI build failures (wjbenfold)
5. [PR 209](https://github.com/SciTools/cf-units/pull/209) - Improve pre-commit config to apply fixes locally (wjbenfold)
6. [PR 213](https://github.com/SciTools/cf-units/pull/213) - Make mamba overwrite the existing lockfile on cache miss (wjbenfold)
7. [PR 205](https://github.com/SciTools/cf-units/pull/205) - Support gregorian to standard calendar change (larsbarring)
8. [PR 214](https://github.com/SciTools/cf-units/pull/214) - Infrastructure refresh (bjlittle)
9. [PR 236](https://github.com/SciTools/cf-units/pull/236) - Fix CI failures (bjlittle)
10. [PR 237](https://github.com/SciTools/cf-units/pull/237) - Black py310 support (bjlittle)
11. [PR 235](https://github.com/SciTools/cf-units/pull/235) - Implement Unit.change_calendar (rcomer)
12. [PR 259](https://github.com/SciTools/cf-units/pull/259) - Use GitHub App for lockfile PR token (bjlittle)
13. [PR 261](https://github.com/SciTools/cf-units/pull/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](https://anaconda.org/conda-forge/cf-units?version=3.1.0&channel=main) and [PyPI](https://pypi.org/project/cf-units/3.1.0/) for `py38`, `py39` and `py310`.

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

3.0.1

This patch release includes the following changes:

Pull Requests Merged
1. [PR 183](https://github.com/SciTools/cf-units/pull/183) - Persist calendar when discarding cftime microsecond (bjlittle)

For further details, see the [v3.0.x GitHub Discussion](https://github.com/SciTools/cf-units/discussions/174).

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.