Hello community,

here is the log from the commit of package python-Mathics for openSUSE:Factory 
checked in at 2020-12-12 20:29:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Mathics (Old)
 and      /work/SRC/openSUSE:Factory/.python-Mathics.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Mathics"

Sat Dec 12 20:29:59 2020 rev:4 rq:849470 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Mathics/python-Mathics.changes    
2020-05-26 17:24:18.580618381 +0200
+++ /work/SRC/openSUSE:Factory/.python-Mathics.new.2328/python-Mathics.changes  
2020-12-12 20:32:34.577865308 +0100
@@ -1,0 +2,28 @@
+Sat Nov 14 22:17:20 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 1.1.0:
+  * Add Symbolic Comparisons [gh#mathics/Mathics#1000].
+  * Support for externally PyPI-packagable builtin modules -
+    PyMathics.
+  * SetDirectory fixes [gh#mathics/Mathics#994].
+  * Catch `PatternError Exceptions.
+  * Fix formatting of .. and ... (RepeatAll)
+  * tokenization of \. without a following space (ReplaceAll)
+    [gh#mathics/Mathics#992].
+  * Support for assignments to named `Pattern`
+  * Improving support for `Names [gh#mathics/Mathics#1003].
+  * Adding a MathicsSession class to simplify running Mathics from
+    Python [gh#mathics/Mathics#1001].
+  * Improving support for `Protect` and `Unprotect` list
+    of symbols and regular expressions [gh#mathics/Mathics#1003].
+- Updated source URL.
+- Disable python2 as it is not supported any more by upstream.
+- Run tests:
+  * Omit home_page tests as they require a running django server
+    set up first.
+  * Add additional BuildRequires needed for tests: python-Pint,
+    python-chardet, python-palettable, python-pytest,
+    python-requests.
+- Sympy >= 1.6 is now required.
+
+-------------------------------------------------------------------

Old:
----
  v1.0.tar.gz

New:
----
  Mathics3-1.1.0.tar.gz

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

Other differences:
------------------
++++++ python-Mathics.spec ++++++
--- /var/tmp/diff_new_pack.TsRmxF/_old  2020-12-12 20:32:35.153865910 +0100
+++ /var/tmp/diff_new_pack.TsRmxF/_new  2020-12-12 20:32:35.157865913 +0100
@@ -17,15 +17,17 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define pyname Mathics
+# Upstream no longer supports python2
+%define skip_python2 1
+%define pyname Mathics3
 Name:           python-Mathics
-Version:        1.0
+Version:        1.1.0
 Release:        0
 Summary:        A general-purpose computer algebra system
 # Mathics itself is licensed as GPL-3.0 but it includes third-party software 
with MIT, BSD-3-Clause, and Apache-2.0 Licensing; also includes data from 
wikipedia licensed under CC-BY-SA-3.0 and GFDL-1.3
 License:        GPL-3.0-only AND BSD-3-Clause AND MIT AND Apache-2.0
 URL:            https://mathics.github.io/
-Source:         https://github.com/mathics/Mathics/archive/v%{version}.tar.gz
+Source:         
https://github.com/mathics/Mathics/archive/%{version}/%{pyname}-%{version}.tar.gz
 BuildRequires:  %{python_module Django >= 1.8}
 BuildRequires:  %{python_module colorama}
 BuildRequires:  %{python_module devel}
@@ -35,14 +37,21 @@
 BuildRequires:  %{python_module python-dateutil}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.10}
-BuildRequires:  %{python_module sympy}
+BuildRequires:  %{python_module sympy >= 1.6}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Django >= 1.8
 Requires:       python-mpmath >= 0.19
 Requires:       python-python-dateutil
 Requires:       python-six >= 1.10
-Requires:       python-sympy
+Requires:       python-sympy >= 1.6
+# SECTION For tests
+BuildRequires:  %{python_module Pint}
+BuildRequires:  %{python_module chardet}
+BuildRequires:  %{python_module palettable}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module requests}
+# /SECTION
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 %python_subpackages
@@ -51,7 +60,7 @@
 Mathics is a general-purpose computer algebra system (CAS). It is meant to be 
a free, lightweight alternative to Mathematica.
 
 %prep
-%setup -q -n %{pyname}-%{version}
+%setup -q -n Mathics-%{version}
 %autopatch -p1
 
 # FIX SPURIOUS EXEC PERMISSIONS
@@ -81,8 +90,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# Tests fail with new sympy, probably worth fixing upstream
-#%%python_exec setup.py test
+# Home page tests require django server up and running
+%pytest -k 'not test_home_page'
 
 %post
 %python_install_alternative mathics
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to