Accepting request 819258 from home:mcalabkova:branches:devel:languages:python:numeric
- update to 0.14
* Changes required to support Pint-Pandas 0.1.
* Reinstated support for pickle protocol 0 and 1, which is required by pytables
(Issue #1036, Thanks Guido Imperiale)
* Fixed bug with multiplication of Quantity by dict (Issue #1032)
* 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.
(Issue #1050, Thanks Guido Imperiale)
* NaN is now treated the same as zero in addition, subtraction, equality, and
disequality (Issue #1051, Thanks Guido Imperiale)
* 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
(Issues #1062 and #1097, Thanks Guido Imperiale)
* 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.
(Issue #814)
* Added link to budding `pint-xarray` interface library to the docs, next to
the link to pint*pandas. (Thanks Tom Nicholas.)
* Removed outdated `_dir` attribute of `UnitsRegistry`, and added `__iter__`
method so that now `list(ureg)` returns a list of all units in registry.
(Issue #1072, Thanks Tom Nicholas)
* Replace pkg_resources.version to importlib.metadata.version. (Issue #1083)
* Fix typo in docs for wraps example with optional arguments. (Issue #1088)
* Add momentum as a dimension
* Fixed a bug where unit exponents were only partially superscripted in HTML format
OBS-URL: https://build.opensuse.org/request/show/819258
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-Pint?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
ea8ffb227e
commit
7925e8d4fe
@@ -1,3 +1,50 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 7 10:45:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to 0.14
|
||||
* Changes required to support Pint-Pandas 0.1.
|
||||
* Reinstated support for pickle protocol 0 and 1, which is required by pytables
|
||||
(Issue #1036, Thanks Guido Imperiale)
|
||||
* Fixed bug with multiplication of Quantity by dict (Issue #1032)
|
||||
* 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.
|
||||
(Issue #1050, Thanks Guido Imperiale)
|
||||
* NaN is now treated the same as zero in addition, subtraction, equality, and
|
||||
disequality (Issue #1051, Thanks Guido Imperiale)
|
||||
* 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
|
||||
(Issues #1062 and #1097, Thanks Guido Imperiale)
|
||||
* 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.
|
||||
(Issue #814)
|
||||
* Added link to budding `pint-xarray` interface library to the docs, next to
|
||||
the link to pint*pandas. (Thanks Tom Nicholas.)
|
||||
* Removed outdated `_dir` attribute of `UnitsRegistry`, and added `__iter__`
|
||||
method so that now `list(ureg)` returns a list of all units in registry.
|
||||
(Issue #1072, Thanks Tom Nicholas)
|
||||
* Replace pkg_resources.version to importlib.metadata.version. (Issue #1083)
|
||||
* Fix typo in docs for wraps example with optional arguments. (Issue #1088)
|
||||
* 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
|
||||
(Issue #1108, Thanks Guido Imperiale)
|
||||
* Fixed crash when some specific combinations of contexts were enabled
|
||||
(Issue #1112, Thanks Guido Imperiale)
|
||||
* Added support for checking prefixed units using `in` keyword (Issue #1086)
|
||||
* Updated many examples in the documentation to reflect Pint's current behavior
|
||||
* Add full support for Decimal and Fraction at the registry level.
|
||||
**BREAKING CHANGE**:
|
||||
`use_decimal` is deprecated. Use `non_int_type=Decimal` when instantiating
|
||||
the registry.
|
||||
* Fixed bug where numpy.pad didn't work without specifying constant_values or
|
||||
end_values (Issue #1026)
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 3 11:26:14 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user