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 2024-11-17 16:41:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyemd (Old) and /work/SRC/openSUSE:Factory/.python-pyemd.new.2017 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyemd" Sun Nov 17 16:41:13 2024 rev:6 rq:1224506 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyemd/python-pyemd.changes 2024-07-11 20:33:33.365692831 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyemd.new.2017/python-pyemd.changes 2024-11-17 16:41:16.611427296 +0100 @@ -1,0 +2,6 @@ +Fri Nov 15 18:52:34 UTC 2024 - Ben Greiner <[email protected]> + +- Pin numpy < 2.1: Produces wrong results -- gh#wmayner/pyemd#68 +- Excludes sources befor build: Make dist-info consistent + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyemd.spec ++++++ --- /var/tmp/diff_new_pack.j56IXJ/_old 2024-11-17 16:41:17.307456207 +0100 +++ /var/tmp/diff_new_pack.j56IXJ/_new 2024-11-17 16:41:17.307456207 +0100 @@ -25,7 +25,8 @@ Source: https://files.pythonhosted.org/packages/source/p/pyemd/pyemd-%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} -BuildRequires: %{python_module numpy-devel >= 1.9.0} +# 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} @@ -33,7 +34,7 @@ BuildRequires: c++_compiler BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-numpy >= 1.9.0 +Requires: (python-numpy >= 1.9.0 with python-numpy < 2.1) # SECTION test requirements BuildRequires: %{python_module pytest} # /SECTION @@ -45,6 +46,8 @@ %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 %build export CFLAGS="%{optflags}" @@ -53,7 +56,6 @@ %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} -%python_expand rm -r %{buildroot}%{$python_sitearch}/pyemd/{lib,emd.cpp} %check pushd test
