From 218523296a40c31aa1a21370262a0502c626bb2f Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 31 Mar 2021 12:17:57 +0300 Subject: [PATCH 1/8] python3-sqlalchemy: Upgrade 1.4.3 -> 1.4.4 Upgrade to release 1.4.4: orm: - Fixed critical issue in the new PropComparator.and_() feature where loader strategies that emit secondary SELECT statements such as selectinload() and lazyload() would fail to accommodate for bound parameters in the user-defined criteria in terms of the current statement being executed, as opposed to the cached statement, causing stale bound values to be used. - Fixed missing method Session.get() from the ScopedSession interface. engine: - Modified the context manager used by Transaction so that an "already detached" warning is not emitted by the ending of the context manager itself, if the transaction were already manually rolled back inside the block. This applies to regular transactions, savepoint transactions, and legacy "marker" transactions. A warning is still emitted if the .rollback() method is called explicitly more than once. - Repair wrong arguments to exception handling method in CursorResult. postgresql: - Fixed issue in PostgreSQL reflection where a column expressing "NOT NULL" will supersede the nullability of a corresponding domain. - Modified the is_disconnect() handler for the pg8000 dialect, which now accommodates for a new InterfaceError emitted by pg8000 1.19.0. misc: - Adjusted the usage of the importlib_metadata library for loading setuptools entrypoints in order to accommodate for some deprecation changes. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- ...{python3-sqlalchemy_1.4.3.bb => python3-sqlalchemy_1.4.4.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-sqlalchemy_1.4.3.bb => python3-sqlalchemy_1.4.4.bb} (85%) diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.3.bb b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.4.bb similarity index 85% rename from meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.3.bb rename to meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.4.bb index 8cff18dc2eb..1578da5e578 100644 --- a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.3.bb +++ b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.4.bb @@ -4,7 +4,7 @@ HOMEPAGE = "http://www.sqlalchemy.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3359ed561ac16aaa25b6c6eff84df595" -SRC_URI[sha256sum] = "a719b80b41a900bbcec3cc248616394ebd134043ce5e62185270d785d8a184d3" +SRC_URI[sha256sum] = "7ba9c00c129dbb4fd026a1f2c943188db59c802612e49bc9bded426d8eb14bc0" PYPI_PACKAGE = "SQLAlchemy" inherit pypi setuptools3 From b7ab0a32ebb2e095a8e959464056652b66994854 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 31 Mar 2021 12:17:58 +0300 Subject: [PATCH 2/8] python3-bitarray: Upgrade 1.8.1 -> 1.8.2 Upgrade to release 1.8.2: - fix crash caused by unsupported types in binary operations - speedup initializing or extending a bitarray from another with different bit endianness - add formatting options to `bitarray.util.pprint()` - add documentation on bitarray representations - add and improve tests (all 291 tests run in less than half a second on a modern machine) Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../{python3-bitarray_1.8.1.bb => python3-bitarray_1.8.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-bitarray_1.8.1.bb => python3-bitarray_1.8.2.bb} (77%) diff --git a/meta-python/recipes-devtools/python/python3-bitarray_1.8.1.bb b/meta-python/recipes-devtools/python/python3-bitarray_1.8.2.bb similarity index 77% rename from meta-python/recipes-devtools/python/python3-bitarray_1.8.1.bb rename to meta-python/recipes-devtools/python/python3-bitarray_1.8.2.bb index 9bb5f280d9d..8fd4b6c31f4 100644 --- a/meta-python/recipes-devtools/python/python3-bitarray_1.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-bitarray_1.8.2.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/ilanschnell/bitarray" LICENSE = "PSF" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d" -SRC_URI[sha256sum] = "e02f79fba7a470d438eb39017d503498faaf760b17b6b46af1a9de12fd58d311" +SRC_URI[sha256sum] = "96136d9add2b9b3b73e1eb7538b8d12547ee82dc3fbd31addef829371ce2a1bd" inherit setuptools3 pypi From bb740c60fa47dd0761ad1b30ae2b7aaf3ac0537d Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 31 Mar 2021 12:17:59 +0300 Subject: [PATCH 3/8] python3-httplib2: Upgrade 0.19.0 -> 0.19.1 Upgrade to release 0.19.1: - auth header parsing performance optimizations - Use mock from the standard library on Python>=3.3 Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../{python3-httplib2_0.19.0.bb => python3-httplib2_0.19.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-httplib2_0.19.0.bb => python3-httplib2_0.19.1.bb} (77%) diff --git a/meta-python/recipes-devtools/python/python3-httplib2_0.19.0.bb b/meta-python/recipes-devtools/python/python3-httplib2_0.19.1.bb similarity index 77% rename from meta-python/recipes-devtools/python/python3-httplib2_0.19.0.bb rename to meta-python/recipes-devtools/python/python3-httplib2_0.19.1.bb index f720723a65a..a16f8d9d202 100644 --- a/meta-python/recipes-devtools/python/python3-httplib2_0.19.0.bb +++ b/meta-python/recipes-devtools/python/python3-httplib2_0.19.1.bb @@ -4,6 +4,6 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=56e5e931172b6164b62dc7c4aba6c8cf" -SRC_URI[sha256sum] = "e0d428dad43c72dbce7d163b7753ffc7a39c097e6788ef10f4198db69b92f08e" +SRC_URI[sha256sum] = "0b12617eeca7433d4c396a100eaecfa4b08ee99aa881e6df6e257a7aad5d533d" inherit pypi setuptools3 From f5fdd8261618e77015fb2effe3ff8f1716495811 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 31 Mar 2021 12:18:00 +0300 Subject: [PATCH 4/8] python3-parso: Upgrade 0.8.1 -> 0.8.2 Upgrade to release 0.8.2: - Various small bugfixes Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/{python3-parso_0.8.1.bb => python3-parso_0.8.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-parso_0.8.1.bb => python3-parso_0.8.2.bb} (75%) diff --git a/meta-python/recipes-devtools/python/python3-parso_0.8.1.bb b/meta-python/recipes-devtools/python/python3-parso_0.8.2.bb similarity index 75% rename from meta-python/recipes-devtools/python/python3-parso_0.8.1.bb rename to meta-python/recipes-devtools/python/python3-parso_0.8.2.bb index 9e4ede52905..afcfabb95a8 100644 --- a/meta-python/recipes-devtools/python/python3-parso_0.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-parso_0.8.2.bb @@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cbaa2675b2424d771451332a7a69503f" PYPI_PACKAGE = "parso" -SRC_URI[sha256sum] = "8519430ad07087d4c997fda3a7918f7cfa27cb58972a8c89c2a0295a1c940e9e" +SRC_URI[sha256sum] = "12b83492c6239ce32ff5eed6d3639d6a536170723c6f3f1506869f1ace413398" inherit setuptools3 pypi From fb7c9b699d7904ace1fe7079668cf85eb5dd72b1 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 31 Mar 2021 12:18:01 +0300 Subject: [PATCH 5/8] python3-matplotlib: Upgrade 3.3.4 -> 3.4.1 Upgrade to relase 3.4.1: - fix errorbar when specifying fillstyle - fix Inkscape cleanup at exit on Windows for tests - fix legends of colour-mapped scatter plots - fix positioning of annotation fancy arrows - fix size and color rendering for 3D scatter plots - fix suptitle manual positioning when using constrained layout - respect antialiasing settings in cairo backends as well License-Update: Adjust setup.py line for to check the license. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- ...thon3-matplotlib_3.3.4.bb => python3-matplotlib_3.4.1.bb} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta-python/recipes-devtools/python/{python3-matplotlib_3.3.4.bb => python3-matplotlib_3.4.1.bb} (85%) diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.3.4.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.4.1.bb similarity index 85% rename from meta-python/recipes-devtools/python/python3-matplotlib_3.3.4.bb rename to meta-python/recipes-devtools/python/python3-matplotlib_3.4.1.bb index a4df9a6fe60..21c29aa2ce3 100644 --- a/meta-python/recipes-devtools/python/python3-matplotlib_3.3.4.bb +++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.4.1.bb @@ -7,7 +7,7 @@ HOMEPAGE = "https://github.com/matplotlib/matplotlib" SECTION = "devel/python" LICENSE = "PSF" LIC_FILES_CHKSUM = "\ - file://setup.py;beginline=273;endline=273;md5=e0ef37de7122ce842bcd1fb54482b353 \ + file://setup.py;beginline=282;endline=282;md5=20e7ab4d2b2b1395a0e4ab800181eb96 \ file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ " DEPENDS = "\ @@ -19,8 +19,7 @@ DEPENDS = "\ python3-certifi-native \ " -SRC_URI[md5sum] = "0b48f34ec623e765a1bda15924ce0b56" -SRC_URI[sha256sum] = "3e477db76c22929e4c6876c44f88d790aacdf3c3f8f3a90cb1975c0bf37825b0" +SRC_URI[sha256sum] = "84d4c4f650f356678a5d658a43ca21a41fca13f9b8b00169c0b76e6a6a948908" inherit pypi setuptools3 pkgconfig From ed12642c09d0a6e4c1c3386514a56de8321ac43d Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 30 Mar 2021 14:10:05 +0300 Subject: [PATCH 6/8] python3-pyroute2: Upgrade 0.5.15 -> 0.5.16 Upgrade to release 0.5.16: - ndb: fix syntax for Python < 3.6 Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../{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%) diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.5.15.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.5.16.bb 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 ca168b13758..fed0fc38fe7 100644 --- a/meta-python/recipes-devtools/python/python3-pyroute2_0.5.15.bb +++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.5.16.bb @@ -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 From fe12398935af3bb2041870d49dd0f6288e492f78 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 30 Mar 2021 14:10:06 +0300 Subject: [PATCH 7/8] 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 Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../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%) diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch index 4881b023c80..9b79cc5395b 100644 --- a/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch +++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch @@ -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 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 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}" diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch index d0c2ece19bb..0b8555734a6 100644 --- a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch +++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch @@ -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 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 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 diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb 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 03ae4c9db40..5faa0b8080f 100644 --- a/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb @@ -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 \ " From 9a9bcde5e31d4e37b94e5c3f0cd7340c8f8e2f1f Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 30 Mar 2021 14:10:07 +0300 Subject: [PATCH 8/8] python3-cheetah: Upgrade 3.2.6 -> 3.2.6.post1 Upgrade to release 3.2.6.post1: - Improvement and refactoring in CI and tests with ``tox``. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- ...{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%) diff --git a/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.bb b/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb 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 a7e5443f25b..8149d6ccee4 100644 --- a/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.bb +++ b/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb @@ -11,4 +11,4 @@ RDEPENDS_${PN}_class-native = "" BBCLASSEXTEND = "native nativesdk" -SRC_URI[sha256sum] = "f1c2b693cdcac2ded2823d363f8459ae785261e61c128d68464c8781dba0466b" +SRC_URI[sha256sum] = "58b5d84e5fbff6cf8e117414b3ea49ef51654c02ee887d155113c5b91d761967"