Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Pint for openSUSE:Factory checked in at 2023-08-02 16:50:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Pint (Old) and /work/SRC/openSUSE:Factory/.python-Pint.new.22712 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Pint" Wed Aug 2 16:50:56 2023 rev:16 rq:1101983 version:0.22 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Pint/python-Pint.changes 2023-01-12 22:44:59.185098411 +0100 +++ /work/SRC/openSUSE:Factory/.python-Pint.new.22712/python-Pint.changes 2023-08-02 16:52:27.106227152 +0200 @@ -1,0 +2,14 @@ +Tue Aug 1 11:39:05 UTC 2023 - Markéta Machová <mmach...@suse.com> + +- Update to 0.22 + * Add PEP621/631 support. + * Exposed matplotlib unit formatter + * Add new SI prefixes: ronna-, ronto-, quetta-, quecto-. + * multiple numpy compat fixes + * Parse '°' along with previous text, rather than adding a space, + allowing, eg 'ΰC' as a unit. + * Drop Python 3.8 compatability following NEP-29. + * Drop NumPy < 1.21 following NEP-29. + * Migrated fully to pyproject.toml. + +------------------------------------------------------------------- Old: ---- Pint-0.20.1.tar.gz New: ---- Pint-0.22.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Pint.spec ++++++ --- /var/tmp/diff_new_pack.c7mCkQ/_old 2023-08-02 16:52:27.894231913 +0200 +++ /var/tmp/diff_new_pack.c7mCkQ/_new 2023-08-02 16:52:27.902231960 +0200 @@ -17,30 +17,26 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 Name: python-Pint -Version: 0.20.1 +Version: 0.22 Release: 0 Summary: Physical quantities module License: BSD-3-Clause URL: https://github.com/hgrecco/pint Source: https://files.pythonhosted.org/packages/source/P/Pint/Pint-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.8} -BuildRequires: %{python_module importlib-metadata} -BuildRequires: %{python_module importlib-resources} +BuildRequires: %{python_module base >= 3.9} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-importlib-metadata -Requires: python-importlib-resources Requires: python-packaging Requires: python-uncertainties >= 3.0 -Recommends: python-numpy >= 1.19 +Recommends: python-numpy >= 1.21 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module numpy >= 1.19} +BuildRequires: %{python_module numpy >= 1.21} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pytest >= 4.0} BuildRequires: %{python_module pytest-subtests} @@ -62,17 +58,16 @@ %setup -q -n Pint-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/pint-convert %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Test assumes 64bit arch -# See: https://github.com/hgrecco/pint/issues/1006 -%pytest -k 'not test_result_type_numpy_func' +# fails with numpy 1.25 https://github.com/hgrecco/pint/issues/1825 +%pytest -k "not test_equal_zero_nan_NP" %post %python_install_alternative pint-convert @@ -84,7 +79,7 @@ %license LICENSE %doc AUTHORS CHANGES README.rst %python_alternative %{_bindir}/pint-convert -%{python_sitelib}/Pint-0*-py*.egg-info +%{python_sitelib}/Pint-0*.dist-info %{python_sitelib}/pint/ %changelog ++++++ Pint-0.20.1.tar.gz -> Pint-0.22.tar.gz ++++++ ++++ 11846 lines of diff (skipped)