Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Mathics for openSUSE:Factory 
checked in at 2023-07-26 13:23:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Mathics (Old)
 and      /work/SRC/openSUSE:Factory/.python-Mathics.new.15225 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Mathics"

Wed Jul 26 13:23:28 2023 rev:15 rq:1100174 version:6.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Mathics/python-Mathics.changes    
2023-04-18 15:53:04.845485078 +0200
+++ /work/SRC/openSUSE:Factory/.python-Mathics.new.15225/python-Mathics.changes 
2023-07-26 13:24:07.068062623 +0200
@@ -7,0 +8,3 @@
+- Add python-Mathics-relax-module-versions.patch: relax sympy and
+  numpy upper limits on requirements as the otherwise unsupported
+  sympy 1.12 and numpy 1.24.2 are in Tumbleweed.

New:
----
  python-Mathics-relax-module-versions.patch

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

Other differences:
------------------
++++++ python-Mathics.spec ++++++
--- /var/tmp/diff_new_pack.tC4Wmg/_old  2023-07-26 13:24:07.720066558 +0200
+++ /var/tmp/diff_new_pack.tC4Wmg/_new  2023-07-26 13:24:07.724066582 +0200
@@ -39,6 +39,8 @@
 License:        Apache-2.0 AND BSD-3-Clause AND GPL-3.0-only AND MIT
 URL:            https://mathics.github.io/
 Source0:        
https://github.com/Mathics3/mathics-core/releases/download/%{version}/%{pyname}-%{version}.tar.gz
+# PATCH-FEATURE-OPENSUSE python-Mathics-relax-module-versions.patch 
gh#mathics-core/issues#881 badshah...@gmail.com -- Relax upper limits on sympy 
and numpy to get packages building for Tumbleweed
+Patch0:         python-Mathics-relax-module-versions.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module Django >= 1.8}
 BuildRequires:  %{python_module colorama}
@@ -65,6 +67,7 @@
 Requires:       (python-Pillow >= 9.2 if python-base >= 3.7)
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
+Recommends:     python-scikit-image >= 0.17
 %if %{with test}
 # SECTION For tests
 BuildRequires:  %{python_module Mathics}
@@ -76,6 +79,7 @@
 BuildRequires:  %{python_module palettable}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module scikit-image >= 0.17}
 # /SECTION
 %endif
 Provides:       python-Mathics3 = %{version}
@@ -95,9 +99,6 @@
 done
 popd
 
-# Fix incorrect required version for numpy in egg-info
-sed -i "s/numpy<=1.24/numpy<1.25/" setup.py Mathics3.egg-info/requires.txt
-
 %build
 %if %{without test}
 export USE_CYTHON=1
@@ -116,7 +117,8 @@
 %check
 # Home page tests require django server up and running, test_gudermannian 
needs network access
 # test_image: https://github.com/Mathics3/mathics-core/issues/837
-%pytest_arch -k 'not (test_home_page or test_gudermannian or test_image)'
+# test_calculus: https://github.com/Mathics3/mathics-core/issues/881
+%pytest_arch -k 'not (test_home_page or test_gudermannian or test_image or 
test_calculus)'
 %endif
 
 %if %{without test}

++++++ python-Mathics-relax-module-versions.patch ++++++
Index: Mathics3-6.0.1/setup.py
===================================================================
--- Mathics3-6.0.1.orig/setup.py
+++ Mathics3-6.0.1/setup.py
@@ -64,9 +64,9 @@ elif sys.version_info[:2] == (3, 6):
         sys.exit(-1)
 else:
     INSTALL_REQUIRES += [
-        "numpy<=1.24",
+        "numpy",
         "llvmlite",
-        "sympy>=1.8, < 1.12",
+        "sympy>=1.8",
         "pillow >= 9.2",
     ]
 
Index: Mathics3-6.0.1/Mathics3.egg-info/requires.txt
===================================================================
--- Mathics3-6.0.1.orig/Mathics3.egg-info/requires.txt
+++ Mathics3-6.0.1/Mathics3.egg-info/requires.txt
@@ -1,7 +1,7 @@
 Mathics-Scanner>=1.3.0
-numpy<=1.24
+numpy
 llvmlite
-sympy<1.12,>=1.8
+sympy>=1.8
 pillow>=9.2
 mpmath>=1.2.0
 palettable

Reply via email to