Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-scipy for openSUSE:Factory 
checked in at 2022-12-25 15:14:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scipy (Old)
 and      /work/SRC/openSUSE:Factory/.python-scipy.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-scipy"

Sun Dec 25 15:14:31 2022 rev:60 rq:1045131 version:1.9.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scipy/python-scipy.changes        
2022-12-10 21:18:02.369630568 +0100
+++ /work/SRC/openSUSE:Factory/.python-scipy.new.1563/python-scipy.changes      
2022-12-25 15:14:43.197327919 +0100
@@ -1,0 +2,7 @@
+Fri Dec 23 16:37:30 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Add scipy-pr17467-no-np.int0.patch gh#scipy/scipy#17467
+- Move the flavored packaganame definition so that quilt does not
+  fail
+
+-------------------------------------------------------------------

New:
----
  scipy-pr17467-no-np.int0.patch

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

Other differences:
------------------
++++++ python-scipy.spec ++++++
--- /var/tmp/diff_new_pack.sYDfqi/_old  2022-12-25 15:14:44.113333103 +0100
+++ /var/tmp/diff_new_pack.sYDfqi/_new  2022-12-25 15:14:44.117333126 +0100
@@ -42,7 +42,9 @@
 %if "%{flavor}" == "test"
 %bcond_with hpc
 %bcond_without test
+%define package_name %{pname}-test
 %else
+%define package_name %{pname}
 %bcond_with test
 %endif
 
@@ -60,11 +62,6 @@
 %{?with_hpc:%{hpc_requires}}
 %bcond_with ringdisabled
 %if %{without hpc}
-%if "%{flavor}" == ""
-%define package_name %{pname}
-%else
-%define package_name %{pname}-%{flavor}
-%endif
 # for file section
 %define p_python_sitearch %{python_sitearch}
 # for inside python_expand
@@ -106,6 +103,8 @@
 Patch1:         fix-tests.patch
 # PATCH-FIX-UPSTREAM fix-tests-pytest72.patch gh#scipy/scipy#17296
 Patch2:         fix-tests-pytest72.patch
+# PATCH-FIX-UPSTREAM scipy-pr17467-no-np.int0.patch gh#scipy/scipy#17467
+Patch3:         scipy-pr17467-no-np.int0.patch
 BuildRequires:  %{python_module Cython >= 0.29.32}
 BuildRequires:  %{python_module devel >= 3.8}
 BuildRequires:  %{python_module meson-python >= 0.9.0}
@@ -269,6 +268,11 @@
 donttest+=" or (test_distributions and TestLevyStable and nolan_samples and 
pct_range0-alpha_range0-beta_range0)"
 donttest+=" or (test_distributions and TestLevyStable and test_location_scale 
and pdf)"
 donttest+=" or (test_data and test_boost and (betainc or btdtr))"
+donttest+=" or (test_mstats_basic and test_skewtest_2D_WithMask)"
+%endif
+%ifarch %ix86
+# illegal instruction (?)
+donttest+=" or (test_fftlog and test_fht_identity)"
 %endif
 %ifarch %arm
 donttest+=" or (test_cython_api and eval_sh_chebyt)"

++++++ scipy-pr17467-no-np.int0.patch ++++++
>From da3ff893b9ac161938e11f9bcd5380e09cf03150 Mon Sep 17 00:00:00 2001
From: warren <warren.weckes...@gmail.com>
Date: Wed, 23 Nov 2022 16:27:51 -0500
Subject: [PATCH] BUG: ndimage: Don't use np.int0 (it is the same as np.intp)

---
 scipy/ndimage/_measurements.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: scipy-1.9.3/scipy/ndimage/_measurements.py
===================================================================
--- scipy-1.9.3.orig/scipy/ndimage/_measurements.py
+++ scipy-1.9.3/scipy/ndimage/_measurements.py
@@ -1524,8 +1524,7 @@ def watershed_ift(input, markers, struct
     if input.shape != markers.shape:
         raise RuntimeError('input and markers must have equal shape')
 
-    integral_types = [numpy.int0,
-                      numpy.int8,
+    integral_types = [numpy.int8,
                       numpy.int16,
                       numpy.int32,
                       numpy.int_,

Reply via email to