Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-unyt for openSUSE:Factory checked in at 2026-03-04 21:08:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-unyt (Old) and /work/SRC/openSUSE:Factory/.python-unyt.new.561 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-unyt" Wed Mar 4 21:08:44 2026 rev:11 rq:1336255 version:3.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-unyt/python-unyt.changes 2025-08-28 17:19:38.193649692 +0200 +++ /work/SRC/openSUSE:Factory/.python-unyt.new.561/python-unyt.changes 2026-03-04 21:09:36.919352146 +0100 @@ -1,0 +2,16 @@ +Wed Mar 4 04:08:38 UTC 2026 - Steve Kowalik <[email protected]> + +- Update to 3.1.0: + * Fix the implementation of np.block so that multiplication is not used to + attach units to the result + * Increase the ability for subclasses of unyt_array to manipulate function + calls, in particular so that the result of a binary operation of an + unyt_array with a subclass will return the subclass. + * Add the angular units "spat", "turn", "pla", "gradian", and "gon" + * Fix incompatibilities and deprecations with NumPy 2.4 + * Switch build-backend from setuptools to flit-core + * Fix histograms with mismatched units of input and bins + * Fix a bug where np.average would strip units on sum of weights when input + and weights shapes differ + +------------------------------------------------------------------- Old: ---- unyt-3.0.4.tar.gz New: ---- unyt-3.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-unyt.spec ++++++ --- /var/tmp/diff_new_pack.PQaUuq/_old 2026-03-04 21:09:37.671383226 +0100 +++ /var/tmp/diff_new_pack.PQaUuq/_new 2026-03-04 21:09:37.671383226 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-unyt # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,29 +18,28 @@ %{?sle15_python_module_pythons} Name: python-unyt -Version: 3.0.4 +Version: 3.1.0 Release: 0 Summary: A package for handling numpy arrays with units License: BSD-3-Clause URL: https://github.com/yt-project/unyt Source: https://files.pythonhosted.org/packages/source/u/unyt/unyt-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.10} +BuildRequires: %{python_module flit-core >= 3.11} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test BuildRequires: %{python_module dask-array} BuildRequires: %{python_module dask-diagnostics} -BuildRequires: %{python_module numpy >= 1.19.3 with %python-numpy < 3} +BuildRequires: %{python_module numpy >= 1.21.3 with %python-numpy < 3} BuildRequires: %{python_module packaging >= 20.9} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module sympy >= 1.7} +BuildRequires: %{python_module sympy >= 1.9} # /SECTION -Requires: (python-numpy >= 1.19.3 with python-numpy < 3) +Requires: (python-numpy >= 1.21.3 with python-numpy < 3) Requires: python-packaging > 20.9 -Requires: python-sympy >= 1.7 +Requires: python-sympy >= 1.9 BuildArch: noarch %python_subpackages @@ -61,6 +60,7 @@ %install %pyproject_install +%python_expand rm %{buildroot}%{$python_sitelib}/unyt/.DS_Store %python_expand %fdupes %{buildroot}%{$python_sitelib} %check ++++++ unyt-3.0.4.tar.gz -> unyt-3.1.0.tar.gz ++++++ ++++ 9198 lines of diff (skipped)
