hgrecco/pint (pint)
### [`v0.22`](https://togithub.com/hgrecco/pint/blob/HEAD/CHANGES#022-2023-05-25)
[Compare Source](https://togithub.com/hgrecco/pint/compare/0.21.1...0.22)
- Drop Python 3.8 compatability following NEP-29.
- Drop NumPy < 1.21 following NEP-29.
- Improved typing experience.
- Migrated fully to pyproject.toml.
- Migrated to ruff.
- In order to make static typing possible as required by mypy
and similar tools, the way to subclass the registry has been
changed.
- Allow non-quantity atol parameters for isclose and allclose.
(PR [#1783](https://togithub.com/hgrecco/pint/issues/1783))
### [`v0.21.1`](https://togithub.com/hgrecco/pint/compare/0.21...0.21.1)
[Compare Source](https://togithub.com/hgrecco/pint/compare/0.21...0.21.1)
### [`v0.21`](https://togithub.com/hgrecco/pint/blob/HEAD/CHANGES#021-2023-05-01)
[Compare Source](https://togithub.com/hgrecco/pint/compare/0.20.1...0.21)
- Add PEP621/631 support.
(Issue [#1647](https://togithub.com/hgrecco/pint/issues/1647))
- Exposed matplotlib unit formatter (PR [#1703](https://togithub.com/hgrecco/pint/issues/1703))
- Fix error when when re-registering a formatter.
(PR [#1629](https://togithub.com/hgrecco/pint/issues/1629))
- Add new SI prefixes: ronna-, ronto-, quetta-, quecto-.
(PR [#1652](https://togithub.com/hgrecco/pint/issues/1652))
- Fix unit check with `atol` using `np.allclose` & `np.isclose`.
(Issue [#1658](https://togithub.com/hgrecco/pint/issues/1658))
- Implementation for numpy.positive added for Quantity.
(PR [#1663](https://togithub.com/hgrecco/pint/issues/1663))
- Changed frequency to angular frequency in the docs.
(PR [#1668](https://togithub.com/hgrecco/pint/issues/1668))
- Remove deprecated `alen` numpy function
(PR [#1678](https://togithub.com/hgrecco/pint/issues/1678))
- Updated URLs for log and offset unit errors.
(PR [#1727](https://togithub.com/hgrecco/pint/issues/1727))
- Patched TYPE_CHECKING import regression.
(PR [#1686](https://togithub.com/hgrecco/pint/issues/1686))
- Parse '°' along with previous text, rather than adding a space,
allowing, eg 'Δ°C' as a unit.
(PR [#1729](https://togithub.com/hgrecco/pint/issues/1729))
- Improved escaping of special characters for LaTeX format
(PR [#1712](https://togithub.com/hgrecco/pint/issues/1712))
- Avoid addition of spurious trailing zeros when converting units and non-int-type is
Decimal (PR [#1625](https://togithub.com/hgrecco/pint/issues/1625)).
- Implementation for numpy.delete added for Quantity.
(PR [#1669](https://togithub.com/hgrecco/pint/issues/1669))
- Fixed Quantity type returned from `__dask_postcompute__`.
(PR [#1722](https://togithub.com/hgrecco/pint/issues/1722))
- Added Townsend unit
(PR [#1738](https://togithub.com/hgrecco/pint/issues/1738))
- Fix get_compatible_units() in dynamically added units.
(Issue [#1725](https://togithub.com/hgrecco/pint/issues/1725))
- Fix pint-convert script
(Issue [#1646](https://togithub.com/hgrecco/pint/issues/1646))
- Honor non_int_type when dividing.
(Issue [#1505](https://togithub.com/hgrecco/pint/issues/1505))
- Fix `trapz`, `dot`, and `cross` to work properly with non-multiplicative units
(Issue [#1593](https://togithub.com/hgrecco/pint/issues/1593))
##### Breaking Changes
- Support percent and ppm units. Support the `%` symbol.
(Issue [#1277](https://togithub.com/hgrecco/pint/issues/1277))
- Fix error when parsing subtraction operator followed by white space.
(PR [#1701](https://togithub.com/hgrecco/pint/issues/1701))
- Removed Td as an alias for denier (within the Textile group)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.20.1
->0.22
Release Notes
hgrecco/pint (pint)
### [`v0.22`](https://togithub.com/hgrecco/pint/blob/HEAD/CHANGES#022-2023-05-25) [Compare Source](https://togithub.com/hgrecco/pint/compare/0.21.1...0.22) - Drop Python 3.8 compatability following NEP-29. - Drop NumPy < 1.21 following NEP-29. - Improved typing experience. - Migrated fully to pyproject.toml. - Migrated to ruff. - In order to make static typing possible as required by mypy and similar tools, the way to subclass the registry has been changed. - Allow non-quantity atol parameters for isclose and allclose. (PR [#1783](https://togithub.com/hgrecco/pint/issues/1783)) ### [`v0.21.1`](https://togithub.com/hgrecco/pint/compare/0.21...0.21.1) [Compare Source](https://togithub.com/hgrecco/pint/compare/0.21...0.21.1) ### [`v0.21`](https://togithub.com/hgrecco/pint/blob/HEAD/CHANGES#021-2023-05-01) [Compare Source](https://togithub.com/hgrecco/pint/compare/0.20.1...0.21) - Add PEP621/631 support. (Issue [#1647](https://togithub.com/hgrecco/pint/issues/1647)) - Exposed matplotlib unit formatter (PR [#1703](https://togithub.com/hgrecco/pint/issues/1703)) - Fix error when when re-registering a formatter. (PR [#1629](https://togithub.com/hgrecco/pint/issues/1629)) - Add new SI prefixes: ronna-, ronto-, quetta-, quecto-. (PR [#1652](https://togithub.com/hgrecco/pint/issues/1652)) - Fix unit check with `atol` using `np.allclose` & `np.isclose`. (Issue [#1658](https://togithub.com/hgrecco/pint/issues/1658)) - Implementation for numpy.positive added for Quantity. (PR [#1663](https://togithub.com/hgrecco/pint/issues/1663)) - Changed frequency to angular frequency in the docs. (PR [#1668](https://togithub.com/hgrecco/pint/issues/1668)) - Remove deprecated `alen` numpy function (PR [#1678](https://togithub.com/hgrecco/pint/issues/1678)) - Updated URLs for log and offset unit errors. (PR [#1727](https://togithub.com/hgrecco/pint/issues/1727)) - Patched TYPE_CHECKING import regression. (PR [#1686](https://togithub.com/hgrecco/pint/issues/1686)) - Parse '°' along with previous text, rather than adding a space, allowing, eg 'Δ°C' as a unit. (PR [#1729](https://togithub.com/hgrecco/pint/issues/1729)) - Improved escaping of special characters for LaTeX format (PR [#1712](https://togithub.com/hgrecco/pint/issues/1712)) - Avoid addition of spurious trailing zeros when converting units and non-int-type is Decimal (PR [#1625](https://togithub.com/hgrecco/pint/issues/1625)). - Implementation for numpy.delete added for Quantity. (PR [#1669](https://togithub.com/hgrecco/pint/issues/1669)) - Fixed Quantity type returned from `__dask_postcompute__`. (PR [#1722](https://togithub.com/hgrecco/pint/issues/1722)) - Added Townsend unit (PR [#1738](https://togithub.com/hgrecco/pint/issues/1738)) - Fix get_compatible_units() in dynamically added units. (Issue [#1725](https://togithub.com/hgrecco/pint/issues/1725)) - Fix pint-convert script (Issue [#1646](https://togithub.com/hgrecco/pint/issues/1646)) - Honor non_int_type when dividing. (Issue [#1505](https://togithub.com/hgrecco/pint/issues/1505)) - Fix `trapz`, `dot`, and `cross` to work properly with non-multiplicative units (Issue [#1593](https://togithub.com/hgrecco/pint/issues/1593)) ##### Breaking Changes - Support percent and ppm units. Support the `%` symbol. (Issue [#1277](https://togithub.com/hgrecco/pint/issues/1277)) - Fix error when parsing subtraction operator followed by white space. (PR [#1701](https://togithub.com/hgrecco/pint/issues/1701)) - Removed Td as an alias for denier (within the Textile group)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.