diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2020-06-23 12:51:35 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-06-25 10:21:38 -0700 |
commit | c5a3d25c10e9f1d3ffbe50a9e760644acdb9cd0b (patch) | |
tree | a116f8c656bc38d7cbcd9f3f8db21a035ffc302a /meta-python/recipes-devtools/python/python3-sqlparse | |
parent | b2bab59b880ff46ca7d52584367d73c4e78c89eb (diff) | |
download | meta-openembedded-c5a3d25c10e9f1d3ffbe50a9e760644acdb9cd0b.tar.gz |
python3-pint: Upgrade 0.12 -> 0.13
Upgrade to release 0.13:
- Reinstated support for pickle protocol 0 and 1, which is
required by pytables
- Fixed bug with multiplication of Quantity by dict
- Bare zeros and NaNs (not wrapped by Quantity) are now gracefully
accepted by all numpy operations; e.g. np.stack
([Quantity([1, 2], "m"), [0, np.nan]) is now valid, whereas
np.stack([Quantity([1, 2], "m"), [3, 4]) will continue raising
DimensionalityError.
- NaN is now treated the same as zero in addition, subtraction,
equality, and disequality
- Fixed issue where quantities with a very large magnitude would
throw an IndexError when using to_compact()
- Fixed crash when a Unit with prefix is declared for the first
time while a Context containing unit redefinitions is active
- New implementation of 'Lx' String Format Type Option
The old implementation treated 'Lx' as 'S' as produced by
'uncertainties' package, but that is not fully compatible with
SIunitx. The new code protects SIunitx by fixing what
unceratinties produces.
- Added link to budding `pint-xarray` interface library to the
docs, next to the link to pint-pandas.
- Removed outdated `_dir` attribute of `UnitsRegistry`, and added
`__iter__` method so that now `list(ureg)` returns a list of
all units in registry.
- Replace pkg_resources.version to importlib.metadata.version.
- Fix typo in docs for wraps example with optional arguments.
- Add momentum as a dimension
- Fixed a bug where unit exponents were only partially
superscripted in HTML format
- Multiple contexts containing the same redefinition can now be
stacked
- Fixed crash when some specific combinations of contexts were
enabled
- Added support for checking prefixed units using `in` keyword
- Updated many examples in the documentation to reflect Pint's
current behavior
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-sqlparse')
0 files changed, 0 insertions, 0 deletions