summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-devtools/python')
-rw-r--r--poky/meta/recipes-devtools/python/python3-build_1.0.3.bb (renamed from poky/meta/recipes-devtools/python/python3-build_0.10.0.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-dbusmock_0.29.1.bb (renamed from poky/meta/recipes-devtools/python/python3-dbusmock_0.29.0.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-dtc_1.7.0.bb (renamed from poky/meta/recipes-devtools/python/python3-dtc_1.6.1.bb)3
-rw-r--r--poky/meta/recipes-devtools/python/python3-editables_0.5.bb (renamed from poky/meta/recipes-devtools/python/python3-editables_0.4.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-git_3.1.34.bb (renamed from poky/meta/recipes-devtools/python/python3-git_3.1.32.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-hypothesis_6.84.0.bb (renamed from poky/meta/recipes-devtools/python/python3-hypothesis_6.82.0.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-markdown_3.4.4.bb (renamed from poky/meta/recipes-devtools/python/python3-markdown_3.4.3.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-more-itertools_10.1.0.bb (renamed from poky/meta/recipes-devtools/python/python3-more-itertools_10.0.0.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-numpy/disable_blas.patch37
-rw-r--r--poky/meta/recipes-devtools/python/python3-numpy_1.25.2.bb (renamed from poky/meta/recipes-devtools/python/python3-numpy_1.25.1.bb)3
-rw-r--r--poky/meta/recipes-devtools/python/python3-pathspec_0.11.2.bb (renamed from poky/meta/recipes-devtools/python/python3-pathspec_0.11.1.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-pip_23.2.1.bb (renamed from poky/meta/recipes-devtools/python/python3-pip_23.2.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-pluggy_1.3.0.bb (renamed from poky/meta/recipes-devtools/python/python3-pluggy_1.2.0.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-poetry-core_1.7.0.bb (renamed from poky/meta/recipes-devtools/python/python3-poetry-core_1.6.1.bb)3
-rw-r--r--poky/meta/recipes-devtools/python/python3-pygments_2.16.1.bb (renamed from poky/meta/recipes-devtools/python/python3-pygments_2.15.1.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-pygobject_3.44.1.bb7
-rw-r--r--poky/meta/recipes-devtools/python/python3-pyparsing_3.1.1.bb (renamed from poky/meta/recipes-devtools/python/python3-pyparsing_3.1.0.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-pytest_7.4.1.bb (renamed from poky/meta/recipes-devtools/python/python3-pytest_7.4.0.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch10
-rw-r--r--poky/meta/recipes-devtools/python/python3-setuptools_68.1.2.bb (renamed from poky/meta/recipes-devtools/python/python3-setuptools_68.0.0.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-sphinx-rtd-theme_1.3.0.bb (renamed from poky/meta/recipes-devtools/python/python3-sphinx-rtd-theme_1.2.2.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-sphinx_7.2.5.bb (renamed from poky/meta/recipes-devtools/python/python3-sphinx_7.1.1.bb)3
-rw-r--r--poky/meta/recipes-devtools/python/python3-trove-classifiers_2023.8.7.bb (renamed from poky/meta/recipes-devtools/python/python3-trove-classifiers_2023.7.6.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3-wheel_0.41.2.bb (renamed from poky/meta/recipes-devtools/python/python3-wheel_0.41.0.bb)2
-rw-r--r--poky/meta/recipes-devtools/python/python3/run-ptest4
-rw-r--r--poky/meta/recipes-devtools/python/python3_3.11.5.bb (renamed from poky/meta/recipes-devtools/python/python3_3.11.4.bb)20
26 files changed, 87 insertions, 37 deletions
diff --git a/poky/meta/recipes-devtools/python/python3-build_0.10.0.bb b/poky/meta/recipes-devtools/python/python3-build_1.0.3.bb
index b446fa391d..2d8faeff25 100644
--- a/poky/meta/recipes-devtools/python/python3-build_0.10.0.bb
+++ b/poky/meta/recipes-devtools/python/python3-build_1.0.3.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pypa/build"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
-SRC_URI[sha256sum] = "d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269"
+SRC_URI[sha256sum] = "538aab1b64f9828977f84bc63ae570b060a8ed1be419e7870b8b4fc5e6ea553b"
inherit pypi python_flit_core
diff --git a/poky/meta/recipes-devtools/python/python3-dbusmock_0.29.0.bb b/poky/meta/recipes-devtools/python/python3-dbusmock_0.29.1.bb
index 64e0ae8811..09bae0e19f 100644
--- a/poky/meta/recipes-devtools/python/python3-dbusmock_0.29.0.bb
+++ b/poky/meta/recipes-devtools/python/python3-dbusmock_0.29.1.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://pypi.org/project/python-dbusmock/"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
-SRC_URI[sha256sum] = "3efdb3d800386b65e8854d8ee4538764241382b4e664423ad7d959c9008dd408"
+SRC_URI[sha256sum] = "b03590057c236d352c38973f4b71ae2c97b3a1cb1dc6f03278ce4072a3716a74"
PYPI_PACKAGE = "python-dbusmock"
diff --git a/poky/meta/recipes-devtools/python/python3-dtc_1.6.1.bb b/poky/meta/recipes-devtools/python/python3-dtc_1.7.0.bb
index a868bd0109..85e48d4694 100644
--- a/poky/meta/recipes-devtools/python/python3-dtc_1.6.1.bb
+++ b/poky/meta/recipes-devtools/python/python3-dtc_1.7.0.bb
@@ -14,9 +14,8 @@ UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90"
-SRCREV = "c001fc01a43e7a06447c06ea3d50bd60641322b8"
+SRCREV = "039a99414e778332d8f9c04cbd3072e1dcc62798"
-PV = "1.6.1+git${SRCPV}"
S = "${WORKDIR}/git"
PYPA_WHEEL = "${S}/dist/libfdt-1.6.2*.whl"
diff --git a/poky/meta/recipes-devtools/python/python3-editables_0.4.bb b/poky/meta/recipes-devtools/python/python3-editables_0.5.bb
index c53186997a..f3261183cb 100644
--- a/poky/meta/recipes-devtools/python/python3-editables_0.4.bb
+++ b/poky/meta/recipes-devtools/python/python3-editables_0.5.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=41bc1be47b7bb8240db3ef928c7cb0bf"
-SRC_URI[sha256sum] = "dc322c42e7ccaf19600874035a4573898d88aadd07e177c239298135b75da772"
+SRC_URI[sha256sum] = "309627d9b5c4adc0e668d8c6fa7bac1ba7c8c5d415c2d27f60f081f8e80d1de2"
inherit pypi python_setuptools_build_meta
diff --git a/poky/meta/recipes-devtools/python/python3-git_3.1.32.bb b/poky/meta/recipes-devtools/python/python3-git_3.1.34.bb
index f217577eb8..308c787c2d 100644
--- a/poky/meta/recipes-devtools/python/python3-git_3.1.32.bb
+++ b/poky/meta/recipes-devtools/python/python3-git_3.1.34.bb
@@ -12,7 +12,7 @@ PYPI_PACKAGE = "GitPython"
inherit pypi python_setuptools_build_meta
-SRC_URI[sha256sum] = "8d9b8cb1e80b9735e8717c9362079d3ce4c6e5ddeebedd0361b228c3a67a62f6"
+SRC_URI[sha256sum] = "85f7d365d1f6bf677ae51039c1ef67ca59091c7ebd5a3509aa399d4eda02d6dd"
DEPENDS += " ${PYTHON_PN}-gitdb"
diff --git a/poky/meta/recipes-devtools/python/python3-hypothesis_6.82.0.bb b/poky/meta/recipes-devtools/python/python3-hypothesis_6.84.0.bb
index 0aeeae1019..8e3f6c0bf4 100644
--- a/poky/meta/recipes-devtools/python/python3-hypothesis_6.82.0.bb
+++ b/poky/meta/recipes-devtools/python/python3-hypothesis_6.84.0.bb
@@ -13,7 +13,7 @@ SRC_URI += " \
file://test_rle.py \
"
-SRC_URI[sha256sum] = "ffece8e40a34329e7112f7408f2c45fe587761978fdbc6f4f91bf0d683a7d4d9"
+SRC_URI[sha256sum] = "446ecc9665a23fc67a6d32bafbe4233d77fef10eb90d4ede8ab1e76474a63215"
RDEPENDS:${PN} += " \
python3-attrs \
diff --git a/poky/meta/recipes-devtools/python/python3-markdown_3.4.3.bb b/poky/meta/recipes-devtools/python/python3-markdown_3.4.4.bb
index 1624e15f95..6a7e6f7c3e 100644
--- a/poky/meta/recipes-devtools/python/python3-markdown_3.4.3.bb
+++ b/poky/meta/recipes-devtools/python/python3-markdown_3.4.4.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=745aaad0c69c60039e638bff9ffc59ed"
inherit pypi python_setuptools_build_meta
PYPI_PACKAGE = "Markdown"
-SRC_URI[sha256sum] = "8bf101198e004dc93e84a12a7395e31aac6a9c9942848ae1d99b9d72cf9b3520"
+SRC_URI[sha256sum] = "225c6123522495d4119a90b3a3ba31a1e87a70369e03f14799ea9c0d7183a3d6"
BBCLASSEXTEND = "native nativesdk"
diff --git a/poky/meta/recipes-devtools/python/python3-more-itertools_10.0.0.bb b/poky/meta/recipes-devtools/python/python3-more-itertools_10.1.0.bb
index e07d4b7860..be2a73c369 100644
--- a/poky/meta/recipes-devtools/python/python3-more-itertools_10.0.0.bb
+++ b/poky/meta/recipes-devtools/python/python3-more-itertools_10.1.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/erikrose/more-itertools"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
-SRC_URI[sha256sum] = "cd65437d7c4b615ab81c0640c0480bc29a550ea032891977681efd28344d51e1"
+SRC_URI[sha256sum] = "626c369fa0eb37bac0291bce8259b332fd59ac792fa5497b59837309cd5b114a"
inherit pypi python_flit_core ptest
diff --git a/poky/meta/recipes-devtools/python/python3-numpy/disable_blas.patch b/poky/meta/recipes-devtools/python/python3-numpy/disable_blas.patch
new file mode 100644
index 0000000000..09d65e8419
--- /dev/null
+++ b/poky/meta/recipes-devtools/python/python3-numpy/disable_blas.patch
@@ -0,0 +1,37 @@
+We've seen reproducibility failures where it appears an extra -O3 compiler flag ends
+up in the multiarray library compilation. This can only really have come through
+extra_info since it only affects just this library. Rather than try and track
+down exactly where this came from in a rabbit warren of code, just disable
+this since we don't have any of the dependencies.
+
+Upstream-Status: Inappropriate [OE specific config hack]
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+
+Index: numpy-1.25.2/numpy/core/setup.py
+===================================================================
+--- numpy-1.25.2.orig/numpy/core/setup.py
++++ numpy-1.25.2/numpy/core/setup.py
+@@ -755,22 +755,7 @@ def configuration(parent_package='',top_
+ join('src', 'common', 'npy_cpu_features.c'),
+ ]
+
+- if os.environ.get('NPY_USE_BLAS_ILP64', "0") != "0":
+- blas_info = get_info('blas_ilp64_opt', 2)
+- else:
+- blas_info = get_info('blas_opt', 0)
+-
+- have_blas = blas_info and ('HAVE_CBLAS', None) in blas_info.get('define_macros', [])
+-
+- if have_blas:
+- extra_info = blas_info
+- # These files are also in MANIFEST.in so that they are always in
+- # the source distribution independently of HAVE_CBLAS.
+- common_src.extend([join('src', 'common', 'cblasfuncs.c'),
+- join('src', 'common', 'python_xerbla.c'),
+- ])
+- else:
+- extra_info = {}
++ extra_info = {}
+
+ #######################################################################
+ # _multiarray_umath module - multiarray part #
diff --git a/poky/meta/recipes-devtools/python/python3-numpy_1.25.1.bb b/poky/meta/recipes-devtools/python/python3-numpy_1.25.2.bb
index 3632ab71ee..4793b23a38 100644
--- a/poky/meta/recipes-devtools/python/python3-numpy_1.25.1.bb
+++ b/poky/meta/recipes-devtools/python/python3-numpy_1.25.2.bb
@@ -10,9 +10,10 @@ SRCNAME = "numpy"
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \
file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \
file://0001-numpy-core-Define-RISCV-32-support.patch \
+ file://disable_blas.patch \
file://run-ptest \
"
-SRC_URI[sha256sum] = "9a3a9f3a61480cc086117b426a8bd86869c213fc4072e606f01c4e4b66eb92bf"
+SRC_URI[sha256sum] = "fd608e19c8d7c55021dffd43bfe5492fab8cc105cc8986f813f8c3c048b38760"
GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases"
UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
diff --git a/poky/meta/recipes-devtools/python/python3-pathspec_0.11.1.bb b/poky/meta/recipes-devtools/python/python3-pathspec_0.11.2.bb
index 79f03da984..37b9e27d33 100644
--- a/poky/meta/recipes-devtools/python/python3-pathspec_0.11.1.bb
+++ b/poky/meta/recipes-devtools/python/python3-pathspec_0.11.2.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
-SRC_URI[sha256sum] = "2798de800fa92780e33acca925945e9a19a133b715067cf165b8866c15a31687"
+SRC_URI[sha256sum] = "e0d8d0ac2f12da61956eb2306b69f9469b42f4deb0f3cb6ed47b9cce9996ced3"
inherit pypi setuptools3
diff --git a/poky/meta/recipes-devtools/python/python3-pip_23.2.bb b/poky/meta/recipes-devtools/python/python3-pip_23.2.1.bb
index 1ddec7d654..c92e2dbd57 100644
--- a/poky/meta/recipes-devtools/python/python3-pip_23.2.bb
+++ b/poky/meta/recipes-devtools/python/python3-pip_23.2.1.bb
@@ -33,7 +33,7 @@ inherit pypi python_setuptools_build_meta
SRC_URI += "file://no_shebang_mangling.patch"
-SRC_URI[sha256sum] = "a160a170f3331d9ca1a0247eb1cd79c758879f1f81158f9cd05bbb5df80bea5c"
+SRC_URI[sha256sum] = "fb0bd5435b3200c602b5bf61d2d43c2f13c02e29c1707567ae7fbc514eb9faf2"
do_install:append() {
rm -f ${D}/${bindir}/pip
diff --git a/poky/meta/recipes-devtools/python/python3-pluggy_1.2.0.bb b/poky/meta/recipes-devtools/python/python3-pluggy_1.3.0.bb
index 3322bb523b..c149cbb0e2 100644
--- a/poky/meta/recipes-devtools/python/python3-pluggy_1.2.0.bb
+++ b/poky/meta/recipes-devtools/python/python3-pluggy_1.3.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pytest-dev/pluggy"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
-SRC_URI[sha256sum] = "d12f0c4b579b15f5e054301bb226ee85eeeba08ffec228092f8defbaa3a4c4b3"
+SRC_URI[sha256sum] = "cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12"
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
RDEPENDS:${PN} += "${PYTHON_PN}-importlib-metadata \
diff --git a/poky/meta/recipes-devtools/python/python3-poetry-core_1.6.1.bb b/poky/meta/recipes-devtools/python/python3-poetry-core_1.7.0.bb
index 536bc6413b..40b6355f4b 100644
--- a/poky/meta/recipes-devtools/python/python3-poetry-core_1.6.1.bb
+++ b/poky/meta/recipes-devtools/python/python3-poetry-core_1.7.0.bb
@@ -16,10 +16,9 @@ LIC_FILES_CHKSUM = "\
file://src/poetry/core/_vendor/packaging/LICENSE.BSD;md5=7bef9bf4a8e4263634d0597e7ba100b8 \
file://src/poetry/core/_vendor/pyrsistent/LICENSE.mit;md5=b695eb9c6e7a6fb1b1bc2d193c42776e \
file://src/poetry/core/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \
- file://src/poetry/core/_vendor/typing_extensions.LICENSE;md5=f16b323917992e0f8a6f0071bc9913e2 \
"
-SRC_URI[sha256sum] = "0f9b0de39665f36d6594657e7d57b6f463cc10f30c28e6d1c3b9ff54c26c9ac3"
+SRC_URI[sha256sum] = "8f679b83bd9c820082637beca1204124d5d2a786e4818da47ec8acefd0353b74"
inherit python_poetry_core pypi
PYPI_ARCHIVE_NAME = "poetry_core-${PV}.${PYPI_PACKAGE_EXT}"
diff --git a/poky/meta/recipes-devtools/python/python3-pygments_2.15.1.bb b/poky/meta/recipes-devtools/python/python3-pygments_2.16.1.bb
index e0e477100e..240d01d0df 100644
--- a/poky/meta/recipes-devtools/python/python3-pygments_2.15.1.bb
+++ b/poky/meta/recipes-devtools/python/python3-pygments_2.16.1.bb
@@ -5,7 +5,7 @@ LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592"
inherit python_setuptools_build_meta
-SRC_URI[sha256sum] = "8ace4d3c1dd481894b2005f560ead0f9f19ee64fe983366be1a21e171d12775c"
+SRC_URI[sha256sum] = "1daff0494820c69bc8941e407aa20f577374ee88364ee10a98fdbe0aece96e29"
DEPENDS += "\
${PYTHON_PN} \
diff --git a/poky/meta/recipes-devtools/python/python3-pygobject_3.44.1.bb b/poky/meta/recipes-devtools/python/python3-pygobject_3.44.1.bb
index 6f7d9a09ec..797a7cec8b 100644
--- a/poky/meta/recipes-devtools/python/python3-pygobject_3.44.1.bb
+++ b/poky/meta/recipes-devtools/python/python3-pygobject_3.44.1.bb
@@ -8,9 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
GNOMEBASEBUILDCLASS = "meson"
GIR_MESON_OPTION = ""
-inherit gnomebase setuptools3-base gobject-introspection upstream-version-is-even features_check
+inherit gnomebase setuptools3-base gobject-introspection upstream-version-is-even
-REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+python() {
+ if d.getVar('CLASSOVERRIDE') == "class-target" and not bb.utils.to_boolean(d.getVar("GI_DATA_ENABLED")):
+ raise bb.parse.SkipRecipe("GI not available")
+}
DEPENDS += "python3 glib-2.0"
diff --git a/poky/meta/recipes-devtools/python/python3-pyparsing_3.1.0.bb b/poky/meta/recipes-devtools/python/python3-pyparsing_3.1.1.bb
index e5c6d5f832..5f791cfb7e 100644
--- a/poky/meta/recipes-devtools/python/python3-pyparsing_3.1.0.bb
+++ b/poky/meta/recipes-devtools/python/python3-pyparsing_3.1.1.bb
@@ -10,7 +10,7 @@ BUGTRACKER = "https://github.com/pyparsing/pyparsing/issues"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1"
-SRC_URI[sha256sum] = "edb662d6fe322d6e990b1594b5feaeadf806803359e3d4d42f11e295e588f0ea"
+SRC_URI[sha256sum] = "ede28a1a32462f5a9705e07aea48001a08f7cf81a021585011deba701581a0db"
UPSTREAM_CHECK_REGEX = "pyparsing-(?P<pver>.*)\.tar"
diff --git a/poky/meta/recipes-devtools/python/python3-pytest_7.4.0.bb b/poky/meta/recipes-devtools/python/python3-pytest_7.4.1.bb
index 323dfebe38..e9ded985cb 100644
--- a/poky/meta/recipes-devtools/python/python3-pytest_7.4.0.bb
+++ b/poky/meta/recipes-devtools/python/python3-pytest_7.4.1.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scal
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c"
-SRC_URI[sha256sum] = "b4bf8c45bd59934ed84001ad51e11b4ee40d40a1229d2c79f9c592b0a3f6bd8a"
+SRC_URI[sha256sum] = "2f2301e797521b23e4d2585a0a3d7b5e50fdddaaf7e7d6773ea26ddb17c213ab"
DEPENDS += "python3-setuptools-scm-native"
diff --git a/poky/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch b/poky/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
index 1e5ab498a4..84a9492caf 100644
--- a/poky/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
+++ b/poky/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
@@ -1,4 +1,4 @@
-From 5e603da9c01ccb828a03ea3e82d15599971f794f Mon Sep 17 00:00:00 2001
+From c90cc4a07ce6d2b7128e37d811d0c6bbc4b905a6 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 17 Jul 2018 10:13:38 +0800
Subject: [PATCH] conditionally do not fetch code by easy_install
@@ -9,15 +9,16 @@ internet by easy_install.
Upstream-Status: Inappropriate [oe specific]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
+
---
setuptools/command/easy_install.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
-index 0b8d1159..93308060 100644
+index 8ba4f09..8ea40c5 100644
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
-@@ -644,6 +644,11 @@ class easy_install(Command):
+@@ -676,6 +676,11 @@ class easy_install(Command):
os.path.exists(tmpdir) and _rmtree(tmpdir)
def easy_install(self, spec, deps=False):
@@ -29,6 +30,3 @@ index 0b8d1159..93308060 100644
with self._tmpdir() as tmpdir:
if not isinstance(spec, Requirement):
if URL_SCHEME(spec):
---
-2.41.0
-
diff --git a/poky/meta/recipes-devtools/python/python3-setuptools_68.0.0.bb b/poky/meta/recipes-devtools/python/python3-setuptools_68.1.2.bb
index 4ac789d18c..a1e84b635c 100644
--- a/poky/meta/recipes-devtools/python/python3-setuptools_68.0.0.bb
+++ b/poky/meta/recipes-devtools/python/python3-setuptools_68.1.2.bb
@@ -11,7 +11,7 @@ SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-e
SRC_URI += " \
file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
-SRC_URI[sha256sum] = "baf1fdb41c6da4cd2eae722e135500da913332ab3f2f5c7d33af9b492acb5235"
+SRC_URI[sha256sum] = "3d4dfa6d95f1b101d695a6160a7626e15583af71a5f52176efa5d39a054d475d"
DEPENDS += "${PYTHON_PN}"
diff --git a/poky/meta/recipes-devtools/python/python3-sphinx-rtd-theme_1.2.2.bb b/poky/meta/recipes-devtools/python/python3-sphinx-rtd-theme_1.3.0.bb
index 0fac83a1c9..83bf705766 100644
--- a/poky/meta/recipes-devtools/python/python3-sphinx-rtd-theme_1.2.2.bb
+++ b/poky/meta/recipes-devtools/python/python3-sphinx-rtd-theme_1.3.0.bb
@@ -13,7 +13,7 @@ RDEPENDS:${PN} += " \
PYPI_PACKAGE = "sphinx_rtd_theme"
-SRC_URI[sha256sum] = "01c5c5a72e2d025bd23d1f06c59a4831b06e6ce6c01fdd5ebfe9986c0a880fc7"
+SRC_URI[sha256sum] = "590b030c7abb9cf038ec053b95e5380b5c70d61591eb0b552063fbe7c41f0931"
UPSTREAM_CHECK_REGEX ?= "/sphinx-rtd-theme/(?P<pver>(\d+[\.\-_]*)+)/"
inherit setuptools3 pypi
diff --git a/poky/meta/recipes-devtools/python/python3-sphinx_7.1.1.bb b/poky/meta/recipes-devtools/python/python3-sphinx_7.2.5.bb
index fa616cd504..f55cc5a3ec 100644
--- a/poky/meta/recipes-devtools/python/python3-sphinx_7.1.1.bb
+++ b/poky/meta/recipes-devtools/python/python3-sphinx_7.2.5.bb
@@ -4,9 +4,10 @@ SECTION = "devel/python"
LICENSE = "BSD-2-Clause & MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5eb6ac1b115a1ed24a12d9f15b633993"
-SRC_URI[sha256sum] = "59b8e391f0768a96cd233e8300fe7f0a8dc2f64f83dc2a54336a9a84f428ff4e"
+SRC_URI[sha256sum] = "1a9290001b75c497fd087e92b0334f1bbfa1a1ae7fddc084990c4b7bd1130b88"
inherit python_flit_core pypi
+UPSTREAM_CHECK_REGEX = "/Sphinx/(?P<pver>(\d+[\.\-_]*)+)/"
do_install:append () {
# The cache format of "{None, 'en', 'ja'}" doesn't seem to be consistent (dict ordering?)
diff --git a/poky/meta/recipes-devtools/python/python3-trove-classifiers_2023.7.6.bb b/poky/meta/recipes-devtools/python/python3-trove-classifiers_2023.8.7.bb
index 7879dc2031..9aed0d62e4 100644
--- a/poky/meta/recipes-devtools/python/python3-trove-classifiers_2023.7.6.bb
+++ b/poky/meta/recipes-devtools/python/python3-trove-classifiers_2023.8.7.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pypa/trove-classifiers"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
-SRC_URI[sha256sum] = "8a8e168b51d20fed607043831d37632bb50919d1c80a64e0f1393744691a8b22"
+SRC_URI[sha256sum] = "c9f2a0a85d545e5362e967e4f069f56fddfd91215e22ffa48c66fb283521319a"
inherit pypi python_setuptools_build_meta ptest
diff --git a/poky/meta/recipes-devtools/python/python3-wheel_0.41.0.bb b/poky/meta/recipes-devtools/python/python3-wheel_0.41.2.bb
index 2d8742545d..d11c6a857a 100644
--- a/poky/meta/recipes-devtools/python/python3-wheel_0.41.0.bb
+++ b/poky/meta/recipes-devtools/python/python3-wheel_0.41.2.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7ffb0db04527cfe380e4f2726bd05ebf"
-SRC_URI[sha256sum] = "55a0f0a5a84869bce5ba775abfd9c462e3a6b1b7b7ec69d72c0b83d673a5114d"
+SRC_URI[sha256sum] = "0c5ac5ff2afb79ac23ab82bab027a0be7b5dbcf2e54dc50efe4bf507de1f7985"
inherit python_flit_core pypi
diff --git a/poky/meta/recipes-devtools/python/python3/run-ptest b/poky/meta/recipes-devtools/python/python3/run-ptest
index efa84555a5..d1c26c11e2 100644
--- a/poky/meta/recipes-devtools/python/python3/run-ptest
+++ b/poky/meta/recipes-devtools/python/python3/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-
-{ SETUPTOOLS_USE_DISTUTILS=nonlocal python3 -m test -v -j 4 || echo "FAIL: python3" ; } | sed -u -e '/\.\.\. ok/ s/^/PASS: /g' -r -e '/\.\.\. (ERROR|FAIL)/ s/^/FAIL: /g' -e '/\.\.\. skipped/ s/^/SKIP: /g' -e 's/ \.\.\. ok//g' -e 's/ \.\.\. ERROR//g' -e 's/ \.\.\. FAIL//g' -e 's/ \.\.\. skipped//g'
+SKIPPED_TESTS=
+{ SETUPTOOLS_USE_DISTUTILS=nonlocal python3 -m test $SKIPPED_TESTS -v -j 4 || echo "FAIL: python3" ; } | sed -u -e '/\.\.\. ok/ s/^/PASS: /g' -r -e '/\.\.\. (ERROR|FAIL)/ s/^/FAIL: /g' -e '/\.\.\. skipped/ s/^/SKIP: /g' -e 's/ \.\.\. ok//g' -e 's/ \.\.\. ERROR//g' -e 's/ \.\.\. FAIL//g' -e 's/ \.\.\. skipped//g'
diff --git a/poky/meta/recipes-devtools/python/python3_3.11.4.bb b/poky/meta/recipes-devtools/python/python3_3.11.5.bb
index b3534ad678..f5d97311d7 100644
--- a/poky/meta/recipes-devtools/python/python3_3.11.4.bb
+++ b/poky/meta/recipes-devtools/python/python3_3.11.5.bb
@@ -39,7 +39,7 @@ SRC_URI:append:class-native = " \
file://12-distutils-prefix-is-inside-staging-area.patch \
file://0001-Don-t-search-system-for-headers-libraries.patch \
"
-SRC_URI[sha256sum] = "2f0e409df2ab57aa9fc4cbddfb976af44e4e55bf6f619eee6bc5c2297264a7f6"
+SRC_URI[sha256sum] = "85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f"
# exclude pre-releases for both python 2.x and 3.x
UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
@@ -53,7 +53,7 @@ CVE_STATUS[CVE-2020-15523] = "not-applicable-platform: Issue only applies on Win
CVE_STATUS[CVE-2022-26488] = "not-applicable-platform: Issue only applies on Windows"
# The module will be removed in the future and flaws documented.
CVE_STATUS[CVE-2015-20107] = "upstream-wontfix: The mailcap module is insecure by design, so this can't be fixed in a meaningful way"
-# CVE_STATUS[CVE-2023-36632] = "disputed: Not an issue, in fact expected behaviour"
+CVE_STATUS[CVE-2023-36632] = "disputed: Not an issue, in fact expected behaviour"
PYTHON_MAJMIN = "3.11"
@@ -91,6 +91,13 @@ CACHED_CONFIGUREVARS = " \
ac_cv_file__dev_ptc=no \
ac_cv_working_tzset=yes \
"
+# set thread stack size to 2MB on musl for interpreter and stdlib C extensions
+# so it does not run into stack limits due to musl's small thread stack
+# This is only needed to build interpreter and not the subsequent modules
+# Thats why CFLAGS_NODIST is modified instead of CFLAGS
+CACHED_CONFIGUREVARS:append:libc-musl = "\
+ CFLAGS_NODIST='${CFLAGS} -DTHREAD_STACK_SIZE=0x200000' \
+"
# PGO currently causes builds to not be reproducible so disable by default, see YOCTO #13407
PACKAGECONFIG ??= "editline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}"
@@ -217,6 +224,10 @@ do_install:append:class-nativesdk () {
create_wrapper ${D}${bindir}/python${PYTHON_MAJMIN} TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' PYTHONNOUSERSITE='1'
}
+do_install_ptest:append:class-target:libc-musl () {
+ sed -i -e 's|SKIPPED_TESTS=|SKIPPED_TESTS="-x test__locale -x test_c_locale_coercion -x test_locale -x test_os test_re -x test__xxsubinterpreters -x test_threading"|' ${D}${PTEST_PATH}/run-ptest
+}
+
SYSROOT_PREPROCESS_FUNCS:append:class-target = " provide_target_config_script"
SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " provide_target_config_script"
@@ -424,8 +435,9 @@ FILES:${PN}-man = "${datadir}/man"
# See https://bugs.python.org/issue18748 and https://bugs.python.org/issue37395
RDEPENDS:libpython3:append:libc-glibc = " libgcc"
RDEPENDS:${PN}-ctypes:append:libc-glibc = " ${MLPREFIX}ldconfig"
-RDEPENDS:${PN}-ptest = "${PN}-modules ${PN}-tests ${PN}-dev ${PN}-cgitb ${PN}-zipapp unzip bzip2 libgcc tzdata coreutils sed gcc g++ binutils"
-RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-fr-fr locale-base-en-us locale-base-tr-tr locale-base-de-de"
+RDEPENDS:${PN}-ptest = "${PN}-modules ${PN}-tests ${PN}-dev ${PN}-cgitb ${PN}-zipapp unzip bzip2 libgcc tzdata coreutils sed gcc g++ binutils \
+ locale-base-fr-fr locale-base-en-us locale-base-de-de"
+RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-tr-tr"
RDEPENDS:${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${MLPREFIX}tk ${MLPREFIX}tk-lib', '', d)}"
RDEPENDS:${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter ${MLPREFIX}tcl', '', d)}"
DEV_PKG_DEPENDENCY = ""