Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-quantities for openSUSE:Factory checked in at 2023-02-09 16:22:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-quantities (Old) and /work/SRC/openSUSE:Factory/.python-quantities.new.4462 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-quantities" Thu Feb 9 16:22:30 2023 rev:7 rq:1063882 version:0.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-quantities/python-quantities.changes 2022-06-25 10:24:28.694692259 +0200 +++ /work/SRC/openSUSE:Factory/.python-quantities.new.4462/python-quantities.changes 2023-02-09 16:22:41.758555014 +0100 @@ -1,0 +2,14 @@ +Wed Feb 8 17:07:32 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com> + +- Update to 0.14.0 + * Added decimeter to list of supported units PR#202 + * Removed deprecated mb as symbol for millibar unit PR#203 + * Fixed failure to preserve dtype in rescale PR#204 + * Added exp2 as a supported ufunc + * Fixed failure to handle units with floordiv PR#207 + * Added femtofarad (fF) to list of supported units + * Dropped support for Python 3.7 + * Dropped support for NumPy versions older than 1.19 + * Converted the project packaging from setup.py-based to pyproject.toml-based + +------------------------------------------------------------------- Old: ---- python-quantities-0.13.0.tar.gz New: ---- quantities-0.14.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-quantities.spec ++++++ --- /var/tmp/diff_new_pack.CFW0h2/_old 2023-02-09 16:22:42.274557672 +0100 +++ /var/tmp/diff_new_pack.CFW0h2/_new 2023-02-09 16:22:42.278557693 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-quantities # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,20 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-quantities -Version: 0.13.0 +Version: 0.14.0 Release: 0 Summary: Package for physical quantities with units License: BSD-3-Clause URL: https://github.com/python-quantities/python-quantities/ -Source: https://github.com/python-quantities/python-quantities/archive/v%{version}.tar.gz#/python-quantities-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/q/quantities/quantities-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module numpy >= 1.16} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-numpy >= 1.16 @@ -38,28 +40,25 @@ Support for physical quantities with units, based on numpy. %prep -%autosetup -p1 -n python-quantities-%{version} -# Test no longer fails when expected to fail. -# https://github.com/python-quantities/python-quantities/issues/8 -rm quantities/tests/test_umath.py +%autosetup -p1 -n quantities-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Change to unittest because pytest not support. -# https://github.com/python-quantities/python-quantities/issues/160 -%pyunittest discover -v +mv quantities .quantities +%pytest -v --pyargs quantities.tests +mv .quantities quantities %files %{python_files} %doc CHANGES.txt README.rst %license doc/user/license.rst %dir %{python_sitelib}/quantities %{python_sitelib}/quantities/* -%{python_sitelib}/quantities-%{version}-py*.egg-info +%{python_sitelib}/quantities-%{version}*-info %changelog