diff --git a/Pint-0.17.tar.gz b/Pint-0.17.tar.gz deleted file mode 100644 index bb899d6..0000000 --- a/Pint-0.17.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f4d0caa713239e6847a7c6eefe2427358566451fe56497d533f21fb590a3f313 -size 265661 diff --git a/Pint-0.18.tar.gz b/Pint-0.18.tar.gz new file mode 100644 index 0000000..1ad64f9 --- /dev/null +++ b/Pint-0.18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c4bce884c269051feb7abc69dbfd18403c0c764abc83da132e8a7222f8ba801 +size 272830 diff --git a/python-Pint.changes b/python-Pint.changes index fe405e8..c54b765 100644 --- a/python-Pint.changes +++ b/python-Pint.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Sat Nov 27 20:37:27 UTC 2021 - Arun Persaud + +- specfile: + * added version requirement to numpy + +- update to version 0.18: + * Implement use of Quantity in the Quantity constructor (convert to + specified units). (Issue #1231) + * Rename .readthedocs.yml to .readthedocs.yaml, update MANIFEST.in + (Issue #1311) + * Fix a few small typos. (Issue #1308) + * Fix babel format for `Unit`. (Issue #1085) + * Fix handling of positional max/min arguments in clip function. + (Issue #1244) + * Fix string formatting of numpy array scalars. + * Fix default format for Measurement class (Issue #1300) + * Fix parsing of pretty units with same exponents but different + sign. (Issue #1360) + * Convert the application registry to a wrapper object (Issue #1365) + * Add documentation for the string format options. (Issue #1357, + #1375, thanks keewis) + * Support custom units formats. (Issue #1371, thanks keewis) + * Autoupdate pre-commit hooks. + * Improved the application registry. (Issue #1366, thanks keewis) + * Improved testing isolation using pytest fixtures. + * Breaking Changes + + pint no longer supports Python 3.6 + + Minimum Numpy version supported is 1.17+ + + Add supports for type hints for Quantity class. Quantity is now + a Generic (PEP560). + + Add support for + [PEP561](https://www.python.org/dev/peps/pep-0561/) (Package + Type information) + ------------------------------------------------------------------- Mon Apr 19 04:13:18 UTC 2021 - Steve Kowalik diff --git a/python-Pint.spec b/python-Pint.spec index 46b1127..8d33f7f 100644 --- a/python-Pint.spec +++ b/python-Pint.spec @@ -20,7 +20,7 @@ %define skip_python2 1 %define skip_python36 1 Name: python-Pint -Version: 0.17 +Version: 0.18 Release: 0 Summary: Physical quantities module License: BSD-3-Clause @@ -36,10 +36,10 @@ Requires: python-importlib-metadata Requires: python-importlib-resources Requires: python-packaging Requires: python-uncertainties >= 3.0 -Recommends: python-numpy +Recommends: python-numpy >= 1.17 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module numpy} +BuildRequires: %{python_module numpy >= 1.17} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pytest >= 4.0} BuildRequires: %{python_module pytest-subtests}