Pint

Latest version: v0.24.4

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

Scan your dependencies

Page 6 of 9

0.6.2

--------------------

- Fix PintType._get_common_dtype (added via 137) to check compatibility of all `PintType`s in `dtypes`

0.6.1

--------------------

- Support for pandas version 3.0
- Fix pandas eval function (needs pandas>=3 to work) 137

0.6

----------------

- Fix dequantify duplicate column failure 202
- Fix astype issue 196
- Support for `__array_ufunc__` and unary ops. 160
- Support for NumPy verson 2
- Minimum Pint version is 0.24
- Minimum Pandas version is 2.2

0.5.2

------------------

- Changed travis config to use miniconda for faster testing.
- Added wheel configuration to setup.cfg.
- Ensure resource streams are closed after reading.
- Require setuptools.
(Issue 169)
- Implemented real, imag and T Quantity properties.
(Issue 171)
- Implemented __int__ and __long__ for Quantity
(Issue 170)
- Fixed SI prefix error on ureg.convert.
(Issue 156, thanks jdreaver)
- Fixed parsing of multiparemeter contexts.
(Issue 174)

0.5.1

------------------

- Implemented a standard way to change the registry used in unpickling operations.
(Issue 148)
- Fix bug where conversion would fail due to caching.
(Issue 140, thanks jdreaver)
- Allow assigning Not a Number to a quantity array.
(Issue 127)
- Decoupled Quantity in place and not in place unit conversion methods.
- Return None in functions that modify quantities in place.
- Improved testing infrastructure to check for unwanted warnings.
- Added test function at the package level to run all tests.

0.5

----------------

- ReadTheDocs Documentation created.
- Support for Pandas version 2.1.0. 196
- Support for dtype-preserving `PintArray.map` for both Pandas 2.0.2 and Pandas 2.1. 196
- Support for <NA> values in columns with integer magnitudes
- Support for magnitudes of any type, such as complex128 or tuples 146
- Support for pandas 2.0, allowing `.cumsum, .cummax, .cummin` methods for `Series` and `DataFrame`. 186
- Support for unit registries with `force_ndarray_like = True`. 165
- A DataFrame/Series.pint.convert_object_dtype() function has been added to create PintArrays from Series of quantities.
- Minimum Pint version is 0.21
- Minimum Pandas version is 2.0

Page 6 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.