Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mpi4py for openSUSE:Factory 
checked in at 2023-09-26 22:01:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old)
 and      /work/SRC/openSUSE:Factory/.python-mpi4py.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mpi4py"

Tue Sep 26 22:01:55 2023 rev:18 rq:1113557 version:3.1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mpi4py/python-mpi4py.changes      
2022-11-10 17:33:09.339498756 +0100
+++ /work/SRC/openSUSE:Factory/.python-mpi4py.new.1770/python-mpi4py.changes    
2023-09-26 22:10:19.615160160 +0200
@@ -1,0 +2,6 @@
+Sat Sep 23 09:27:54 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Limit to Cython 0: gh#mpi4py/mpi4py#383
+- PEP517: build wheel instead of deprecated setup.py install
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-mpi4py.spec ++++++
--- /var/tmp/diff_new_pack.9PHr8Z/_old  2023-09-26 22:10:21.099213750 +0200
+++ /var/tmp/diff_new_pack.9PHr8Z/_new  2023-09-26 22:10:21.099213750 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mpi4py
 #
-# 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,9 +16,6 @@
 #
 
 
-%define skip_python2 1
-%define skip_python36 1
-
 Name:           python-mpi4py
 Version:        3.1.4
 Release:        0
@@ -27,10 +24,12 @@
 URL:            https://github.com/mpi4py/mpi4py
 Source:         
https://files.pythonhosted.org/packages/source/m/mpi4py/mpi4py-%{version}.tar.gz
 Source99:       %{name}-rpmlintrc
-BuildRequires:  %{python_module Cython}
+BuildRequires:  %{python_module Cython with %python-Cython < 3}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  openmpi-macros-devel
 BuildRequires:  python-rpm-macros
@@ -115,11 +114,11 @@
 
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 export LANG=en_US.UTF-8
-%{python_build --force}
+%pyproject_wheel
 
 %install
 export LANG=en_US.UTF-8
-%python_install
+%pyproject_install
 
 # De-duplicate includes and also put them in a more generally-accessible 
location.
 mkdir -p %{buildroot}/%{_includedir}
@@ -163,7 +162,7 @@
 %doc CHANGES.rst DESCRIPTION.rst README.rst
 %license LICENSE.rst
 %{python_sitearch}/mpi4py
-%{python_sitearch}/mpi4py-%{version}-py*.egg-info
+%{python_sitearch}/mpi4py-%{version}.dist-info
 %exclude %{python_sitearch}/mpi4py/include/
 
 %files %{python_files devel}

Reply via email to