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-09-06 18:57:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Mathics (Old) and /work/SRC/openSUSE:Factory/.python-Mathics.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Mathics" Wed Sep 6 18:57:01 2023 rev:17 rq:1109014 version:6.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Mathics/python-Mathics.changes 2023-07-30 20:57:56.195278340 +0200 +++ /work/SRC/openSUSE:Factory/.python-Mathics.new.1766/python-Mathics.changes 2023-09-06 18:58:50.416942568 +0200 @@ -1,0 +2,7 @@ +Fri Sep 1 18:15:06 UTC 2023 - Atri Bhattacharya <badshah...@gmail.com> + +- Disable cython-ised builds: not compatible with Cython 3+. +- Add python-Mathics-relax-numpy-versions.patch to drop the upper + limit on numpy versions. + +------------------------------------------------------------------- New: ---- python-Mathics-relax-numpy-versions.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Mathics.spec ++++++ --- /var/tmp/diff_new_pack.hvCqHG/_old 2023-09-06 18:58:51.604984920 +0200 +++ /var/tmp/diff_new_pack.hvCqHG/_new 2023-09-06 18:58:51.608985062 +0200 @@ -39,7 +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 -BuildRequires: %{python_module Cython} +# PATCH-FEATURE-OPENSUSE python-Mathics-relax-numpy-versions.patch badshah...@gmail.com -- Drop upper limit on required numpy version +Patch0: python-Mathics-relax-numpy-versions.patch BuildRequires: %{python_module Django >= 1.8} BuildRequires: %{python_module colorama} BuildRequires: %{python_module devel} @@ -51,7 +52,6 @@ BuildRequires: %{python_module sympy >= 1.10.1} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Cython Requires: python-Django >= 1.8 Requires: python-Mathics-Scanner >= 1.3.0 Requires: python-Pint @@ -78,6 +78,7 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} BuildRequires: %{python_module scikit-image >= 0.17} +BuildRequires: %{python_module typing-extensions} # /SECTION %endif Provides: python-Mathics3 = %{version} @@ -99,23 +100,23 @@ %build %if %{without test} -export USE_CYTHON=1 +export USE_CYTHON=0 %python_build %endif %install %if %{without test} -export USE_CYTHON=1 +export USE_CYTHON=0 %python_install %python_clone -a %{buildroot}%{_bindir}/mathics -%python_expand %fdupes %{buildroot}%{$python_sitearch} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %if %{with test} %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)' +%pytest -k 'not (test_home_page or test_gudermannian or test_image)' %endif %if %{without test} @@ -129,8 +130,8 @@ %license COPYING.txt %doc README.rst AUTHORS.txt %python_alternative %{_bindir}/mathics -%{python_sitearch}/mathics/ -%{python_sitearch}/%{pyname}-%{version}-py%{python_version}.egg-info/ +%{python_sitelib}/mathics/ +%{python_sitelib}/%{pyname}-%{version}-py%{python_version}.egg-info/ %endif %changelog ++++++ python-Mathics-relax-numpy-versions.patch ++++++ Index: Mathics3-6.0.2/setup.py =================================================================== --- Mathics3-6.0.2.orig/setup.py +++ Mathics3-6.0.2/setup.py @@ -64,7 +64,7 @@ elif sys.version_info[:2] == (3, 6): sys.exit(-1) else: INSTALL_REQUIRES += [ - "numpy<1.25", + "numpy", "llvmlite", "sympy>=1.8", "pillow >= 9.2",