Skip to contentSkip to conversation

python3-pyroute2: Upgrade 0.5.15 -> 0.5.16

PATCH New Leon Anavi 1 participant 3 messages Mar 30, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/3 python3-pyroute2: Upgrade 0.5.15 -> 0.5.16

Upgrade to release 0.5.16:

- ndb: fix syntax for Python < 3.6

---
 .../{python3-pyroute2_0.5.15.bb => python3-pyroute2_0.5.16.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pyroute2_0.5.15.bb => python3-pyroute2_0.5.16.bb} (90%)
meta-python/recipes-devtools/python/python3-pyroute2_0.5.16.bb renamed from meta-python/recipes-devtools/python/python3-pyroute2_0.5.15.bb +1 -1
similarity index 90%
rename from meta-python/recipes-devtools/python/python3-pyroute2_0.5.15.bb
rename to meta-python/recipes-devtools/python/python3-pyroute2_0.5.16.bb
index ca168b137..fed0fc38f 100644
@@ -3,7 +3,7 @@ LICENSE = "GPLv2 & Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce"
 
-SRC_URI[sha256sum] = "d730eff091dd5b2b78282bc82ebe6888e7ee4d70b79468b1da58d99fc1a2a2fc"
+SRC_URI[sha256sum] = "fe681a2d008cac815b9f287250d69a333fbfc2b2d89c37d58798104057149989"
 
 inherit setuptools3 pypi ptest
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/3 python3-h5py: Upgrade 3.1.0 -> 3.2.1

Upgrade to release 3.2.1:

- Added support to use the HDF5 ROS3 driver to access HDF5 files on S3
- Setting the config option default_file_mode to values other than 'r' is deprecated. Pass the desired mode when opening a :class:~.File instead.
- :exc:OSError exceptions raised by h5py should now have a useful .errno attribute, where HDF5 provides this information. Subclasses such as :exc:FileNotFoundError should also be raised where appropriate.
- Fix reading data with a datatype of variable-length arrays of fixed length strings.
- Fix :meth:.Dataset.read_direct and :meth:.Dataset.write_direct when the source and destination have different shapes.
- Fix selecting data using integer indices in :meth:.Dataset.read_direct and :meth:.Dataset.write_direct.
- Fix exception handling in :meth:.Group.visititems.
- Issue a warning when File(..., swmr=True) is specified with any mode other than 'r', as the SWMR option is ignored in these cases.
- Fix NumPy 1.20 deprecation warnings concerning the use of None as shape, and the deprecated aliases np.float, np.int and np.bool.
- Fix :attr:.File.driver when the read-only S3 driver is available.

Add hdf5-native as a dependency to avoid:

error: libhdf5.so: cannot open shared object file: No such file or directory

---
 .../python3-h5py/0001-setup.py-Fix-numpy-version.patch    | 8 ++++----
 .../0001-setup_build.py-avoid-absolute-path.patch         | 4 ++--
 .../{python3-h5py_3.1.0.bb => python3-h5py_3.2.1.bb}      | 3 ++-
 3 files changed, 8 insertions(+), 7 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-h5py_3.1.0.bb => python3-h5py_3.2.1.bb} (87%)
meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch +4 -4
index 4881b023c..9b79cc539 100644
@@ -1,4 +1,4 @@
-From e6c0d487fb5e6063305b8b3187896fbfe5720ed2 Mon Sep 17 00:00:00 2001
+From b1d4d171fd13624f3d8bb917f716b62494066501 Mon Sep 17 00:00:00 2001
 From: Leon Anavi <[email protected]>
 Date: Mon, 22 Feb 2021 18:42:43 +0200
 Subject: [PATCH] setup.py: Fix numpy version
@@ -14,12 +14,12 @@ Signed-off-by: Leon Anavi <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/setup.py b/setup.py
-index 7dbe583..6602c97 100755
+index 4b2890c..42ba21b 100755
 --- a/setup.py
 +++ b/setup.py
 @@ -49,7 +49,7 @@ SETUP_REQUIRES = [
-     f"Cython >=0.29; python_version<'3.8'",
-     f"Cython >=0.29.14; python_version>='3.8'",
+     "Cython >=0.29.14; python_version=='3.8'",
+     "Cython >=0.29.15; python_version>='3.9'",
  ] + [
 -    f"numpy =={np_min}; python_version{py_condition}"
 +    f"numpy >={np_min}; python_version{py_condition}"
meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch +2 -2
index d0c2ece19..0b8555734 100644
@@ -1,4 +1,4 @@
-From 1a46082d0889a784037952c4da0cde3822849032 Mon Sep 17 00:00:00 2001
+From 6f8cee826ef9309c174aa97cb6af2ba532ed9dba Mon Sep 17 00:00:00 2001
 From: Mingli Yu <[email protected]>
 Date: Thu, 28 Jan 2021 18:44:10 -0800
 Subject: [PATCH] setup_build.py: avoid absolute path
@@ -15,7 +15,7 @@ Signed-off-by: Leon Anavi <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/setup_build.py b/setup_build.py
-index 3c7c7ad..d824bdd 100644
+index 78c6677..64db7f7 100644
 --- a/setup_build.py
 +++ b/setup_build.py
 @@ -21,7 +21,7 @@ from setup_configure import BuildConfig
meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb renamed from meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb +2 -1
similarity index 87%
rename from meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
rename to meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb
index 03ae4c9db..5faa0b808 100644
@@ -4,7 +4,7 @@ SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c"
 
-SRC_URI[sha256sum] = "1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2"
+SRC_URI[sha256sum] = "89474be911bfcdb34cbf0d98b8ec48b578c27a89fdb1ae4ee7513f1ef8d9249e"
 
 SRC_URI_append = " \
            file://0001-setup_build.py-avoid-absolute-path.patch \
@@ -19,6 +19,7 @@ DEPENDS = "python3-pkgconfig-native \
            python3-cython-native \
            python3-numpy-native \
            python3-six-native \
+           hdf5-native \
            python3 \
            hdf5 \
           "
Signature · 1 line
2.17.1
author
#2 lore raw

PATCH 3/3 python3-cheetah: Upgrade 3.2.6 -> 3.2.6.post1

In reply to Leon Anavi

Upgrade to release 3.2.6.post1:

- Improvement and refactoring in CI and tests with ``tox``.

---
 ...{python3-cheetah_3.2.6.bb => python3-cheetah_3.2.6.post1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-cheetah_3.2.6.bb => python3-cheetah_3.2.6.post1.bb} (80%)
meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb renamed from meta-python/recipes-devtools/python/python3-cheetah_3.2.6.bb +1 -1
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-cheetah_3.2.6.bb
rename to meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb
index a7e5443f2..8149d6cce 100644
@@ -11,4 +11,4 @@ RDEPENDS_${PN}_class-native = ""
 
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI[sha256sum] = "f1c2b693cdcac2ded2823d363f8459ae785261e61c128d68464c8781dba0466b"
+SRC_URI[sha256sum] = "58b5d84e5fbff6cf8e117414b3ea49ef51654c02ee887d155113c5b91d761967"
Signature · 1 line
2.17.1