From 1d2528a4d4361bed7fda007500c2c6e9caed841b Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 12 Nov 2021 10:59:47 +0200 Subject: [PATCH 01/19] python3-yappi: Upgrade 1.3.2 -> 1.3.3 Upgrade to release 1.3.3: - Fix 3.10 support - Fix wrong sorting key when tavg is selected Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-yappi/python310.patch | 51 ------------------- ...-yappi_1.3.2.bb => python3-yappi_1.3.3.bb} | 3 +- 2 files changed, 1 insertion(+), 53 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-yappi/python310.patch rename meta-python/recipes-devtools/python/{python3-yappi_1.3.2.bb => python3-yappi_1.3.3.bb} (86%) diff --git a/meta-python/recipes-devtools/python/python3-yappi/python310.patch b/meta-python/recipes-devtools/python/python3-yappi/python310.patch deleted file mode 100644 index 6dd58ae9687..00000000000 --- a/meta-python/recipes-devtools/python/python3-yappi/python310.patch +++ /dev/null @@ -1,51 +0,0 @@ -From d40bc0e8230dd35e05222f5761e3d7f7a75fd46e Mon Sep 17 00:00:00 2001 -From: Alexander Shadchin -Date: Tue, 1 Jun 2021 02:31:12 +0300 -Subject: [PATCH] Adapt to Python 3.10 beta 1 - -Upstream-Status: Backport -Signed-off-by: Alexander Kanavin ---- - yappi/_yappi.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/yappi/_yappi.c b/yappi/_yappi.c -index 1721280..343130d 100644 ---- a/yappi/_yappi.c -+++ b/yappi/_yappi.c -@@ -1258,7 +1258,11 @@ _resume_greenlet_ctx(_ctx *ctx) - static _ctx * - _bootstrap_thread(PyThreadState *ts) - { -+#if PY_VERSION_HEX < 0x030a00b1 - ts->use_tracing = 1; -+#else -+ ts->cframe->use_tracing = 1; -+#endif - ts->c_profilefunc = _yapp_callback; - return NULL; - } -@@ -1289,7 +1293,11 @@ _profile_thread(PyThreadState *ts) - ctx = (_ctx *)it->val; - } - -+#if PY_VERSION_HEX < 0x030a00b1 - ts->use_tracing = 1; -+#else -+ ts->cframe->use_tracing = 1; -+#endif - ts->c_profilefunc = _yapp_callback; - ctx->id = ctx_id; - ctx->tid = ts->thread_id; -@@ -1306,7 +1314,11 @@ _profile_thread(PyThreadState *ts) - static _ctx* - _unprofile_thread(PyThreadState *ts) - { -+#if PY_VERSION_HEX < 0x030a00b1 - ts->use_tracing = 0; -+#else -+ ts->cframe->use_tracing = 0; -+#endif - ts->c_profilefunc = NULL; - - return NULL; //dummy return for enum_threads() func. prototype diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb b/meta-python/recipes-devtools/python/python3-yappi_1.3.3.bb similarity index 86% rename from meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb rename to meta-python/recipes-devtools/python/python3-yappi_1.3.3.bb index 7cfc84e756d..45a5f058ac6 100644 --- a/meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-yappi_1.3.3.bb @@ -4,12 +4,11 @@ HOMEPAGE = "https://github.com/sumerc/yappi" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee" -SRC_URI[sha256sum] = "a51d3e6e5563cc74b5bb82ed6e7bd44a9c1a7eae3d97e4d52e9465edb3a8da8d" +SRC_URI[sha256sum] = "855890cd9a90d833dd2df632d648de8ccd0a4c3131f1edc8abd004db0625b5e8" SRC_URI += " \ file://run-ptest \ file://0001-Fix-imports-for-ptests.patch \ - file://python310.patch \ " inherit pypi setuptools3 ptest From 36dea72e8ea9bb3111e044401a531058d703db14 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 12 Nov 2021 21:05:42 +0200 Subject: [PATCH 02/19] python3-pydicti: Upgrade 1.1.4 -> 1.1.6 Upgrade to release 1.1.6: - Update the badges on the landing page - Maintenance release for testing automatic releases using GitHub Actions Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-pydicti_1.1.4.bb => python3-pydicti_1.1.6.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-pydicti_1.1.4.bb => python3-pydicti_1.1.6.bb} (60%) diff --git a/meta-python/recipes-devtools/python/python3-pydicti_1.1.4.bb b/meta-python/recipes-devtools/python/python3-pydicti_1.1.6.bb similarity index 60% rename from meta-python/recipes-devtools/python/python3-pydicti_1.1.4.bb rename to meta-python/recipes-devtools/python/python3-pydicti_1.1.6.bb index 29ad30e0f5a..17c52881ed4 100644 --- a/meta-python/recipes-devtools/python/python3-pydicti_1.1.4.bb +++ b/meta-python/recipes-devtools/python/python3-pydicti_1.1.6.bb @@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/coldfix/pydicti" LICENSE = "WTFPL" LIC_FILES_CHKSUM = "file://COPYING;md5=389a9e29629d1f05e115f8f05c283df5" -SRC_URI[md5sum] = "c8925e333a78766cb469c1626880bd35" -SRC_URI[sha256sum] = "dcea4d1892fc68ca62aba835b1ed444a1eb48bd0cca0b4599efd45cbb6272b5c" +SRC_URI[sha256sum] = "32eb329de2023c92158ac6c2d67837adf96195f188ba8d768b3248a0218b5a65" inherit pypi setuptools3 From 16cc99693747e4bca25a2c21bb94f8e8345ad2c6 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 12 Nov 2021 21:05:43 +0200 Subject: [PATCH 03/19] python3-zeroconf: Upgrade 0.36.9 -> 0.36.12 Upgrade to release 0.36.12: - Prevent service lookups from deadlocking if time abruptly moves backwards - scope_id is now stripped from IPv6 addresses if given - Optimized decoding labels from incoming packets Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-zeroconf_0.36.9.bb => python3-zeroconf_0.36.12.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-zeroconf_0.36.9.bb => python3-zeroconf_0.36.12.bb} (79%) diff --git a/meta-python/recipes-devtools/python/python3-zeroconf_0.36.9.bb b/meta-python/recipes-devtools/python/python3-zeroconf_0.36.12.bb similarity index 79% rename from meta-python/recipes-devtools/python/python3-zeroconf_0.36.9.bb rename to meta-python/recipes-devtools/python/python3-zeroconf_0.36.12.bb index 8258ddd51dd..24af70eee86 100644 --- a/meta-python/recipes-devtools/python/python3-zeroconf_0.36.9.bb +++ b/meta-python/recipes-devtools/python/python3-zeroconf_0.36.12.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jstasiak/python-zeroconf" LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=3bb705b228ea4a14ea2728215b780d80" -SRC_URI[sha256sum] = "023ebc58b765537edcb0395367b732e5271e2659760b1d5c6119aaacaeb7b390" +SRC_URI[sha256sum] = "1f1994f550abfeda10a9d5924c7e5b463213ea5ca87198da751c74995f59e780" inherit pypi setuptools3 From 0e68a12731e3c22316c84953a12713e2ecee28fc Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 12 Nov 2021 21:05:44 +0200 Subject: [PATCH 04/19] python3-yarl: Upgrade 1.7.0 -> 1.7.2 Upgrade to release 1.7.2: - Changed call in with_port() to stop reencoding parts of the URL that were already encoded. - Fix 1.7.0 build error Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/{python3-yarl_1.7.0.bb => python3-yarl_1.7.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-yarl_1.7.0.bb => python3-yarl_1.7.2.bb} (86%) diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.7.0.bb b/meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb similarity index 86% rename from meta-python/recipes-devtools/python/python3-yarl_1.7.0.bb rename to meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb index acb4b4ac20c..0867d1cb536 100644 --- a/meta-python/recipes-devtools/python/python3-yarl_1.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/aio-libs/yarl/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=e581798a7b985311f29fa3e163ea27ae" -SRC_URI[sha256sum] = "8e7ebaf62e19c2feb097ffb7c94deb0f0c9fab52590784c8cd679d30ab009162" +SRC_URI[sha256sum] = "45399b46d60c253327a460e99856752009fcee5f5d3c80b2f7c0cae1c38d56dd" SRC_URI += "file://run-ptest" From e7203893662395eab29489e8f3f2174383fedf3c Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 12 Nov 2021 21:05:45 +0200 Subject: [PATCH 05/19] python3-elementpath: Upgrade 2.3.2 -> 2.4.0 Upgrade to release 2.4.0: - Fix type annotations and going strict on parsers and other public classes - Add XPathConstructor token class (subclass of XPathFunction) - Last release for Python 3.6 Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- ...ython3-elementpath_2.3.2.bb => python3-elementpath_2.4.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-elementpath_2.3.2.bb => python3-elementpath_2.4.0.bb} (83%) diff --git a/meta-python/recipes-devtools/python/python3-elementpath_2.3.2.bb b/meta-python/recipes-devtools/python/python3-elementpath_2.4.0.bb similarity index 83% rename from meta-python/recipes-devtools/python/python3-elementpath_2.3.2.bb rename to meta-python/recipes-devtools/python/python3-elementpath_2.4.0.bb index 4c94d937828..ed55077e3fe 100644 --- a/meta-python/recipes-devtools/python/python3-elementpath_2.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-elementpath_2.4.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/sissaschool/elementpath" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=5dbb7fb7d72da3921202dd7b995d3ecf" -SRC_URI[sha256sum] = "392f32a5efdf15c14f3f56ef8422364f8b0a74a12f51a66d9c903c172fe3594b" +SRC_URI[sha256sum] = "5b6801b3be94d48d213beb7b8ebad96addb35c95fc6a9c062c80e033b4a32fe8" PYPI_PACKAGE = "elementpath" inherit pypi setuptools3 From e30ec8712f7f5736b7234e13081756a5f06f35a5 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 12 Nov 2021 21:05:46 +0200 Subject: [PATCH 06/19] python3-astroid: Upgrade 2.8.4 -> 2.8.5 Upgrade to release 2.8.5: - Use more permissive versions for the typed-ast dependencie (<2.0 instead of <1.5) - Fix crash on inference of __len__. - Added missing kind (for Const) and conversion (for FormattedValue) fields to repr. - Fix crash with assignment expressions, nested if expressions and filtering of statements - Fix incorrect filtering of assignment expressions statements Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-astroid_2.8.4.bb => python3-astroid_2.8.5.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-astroid_2.8.4.bb => python3-astroid_2.8.5.bb} (89%) diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.8.4.bb b/meta-python/recipes-devtools/python/python3-astroid_2.8.5.bb similarity index 89% rename from meta-python/recipes-devtools/python/python3-astroid_2.8.4.bb rename to meta-python/recipes-devtools/python/python3-astroid_2.8.5.bb index 1d2767fba1b..f8f050cabc6 100644 --- a/meta-python/recipes-devtools/python/python3-astroid_2.8.4.bb +++ b/meta-python/recipes-devtools/python/python3-astroid_2.8.5.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" -SRC_URI[sha256sum] = "1e83a69fd51b013ebf5912d26b9338d6643a55fec2f20c787792680610eed4a2" +SRC_URI[sha256sum] = "11f7356737b624c42e21e71fe85eea6875cb94c03c82ac76bd535a0ff10b0f25" inherit pypi setuptools3 From 6d0da1ad34de3c82a53d19ac50632f2ea6706574 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 12 Nov 2021 21:05:47 +0200 Subject: [PATCH 07/19] python3-coverage: Upgrade 6.1.1 -> 6.1.2 Upgrade to release 6.1.2: - Python 3.11 is supported (tested with 3.11.0a2). One still-open issue has to do with exits through with-statements. - Fix: When remapping file paths through the [paths] setting while combining, the [run] relative_files setting was ignored, resulting in absolute paths for remapped file names. This is now fixed. - Fix: Complex conditionals over excluded lines could have incorrectly reported a missing branch. This is now fixed. - Fix: More exceptions are now handled when trying to parse source files for reporting. Problems that used to terminate coverage.py can now be handled with [report] ignore_errors. This helps with plugins failing to read files. - Fix: Removed another vestige of jQuery from the source tarball. - Fix: Added a default value for a new-to-6.x argument of an internal class. This unsupported class is being used by coveralls. Although I'd rather not "fix" unsupported interfaces, it's actually nicer with a default value. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-coverage_6.1.1.bb => python3-coverage_6.1.2.bb} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-coverage_6.1.1.bb => python3-coverage_6.1.2.bb} (62%) diff --git a/meta-python/recipes-devtools/python/python3-coverage_6.1.1.bb b/meta-python/recipes-devtools/python/python3-coverage_6.1.2.bb similarity index 62% rename from meta-python/recipes-devtools/python/python3-coverage_6.1.1.bb rename to meta-python/recipes-devtools/python/python3-coverage_6.1.2.bb index a99fca2cb82..c456800c533 100644 --- a/meta-python/recipes-devtools/python/python3-coverage_6.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-coverage_6.1.2.bb @@ -3,7 +3,10 @@ HOMEPAGE = "https://coverage.readthedocs.io" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" -SRC_URI[sha256sum] = "b8e4f15b672c9156c1154249a9c5746e86ac9ae9edc3799ee3afebc323d9d9e0" +SRC_URI[sha256sum] = "d9a635114b88c0ab462e0355472d00a180a5fbfd8511e7f18e4ac32652e7d972" inherit pypi setuptools3 +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-sqlite3 \ +" From eed24ac594c0c9375e2175702bdbacf504b7ad96 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Mon, 15 Nov 2021 17:42:54 +0100 Subject: [PATCH 08/19] python3-email-validator: new package Signed-off-by: Bartosz Golaszewski Signed-off-by: Khem Raj --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../python/python3-email-validator_1.1.3.bb | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-email-validator_1.1.3.bb diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 477215118b4..be0786f607f 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -113,6 +113,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-dynamic-dispatch \ python3-ecdsa \ python3-editor \ + python3-email-validator \ python3-engineio \ python3-et-xmlfile \ python3-evdev \ diff --git a/meta-python/recipes-devtools/python/python3-email-validator_1.1.3.bb b/meta-python/recipes-devtools/python/python3-email-validator_1.1.3.bb new file mode 100644 index 00000000000..b81e39a1515 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-email-validator_1.1.3.bb @@ -0,0 +1,13 @@ +SUMMARY = "A robust email address syntax and deliverability validation library." +SECTION = "devel/python" +LICENSE = "CC0-1.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=65d3616852dbf7b1a6d4b53b00626032" + +SRC_URI[md5sum] = "25582cf3d415c7fdd44b980a095e0d53" +SRC_URI[sha256sum] = "aa237a65f6f4da067119b7df3f13e89c25c051327b2b5b66dc075f33d62480d7" + +PYPI_PACKAGE = "email_validator" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "python3-dnspython python3-idna" From 47b3be29ae920307ac9c41792ecb8660767b1cf5 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 15 Nov 2021 15:10:19 +0200 Subject: [PATCH 09/19] python3-aenum: Upgrade 3.1.3 -> 3.1.5 Upgrade to release 3.1.5: - fix extend_enum() - tests: move enum setting from body to header Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-aenum_3.1.3.bb => python3-aenum_3.1.5.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-aenum_3.1.3.bb => python3-aenum_3.1.5.bb} (65%) diff --git a/meta-python/recipes-devtools/python/python3-aenum_3.1.3.bb b/meta-python/recipes-devtools/python/python3-aenum_3.1.5.bb similarity index 65% rename from meta-python/recipes-devtools/python/python3-aenum_3.1.3.bb rename to meta-python/recipes-devtools/python/python3-aenum_3.1.5.bb index ad7d3631922..4da70b86d52 100644 --- a/meta-python/recipes-devtools/python/python3-aenum_3.1.3.bb +++ b/meta-python/recipes-devtools/python/python3-aenum_3.1.5.bb @@ -3,8 +3,12 @@ HOMEPAGE = "https://pypi.org/project/aenum/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://aenum/LICENSE;md5=c6a85477543f8b8591b9c1f82abebbe9" -SRC_URI[sha256sum] = "1d494e4d3b3e3e95389aee420203d945776d2430ee9a3d4f162e267b3a7ec3a6" +SRC_URI[sha256sum] = "2ebad8590b6a0183c0d9893523b458edce987ae4533339c5ac185cfac32daf1a" inherit pypi setuptools3 +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-pprint \ +" + BBCLASSEXTEND = "native nativesdk" From 0eb434ca0512832508e7d723b9f09c4b6645c6aa Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 15 Nov 2021 15:10:20 +0200 Subject: [PATCH 10/19] python3-zeroconf: Upgrade 0.36.12 -> 0.36.13 Upgrade to release 0.36.13: - Unavailable interfaces are now skipped during socket bind - Downgraded incoming corrupt packet logging to debug Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- ...{python3-zeroconf_0.36.12.bb => python3-zeroconf_0.36.13.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-zeroconf_0.36.12.bb => python3-zeroconf_0.36.13.bb} (79%) diff --git a/meta-python/recipes-devtools/python/python3-zeroconf_0.36.12.bb b/meta-python/recipes-devtools/python/python3-zeroconf_0.36.13.bb similarity index 79% rename from meta-python/recipes-devtools/python/python3-zeroconf_0.36.12.bb rename to meta-python/recipes-devtools/python/python3-zeroconf_0.36.13.bb index 24af70eee86..ccab7fe4c9e 100644 --- a/meta-python/recipes-devtools/python/python3-zeroconf_0.36.12.bb +++ b/meta-python/recipes-devtools/python/python3-zeroconf_0.36.13.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jstasiak/python-zeroconf" LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=3bb705b228ea4a14ea2728215b780d80" -SRC_URI[sha256sum] = "1f1994f550abfeda10a9d5924c7e5b463213ea5ca87198da751c74995f59e780" +SRC_URI[sha256sum] = "196fa1bd6e166f0333e3e9fff076f9991bf2719c4788287eaec577c241ef96bf" inherit pypi setuptools3 From 68976f656f573947974f8afd208f5eca4589357e Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 15 Nov 2021 15:10:21 +0200 Subject: [PATCH 11/19] python3-bandit: Uprade 1.7.0 -> 1.7.1 Upgrade to release 1.7.1: - Fix broken reported URL link for B107 - fix reading initial values from .bandit - Always use a Loader in yaml.load - PEP-518 support: configure bandit via pyproject.toml Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-bandit_1.7.0.bb => python3-bandit_1.7.1.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-bandit_1.7.0.bb => python3-bandit_1.7.1.bb} (74%) diff --git a/meta-python/recipes-devtools/python/python3-bandit_1.7.0.bb b/meta-python/recipes-devtools/python/python3-bandit_1.7.1.bb similarity index 74% rename from meta-python/recipes-devtools/python/python3-bandit_1.7.0.bb rename to meta-python/recipes-devtools/python/python3-bandit_1.7.1.bb index 18989c6d825..ad6df1be443 100644 --- a/meta-python/recipes-devtools/python/python3-bandit_1.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-bandit_1.7.1.bb @@ -2,8 +2,7 @@ SUMMARY = "Security oriented static analyser for python code." LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" -SRC_URI[md5sum] = "24965f102dc62129d3fafe4fe596a3b8" -SRC_URI[sha256sum] = "8a4c7415254d75df8ff3c3b15cfe9042ecee628a1e40b44c15a98890fbfc2608" +SRC_URI[sha256sum] = "a81b00b5436e6880fa8ad6799bc830e02032047713cbb143a12939ac67eb756c" DEPENDS = "python3-pbr-native python3-git python3-pbr python3-pyyaml python3-six python3-stevedore" From 20f9ef0d8e4e74d081b98e1d8a005d042f7265ef Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 15 Nov 2021 15:10:22 +0200 Subject: [PATCH 12/19] python3-colorlog: Upgrade 6.5.0 -> 6.6.0 Upgrade to release 6.6.0: - Add a force_color option to colorlog.formatter.ColoredFormatter - Support the FORCE_COLOR environment variable Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-colorlog_6.5.0.bb => python3-colorlog_6.6.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-colorlog_6.5.0.bb => python3-colorlog_6.6.0.bb} (75%) diff --git a/meta-python/recipes-devtools/python/python3-colorlog_6.5.0.bb b/meta-python/recipes-devtools/python/python3-colorlog_6.6.0.bb similarity index 75% rename from meta-python/recipes-devtools/python/python3-colorlog_6.5.0.bb rename to meta-python/recipes-devtools/python/python3-colorlog_6.6.0.bb index bd90083308c..2f8a0e5ca86 100644 --- a/meta-python/recipes-devtools/python/python3-colorlog_6.5.0.bb +++ b/meta-python/recipes-devtools/python/python3-colorlog_6.6.0.bb @@ -7,4 +7,4 @@ inherit pypi setuptools3 PYPI_PACKAGE = "colorlog" -SRC_URI[sha256sum] = "cf62a8e389d5660d0d22be17937b25b9abef9497ddc940197d1773aa1f604339" +SRC_URI[sha256sum] = "344f73204009e4c83c5b6beb00b3c45dc70fcdae3c80db919e0a4171d006fde8" From b176a8ef4c5b9389078514b8e4d9457f489ad647 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 15 Nov 2021 15:10:23 +0200 Subject: [PATCH 13/19] python3-soupsieve: Upgrade 2.3 -> 2.3.1 Upgrade to release 2.3.1: - FIX: Ensure attribute selectors match tags that have new lines characters in attributes. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-soupsieve_2.3.bb => python3-soupsieve_2.3.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-soupsieve_2.3.bb => python3-soupsieve_2.3.1.bb} (87%) diff --git a/meta-python/recipes-devtools/python/python3-soupsieve_2.3.bb b/meta-python/recipes-devtools/python/python3-soupsieve_2.3.1.bb similarity index 87% rename from meta-python/recipes-devtools/python/python3-soupsieve_2.3.bb rename to meta-python/recipes-devtools/python/python3-soupsieve_2.3.1.bb index 3e0e6f0ee1f..f4cf93dabad 100644 --- a/meta-python/recipes-devtools/python/python3-soupsieve_2.3.bb +++ b/meta-python/recipes-devtools/python/python3-soupsieve_2.3.1.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/facelessuser/soupsieve" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=33c3a77def9b3ad83e01c65bdcc1af67" -SRC_URI[sha256sum] = "e4860f889dfa88774c07da0b276b70c073b6470fa1a4a8350800bb7bce3dcc76" +SRC_URI[sha256sum] = "b8d49b1cd4f037c7082a9683dfa1801aa2597fb11c3a1155b7a5b94829b4f1f9" inherit pypi setuptools3 ptest From f3b391b4557716bbe55ffb2a642c37002c83c0f4 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 15 Nov 2021 20:56:48 +0200 Subject: [PATCH 14/19] python3-cchardet: Add recipe Universal character encoding detector, release 2.1.7: - support Python 3.9 - drop support for Python 3.5 Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-cchardet_2.1.7.bb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb diff --git a/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb b/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb new file mode 100644 index 00000000000..ebd8130abb7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb @@ -0,0 +1,8 @@ +SUMMARY = "Universal character encoding detector" +HOMEPAGE = "https://github.com/PyYoshi/cChardet" +LICENSE = "MPLv1.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=6ecda54f6f525388d71d6b3cd92f7474" + +SRC_URI[sha256sum] = "c428b6336545053c2589f6caf24ea32276c6664cb86db817e03a94c60afa0eaf" + +inherit pypi setuptools3 From cc8d81ff712de819e0a2210a6b147b766006148c Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 15 Nov 2021 20:56:49 +0200 Subject: [PATCH 15/19] python3-charset-normalizer: Add recipe Package for encoding & language detection. Charset detection. Version 2.0.7: - Add support for Kazakh (Cyrillic) language detection - Further improve inferring the language from a given code page (single-byte) - Remove redundant logging entry about detected language(s) - Trying to leverage PEP263 when PEP3120 is not supported - Refactoring for potential performance improvements in loops - Various detection improvement (MD+CD) - Fix a minor inconsistency between Python 3.5 and other versions regarding language detection Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-charset-normalizer_2.0.7.bb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer_2.0.7.bb diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_2.0.7.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_2.0.7.bb new file mode 100644 index 00000000000..7db10639813 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_2.0.7.bb @@ -0,0 +1,8 @@ +SUMMARY = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." +HOMEPAGE = "https://github.com/ousret/charset_normalizer" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0974a390827087287db39928f7c524b5" + +SRC_URI[sha256sum] = "e019de665e2bcf9c2b64e2e5aa025fa991da8720daa3c1138cadd2fd1856aed0" + +inherit pypi setuptools3 From 298d39317173586a00163272fc136320914acfd5 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 15 Nov 2021 20:56:50 +0200 Subject: [PATCH 16/19] python3-frozenlist: Add recipe A list-like structure which implements collections.abc.MutableSequence, and which can be made immutable. Version 1.2.0: - FrozenList now supports being used as a generic type as per PEP 585, e.g. frozen_int_list: FrozenList[int] (requires Python 3.9 or newer) - Added support for Python 3.10 - Started shipping platform-specific wheels with the musl tag targeting typical Alpine Linux runtimes - Started shipping platform-specific arm64 wheels for Apple Silicon Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-frozenlist_1.2.0.bb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-frozenlist_1.2.0.bb diff --git a/meta-python/recipes-devtools/python/python3-frozenlist_1.2.0.bb b/meta-python/recipes-devtools/python/python3-frozenlist_1.2.0.bb new file mode 100644 index 00000000000..b56e2e5e665 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-frozenlist_1.2.0.bb @@ -0,0 +1,8 @@ +SUMMARY = "A list-like structure which implements collections.abc.MutableSequence, and which can be made immutable." +HOMEPAGE = "https://github.com/aio-libs/frozenlist" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c" + +SRC_URI[sha256sum] = "68201be60ac56aff972dc18085800b6ee07973c49103a8aba669dee3d71079de" + +inherit pypi setuptools3 From 91f028bcc218102dae996adbb98ea063d4b8b65b Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 15 Nov 2021 20:56:51 +0200 Subject: [PATCH 17/19] python3-aiosignal: Add recipe A list of registered asynchronous callbacks. Version 1.2.0: - Added support for Python 3.10 - Mark aiosignal as Python3-only package Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-aiosignal_1.2.0.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-aiosignal_1.2.0.bb diff --git a/meta-python/recipes-devtools/python/python3-aiosignal_1.2.0.bb b/meta-python/recipes-devtools/python/python3-aiosignal_1.2.0.bb new file mode 100644 index 00000000000..601ac8f4582 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-aiosignal_1.2.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "A list of registered asynchronous callbacks" +HOMEPAGE = "https://github.com/aio-libs/aiosignal" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c" + +SRC_URI[sha256sum] = "78ed67db6c7b7ced4f98e495e572106d5c432a93e1ddd1bf475e1dc05f5b7df2" + +inherit pypi setuptools3 + +RDEPENDS:${PN} = "\ + ${PYTHON_PN}-frozenlist \ +" From f1611d7c62c9807d09c53280a4c9e1dcfde92861 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 15 Nov 2021 20:56:52 +0200 Subject: [PATCH 18/19] python3-aiohttp: Upgrade 3.8.0 -> 3.8.1 Upgrade to release 3.8.1: - Fix the error in handling the return value of getaddrinfo. getaddrinfo will return an (int, bytes) tuple, if CPython could not handle the address family. It will cause a index out of range error in aiohttp. For example, if user compile CPython with --disable-ipv6 option but his system enable the ipv6. - Do not install "examples" as a top-level package. - Restored ability to connect IPv6-only host. - Remove Signal from __all__, replace aiohttp.Signal with aiosignal.Signal in docs - Made chunked encoding HTTP header check stricter Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-aiohttp_3.8.0.bb => python3-aiohttp_3.8.1.bb} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-aiohttp_3.8.0.bb => python3-aiohttp_3.8.1.bb} (78%) diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.8.0.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.8.1.bb similarity index 78% rename from meta-python/recipes-devtools/python/python3-aiohttp_3.8.0.bb rename to meta-python/recipes-devtools/python/python3-aiohttp_3.8.1.bb index 710f8f4cebf..1d8434e3ca4 100644 --- a/meta-python/recipes-devtools/python/python3-aiohttp_3.8.0.bb +++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.8.1.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/aiohttp" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8074d6c6e217873b2a018a4522243ea3" -SRC_URI[sha256sum] = "d3b19d8d183bcfd68b25beebab8dc3308282fe2ca3d6ea3cb4cd101b3c279f8d" +SRC_URI[sha256sum] = "fc5471e1a54de15ef71c1bc6ebe80d4dc681ea600e68bfd1cbce40427f0b7578" PYPI_PACKAGE = "aiohttp" inherit setuptools3 pypi @@ -20,4 +20,7 @@ RDEPENDS:${PN} = "\ ${PYTHON_PN}-netserver \ ${PYTHON_PN}-typing-extensions \ ${PYTHON_PN}-yarl \ + ${PYTHON_PN}-cchardet \ + ${PYTHON_PN}-charset-normalizer \ + ${PYTHON_PN}-aiosignal \ " From 5df4f66d4d6decd15a2d93e030152eacdd448672 Mon Sep 17 00:00:00 2001 From: Claude Bing Date: Tue, 16 Nov 2021 09:21:39 -0500 Subject: [PATCH 19/19] php: use qemu wrapper to build minilua minilua, by default, is compiled by the host machine as a dependency for compiling the JIT/opcache extension. To successfully cross-compile, this needs to be run under QEMU to match the target architecture. According to the [RFC](https://wiki.php.net/rfc/jit), only x86 and x86_64 targets are supported. Signed-off-by: Ashley Cox Signed-off-by: Claude Bing --- .../0011-use-qemuwrapper-for-minilua.patch | 11 ++++++++++ ...10-Fix-opcache-jit-minilua-compiling.patch | 20 ------------------- meta-oe/recipes-devtools/php/php_8.0.12.bb | 17 +++++++++++++--- 3 files changed, 25 insertions(+), 23 deletions(-) create mode 100644 meta-oe/recipes-devtools/php/php/0011-use-qemuwrapper-for-minilua.patch delete mode 100644 meta-oe/recipes-devtools/php/php/1010-Fix-opcache-jit-minilua-compiling.patch diff --git a/meta-oe/recipes-devtools/php/php/0011-use-qemuwrapper-for-minilua.patch b/meta-oe/recipes-devtools/php/php/0011-use-qemuwrapper-for-minilua.patch new file mode 100644 index 00000000000..892a0460cf6 --- /dev/null +++ b/meta-oe/recipes-devtools/php/php/0011-use-qemuwrapper-for-minilua.patch @@ -0,0 +1,11 @@ +--- a/ext/opcache/jit/Makefile.frag 2021-10-19 06:34:32.000000000 -0400 ++++ b/ext/opcache/jit/Makefile.frag 2021-11-15 15:10:41.437289836 -0500 +@@ -3,7 +3,7 @@ $(builddir)/minilua: $(srcdir)/jit/dynas + $(CC) $(srcdir)/jit/dynasm/minilua.c -lm -o $@ + + $(builddir)/jit/zend_jit_x86.c: $(srcdir)/jit/zend_jit_x86.dasc $(srcdir)/jit/dynasm/*.lua $(builddir)/minilua +- $(builddir)/minilua $(srcdir)/jit/dynasm/dynasm.lua $(DASM_FLAGS) -o $@ $(srcdir)/jit/zend_jit_x86.dasc ++ $(top_srcdir)/qemuwrapper $(builddir)/minilua $(srcdir)/jit/dynasm/dynasm.lua $(DASM_FLAGS) -o $@ $(srcdir)/jit/zend_jit_x86.dasc + + $(builddir)/jit/zend_jit.lo: \ + $(builddir)/jit/zend_jit_x86.c \ diff --git a/meta-oe/recipes-devtools/php/php/1010-Fix-opcache-jit-minilua-compiling.patch b/meta-oe/recipes-devtools/php/php/1010-Fix-opcache-jit-minilua-compiling.patch deleted file mode 100644 index 6f134fabb86..00000000000 --- a/meta-oe/recipes-devtools/php/php/1010-Fix-opcache-jit-minilua-compiling.patch +++ /dev/null @@ -1,20 +0,0 @@ -From 73ea1d44c1e6b063bfa02e12919ec8a9de3709d8 Mon Sep 17 00:00:00 2001 -From: Michael Heimpold -Date: Wed, 3 Feb 2021 22:51:34 +0100 -Subject: [PATCH] Fix opcache jit minilua compiling - -Signed-off-by: Michael Heimpold ---- - ext/opcache/jit/Makefile.frag | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/ext/opcache/jit/Makefile.frag -+++ b/ext/opcache/jit/Makefile.frag -@@ -1,6 +1,6 @@ - - $(builddir)/minilua: $(srcdir)/jit/dynasm/minilua.c -- $(CC) $(srcdir)/jit/dynasm/minilua.c -lm -o $@ -+ $(HOSTCC) $(srcdir)/jit/dynasm/minilua.c -lm -o $@ - - $(builddir)/jit/zend_jit_x86.c: $(srcdir)/jit/zend_jit_x86.dasc $(srcdir)/jit/dynasm/*.lua $(builddir)/minilua - $(builddir)/minilua $(srcdir)/jit/dynasm/dynasm.lua $(DASM_FLAGS) -o $@ $(srcdir)/jit/zend_jit_x86.dasc diff --git a/meta-oe/recipes-devtools/php/php_8.0.12.bb b/meta-oe/recipes-devtools/php/php_8.0.12.bb index 8d24c187efb..4f484179ccf 100644 --- a/meta-oe/recipes-devtools/php/php_8.0.12.bb +++ b/meta-oe/recipes-devtools/php/php_8.0.12.bb @@ -6,7 +6,7 @@ LICENSE = "PHP-3.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=99532e0f6620bc9bca34f12fadaee33c" BBCLASSEXTEND = "native" -DEPENDS = "zlib bzip2 libxml2 virtual/libiconv php-native lemon-native" +DEPENDS = "zlib bzip2 libxml2 virtual/libiconv php-native lemon-native qemu-native" DEPENDS:class-native = "zlib-native libxml2-native" PHP_MAJOR_VERSION = "${@d.getVar('PV').split('.')[0]}" @@ -25,7 +25,7 @@ SRC_URI:append:class-target = " \ file://0006-ext-phar-Makefile.frag-Fix-phar-packaging.patch \ file://0007-sapi-cli-config.m4-fix-build-directory.patch \ file://0008-ext-imap-config.m4-fix-include-paths.patch \ - file://1010-Fix-opcache-jit-minilua-compiling.patch \ + file://0011-use-qemuwrapper-for-minilua.patch \ file://php-fpm.conf \ file://php-fpm-apache.conf \ file://70_mod_php${PHP_MAJOR_VERSION}.conf \ @@ -36,7 +36,7 @@ S = "${WORKDIR}/php-${PV}" SRC_URI[sha256sum] = "b4886db1df322dc8fb128d8b34ae7e94f6fc682ecb29ff4f5a591d4de9feadbf" -inherit autotools pkgconfig python3native gettext +inherit autotools pkgconfig python3native gettext qemu # phpize is not scanned for absolute paths by default (but php-config is). # @@ -128,6 +128,17 @@ do_configure:prepend () { find ${S} -name config.m4 | xargs -n1 sed -i 's!APXS_HTTPD=.*!APXS_HTTPD=${STAGING_SBINDIR_NATIVE}/httpd!' } +do_configure:prepend:class-target () { + # Write out a qemu wrapper that will be used by the makefile + # so that it can run minilua through that. + qemu_binary="${@qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}" + cat > ${S}/qemuwrapper << EOF +#!/bin/sh +$qemu_binary "\$@" +EOF + chmod +x ${S}/qemuwrapper +} + do_configure:append() { # No, libtool, we really don't want rpath set... sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' ${HOST_SYS}-libtool