Overview

Request 805764 accepted

- Package requires pytest 4.x or newer

- Remove py2 dep as the package is marked as python3 only

- Update to 0.10.1
* Fixed bug introduced in 0.10 that prevented creation of size-zero Quantities
from NumPy arrays by multiplication.
* Fixed several Sphinx issues. Fixed intersphinx hooks to all classes missing.
* Fixed __array__ signature to match numpy docs
- Update to 0.10
* **BREAKING CHANGE**:
Boolean value of Quantities with offsets units is ambiguous, and so, now a ValueError
is raised when attempting to cast such a Quantity to boolean.
* **BREAKING CHANGE**:
`__array_ufunc__` has been implemented on `pint.Unit` to permit
multiplication/division by units on the right of ufunc-reliant array types (like
Sparse) with proper respect for the type casting hierarchy. However, until an
upstream issue with NumPy is resolved,
this breaks creation of Masked Array Quantities by multiplication on the right.
* Documentation on Pint's array type compatibility has been added to the NumPy support
page, including a graph of the duck array type casting hierarchy as understood by Pint
for N-dimensional arrays.
* Improved compatibility for downcast duck array types like Sparse.COO. A collection
of basic tests has been added.
* Improvements to wraps and check:
> fail upon decoration (not execution) by checking wrapped function signature against
wraps/check arguments.
(might BREAK test code)
> wraps only accepts strings and Units (not quantities) to avoid confusion with magnitude.
(might BREAK code not conforming to documentation)

Loading...

Origin Manager's avatar

Previous comment no longer relevant.

Request History
Tomáš Chvátal's avatar

scarabeus_iv created request

- Package requires pytest 4.x or newer

- Remove py2 dep as the package is marked as python3 only

- Update to 0.10.1
* Fixed bug introduced in 0.10 that prevented creation of size-zero Quantities
from NumPy arrays by multiplication.
* Fixed several Sphinx issues. Fixed intersphinx hooks to all classes missing.
* Fixed __array__ signature to match numpy docs
- Update to 0.10
* **BREAKING CHANGE**:
Boolean value of Quantities with offsets units is ambiguous, and so, now a ValueError
is raised when attempting to cast such a Quantity to boolean.
* **BREAKING CHANGE**:
`__array_ufunc__` has been implemented on `pint.Unit` to permit
multiplication/division by units on the right of ufunc-reliant array types (like
Sparse) with proper respect for the type casting hierarchy. However, until an
upstream issue with NumPy is resolved,
this breaks creation of Masked Array Quantities by multiplication on the right.
* Documentation on Pint's array type compatibility has been added to the NumPy support
page, including a graph of the duck array type casting hierarchy as understood by Pint
for N-dimensional arrays.
* Improved compatibility for downcast duck array types like Sparse.COO. A collection
of basic tests has been added.
* Improvements to wraps and check:
> fail upon decoration (not execution) by checking wrapped function signature against
wraps/check arguments.
(might BREAK test code)
> wraps only accepts strings and Units (not quantities) to avoid confusion with magnitude.
(might BREAK code not conforming to documentation)


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Origin Manager's avatar

origin-manager added origin-reviewers as a reviewer

Changing to a lower priority origin.

origin: openSUSE:Factory
origin_old: openSUSE:Leap:15.1:Update
pending: request#805763


Staging Bot's avatar

staging-bot added as a reviewer

Being evaluated by staging project "openSUSE:Leap:15.2:Staging:adi:34"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Leap:15.2:Staging:adi:34"


Origin Manager's avatar

origin-manager accepted review

origin: openSUSE:Factory
origin_old: openSUSE:Leap:15.1:Update


Max Lin's avatar

mlin7442 accepted review


Yuchen Lin's avatar

maxlin_factory accepted review

Staging Project openSUSE:Leap:15.2:Staging:adi:34 got accepted.


Yuchen Lin's avatar

maxlin_factory approved review

Staging Project openSUSE:Leap:15.2:Staging:adi:34 got accepted.


Yuchen Lin's avatar

maxlin_factory accepted request

Staging Project openSUSE:Leap:15.2:Staging:adi:34 got accepted.

openSUSE Build Service is sponsored by