From 068c5abfc4332ec0c8509fbf8ed7f354f9f73b79 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 7 Jun 2021 16:51:49 +0300 Subject: [PATCH 1/6] python3-humanize: Upgrade 3.6.0 -> 3.7.1 Upgrade to release 3.7.1: - Include generated translation binaries in release - Update release checklist so translation binaries aren't forgotten - Add missing strings for Persian Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../{python3-humanize_3.6.0.bb => python3-humanize_3.7.1.bb} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-humanize_3.6.0.bb => python3-humanize_3.7.1.bb} (76%) diff --git a/meta-python/recipes-devtools/python/python3-humanize_3.6.0.bb b/meta-python/recipes-devtools/python/python3-humanize_3.7.1.bb similarity index 76% rename from meta-python/recipes-devtools/python/python3-humanize_3.6.0.bb rename to meta-python/recipes-devtools/python/python3-humanize_3.7.1.bb index 1c269bac92c..977b6ebfeca 100644 --- a/meta-python/recipes-devtools/python/python3-humanize_3.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-humanize_3.7.1.bb @@ -5,7 +5,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d" -SRC_URI[sha256sum] = "a31704cf41f023e268032c4813c6482573320150a0d986f76b245e0451bb89e1" +SRC_URI[sha256sum] = "b8e7878f3063174b212bb82b9e5bee3b24bc47931e44df0bd34bcb1d8e0acf2f" inherit pypi setuptools3 @@ -15,6 +15,7 @@ DEPENDS += "\ RDEPENDS_${PN} += "\ ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-setuptools \ " BBCLASSEXTEND = "native nativesdk" From 3e72a46958beadde55b0a87eef566654607523fa Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 7 Jun 2021 16:51:50 +0300 Subject: [PATCH 2/6] python3-fasteners: Upgrade 0.16 -> 0.16.1 Upgrade to release 0.16.1: - Force utf-8 when reading readme Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- ...thon3-fasteners_0.16.bb => python3-fasteners_0.16.1.bb} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-fasteners_0.16.bb => python3-fasteners_0.16.1.bb} (58%) diff --git a/meta-python/recipes-devtools/python/python3-fasteners_0.16.bb b/meta-python/recipes-devtools/python/python3-fasteners_0.16.1.bb similarity index 58% rename from meta-python/recipes-devtools/python/python3-fasteners_0.16.bb rename to meta-python/recipes-devtools/python/python3-fasteners_0.16.1.bb index eed8d2c9570..4b33a9ec699 100644 --- a/meta-python/recipes-devtools/python/python3-fasteners_0.16.bb +++ b/meta-python/recipes-devtools/python/python3-fasteners_0.16.1.bb @@ -3,6 +3,11 @@ HOMEPAGE = "https://github.com/harlowja/fasteners" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=4476c4be31402271e101d9a4a3430d52" -SRC_URI[sha256sum] = "c995d8c26b017c5d6a6de9ad29a0f9cdd57de61ae1113d28fac26622b06a0933" +SRC_URI[sha256sum] = "b6f488d0fc9a3591a32d779400a00c3ebfadd41f45eb024d66f15a6c4e1c4a72" inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-fcntl \ +" From 8db64189032bae75b26c52ffa5484aee3d1c8067 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 7 Jun 2021 16:51:51 +0300 Subject: [PATCH 3/6] python3-pythonping: Upgrade 1.0.16 -> 1.1.0 Upgrade to release 1.1.0: - Add a linux-like interval option to set the time to wait between pings, in seconds This is a BREAKING change to some extent. If you are using positional parameters, the interval option was added BEFORE some existing parameters, so you would end up filling the wrong parameter with your data. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- ...ython3-pythonping_1.0.16.bb => python3-pythonping_1.1.0.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-pythonping_1.0.16.bb => python3-pythonping_1.1.0.bb} (68%) diff --git a/meta-python/recipes-devtools/python/python3-pythonping_1.0.16.bb b/meta-python/recipes-devtools/python/python3-pythonping_1.1.0.bb similarity index 68% rename from meta-python/recipes-devtools/python/python3-pythonping_1.0.16.bb rename to meta-python/recipes-devtools/python/python3-pythonping_1.1.0.bb index 5affb934ca0..fd66a6ffd72 100644 --- a/meta-python/recipes-devtools/python/python3-pythonping_1.0.16.bb +++ b/meta-python/recipes-devtools/python/python3-pythonping_1.1.0.bb @@ -4,8 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://setup.py;beginline=12;endline=12;md5=2d33c00f47720c7e35e1fdb4b9fab027" -SRC_URI[md5sum] = "9b505ad8a5b8a6a8e57ccf75098ea364" -SRC_URI[sha256sum] = "d025c8b25952580dea47bc241421e17a5a97f97f50098e1096dd10d845d0f156" +SRC_URI[sha256sum] = "71199bdeee942ba1258b65f88ca5624278e63b31e7643ee8ca7292d2f5f77e99" inherit pypi setuptools3 From 46e138bcb15f6b822b1608be8290bfb44c46471d Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Mon, 7 Jun 2021 11:28:30 -0400 Subject: [PATCH 4/6] python3-yappi: fix ptests - Add a patch to fix imports in unit tests - Add python3-gevent and python3-zopeinterface to ptest RDEPENDS - Sort ptest RDEPENDS alphabetically Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../0001-Fix-imports-for-ptests.patch | 96 +++++++++++++++++++ .../python/python3-yappi_1.3.2.bb | 5 +- 2 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-yappi/0001-Fix-imports-for-ptests.patch diff --git a/meta-python/recipes-devtools/python/python3-yappi/0001-Fix-imports-for-ptests.patch b/meta-python/recipes-devtools/python/python3-yappi/0001-Fix-imports-for-ptests.patch new file mode 100644 index 00000000000..f32d2b2c25c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-yappi/0001-Fix-imports-for-ptests.patch @@ -0,0 +1,96 @@ +From 0dedc1c573ddc4e87475eb03c64555cd54a72e92 Mon Sep 17 00:00:00 2001 +From: Trevor Gamblin +Date: Mon, 7 Jun 2021 09:40:20 -0400 +Subject: [PATCH] Fix imports for tests + +Signed-off-by: Trevor Gamblin +--- + tests/test_asyncio.py | 2 +- + tests/test_asyncio_context_vars.py | 2 +- + tests/test_functionality.py | 2 +- + tests/test_gevent.py | 2 +- + tests/test_hooks.py | 2 +- + tests/test_tags.py | 2 +- + 6 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/tests/test_asyncio.py b/tests/test_asyncio.py +index 4ac4c5f..4de94cf 100644 +--- a/tests/test_asyncio.py ++++ b/tests/test_asyncio.py +@@ -2,7 +2,7 @@ import unittest + import yappi + import asyncio + import threading +-from utils import YappiUnitTestCase, find_stat_by_name, burn_cpu, burn_io ++from .utils import YappiUnitTestCase, find_stat_by_name, burn_cpu, burn_io + + + @asyncio.coroutine +diff --git a/tests/test_asyncio_context_vars.py b/tests/test_asyncio_context_vars.py +index 5bd750c..9a253c0 100644 +--- a/tests/test_asyncio_context_vars.py ++++ b/tests/test_asyncio_context_vars.py +@@ -5,7 +5,7 @@ import contextvars + import functools + import time + import os +-import utils ++import tests.utils as utils + import yappi + + async_context_id = contextvars.ContextVar('async_context_id') +diff --git a/tests/test_functionality.py b/tests/test_functionality.py +index a73cb63..2ab273f 100644 +--- a/tests/test_functionality.py ++++ b/tests/test_functionality.py +@@ -5,7 +5,7 @@ import threading + import unittest + import yappi + import _yappi +-import utils ++import tests.utils as utils + import multiprocessing # added to fix http://bugs.python.org/issue15881 for > Py2.6 + import subprocess + +diff --git a/tests/test_gevent.py b/tests/test_gevent.py +index 8569712..fe15b29 100644 +--- a/tests/test_gevent.py ++++ b/tests/test_gevent.py +@@ -4,7 +4,7 @@ import yappi + import gevent + from gevent.event import Event + import threading +-from utils import ( ++from .utils import ( + YappiUnitTestCase, find_stat_by_name, burn_cpu, burn_io, + burn_io_gevent + ) +diff --git a/tests/test_hooks.py b/tests/test_hooks.py +index a96a4f1..e4177ba 100644 +--- a/tests/test_hooks.py ++++ b/tests/test_hooks.py +@@ -5,7 +5,7 @@ import unittest + import time + + import yappi +-import utils ++import tests.utils as utils + + + def a(): +diff --git a/tests/test_tags.py b/tests/test_tags.py +index b0b531d..1928888 100644 +--- a/tests/test_tags.py ++++ b/tests/test_tags.py +@@ -2,7 +2,7 @@ import unittest + import yappi + import threading + import time +-from utils import YappiUnitTestCase, find_stat_by_name, burn_cpu, burn_io ++from .utils import YappiUnitTestCase, find_stat_by_name, burn_cpu, burn_io + + + class MultiThreadTests(YappiUnitTestCase): +-- +2.31.1 + diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb b/meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb index 7c3f0fd4be6..8a1aca21fe3 100644 --- a/meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb @@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "a51d3e6e5563cc74b5bb82ed6e7bd44a9c1a7eae3d97e4d52e9465edb3 SRC_URI += " \ file://run-ptest \ + file://0001-Fix-imports-for-ptests.patch \ " inherit pypi setuptools3 ptest @@ -19,9 +20,11 @@ RDEPENDS_${PN} += "\ " RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-gevent \ ${PYTHON_PN}-multiprocessing \ + ${PYTHON_PN}-pytest \ ${PYTHON_PN}-profile \ + ${PYTHON_PN}-zopeinterface \ " do_install_ptest() { From 9fe91afc0d2e72304a114dcda75f30d21835b404 Mon Sep 17 00:00:00 2001 From: zangrc Date: Tue, 8 Jun 2021 13:36:11 +0800 Subject: [PATCH 5/6] python3-idna: upgrade 3.1 -> 3.2 Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/{python3-idna_3.1.bb => python3-idna_3.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-idna_3.1.bb => python3-idna_3.2.bb} (83%) diff --git a/meta-python/recipes-devtools/python/python3-idna_3.1.bb b/meta-python/recipes-devtools/python/python3-idna_3.2.bb similarity index 83% rename from meta-python/recipes-devtools/python/python3-idna_3.1.bb rename to meta-python/recipes-devtools/python/python3-idna_3.2.bb index fbdbab6dfb7..4ca7f625a83 100644 --- a/meta-python/recipes-devtools/python/python3-idna_3.1.bb +++ b/meta-python/recipes-devtools/python/python3-idna_3.2.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/kjd/idna" LICENSE = "BSD-3-Clause & Python-2.0 & Unicode" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=239668a7c6066d9e0c5382e9c8c6c0e1" -SRC_URI[sha256sum] = "c5b02147e01ea9920e6b0a3f1f7bb833612d507592c837a6c49552768f4054e1" +SRC_URI[sha256sum] = "467fbad99067910785144ce333826c71fb0e63a425657295239737f7ecd125f3" inherit pypi setuptools3 From eb8eca7e19304751024f72521577659c1f6dc0dc Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Tue, 8 Jun 2021 16:38:00 +0800 Subject: [PATCH 6/6] python3-m2crypto: fix word size for qemuppc64 little endian It fails to compile python3-m2crypto for qemuppc64 little endian: | /path/to/tmp-glibc/work/ppc64p9le-wrs-linux/python3-m2crypto/0.37.1-r0/ recipe-sysroot/usr/include/openssl/opensslconf.h:23: | Error: Unable to find 'openssl/opensslconf-32.h' It defines '__powerpc64le__' but expects '__powerpc64__'. Define the right macro for qemuppc64le. Signed-off-by: Kai Kang Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb index e1f92928c6d..2284a43a3b1 100644 --- a/meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb +++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb @@ -39,6 +39,7 @@ SWIG_FEATURES ?= "-D__${HOST_ARCH}__ ${@['-D__ILP32__','-D__LP64__'][d.getVar('S SWIG_FEATURES_append_riscv64 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}" SWIG_FEATURES_append_riscv32 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}" SWIG_FEATURES_append_mipsarch = " -D_MIPS_SZPTR=${SITEINFO_BITS}" +SWIG_FEATURES_append_powerpc64le = " -D__powerpc64__" export SWIG_FEATURES BBCLASSEXTEND = "native"