Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-construct"

Tue Feb 16 22:34:03 2021 rev:16 rq:872041 version:2.10.60

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes        
2020-06-26 21:43:50.969524964 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-construct.new.28504/python-construct.changes 
    2021-02-16 22:34:06.825466178 +0100
@@ -1,0 +2,8 @@
+Sat Feb 13 22:25:12 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 2.10.60
+  * no changelog
+- Skip NumPy tests on pyhton36 flavor. Due to NEP29, python36-numpy 
+  is being dropped in TW, but it is just optional for construct.
+
+-------------------------------------------------------------------

Old:
----
  v2.10.56.tar.gz

New:
----
  construct-2.10.60.tar.gz

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

Other differences:
------------------
++++++ python-construct.spec ++++++
--- /var/tmp/diff_new_pack.HvFpb9/_old  2021-02-16 22:34:07.417466989 +0100
+++ /var/tmp/diff_new_pack.HvFpb9/_new  2021-02-16 22:34:07.417466989 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python
 #
-# 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
@@ -26,26 +26,30 @@
 %endif
 %define skip_python2 1
 Name:           python-construct%{?psuffix}
-Version:        2.10.56
+Version:        2.10.60
 Release:        0
 Summary:        A declarative parser/builder for binary data
 License:        MIT
 URL:            https://github.com/construct/construct
-Source:         
https://github.com/construct/construct/archive/v%{version}.tar.gz
+Source:         
https://github.com/construct/construct/archive/v%{version}.tar.gz#/construct-%{version}.tar.gz
 Patch0:         split_debug.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-arrow
+Recommends:     python-cloudpickle
+Recommends:     python-lz4
 Recommends:     python-numpy
 Recommends:     python-ruamel.yaml
 BuildArch:      noarch
 %if %{with test}
 BuildRequires:  %{python_module arrow}
-BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module cloudpickle}
+BuildRequires:  %{python_module lz4}
 BuildRequires:  %{python_module pytest-benchmark}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module ruamel.yaml}
+BuildRequires:  %{python_module numpy if (%python-base without python36-base)}
 %endif
 %python_subpackages
 
@@ -80,7 +84,9 @@
 %if %{with test}
 # local source dir is needed for tests
 export PYTHONPATH=$(pwd)
-%pytest --benchmark-disable
+# Don't test with NumPy in the python36 flavor, because python36-numpy is not 
in TW anymore
+python36_donttest="numpy or test_overall_parse or test_overall_build"
+%pytest --benchmark-disable ${$python_donttest:+ -k "not 
(${$python_donttest})"}
 %endif
 
 %if %{without test}

Reply via email to