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 2026-03-04 21:08:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Pint (Old) and /work/SRC/openSUSE:Factory/.python-Pint.new.561 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Pint" Wed Mar 4 21:08:43 2026 rev:25 rq:1336252 version:0.25.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Pint/python-Pint.changes 2025-11-27 15:22:28.047272971 +0100 +++ /work/SRC/openSUSE:Factory/.python-Pint.new.561/python-Pint.changes 2026-03-04 21:09:34.895268492 +0100 @@ -1,0 +2,40 @@ +Wed Mar 4 01:53:00 UTC 2026 - Steve Kowalik <[email protected]> + +- Update to 0.25.2: + * Fix raising exception in `Quantity.from_tuple` with invalid units (#2199) + * Several unit definition fixes. + * Add support for `numpy.geomspace` (#2206) + * Add support for `linalg.diagonal`, `linalg.matrix_transpose`, `diag`, + `tril`, `triu`, `linalg.eigvals`, `linalg.eigvalsh`, `linalg.matrix_norm` + and `linalg.vector_norm` (#2210) + * Add support for `pint.Quantity` being used as Generic. (#2231) + * Fixed `nan`/`nan` to return `nan` rather than 1 in unit conversion. + * Bump minimum Python version to 3.11. + * Refactor compat to make it easier to test. + * Implemented several pixi environment and tasks to simplify development. + * Fix round function returning float instead of int (#2081) + * Fix return type of `PlainQuantity.to` (#2088) + * Update constants to CODATA 2022 recommended values. (#2049) + * Fixed issue with `.to_compact` and Magnitudes with uncertainties / + Quantities with units + * Fixed issue in unit conversion which led to loss of precision when using + `decimal`. (#2107) + * Add conductivity dimension. (#2112) + * Add absorbance unit and dimension. (#2114) + * Add membrane filtration flux and permeability dimensionality, and + shorthand "LMH". (#2116) + * Fix find_shortest_path to use breadth first search (#2146) + * Fix handling of extra arguments in conversion with enabled contexts + * Fix swapped left and right arguments in interp (#2187) + * Fix formatted scientific notation bug in Python 3.13 (#2168) + * Fix ability to add dB units, and to add dB (dimensionless) to referenced + dB units, such as dBm or dBW (#1160) + * Improve pressure unit definitions in default definition file (#2186) + * Avoid and document known issues with MIP during install, testing and + runtime (#2188 and #2121) + * Skip false xfail tests linked to a known numpy issue (#2188 and #1776) + * Add `Quantity.to_unprefixed` and `ito_unprefixed` methods that remove SI + prefixes without converting to base units. (#2201) +- Do not ship testsuite. + +------------------------------------------------------------------- Old: ---- pint-0.24.4.tar.gz New: ---- pint-0.25.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Pint.spec ++++++ --- /var/tmp/diff_new_pack.EB0Fd1/_old 2026-03-04 21:09:35.731303045 +0100 +++ /var/tmp/diff_new_pack.EB0Fd1/_new 2026-03-04 21:09:35.731303045 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Pint # -# 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,38 +18,38 @@ %{?sle15_python_module_pythons} Name: python-Pint -Version: 0.24.4 +Version: 0.25.2 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.9} +BuildRequires: %{python_module base >= 3.11} +BuildRequires: %{python_module hatch-vcs} +BuildRequires: %{python_module hatchling} 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-flexcache +Requires: python-flexcache >= 0.3 Requires: python-flexparser >= 0.4 -Requires: python-platformdirs -Requires: python-typing_extensions -Requires: python-uncertainties >= 3.0 +Requires: python-platformdirs >= 2.1 +Requires: python-typing_extensions >= 4.0 Requires(post): update-alternatives Requires(postun): update-alternatives Recommends: python-numpy >= 1.21 +Recommends: python-uncertainties >= 3.1.6 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module flexcache} +BuildRequires: %{python_module flexcache >= 0.3} +BuildRequires: %{python_module dask-array} BuildRequires: %{python_module flexparser >= 0.4} BuildRequires: %{python_module numpy >= 1.21} BuildRequires: %{python_module packaging} -BuildRequires: %{python_module platformdirs} +BuildRequires: %{python_module platformdirs >= 2.1} BuildRequires: %{python_module pytest >= 4.0} BuildRequires: %{python_module pytest-subtests if %python-pytest < 9} -BuildRequires: %{python_module typing_extensions} -BuildRequires: %{python_module uncertainties >= 3.0} +BuildRequires: %{python_module typing_extensions >= 4.0} +BuildRequires: %{python_module uncertainties >= 3.1.6} # /SECTION %python_subpackages @@ -72,6 +72,8 @@ %install %pyproject_install %python_clone -a %{buildroot}%{_bindir}/pint-convert +# Do not ship testsuite +%python_expand rm -r %{buildroot}%{$python_sitelib}/pint/testsuite %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -86,7 +88,7 @@ %files %{python_files} %license LICENSE -%doc AUTHORS CHANGES README.rst +%doc AUTHORS README.rst %python_alternative %{_bindir}/pint-convert %{python_sitelib}/pint %{python_sitelib}/[Pp]int-%{version}.dist-info ++++++ pint-0.24.4.tar.gz -> pint-0.25.2.tar.gz ++++++ ++++ 13365 lines of diff (skipped)
