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 2024-07-15 19:49:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Pint (Old) and /work/SRC/openSUSE:Factory/.python-Pint.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Pint" Mon Jul 15 19:49:23 2024 rev:19 rq:1187422 version:0.24.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Pint/python-Pint.changes 2024-02-04 19:12:21.387429903 +0100 +++ /work/SRC/openSUSE:Factory/.python-Pint.new.17339/python-Pint.changes 2024-07-15 19:49:57.697193809 +0200 @@ -1,0 +2,25 @@ +Mon Jul 8 01:28:27 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 0.24.1: + * Fix custom formatter needing the registry object. + * Support python 3.9 following difficulties installing with NumPy 2. + * Fix default formatting of dimensionless unit issue. + * Fix bug preventing custom formatters with modifiers working. + * Fix detection of invalid conversion between offset and delta units. + * Added dBW, decibel Watts, which is used in RF high power applications. + * NumPy 2.0 support + * Implement numpy roll (Related to issue #981) + * Implement numpy correlate + * Add `dim_sort` function to _formatter_helpers. + * Add `dim_order` and `default_sort_func` properties to FullFormatter. + * Fixed bug causing operations between arrays of quantity scalars and + quantity holding array resulting in incorrect units. + * Fix LaTeX siuntix formatting when using non_int_type=decimal.Decimal. + * Added refractive index units. + * Fix converting to offset units of higher dimension e.g. gauge pressure + * Fix unhandled TypeError when auto_reduce_dimensions=True and + non_int_type=Decimal + * Improved error message in `get_dimensionality()` when non existent units + are passed. + +------------------------------------------------------------------- Old: ---- Pint-0.23.tar.gz New: ---- pint-0.24.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Pint.spec ++++++ --- /var/tmp/diff_new_pack.nOvzDi/_old 2024-07-15 19:49:58.261214588 +0200 +++ /var/tmp/diff_new_pack.nOvzDi/_new 2024-07-15 19:49:58.261214588 +0200 @@ -18,12 +18,12 @@ %{?sle15_python_module_pythons} Name: python-Pint -Version: 0.23 +Version: 0.24.1 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 +Source: https://files.pythonhosted.org/packages/source/p/pint/pint-%{version}.tar.gz BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} @@ -31,15 +31,24 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-packaging +Requires: python-appdirs +Requires: python-flexcache +Requires: python-flexparser +Requires: python-typing_extensions Requires: python-uncertainties >= 3.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives Recommends: python-numpy >= 1.21 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module numpy >= 1.21} +BuildRequires: %{python_module appdirs} +BuildRequires: %{python_module flexcache} +BuildRequires: %{python_module flexparser} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pytest >= 4.0} BuildRequires: %{python_module pytest-subtests} +BuildRequires: %{python_module typing_extensions} BuildRequires: %{python_module uncertainties >= 3.0} # /SECTION %python_subpackages @@ -55,7 +64,7 @@ the complete list without changing the source code. %prep -%setup -q -n Pint-%{version} +%setup -q -n pint-%{version} %build %pyproject_wheel @@ -67,8 +76,7 @@ %check rm -rv pint/testsuite/benchmarks -# fails with numpy 1.25 https://github.com/hgrecco/pint/issues/1825 -%pytest -k "not test_equal_zero_nan_NP" +%pytest %post %python_install_alternative pint-convert @@ -80,6 +88,6 @@ %license LICENSE %doc AUTHORS CHANGES README.rst %python_alternative %{_bindir}/pint-convert -%{python_sitelib}/Pint-0*.dist-info -%{python_sitelib}/pint/ +%{python_sitelib}/pint +%{python_sitelib}/Pint-%{version}.dist-info