Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-python-datamatrix for 
openSUSE:Factory checked in at 2021-02-20 22:12:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-datamatrix (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-datamatrix.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-datamatrix"

Sat Feb 20 22:12:26 2021 rev:5 rq:873934 version:0.11.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-datamatrix/python-python-datamatrix.changes
        2020-07-01 20:43:49.986320781 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-datamatrix.new.28504/python-python-datamatrix.changes
     2021-02-20 22:12:28.067050391 +0100
@@ -1,0 +2,14 @@
+Fri Feb 19 16:15:01 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to 0.11.1
+  * operations.group(): convert group-key to int
+  * Fixes compatibility with some versions of NumPy which don't
+    consider np.in64 to be int
+- Changes in 0.11.0
+  * Slightly improve compatibility with pandas further
+- Drop python-python-datamatrix-remove-nose.patch merged upstream
+  gh#open-cogsci/python-datamatrix#10
+- Don't install and test optional but unavailable dependencies
+  on python36 flavor (NEP 29)
+
+-------------------------------------------------------------------

Old:
----
  python-datamatrix-release-0.10.17.tar.gz
  python-python-datamatrix-remove-nose.patch

New:
----
  python-datamatrix-release-0.11.1.tar.gz

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

Other differences:
------------------
++++++ python-python-datamatrix.spec ++++++
--- /var/tmp/diff_new_pack.1DnDmI/_old  2021-02-20 22:12:28.567050922 +0100
+++ /var/tmp/diff_new_pack.1DnDmI/_new  2021-02-20 22:12:28.567050922 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-python-datamatrix
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,28 +19,26 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-python-datamatrix
-Version:        0.10.17
+Version:        0.11.1
 Release:        0
 Summary:        A python library to work with tabular data
 License:        GPL-3.0-or-later
 Group:          Development/Languages/Python
-URL:            https://github.com/smathot/python-datamatrix
-Source:         
https://github.com/smathot/python-datamatrix/archive/release/%{version}.tar.gz#/python-datamatrix-release-%{version}.tar.gz
-# https://github.com/smathot/python-datamatrix/pull/10
-Patch0:         python-python-datamatrix-remove-nose.patch
+URL:            https://github.com/open-cogsci/python-datamatrix
+Source:         
https://github.com/open-cogsci/python-datamatrix/archive/release/%{version}.tar.gz#/python-datamatrix-release-%{version}.tar.gz
 BuildRequires:  %{python_module fastnumbers}
 BuildRequires:  %{python_module json_tricks}
-BuildRequires:  %{python_module matplotlib}
-BuildRequires:  %{python_module nibabel}
-BuildRequires:  %{python_module nilearn}
-BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module openpyxl}
-BuildRequires:  %{python_module pandas}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module scipy}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module matplotlib if (%python-base without 
python36-base)}
+BuildRequires:  %{python_module nibabel if (%python-base without 
python36-base)}
+BuildRequires:  %{python_module nilearn if (%python-base without 
python36-base)}
+BuildRequires:  %{python_module numpy if (%python-base without python36-base)}
+BuildRequires:  %{python_module pandas if (%python-base without python36-base)}
+BuildRequires:  %{python_module scipy if (%python-base without python36-base)}
 Recommends:     python-PrettyTable
 Recommends:     python-fastnumbers
 Recommends:     python-json_tricks
@@ -61,7 +59,6 @@
 
 %prep
 %setup -q -n python-datamatrix-release-%{version}
-%patch0 -p1
 # wrong-file-end-of-line-encoding
 sed -i 's/\r$//' doc-pelican/data/fratescu-replication-data-exp1.csv
 
@@ -73,7 +70,13 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest -k 'not (test_memoize or test_group or test_io or test_intcolumn or 
test_seriescolumn)'
+# all tests fail on collection or init, because they assume the presence of 
optional dependencies such as numpy
+python36_donttest="-V"
+# 32-bit datatype and precision errors
+if [ $(getconf LONG_BIT) -eq 32 ]; then
+  donttest="or test_intcolumn or test_seriescolumn"
+fi
+%pytest ${$python_donttest} ${donttest:+ -k "not (${donttest:4})"}
 
 %files %{python_files}
 %license copyright
@@ -82,6 +85,6 @@
 %doc doc-pelican/data/
 %doc doc-pelican/include/api
 %{python_sitelib}/datamatrix/
-%{python_sitelib}/python_datamatrix-%{version}-py*.egg-info
+%{python_sitelib}/python_datamatrix-%{version}*-info
 
 %changelog

++++++ python-datamatrix-release-0.10.17.tar.gz -> 
python-datamatrix-release-0.11.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-python-datamatrix/python-datamatrix-release-0.10.17.tar.gz
 
/work/SRC/openSUSE:Factory/.python-python-datamatrix.new.28504/python-datamatrix-release-0.11.1.tar.gz
 differ: char 19, line 1

Reply via email to