Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyemd for openSUSE:Factory 
checked in at 2026-02-27 17:10:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyemd (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyemd.new.29461 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyemd"

Fri Feb 27 17:10:35 2026 rev:7 rq:1335361 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyemd/python-pyemd.changes        
2024-11-17 16:41:16.611427296 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyemd.new.29461/python-pyemd.changes     
2026-02-27 17:11:29.552053847 +0100
@@ -1,0 +2,15 @@
+Fri Feb 27 04:20:05 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 2.0.0:
+  ## Features
+  * Added POT (Python Optimal Transport) as the default backend.
+  ## Bug Fixes
+  * Fixed emd_samples returning incorrect results with bins='auto' on
+    NumPy 2.1+ when using integer input arrays.
+  ## Deprecations and Removals
+  * Dropped support for Python 3.9-3.11.
+  ## Miscellaneous
+  * Bumped minimum NumPy version from 1.9.0 to 1.15.0.
+- Convert package to noarch, due to POT doing all of the heavy lifting.
+
+-------------------------------------------------------------------

Old:
----
  pyemd-1.0.0.tar.gz

New:
----
  pyemd-2.0.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyemd.spec ++++++
--- /var/tmp/diff_new_pack.g5Haui/_old  2026-02-27 17:11:30.272083686 +0100
+++ /var/tmp/diff_new_pack.g5Haui/_new  2026-02-27 17:11:30.276083852 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyemd
 #
-# Copyright (c) 2024 SUSE LLC
+# 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
@@ -16,28 +16,28 @@
 #
 
 
+# Upstream declares support for 3.12+
+%define skip_python311 1
 Name:           python-pyemd
-Version:        1.0.0
+Version:        2.0.0
 Release:        0
 Summary:        Python implementation of the Earth Mover's Distance
 License:        MIT
 URL:            https://github.com/wmayner/pyemd
 Source:         
https://files.pythonhosted.org/packages/source/p/pyemd/pyemd-%{version}.tar.gz
-BuildRequires:  %{python_module Cython}
-BuildRequires:  %{python_module devel}
-# produces wrong results with numpy 2.1+: gh#wmayner/pyemd#68
-BuildRequires:  %{python_module numpy-devel >= 1.9.0 with %python-numpy-devel 
< 2.1}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
-BuildRequires:  c++_compiler
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       (python-numpy >= 1.9.0 with python-numpy < 2.1)
+Requires:       python-numpy >= 1.15.0
+Requires:       python-pot >= 0.9.0
 # SECTION test requirements
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pot >= 0.9.0}
 # /SECTION
+BuildArch:      noarch
 %python_subpackages
 
 %description
@@ -46,8 +46,7 @@
 
 %prep
 %autosetup -p1 -n pyemd-%{version}
-sed -i '1{/env python/d}' src/pyemd/emd.pyx src/pyemd/__init__.py
-echo "global-exclude *.cpp *.hpp" >> MANIFEST.in
+sed -i '1{/env python/d}' src/pyemd/emd.py src/pyemd/__init__.py
 
 %build
 export CFLAGS="%{optflags}"
@@ -55,16 +54,14 @@
 
 %install
 %pyproject_install
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-pushd test
-%pytest_arch
-popd
+%pytest
 
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitearch}/pyemd
-%{python_sitearch}/pyemd-%{version}.dist-info
+%{python_sitelib}/pyemd
+%{python_sitelib}/pyemd-%{version}.dist-info
 

++++++ pyemd-1.0.0.tar.gz -> pyemd-2.0.0.tar.gz ++++++
++++ 16342 lines of diff (skipped)

Reply via email to