Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-awkward for openSUSE:Factory 
checked in at 2022-03-09 18:47:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-awkward (Old)
 and      /work/SRC/openSUSE:Factory/.python-awkward.new.2349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-awkward"

Wed Mar  9 18:47:41 2022 rev:9 rq:960301 version:1.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes    
2021-12-12 21:28:27.944371974 +0100
+++ /work/SRC/openSUSE:Factory/.python-awkward.new.2349/python-awkward.changes  
2022-03-11 11:52:08.667040737 +0100
@@ -1,0 +2,19 @@
+Sat Mar  5 15:25:15 UTC 2022 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 1.8.0:
+  * Bumped pybind11 to 2.9.1 [gh#scikit-hep/awkward-1.0#1316].
+  * Added optiontype_outside_record option to ak.zip
+    [gh#scikit-hep/awkward-1.0#1308].
+  * Fixed typo in ArrayBuilder documentation
+    [gh#scikit-hep/awkward-1.0#1326].
+  * Many more changes through various 1.8.0rc versions, see
+    https://awkward-array.readthedocs.io/en/latest/_auto/changelog.html.
+- Add awkward-import-packging-not-setuptools_external.patch:
+  Directly use packaging module instead of setuptools.extern; the
+  latter is used by upstream to keep dependencies to a minimum,
+  but importing setuptools and trying to then use
+  setuptools.external does not work on openSUSE.
+- Add python-packaging BuildRequires, needed for tests in light of
+  above patch, and Requires.
+
+-------------------------------------------------------------------

Old:
----
  awkward-1.7.0.tar.gz

New:
----
  awkward-1.8.0.tar.gz
  awkward-import-packging-not-setuptools_external.patch

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

Other differences:
------------------
++++++ python-awkward.spec ++++++
--- /var/tmp/diff_new_pack.tGfrF1/_old  2022-03-11 11:52:09.119041268 +0100
+++ /var/tmp/diff_new_pack.tGfrF1/_new  2022-03-11 11:52:09.123041273 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-awkward
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 %global skip_python2 1
 %global skip_python36 1
 Name:           python-awkward
-Version:        1.7.0
+Version:        1.8.0
 Release:        0
 Summary:        Manipulate arrays of complex data structures as easily as Numpy
 License:        BSD-3-Clause
@@ -31,6 +31,8 @@
 Patch0:         awkward-cmake-build-with-RelWithDebInfo.patch
 # PATCH-FEATURE-OPENSUSE awkward-correct-includedir.patch badshah400#gmail.com 
-- Make awkward.config return the correct includedir where we move the header 
files to
 Patch1:         awkward-correct-includedir.patch
+# PATCH-FEATURE-OPENSUSE awkward-import-packging-not-setuptools_external.patch 
badshah...@gmail.com -- Directly use packaging module instead of 
setuptools.extern
+Patch2:         awkward-import-packging-not-setuptools_external.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  cmake
@@ -38,12 +40,14 @@
 BuildRequires:  gcc-c++
 BuildRequires:  python-rpm-macros
 Requires:       python-numpy >= 1.13.1
+Requires:       python-packaging
 Recommends:     python-cupy
 Recommends:     python-numba
 Recommends:     python-pandas
 # SECTION test requirements
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module numpy >= 1.13.1}
+BuildRequires:  %{python_module packaging}
 BuildRequires:  %{python_module pandas}
 BuildRequires:  %{python_module pytest}
 %if 0%{?suse_version} >= 1550

++++++ awkward-1.7.0.tar.gz -> awkward-1.8.0.tar.gz ++++++
++++ 110957 lines of diff (skipped)

++++++ awkward-cmake-build-with-RelWithDebInfo.patch ++++++
--- /var/tmp/diff_new_pack.tGfrF1/_old  2022-03-11 11:52:09.615041852 +0100
+++ /var/tmp/diff_new_pack.tGfrF1/_new  2022-03-11 11:52:09.619041856 +0100
@@ -1,8 +1,8 @@
-Index: awkward-1.4.0/setup.py
+Index: awkward-1.8.0/setup.py
 ===================================================================
---- awkward-1.4.0.orig/setup.py
-+++ awkward-1.4.0/setup.py
-@@ -85,7 +85,7 @@ class CMakeBuild(setuptools.command.buil
+--- awkward-1.8.0.orig/setup.py
++++ awkward-1.8.0/setup.py
+@@ -79,7 +79,7 @@ class CMakeBuild(setuptools.command.buil
          if not extdir.endswith(os.path.sep):
              extdir += os.path.sep
  

++++++ awkward-import-packging-not-setuptools_external.patch ++++++
Index: awkward-1.8.0/src/awkward/_v2/_util.py
===================================================================
--- awkward-1.8.0.orig/src/awkward/_v2/_util.py
+++ awkward-1.8.0/src/awkward/_v2/_util.py
@@ -6,7 +6,7 @@
 # import re
 # import os.path
 # import warnings
-import setuptools
+import packaging
 import os
 import numbers
 
@@ -42,7 +42,7 @@ def regularize_backend(backend):
 
 
 def parse_version(version):
-    return setuptools.extern.packaging.version.parse(version)
+    return packaging.version.parse(version)
 
 
 def numpy_at_least(version):
Index: awkward-1.8.0/tests/test_0080-flatpandas-multiindex-rows-and-columns.py
===================================================================
--- awkward-1.8.0.orig/tests/test_0080-flatpandas-multiindex-rows-and-columns.py
+++ awkward-1.8.0/tests/test_0080-flatpandas-multiindex-rows-and-columns.py
@@ -2,7 +2,7 @@
 
 
 import json
-import setuptools
+import packaging
 
 import pytest  # noqa: F401
 import numpy as np  # noqa: F401
@@ -12,8 +12,8 @@ pandas = pytest.importorskip("pandas")
 
 
 @pytest.mark.skipif(
-    setuptools.extern.packaging.version.parse(pandas.__version__)
-    < setuptools.extern.packaging.version.parse("1.0"),
+    packaging.version.parse(pandas.__version__)
+    < packaging.version.parse("1.0"),
     reason="Test Pandas in 1.0+ because they had to fix their JSON format.",
 )
 def test():

Reply via email to