Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-kwant for openSUSE:Factory 
checked in at 2025-04-10 21:58:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kwant (Old)
 and      /work/SRC/openSUSE:Factory/.python-kwant.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-kwant"

Thu Apr 10 21:58:35 2025 rev:7 rq:1268010 version:1.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kwant/python-kwant.changes        
2024-07-12 17:05:46.242604347 +0200
+++ /work/SRC/openSUSE:Factory/.python-kwant.new.1907/python-kwant.changes      
2025-04-10 21:58:56.419828136 +0200
@@ -1,0 +2,6 @@
+Wed Apr  9 04:21:44 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Remove upper bound on numpy.
+- Regenerate Cython files to support Numpy 2.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-kwant.spec ++++++
--- /var/tmp/diff_new_pack.ze5B4D/_old  2025-04-10 21:58:56.863846678 +0200
+++ /var/tmp/diff_new_pack.ze5B4D/_new  2025-04-10 21:58:56.867846845 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-kwant
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@
 Source0:        
https://files.pythonhosted.org/packages/source/k/kwant/kwant-%{version}.tar.gz
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel >= 3.8}
-BuildRequires:  %{python_module numpy-devel >= 1.18 with %python-numpy-devel < 
2}
+BuildRequires:  %{python_module numpy-devel >= 1.18}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
@@ -36,9 +36,9 @@
 BuildRequires:  lapack-devel
 BuildRequires:  mumps-devel
 BuildRequires:  python-rpm-macros
+Requires:       python-numpy >= 1.18
 Requires:       python-scipy >= 1.3
 Requires:       python-tinyarray
-Requires:       (python-numpy >= 1.18 with python-numpy < 2)
 Recommends:     python-matplotlib
 Recommends:     python-qsymm
 Recommends:     python-sympy
@@ -68,6 +68,8 @@
 %setup -q -n kwant-%{version}
 
 %build
+# This prints the URL, but it also Cythonizes
+python3 setup.py --cython --url
 # CAN'T FIND mumps HEADERS
 export CFLAGS="%{optflags} -I%{_includedir}/mumps"
 %pyproject_wheel

Reply via email to