diff options
Diffstat (limited to 'meta-python')
96 files changed, 412 insertions, 966 deletions
diff --git a/meta-python/conf/include/non-repro-meta-python.inc b/meta-python/conf/include/non-repro-meta-python.inc new file mode 100755 index 000000000..629dc4aa0 --- /dev/null +++ b/meta-python/conf/include/non-repro-meta-python.inc | |||
@@ -0,0 +1,22 @@ | |||
1 | # List of known non-reproducible package of the meta-python layer | ||
2 | # Please keep this list sorted | ||
3 | KNOWN_NON_REPRO_META_PYTHON = " \ | ||
4 | python3-evdev-src \ | ||
5 | python3-frozenlist \ | ||
6 | python3-frozenlist-dbg \ | ||
7 | python3-kivy-src \ | ||
8 | python3-pandas \ | ||
9 | python3-pandas-dbg \ | ||
10 | python3-pandas-src \ | ||
11 | python3-pycocotools-src \ | ||
12 | python3-pydantic-core \ | ||
13 | python3-pynacl \ | ||
14 | python3-pynacl-dbg \ | ||
15 | python3-pynacl-src \ | ||
16 | python3-pyproj \ | ||
17 | python3-pyproj-dbg \ | ||
18 | python3-pyproj-src \ | ||
19 | python3-pyzmq \ | ||
20 | python3-yarl \ | ||
21 | python3-yarl-dbg \ | ||
22 | " | ||
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index e07aaf3c0..bdcd658d9 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
@@ -17,8 +17,10 @@ PTESTS_FAST_META_PYTHON = "\ | |||
17 | python3-cachetools \ | 17 | python3-cachetools \ |
18 | python3-cbor2 \ | 18 | python3-cbor2 \ |
19 | python3-click \ | 19 | python3-click \ |
20 | python3-dasbus \ | ||
20 | python3-dominate \ | 21 | python3-dominate \ |
21 | python3-execnet \ | 22 | python3-execnet \ |
23 | python3-flask \ | ||
22 | python3-flexcache \ | 24 | python3-flexcache \ |
23 | python3-flexparser \ | 25 | python3-flexparser \ |
24 | python3-freezegun \ | 26 | python3-freezegun \ |
diff --git a/meta-python/conf/layer.conf b/meta-python/conf/layer.conf index f48b28b95..aaf620a43 100644 --- a/meta-python/conf/layer.conf +++ b/meta-python/conf/layer.conf | |||
@@ -14,6 +14,6 @@ LAYERVERSION_meta-python = "1" | |||
14 | 14 | ||
15 | LAYERDEPENDS_meta-python = "core (>= 12) openembedded-layer" | 15 | LAYERDEPENDS_meta-python = "core (>= 12) openembedded-layer" |
16 | 16 | ||
17 | LAYERSERIES_COMPAT_meta-python = "scarthgap" | 17 | LAYERSERIES_COMPAT_meta-python = "styhead" |
18 | 18 | ||
19 | LICENSE_PATH += "${LAYERDIR}/licenses" | 19 | LICENSE_PATH += "${LAYERDIR}/licenses" |
diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.9.4.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.9.5.bb index 1cfed0d7a..57adb1eeb 100644 --- a/meta-python/recipes-devtools/python/python3-aiohttp_3.9.4.bb +++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.9.5.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/aiohttp" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "6ff71ede6d9a5a58cfb7b6fffc83ab5d4a63138276c771ac91ceaaddf5459644" | 7 | SRC_URI[sha256sum] = "edea7d15772ceeb29db4aff55e482d4bcfb6ae160ce144f2682de02f6d693551" |
8 | 8 | ||
9 | PYPI_PACKAGE = "aiohttp" | 9 | PYPI_PACKAGE = "aiohttp" |
10 | inherit python_setuptools_build_meta pypi | 10 | inherit python_setuptools_build_meta pypi |
diff --git a/meta-python/recipes-devtools/python/python3-annotated-types_0.6.0.bb b/meta-python/recipes-devtools/python/python3-annotated-types_0.7.0.bb index 79cbb66bc..53552d0b7 100644 --- a/meta-python/recipes-devtools/python/python3-annotated-types_0.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-annotated-types_0.7.0.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c6afb13fdc220497ee5cded1e717ed67" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c6afb13fdc220497ee5cded1e717ed67" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "563339e807e53ffd9c267e99fc6d9ea23eb8443c08f112651963e24e22f84a5d" | 7 | SRC_URI[sha256sum] = "aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89" |
8 | 8 | ||
9 | S = "${WORKDIR}/annotated_types-${PV}" | 9 | S = "${WORKDIR}/annotated_types-${PV}" |
10 | PYPI_PACKAGE = "annotated_types" | 10 | PYPI_PACKAGE = "annotated_types" |
diff --git a/meta-python/recipes-devtools/python/python3-argcomplete_3.2.3.bb b/meta-python/recipes-devtools/python/python3-argcomplete_3.3.0.bb index 8d8c8a4e2..d96861010 100644 --- a/meta-python/recipes-devtools/python/python3-argcomplete_3.2.3.bb +++ b/meta-python/recipes-devtools/python/python3-argcomplete_3.3.0.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/kislyuk/argcomplete" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2ee41112a44fe7014dce33e26468ba93" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2ee41112a44fe7014dce33e26468ba93" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "bf7900329262e481be5a15f56f19736b376df6f82ed27576fa893652c5de6c23" | 6 | SRC_URI[sha256sum] = "fd03ff4a5b9e6580569d34b273f741e85cd9e072f3feeeee3eba4891c70eda62" |
7 | 7 | ||
8 | PYPI_PACKAGE = "argcomplete" | 8 | PYPI_PACKAGE = "argcomplete" |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.1.0.bb b/meta-python/recipes-devtools/python/python3-astroid_3.2.2.bb index 3c68f1e58..d7e7f5698 100644 --- a/meta-python/recipes-devtools/python/python3-astroid_3.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-astroid_3.2.2.bb | |||
@@ -4,7 +4,7 @@ SECTION = "devel/python" | |||
4 | LICENSE = "LGPL-2.1-only" | 4 | LICENSE = "LGPL-2.1-only" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "ac248253bfa4bd924a0de213707e7ebeeb3138abeb48d798784ead1e56d419d4" | 7 | SRC_URI[sha256sum] = "8ead48e31b92b2e217b6c9733a21afafe479d52d6e164dd25fb1a770c7c3cf94" |
8 | 8 | ||
9 | inherit pypi python_setuptools_build_meta | 9 | inherit pypi python_setuptools_build_meta |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.6.bb b/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.9.bb index 34f7187d4..0946dd2a3 100644 --- a/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.6.bb +++ b/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.9.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://gitlab.com/Taywee/asyncinotify" | |||
3 | LICENSE = "MPL-2.0" | 3 | LICENSE = "MPL-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f75d2927d3c1ed2414ef72048f5ad640" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f75d2927d3c1ed2414ef72048f5ad640" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "c03fdb1a7dbb6bed8ede763e4e0ac224a2a3157bdc51e4ba3832588a3c29904d" | 6 | SRC_URI[sha256sum] = "d0fc2c9af487b6ac2a3bd7db7b5139de54afcc3660720f80d7324b122a27c1c7" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-bitstring_4.1.4.bb b/meta-python/recipes-devtools/python/python3-bitstring_4.2.3.bb index 0777b6cff..4d86ce7df 100644 --- a/meta-python/recipes-devtools/python/python3-bitstring_4.1.4.bb +++ b/meta-python/recipes-devtools/python/python3-bitstring_4.2.3.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/scott-griffiths/bitstring" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=661f450e2c0aef39b4b15597333444a7" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=661f450e2c0aef39b4b15597333444a7" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "94f3f1c45383ebe8fd4a359424ffeb75c2f290760ae8fcac421b44f89ac85213" | 6 | SRC_URI[sha256sum] = "e0c447af3fda0d114f77b88c2d199f02f97ee7e957e6d719f40f41cf15fbb897" |
7 | 7 | ||
8 | PYPI_PACKAGE = "bitstring" | 8 | PYPI_PACKAGE = "bitstring" |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb b/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb index 25c379590..fce5a5b40 100644 --- a/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb | |||
@@ -8,7 +8,7 @@ data." | |||
8 | HOMEPAGE = "https://github.com/cloudpipe/cloudpickle" | 8 | HOMEPAGE = "https://github.com/cloudpipe/cloudpickle" |
9 | 9 | ||
10 | LICENSE = "BSD-3-Clause" | 10 | LICENSE = "BSD-3-Clause" |
11 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE.cloudpickle;md5=b4d59aa5e2cc777722aac17841237931" | 11 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE.cloudpickle;md5=b4d59aa5e2cc777722aac17841237931" |
12 | 12 | ||
13 | inherit pypi python_flit_core | 13 | inherit pypi python_flit_core |
14 | 14 | ||
diff --git a/meta-python/recipes-devtools/python/python3-cmake_3.28.3.bb b/meta-python/recipes-devtools/python/python3-cmake_3.28.3.bb index 6b31d0b4f..a6c3e139b 100644 --- a/meta-python/recipes-devtools/python/python3-cmake_3.28.3.bb +++ b/meta-python/recipes-devtools/python/python3-cmake_3.28.3.bb | |||
@@ -22,7 +22,7 @@ addtask do_patchbuild after do_patch before do_configure | |||
22 | 22 | ||
23 | do_patchbuild () { | 23 | do_patchbuild () { |
24 | rm -f ${S}/CMakeLists.txt | 24 | rm -f ${S}/CMakeLists.txt |
25 | cp ${WORKDIR}/CMakeLists.txt ${S}/ | 25 | cp ${UNPACKDIR}/CMakeLists.txt ${S}/ |
26 | } | 26 | } |
27 | 27 | ||
28 | do_install:append () { | 28 | do_install:append () { |
diff --git a/meta-python/recipes-devtools/python/python3-colorlog_6.8.2.bb b/meta-python/recipes-devtools/python/python3-colorlog_6.8.2.bb index c26f4bb70..df5fdedfc 100644 --- a/meta-python/recipes-devtools/python/python3-colorlog_6.8.2.bb +++ b/meta-python/recipes-devtools/python/python3-colorlog_6.8.2.bb | |||
@@ -10,3 +10,5 @@ PYPI_PACKAGE = "colorlog" | |||
10 | SRC_URI[sha256sum] = "3e3e079a41feb5a1b64f978b5ea4f46040a94f11f0e8bbb8261e3dbbeca64d44" | 10 | SRC_URI[sha256sum] = "3e3e079a41feb5a1b64f978b5ea4f46040a94f11f0e8bbb8261e3dbbeca64d44" |
11 | 11 | ||
12 | RDEPENDS:${PN} += "python3-logging" | 12 | RDEPENDS:${PN} += "python3-logging" |
13 | |||
14 | BBCLASSEXTEND += "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-croniter_2.0.3.bb b/meta-python/recipes-devtools/python/python3-croniter_2.0.5.bb index ad80574a9..01ee04840 100644 --- a/meta-python/recipes-devtools/python/python3-croniter_2.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-croniter_2.0.5.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b8ee59850b882cbf623188489ea748e2" | |||
5 | 5 | ||
6 | PYPI_PACKAGE = "croniter" | 6 | PYPI_PACKAGE = "croniter" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "28763ad39c404e159140874f08010cfd8a18f4c2a7cea1ce73e9506a4380cfc1" | 8 | SRC_URI[sha256sum] = "f1f8ca0af64212fbe99b1bee125ee5a1b53a9c1b433968d8bca8817b79d237f3" |
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-dasbus/run-ptest b/meta-python/recipes-devtools/python/python3-dasbus/run-ptest new file mode 100755 index 000000000..8d2017d39 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-dasbus/run-ptest | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb b/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb new file mode 100644 index 000000000..d1d294a28 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | SUMMARY = "Dasbus is a DBus library written in Python 3, based on GLib and inspired by pydbus." | ||
2 | HOMEPAGE = "https://dasbus.readthedocs.io" | ||
3 | SECTION = "devel" | ||
4 | LICENSE = "LGPL-2.1-or-later" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" | ||
6 | |||
7 | SRC_URI = "git://github.com/dasbus-project/dasbus.git;protocol=https;branch=master \ | ||
8 | file://run-ptest \ | ||
9 | " | ||
10 | SRCREV = "413cf9a0b7c231468f1d28d9a29dd8dd8bda15c5" | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | inherit setuptools3 ptest | ||
15 | |||
16 | do_install_ptest() { | ||
17 | install -d ${D}${PTEST_PATH}/tests | ||
18 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
19 | |||
20 | # Remove the problematic cases | ||
21 | # https://github.com/dasbus-project/dasbus/issues/128 | ||
22 | rm -rf ${D}${PTEST_PATH}/tests/lib_dbus.py | ||
23 | rm -rf ${D}${PTEST_PATH}/tests/test_dbus.py | ||
24 | rm -rf ${D}${PTEST_PATH}/tests/test_unix.py | ||
25 | } | ||
26 | |||
27 | RDEPENDS:${PN} = "python3-pygobject" | ||
28 | |||
29 | RDEPENDS:${PN}-ptest += " \ | ||
30 | python3-pytest \ | ||
31 | python3-unittest-automake-output \ | ||
32 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-dbus-fast_2.21.1.bb b/meta-python/recipes-devtools/python/python3-dbus-fast_2.21.3.bb index 9e2566175..a4087d647 100644 --- a/meta-python/recipes-devtools/python/python3-dbus-fast_2.21.1.bb +++ b/meta-python/recipes-devtools/python/python3-dbus-fast_2.21.3.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/bluetooth-devices/dbus-fast" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=729e372b5ea0168438e4fd4a00a04947" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=729e372b5ea0168438e4fd4a00a04947" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "87b852d2005f1d59399ca51c5f3538f28a4742d739d7abe82b7ae8d01d8a5d02" | 6 | SRC_URI[sha256sum] = "8d0f0f61d007c1316ce79cde35ed52c0ce8ce229fd0f0bf8c9af2013ab4516a7" |
7 | 7 | ||
8 | PYPI_PACKAGE = "dbus_fast" | 8 | PYPI_PACKAGE = "dbus_fast" |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-django_5.0.4.bb b/meta-python/recipes-devtools/python/python3-django_5.0.6.bb index 3139ed468..69b25742d 100644 --- a/meta-python/recipes-devtools/python/python3-django_5.0.4.bb +++ b/meta-python/recipes-devtools/python/python3-django_5.0.6.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | require python-django.inc | 1 | require python-django.inc |
2 | inherit setuptools3 | 2 | inherit setuptools3 |
3 | 3 | ||
4 | SRC_URI[sha256sum] = "4bd01a8c830bb77a8a3b0e7d8b25b887e536ad17a81ba2dce5476135c73312bd" | 4 | SRC_URI[sha256sum] = "ff1b61005004e476e0aeea47c7f79b85864c70124030e95146315396f1e7951f" |
5 | 5 | ||
6 | RDEPENDS:${PN} += "\ | 6 | RDEPENDS:${PN} += "\ |
7 | python3-sqlparse \ | 7 | python3-sqlparse \ |
diff --git a/meta-python/recipes-devtools/python/python3-filelock_3.13.4.bb b/meta-python/recipes-devtools/python/python3-filelock_3.14.0.bb index 4d6d19551..d94ad4bf3 100644 --- a/meta-python/recipes-devtools/python/python3-filelock_3.13.4.bb +++ b/meta-python/recipes-devtools/python/python3-filelock_3.14.0.bb | |||
@@ -6,7 +6,7 @@ HOMEPAGE = "https://py-filelock.readthedocs.io/" | |||
6 | LICENSE = "Unlicense" | 6 | LICENSE = "Unlicense" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "d13f466618bfde72bd2c18255e269f72542c6e70e7bac83a0232d6b1cc5c8cf4" | 9 | SRC_URI[sha256sum] = "6ea72da3be9b8c82afd3edcf99f2fffbb5076335a5ae4d03248bb5b6c3eae78a" |
10 | 10 | ||
11 | BBCLASSEXTEND = "native nativesdk" | 11 | BBCLASSEXTEND = "native nativesdk" |
12 | inherit pypi python_hatchling | 12 | inherit pypi python_hatchling |
diff --git a/meta-python/recipes-devtools/python/python3-flask/run-ptest b/meta-python/recipes-devtools/python/python3-flask/run-ptest new file mode 100644 index 000000000..8d2017d39 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flask/run-ptest | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask_3.0.2.bb b/meta-python/recipes-devtools/python/python3-flask_3.0.3.bb index 300ca99dd..98e773008 100644 --- a/meta-python/recipes-devtools/python/python3-flask_3.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-flask_3.0.3.bb | |||
@@ -4,14 +4,18 @@ Flask is a microframework for Python based on Werkzeug, Jinja 2 and good \ | |||
4 | intentions. And before you ask: It’s BSD licensed!" | 4 | intentions. And before you ask: It’s BSD licensed!" |
5 | HOMEPAGE = "https://github.com/mitsuhiko/flask/" | 5 | HOMEPAGE = "https://github.com/mitsuhiko/flask/" |
6 | LICENSE = "BSD-3-Clause" | 6 | LICENSE = "BSD-3-Clause" |
7 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" | 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "822c03f4b799204250a7ee84b1eddc40665395333973dfb9deebfe425fefcb7d" | 9 | SRC_URI[sha256sum] = "ceb27b0af3823ea2737928a4d99d125a06175b8512c445cbd9a9ce200ef76842" |
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
10 | 14 | ||
11 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Flask" | 15 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Flask" |
12 | UPSTREAM_CHECK_REGEX = "/Flask/(?P<pver>(\d+[\.\-_]*)+)" | 16 | UPSTREAM_CHECK_REGEX = "/Flask/(?P<pver>(\d+[\.\-_]*)+)" |
13 | 17 | ||
14 | inherit pypi python_setuptools_build_meta | 18 | inherit pypi python_setuptools_build_meta ptest |
15 | 19 | ||
16 | CLEANBROKEN = "1" | 20 | CLEANBROKEN = "1" |
17 | 21 | ||
@@ -23,3 +27,8 @@ RDEPENDS:${PN} = " \ | |||
23 | python3-profile \ | 27 | python3-profile \ |
24 | python3-werkzeug \ | 28 | python3-werkzeug \ |
25 | " | 29 | " |
30 | |||
31 | do_install_ptest() { | ||
32 | install -d ${D}${PTEST_PATH}/tests | ||
33 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
34 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-freezegun_1.4.0.bb b/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb index 15c0bf06b..8b5750df4 100644 --- a/meta-python/recipes-devtools/python/python3-freezegun_1.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/spulec/freezegun" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=acf1d209bb6eddae4cbe6ffd6a0144fe" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=acf1d209bb6eddae4cbe6ffd6a0144fe" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "10939b0ba0ff5adaecf3b06a5c2f73071d9678e507c5eaedb23c761d56ac774b" | 6 | SRC_URI[sha256sum] = "b29dedfcda6d5e8e083ce71b2b542753ad48cfec44037b3fc79702e2980a89e9" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta ptest | 8 | inherit pypi python_setuptools_build_meta ptest |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb b/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb index 8a61a2de0..517124742 100644 --- a/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb +++ b/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb | |||
@@ -11,6 +11,13 @@ S = "${WORKDIR}/git" | |||
11 | 11 | ||
12 | inherit setuptools3 | 12 | inherit setuptools3 |
13 | 13 | ||
14 | RDEPENDS:${PN} += "python3-jinja2 python3-lxml python3-setuptools python3-pygments python3-multiprocessing" | 14 | RDEPENDS:${PN} += " \ |
15 | python3-colorlog \ | ||
16 | python3-jinja2 \ | ||
17 | python3-lxml \ | ||
18 | python3-multiprocessing \ | ||
19 | python3-pygments \ | ||
20 | python3-setuptools \ | ||
21 | " | ||
15 | 22 | ||
16 | BBCLASSEXTEND = "native nativesdk" | 23 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-gevent/not-final.patch b/meta-python/recipes-devtools/python/python3-gevent/not-final.patch new file mode 100644 index 000000000..444a195da --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gevent/not-final.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | gevent fails to build with Cython 3.0.10. As per | ||
2 | https://github.com/gevent/gevent/issues/2031, removing the | ||
3 | cython.final decorator works around this. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
7 | |||
8 | --- a/src/gevent/_gevent_cqueue.pxd | ||
9 | +++ b/src/gevent/_gevent_cqueue.pxd | ||
10 | @@ -75,7 +75,6 @@ cdef class ItemWaiter(Waiter): | ||
11 | cdef readonly Queue queue | ||
12 | |||
13 | |||
14 | -@cython.final | ||
15 | cdef class UnboundQueue(Queue): | ||
16 | pass | ||
diff --git a/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb b/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb index fbdbf8ccc..806e09391 100644 --- a/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb | |||
@@ -13,7 +13,8 @@ RDEPENDS:${PN} = "python3-greenlet \ | |||
13 | python3-zopeinterface \ | 13 | python3-zopeinterface \ |
14 | " | 14 | " |
15 | 15 | ||
16 | SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch" | 16 | SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch \ |
17 | file://not-final.patch" | ||
17 | 18 | ||
18 | SRC_URI[sha256sum] = "432fc76f680acf7cf188c2ee0f5d3ab73b63c1f03114c7cd8a34cebbe5aa2056" | 19 | SRC_URI[sha256sum] = "432fc76f680acf7cf188c2ee0f5d3ab73b63c1f03114c7cd8a34cebbe5aa2056" |
19 | 20 | ||
@@ -35,3 +36,8 @@ do_configure:append() { | |||
35 | do_compile:append() { | 36 | do_compile:append() { |
36 | sed -i -e 's#${WORKDIR}##g' ${S}/src/gevent/*.c ${S}/src/gevent/libev/*.c ${S}/src/gevent/resolver/*.c | 37 | sed -i -e 's#${WORKDIR}##g' ${S}/src/gevent/*.c ${S}/src/gevent/libev/*.c ${S}/src/gevent/resolver/*.c |
37 | } | 38 | } |
39 | |||
40 | # http://errors.yoctoproject.org/Errors/Details/766918/ | ||
41 | # src/gevent/queue.c:11894:83: error: passing argument 1 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] | ||
42 | # src/gevent/queue.c:11894:114: error: passing argument 4 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] | ||
43 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
diff --git a/meta-python/recipes-devtools/python/python3-gmqtt_0.6.14.bb b/meta-python/recipes-devtools/python/python3-gmqtt_0.6.16.bb index 5d8a3ba51..20cdee80f 100644 --- a/meta-python/recipes-devtools/python/python3-gmqtt_0.6.14.bb +++ b/meta-python/recipes-devtools/python/python3-gmqtt_0.6.16.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/wialon/gmqtt" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=903f1792621a3b35ee546da75d139177" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=903f1792621a3b35ee546da75d139177" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "45b0f7794247455b9163155eeedf41c86e303c72b79056bf65d33038b17443a3" | 6 | SRC_URI[sha256sum] = "ddd1fdc1c6ae604e74377cf70e99f067e579c03c1c71a6acd494e199e93b7fa4" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-google-api-core_2.18.0.bb b/meta-python/recipes-devtools/python/python3-google-api-core_2.19.0.bb index b4cbafa85..d177fcde5 100644 --- a/meta-python/recipes-devtools/python/python3-google-api-core_2.18.0.bb +++ b/meta-python/recipes-devtools/python/python3-google-api-core_2.19.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | |||
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "62d97417bfc674d6cef251e5c4d639a9655e00c45528c4364fbfebb478ce72a9" | 8 | SRC_URI[sha256sum] = "cf1b7c2694047886d2af1128a03ae99e391108a08804f87cfd35970e49c9cd10" |
9 | 9 | ||
10 | RDEPENDS:${PN} += "\ | 10 | RDEPENDS:${PN} += "\ |
11 | python3-asyncio \ | 11 | python3-asyncio \ |
diff --git a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.125.0.bb b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.130.0.bb index 8abe4699e..9ba73ebd2 100644 --- a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.125.0.bb +++ b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.130.0.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "51a0385cff65ec135106e8be60ee7112557396dde5f44113ae23912baddda143" | 7 | SRC_URI[sha256sum] = "2bba3122b82a649c677b8a694b8e2bbf2a5fbf3420265caf3343bb88e2e9f0ae" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.1.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb index ffa2f843c..e05b8734d 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.1.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb | |||
@@ -12,7 +12,7 @@ DEPENDS += "python3-grpcio" | |||
12 | SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ | 12 | SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ |
13 | file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ | 13 | file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ |
14 | " | 14 | " |
15 | SRC_URI[sha256sum] = "a4991e5ee8a97ab791296d3bf7e8700b1445635cc1828cc98df945ca1802d7f2" | 15 | SRC_URI[sha256sum] = "5fd5e1582b678e6b941ee5f5809340be5e0724691df5299aae8226640f94e18f" |
16 | 16 | ||
17 | RDEPENDS:${PN} = "python3-grpcio" | 17 | RDEPENDS:${PN} = "python3-grpcio" |
18 | 18 | ||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch new file mode 100644 index 000000000..d830d9228 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch | |||
@@ -0,0 +1,74 @@ | |||
1 | From 3359a87a71307336100b84e66b69bad385cd3cfc Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
3 | Date: Mon, 6 May 2024 01:36:39 +0200 | ||
4 | Subject: [PATCH] crypto: use _Generic only if !defined(__cplusplus) | ||
5 | |||
6 | * fixes build with gcc-14 which has __builtin_addc and __builtin_subc | ||
7 | with gcc-13 it was already using the #else branch because of missing builtins | ||
8 | |||
9 | * fixes | ||
10 | https://github.com/grpc/grpc/issues/35945 | ||
11 | |||
12 | * _Generic was introduced in boringssl with: | ||
13 | https://boringssl.googlesource.com/boringssl/+/70ca6bc24be103dabd68e448cd3af29b929b771d%5E%21/#F4 | ||
14 | |||
15 | * but e.g. third_party/boringssl-with-bazel/src/ssl/d1_both.cc includes | ||
16 | this internal.h and from the .cc extension gcc will process it as C++ | ||
17 | where _Generic isn't available, causing: | ||
18 | |||
19 | In file included from third_party/boringssl-with-bazel/src/ssl/d1_both.cc:125: | ||
20 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h: In function 'uint32_t CRYPTO_addc_u32(uint32_t, uint32_t, uint32_t, uint32_t*)': | ||
21 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1159:7: error: expected primary-expression before 'unsigned' | ||
22 | 1159 | unsigned: __builtin_addc, \ | ||
23 | | ^~~~~~~~ | ||
24 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' | ||
25 | 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); | ||
26 | | ^~~~~~~~~~~~~~~~~~~ | ||
27 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1160:7: error: expected primary-expression before 'unsigned' | ||
28 | 1160 | unsigned long: __builtin_addcl, \ | ||
29 | | ^~~~~~~~ | ||
30 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' | ||
31 | 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); | ||
32 | | ^~~~~~~~~~~~~~~~~~~ | ||
33 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1161:7: error: expected primary-expression before 'unsigned' | ||
34 | 1161 | unsigned long long: __builtin_addcll))((x), (y), (carry), (out_carry)) | ||
35 | | ^~~~~~~~ | ||
36 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' | ||
37 | 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); | ||
38 | | ^~~~~~~~~~~~~~~~~~~ | ||
39 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1158:4: error: '_Generic' was not declared in this scope | ||
40 | 1158 | (_Generic((x), \ | ||
41 | | ^~~~~~~~ | ||
42 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' | ||
43 | 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); | ||
44 | | ^~~~~~~~~~~~~~~~~~~ | ||
45 | |||
46 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
47 | --- | ||
48 | Upstream-Status: Submitted [https://boringssl-review.googlesource.com/c/boringssl/+/68227 crypto: use _Generic only if !defined(__cplusplus)] | ||
49 | |||
50 | crypto/internal.h | 4 ++-- | ||
51 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
52 | |||
53 | diff --git a/crypto/internal.h b/crypto/internal.h | ||
54 | index a77102d76..30d6826dd 100644 | ||
55 | --- a/crypto/internal.h | ||
56 | +++ b/crypto/internal.h | ||
57 | @@ -1176,7 +1176,7 @@ static inline uint64_t CRYPTO_rotr_u64(uint64_t value, int shift) { | ||
58 | |||
59 | // CRYPTO_addc_* returns |x + y + carry|, and sets |*out_carry| to the carry | ||
60 | // bit. |carry| must be zero or one. | ||
61 | -#if OPENSSL_HAS_BUILTIN(__builtin_addc) | ||
62 | +#if OPENSSL_HAS_BUILTIN(__builtin_addc) && !defined(__cplusplus) | ||
63 | |||
64 | #define CRYPTO_GENERIC_ADDC(x, y, carry, out_carry) \ | ||
65 | (_Generic((x), \ | ||
66 | @@ -1228,7 +1228,7 @@ static inline uint64_t CRYPTO_addc_u64(uint64_t x, uint64_t y, uint64_t carry, | ||
67 | |||
68 | // CRYPTO_subc_* returns |x - y - borrow|, and sets |*out_borrow| to the borrow | ||
69 | // bit. |borrow| must be zero or one. | ||
70 | -#if OPENSSL_HAS_BUILTIN(__builtin_subc) | ||
71 | +#if OPENSSL_HAS_BUILTIN(__builtin_subc) && !defined(__cplusplus) | ||
72 | |||
73 | #define CRYPTO_GENERIC_SUBC(x, y, borrow, out_borrow) \ | ||
74 | (_Generic((x), \ | ||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch new file mode 100644 index 000000000..0b512b1d0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From b3bca013007a4a66703573d243e433f22e1e6684 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Wed, 15 May 2024 16:55:09 +0800 | ||
4 | Subject: [PATCH] target.h: define proper macro for ppc/ppc64 | ||
5 | |||
6 | Fix error: | ||
7 | third_party/boringssl-with-bazel/src/include/openssl/target.h:74:2: error: #error "Unknown target CPU" | ||
8 | third_party/boringssl-with-bazel/src/include/openssl/bn.h:172:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" | ||
9 | third_party/boringssl-with-bazel/src/include/openssl/bn.h:230:44: error: 'BN_ULONG' has not been declared | ||
10 | |||
11 | BN_ULONG will be defined after set proper OPENSSL_32_BIT or OPENSSL_64_BIT | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
16 | --- | ||
17 | third_party/boringssl-with-bazel/src/include/openssl/target.h | 4 ++++ | ||
18 | 1 file changed, 4 insertions(+) | ||
19 | |||
20 | diff --git a/third_party/boringssl-with-bazel/src/include/openssl/target.h b/third_party/boringssl-with-bazel/src/include/openssl/target.h | ||
21 | index 29b1dc6..d779813 100644 | ||
22 | --- a/third_party/boringssl-with-bazel/src/include/openssl/target.h | ||
23 | +++ b/third_party/boringssl-with-bazel/src/include/openssl/target.h | ||
24 | @@ -54,6 +54,10 @@ | ||
25 | #define OPENSSL_32_BIT | ||
26 | #elif defined(__myriad2__) | ||
27 | #define OPENSSL_32_BIT | ||
28 | +#elif defined(__PPC64__) | ||
29 | +#define OPENSSL_64_BIT | ||
30 | +#elif defined(__PPC__) | ||
31 | +#define OPENSSL_32_BIT | ||
32 | #else | ||
33 | // The list above enumerates the platforms that BoringSSL supports. For these | ||
34 | // platforms we keep a reasonable bar of not breaking them: automated test | ||
35 | -- | ||
36 | 2.25.1 | ||
37 | |||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.62.1.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb index 8405ebed0..47f3b2ea2 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio_1.62.1.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb | |||
@@ -9,8 +9,10 @@ DEPENDS += "python3-protobuf" | |||
9 | SRC_URI += "file://0001-Include-missing-cstdint-header.patch \ | 9 | SRC_URI += "file://0001-Include-missing-cstdint-header.patch \ |
10 | file://abseil-ppc-fixes.patch \ | 10 | file://abseil-ppc-fixes.patch \ |
11 | file://0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch \ | 11 | file://0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch \ |
12 | file://0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch;patchdir=third_party/boringssl-with-bazel/src/ \ | ||
13 | file://0001-target.h-define-proper-macro-for-ppc-ppc64.patch \ | ||
12 | " | 14 | " |
13 | SRC_URI[sha256sum] = "6c455e008fa86d9e9a9d85bb76da4277c0d7d9668a3bfa70dbe86e9f3c759947" | 15 | SRC_URI[sha256sum] = "c77618071d96b7a8be2c10701a98537823b9c65ba256c0b9067e0594cdbd954d" |
14 | 16 | ||
15 | RDEPENDS:${PN} = "python3-protobuf" | 17 | RDEPENDS:${PN} = "python3-protobuf" |
16 | 18 | ||
diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-Fix-Cython-3-compatibility.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-Fix-Cython-3-compatibility.patch deleted file mode 100644 index aba62ddf1..000000000 --- a/meta-python/recipes-devtools/python/python3-h5py/0001-Fix-Cython-3-compatibility.patch +++ /dev/null | |||
@@ -1,796 +0,0 @@ | |||
1 | From 1e02dbe5533d679b9ef064078a303607a7d0542a Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Fri, 29 Dec 2023 14:33:38 +0100 | ||
4 | Subject: [PATCH] Fix Cython 3 compatibility | ||
5 | |||
6 | Upstream-Status: Backport [https://github.com/h5py/h5py/pull/2345/commits] | ||
7 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
8 | --- | ||
9 | benchmarks/benchmark_slicing.py | 12 ++++---- | ||
10 | docs/conf.py | 2 +- | ||
11 | docs/high/dataset.rst | 4 +-- | ||
12 | docs/high/file.rst | 6 ++-- | ||
13 | docs/requirements-rtd.txt | 5 ++-- | ||
14 | docs/vds.rst | 2 +- | ||
15 | docs/whatsnew/3.0.rst | 2 +- | ||
16 | docs/whatsnew/3.7.rst | 4 +-- | ||
17 | h5py/_errors.pxd | 10 +++---- | ||
18 | h5py/_errors.pyx | 4 +-- | ||
19 | h5py/_hl/base.py | 4 +-- | ||
20 | h5py/_hl/dataset.py | 8 ++--- | ||
21 | h5py/_hl/dims.py | 3 +- | ||
22 | h5py/_hl/files.py | 2 +- | ||
23 | h5py/_locks.pxi | 6 ++-- | ||
24 | h5py/_proxy.pyx | 4 +-- | ||
25 | h5py/_selector.pyx | 2 +- | ||
26 | h5py/api_compat.h | 13 ++++---- | ||
27 | h5py/api_types_hdf5.pxd | 48 +++++++++++++++--------------- | ||
28 | h5py/h5fd.pyx | 38 ++++++++++++++++------- | ||
29 | h5py/h5p.pyx | 4 +-- | ||
30 | h5py/h5t.pyx | 2 +- | ||
31 | h5py/tests/test_attrs_data.py | 2 +- | ||
32 | h5py/tests/test_big_endian_file.py | 4 +-- | ||
33 | h5py/tests/test_dataset.py | 4 +-- | ||
34 | h5py/tests/test_file.py | 6 ++-- | ||
35 | h5py/tests/test_file_alignment.py | 4 +-- | ||
36 | h5py/tests/test_group.py | 4 +-- | ||
37 | h5py/tests/test_selections.py | 2 +- | ||
38 | pylintrc | 2 +- | ||
39 | pyproject.toml | 2 +- | ||
40 | setup_configure.py | 2 +- | ||
41 | tox.ini | 2 +- | ||
42 | 33 files changed, 116 insertions(+), 103 deletions(-) | ||
43 | |||
44 | diff --git a/benchmarks/benchmark_slicing.py b/benchmarks/benchmark_slicing.py | ||
45 | index e9a34dad..b833f012 100644 | ||
46 | --- a/benchmarks/benchmark_slicing.py | ||
47 | +++ b/benchmarks/benchmark_slicing.py | ||
48 | @@ -7,7 +7,7 @@ import logging | ||
49 | logger = logging.getLogger(__name__) | ||
50 | import h5py | ||
51 | |||
52 | -#Needed for mutithreading: | ||
53 | +#Needed for multithreading: | ||
54 | from queue import Queue | ||
55 | from threading import Thread, Event | ||
56 | import multiprocessing | ||
57 | @@ -173,8 +173,8 @@ class SlicingBenchmark: | ||
58 | |||
59 | if __name__ == "__main__": | ||
60 | logging.basicConfig(level=logging.INFO) | ||
61 | - benckmark = SlicingBenchmark() | ||
62 | - benckmark.setup() | ||
63 | - benckmark.time_sequential_reads() | ||
64 | - benckmark.time_threaded_reads() | ||
65 | - benckmark.teardown() | ||
66 | + benchmark = SlicingBenchmark() | ||
67 | + benchmark.setup() | ||
68 | + benchmark.time_sequential_reads() | ||
69 | + benchmark.time_threaded_reads() | ||
70 | + benchmark.teardown() | ||
71 | diff --git a/docs/conf.py b/docs/conf.py | ||
72 | index 93b23939..a0f6c1ac 100644 | ||
73 | --- a/docs/conf.py | ||
74 | +++ b/docs/conf.py | ||
75 | @@ -109,7 +109,7 @@ pygments_style = 'sphinx' | ||
76 | |||
77 | # The theme to use for HTML and HTML Help pages. See the documentation for | ||
78 | # a list of builtin themes. | ||
79 | -html_theme = 'default' | ||
80 | +html_theme = 'sphinx_rtd_theme' | ||
81 | |||
82 | # Theme options are theme-specific and customize the look and feel of a theme | ||
83 | # further. For a list of options available for each theme, see the | ||
84 | diff --git a/docs/high/dataset.rst b/docs/high/dataset.rst | ||
85 | index 0f27284f..cb75fffe 100644 | ||
86 | --- a/docs/high/dataset.rst | ||
87 | +++ b/docs/high/dataset.rst | ||
88 | @@ -58,7 +58,7 @@ the requested ``dtype``. | ||
89 | Reading & writing data | ||
90 | ---------------------- | ||
91 | |||
92 | -HDF5 datasets re-use the NumPy slicing syntax to read and write to the file. | ||
93 | +HDF5 datasets reuse the NumPy slicing syntax to read and write to the file. | ||
94 | Slice specifications are translated directly to HDF5 "hyperslab" | ||
95 | selections, and are a fast and efficient way to access data in the file. The | ||
96 | following slicing arguments are recognized: | ||
97 | @@ -464,7 +464,7 @@ Reference | ||
98 | >>> dset = f["MyDS"] | ||
99 | >>> f.close() | ||
100 | >>> if dset: | ||
101 | - ... print("datset accessible") | ||
102 | + ... print("dataset accessible") | ||
103 | ... else: | ||
104 | ... print("dataset inaccessible") | ||
105 | dataset inaccessible | ||
106 | diff --git a/docs/high/file.rst b/docs/high/file.rst | ||
107 | index 484498ce..e757fe1a 100644 | ||
108 | --- a/docs/high/file.rst | ||
109 | +++ b/docs/high/file.rst | ||
110 | @@ -392,7 +392,7 @@ Data alignment | ||
111 | When creating datasets within files, it may be advantageous to align the offset | ||
112 | within the file itself. This can help optimize read and write times if the data | ||
113 | become aligned with the underlying hardware, or may help with parallelism with | ||
114 | -MPI. Unfortunately, aligning small variables to large blocks can leave alot of | ||
115 | +MPI. Unfortunately, aligning small variables to large blocks can leave a lot of | ||
116 | empty space in a file. To this effect, application developers are left with two | ||
117 | options to tune the alignment of data within their file. The two variables | ||
118 | ``alignment_threshold`` and ``alignment_interval`` in the :class:`File` | ||
119 | @@ -415,7 +415,7 @@ number of regions. Setting a small value can reduce the overall file size, | ||
120 | especially in combination with the ``libver`` option. This controls how the | ||
121 | overall data and metadata are laid out within the file. | ||
122 | |||
123 | -For more information, see the offical HDF5 documentation `H5P_SET_META_BLOCK_SIZE | ||
124 | +For more information, see the official HDF5 documentation `H5P_SET_META_BLOCK_SIZE | ||
125 | <https://portal.hdfgroup.org/display/HDF5/H5P_SET_META_BLOCK_SIZE>`_. | ||
126 | |||
127 | Reference | ||
128 | @@ -497,7 +497,7 @@ Reference | ||
129 | Only available with HDF5 >= 1.12.1 or 1.10.x >= 1.10.7. | ||
130 | :param alignment_threshold: Together with ``alignment_interval``, this | ||
131 | property ensures that any file object greater than or equal | ||
132 | - in size to the alignement threshold (in bytes) will be | ||
133 | + in size to the alignment threshold (in bytes) will be | ||
134 | aligned on an address which is a multiple of alignment interval. | ||
135 | :param alignment_interval: This property should be used in conjunction with | ||
136 | ``alignment_threshold``. See the description above. For more | ||
137 | diff --git a/docs/requirements-rtd.txt b/docs/requirements-rtd.txt | ||
138 | index e67a3eee..52096927 100644 | ||
139 | --- a/docs/requirements-rtd.txt | ||
140 | +++ b/docs/requirements-rtd.txt | ||
141 | @@ -1,3 +1,2 @@ | ||
142 | -sphinx==4.3.0 | ||
143 | -sphinx_rtd_theme==1.0.0 | ||
144 | -readthedocs-sphinx-search==0.1.1 | ||
145 | +sphinx==7.2.6 | ||
146 | +sphinx_rtd_theme==1.3.0 | ||
147 | diff --git a/docs/vds.rst b/docs/vds.rst | ||
148 | index a9a7c7f6..bd47ad1c 100644 | ||
149 | --- a/docs/vds.rst | ||
150 | +++ b/docs/vds.rst | ||
151 | @@ -124,7 +124,7 @@ Reference | ||
152 | slice it to indicate which regions should be used in the virtual dataset. | ||
153 | |||
154 | When `creating a virtual dataset <creating_vds_>`_, paths to sources present | ||
155 | - in the same file are changed to a ".", refering to the current file (see | ||
156 | + in the same file are changed to a ".", referring to the current file (see | ||
157 | `H5Pset_virtual <https://portal.hdfgroup.org/display/HDF5/H5P_SET_VIRTUAL>`_). | ||
158 | This will keep such sources valid in case the file is renamed. | ||
159 | |||
160 | diff --git a/docs/whatsnew/3.0.rst b/docs/whatsnew/3.0.rst | ||
161 | index db30ad66..ff3c2bef 100644 | ||
162 | --- a/docs/whatsnew/3.0.rst | ||
163 | +++ b/docs/whatsnew/3.0.rst | ||
164 | @@ -44,7 +44,7 @@ New features | ||
165 | See also the deprecation related to the ``external`` argument. | ||
166 | * Support for setting file space strategy at file creation. Includes option to | ||
167 | persist empty space tracking between sessions. See :class:`.File` for details. | ||
168 | -* More efficient writing when assiging a scalar to a chunked dataset, when the | ||
169 | +* More efficient writing when assigning a scalar to a chunked dataset, when the | ||
170 | number of elements to write is no more than the size of one chunk. | ||
171 | * Introduced support for the split :ref:`file driver <file_driver>` | ||
172 | (:pr:`1468`). | ||
173 | diff --git a/docs/whatsnew/3.7.rst b/docs/whatsnew/3.7.rst | ||
174 | index 27790254..2e822d68 100644 | ||
175 | --- a/docs/whatsnew/3.7.rst | ||
176 | +++ b/docs/whatsnew/3.7.rst | ||
177 | @@ -19,7 +19,7 @@ New features | ||
178 | include it. Alternatively, you can :ref:`build h5py from source <source_install>` | ||
179 | against an HDF5 build with the direct driver enabled. | ||
180 | * The :class:`.File` constructor contains two new parameters ``alignment_threshold``, | ||
181 | - and ``alignment_interval`` controling the data alignment within the HDF5 | ||
182 | + and ``alignment_interval`` controlling the data alignment within the HDF5 | ||
183 | file (:pr:`2040`). | ||
184 | * :meth:`~.Group.create_dataset` and :meth:`~.Group.require_dataset` now accept | ||
185 | parameters ``efile_prefix`` and ``virtual_prefix`` to set a filesystem path | ||
186 | @@ -40,7 +40,7 @@ Bug fixes | ||
187 | attributes with ``track_order=True``. | ||
188 | * Fix for building with mpi4py on Python 3.10 (:pr:`2101`). | ||
189 | * Fixed fancy indexing with a boolean array for a single dimension (:pr:`2079`). | ||
190 | -* Avoid returning unitialised memory when reading from a chunked dataset with | ||
191 | +* Avoid returning uninitialised memory when reading from a chunked dataset with | ||
192 | missing chunks and no fill value (:pr:`2076`). | ||
193 | * Enable setting of fillvalue for datasets with variable length string dtype | ||
194 | (:pr:`2044`). | ||
195 | diff --git a/h5py/_errors.pxd b/h5py/_errors.pxd | ||
196 | index df9c1bbe..3cba6307 100644 | ||
197 | --- a/h5py/_errors.pxd | ||
198 | +++ b/h5py/_errors.pxd | ||
199 | @@ -23,7 +23,7 @@ cdef extern from "hdf5.h": | ||
200 | H5E_ARGS, # invalid arguments to routine | ||
201 | H5E_RESOURCE, # resource unavailable | ||
202 | H5E_INTERNAL, # Internal error (too specific to document) | ||
203 | - H5E_FILE, # file Accessability | ||
204 | + H5E_FILE, # file Accessibility | ||
205 | H5E_IO, # Low-level I/O | ||
206 | H5E_FUNC, # function Entry/Exit | ||
207 | H5E_ATOM, # object Atom | ||
208 | @@ -121,7 +121,7 @@ cdef extern from "hdf5.h": | ||
209 | # No error | ||
210 | H5E_NONE_MINOR # No error | ||
211 | |||
212 | - # File accessability errors | ||
213 | + # File accessibility errors | ||
214 | H5E_FILEEXISTS # File already exists | ||
215 | H5E_FILEOPEN # File already open | ||
216 | H5E_CANTCREATE # Unable to create file | ||
217 | @@ -207,7 +207,7 @@ cdef extern from "hdf5.h": | ||
218 | H5E_ARGS, # invalid arguments to routine | ||
219 | H5E_RESOURCE, # resource unavailable | ||
220 | H5E_INTERNAL, # Internal error (too specific to document) | ||
221 | - H5E_FILE, # file Accessability | ||
222 | + H5E_FILE, # file Accessibility | ||
223 | H5E_IO, # Low-level I/O | ||
224 | H5E_FUNC, # function Entry/Exit | ||
225 | H5E_ID, # object ID | ||
226 | @@ -305,7 +305,7 @@ cdef extern from "hdf5.h": | ||
227 | # No error | ||
228 | H5E_NONE_MINOR # No error | ||
229 | |||
230 | - # File accessability errors | ||
231 | + # File accessibility errors | ||
232 | H5E_FILEEXISTS # File already exists | ||
233 | H5E_FILEOPEN # File already open | ||
234 | H5E_CANTCREATE # Unable to create file | ||
235 | @@ -425,4 +425,4 @@ ctypedef struct err_cookie: | ||
236 | cdef err_cookie set_error_handler(err_cookie handler) | ||
237 | |||
238 | # Set the default error handler set by silence_errors/unsilence_errors | ||
239 | -cdef void set_default_error_handler() nogil | ||
240 | +cdef void set_default_error_handler() noexcept nogil | ||
241 | diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx | ||
242 | index c3bd184e..2a7524b2 100644 | ||
243 | --- a/h5py/_errors.pyx | ||
244 | +++ b/h5py/_errors.pyx | ||
245 | @@ -94,7 +94,7 @@ cdef struct err_data_t: | ||
246 | H5E_error_t err | ||
247 | int n | ||
248 | |||
249 | -cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil noexcept: | ||
250 | +cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) noexcept nogil: | ||
251 | |||
252 | cdef err_data_t *ee = <err_data_t*>e | ||
253 | |||
254 | @@ -168,7 +168,7 @@ cdef err_cookie _error_handler # Store error handler used by h5py | ||
255 | _error_handler.func = NULL | ||
256 | _error_handler.data = NULL | ||
257 | |||
258 | -cdef void set_default_error_handler() nogil: | ||
259 | +cdef void set_default_error_handler() noexcept nogil: | ||
260 | """Set h5py's current default error handler""" | ||
261 | H5Eset_auto(<hid_t>H5E_DEFAULT, _error_handler.func, _error_handler.data) | ||
262 | |||
263 | diff --git a/h5py/_hl/base.py b/h5py/_hl/base.py | ||
264 | index cad37053..9d261c90 100644 | ||
265 | --- a/h5py/_hl/base.py | ||
266 | +++ b/h5py/_hl/base.py | ||
267 | @@ -20,7 +20,7 @@ import posixpath | ||
268 | import numpy as np | ||
269 | |||
270 | # The high-level interface is serialized; every public API function & method | ||
271 | -# is wrapped in a lock. We re-use the low-level lock because (1) it's fast, | ||
272 | +# is wrapped in a lock. We reuse the low-level lock because (1) it's fast, | ||
273 | # and (2) it eliminates the possibility of deadlocks due to out-of-order | ||
274 | # lock acquisition. | ||
275 | from .._objects import phil, with_phil | ||
276 | @@ -524,7 +524,7 @@ def product(nums): | ||
277 | # Daniel Greenfeld, BSD license), where it is attributed to bottle (Copyright | ||
278 | # (c) 2009-2022, Marcel Hellkamp, MIT license). | ||
279 | |||
280 | -class cached_property(object): | ||
281 | +class cached_property: | ||
282 | def __init__(self, func): | ||
283 | self.__doc__ = getattr(func, "__doc__") | ||
284 | self.func = func | ||
285 | diff --git a/h5py/_hl/dataset.py b/h5py/_hl/dataset.py | ||
286 | index b69aba48..77b202d2 100644 | ||
287 | --- a/h5py/_hl/dataset.py | ||
288 | +++ b/h5py/_hl/dataset.py | ||
289 | @@ -334,10 +334,10 @@ class ChunkIterator: | ||
290 | self._layout = dset.chunks | ||
291 | if source_sel is None: | ||
292 | # select over entire dataset | ||
293 | - slices = [] | ||
294 | - for dim in range(rank): | ||
295 | - slices.append(slice(0, self._shape[dim])) | ||
296 | - self._sel = tuple(slices) | ||
297 | + self._sel = tuple( | ||
298 | + slice(0, self._shape[dim]) | ||
299 | + for dim in range(rank) | ||
300 | + ) | ||
301 | else: | ||
302 | if isinstance(source_sel, slice): | ||
303 | self._sel = (source_sel,) | ||
304 | diff --git a/h5py/_hl/dims.py b/h5py/_hl/dims.py | ||
305 | index d3c9206b..0cf4c9f3 100644 | ||
306 | --- a/h5py/_hl/dims.py | ||
307 | +++ b/h5py/_hl/dims.py | ||
308 | @@ -53,8 +53,7 @@ class DimensionProxy(base.CommonStateObject): | ||
309 | |||
310 | @with_phil | ||
311 | def __iter__(self): | ||
312 | - for k in self.keys(): | ||
313 | - yield k | ||
314 | + yield from self.keys() | ||
315 | |||
316 | @with_phil | ||
317 | def __len__(self): | ||
318 | diff --git a/h5py/_hl/files.py b/h5py/_hl/files.py | ||
319 | index aa4fb78d..bfcf3098 100644 | ||
320 | --- a/h5py/_hl/files.py | ||
321 | +++ b/h5py/_hl/files.py | ||
322 | @@ -480,7 +480,7 @@ class File(Group): | ||
323 | |||
324 | alignment_threshold | ||
325 | Together with ``alignment_interval``, this property ensures that | ||
326 | - any file object greater than or equal in size to the alignement | ||
327 | + any file object greater than or equal in size to the alignment | ||
328 | threshold (in bytes) will be aligned on an address which is a | ||
329 | multiple of alignment interval. | ||
330 | |||
331 | diff --git a/h5py/_locks.pxi b/h5py/_locks.pxi | ||
332 | index bc8b2dd9..1ec4e2fc 100644 | ||
333 | --- a/h5py/_locks.pxi | ||
334 | +++ b/h5py/_locks.pxi | ||
335 | @@ -63,7 +63,7 @@ cdef class FastRLock: | ||
336 | return self._owner == pythread.PyThread_get_thread_ident() | ||
337 | |||
338 | |||
339 | -cdef inline bint lock_lock(FastRLock lock, long current_thread, bint blocking) nogil: | ||
340 | +cdef inline bint lock_lock(FastRLock lock, long current_thread, bint blocking) noexcept nogil: | ||
341 | # Note that this function *must* hold the GIL when being called. | ||
342 | # We just use 'nogil' in the signature to make sure that no Python | ||
343 | # code execution slips in that might free the GIL | ||
344 | @@ -83,7 +83,7 @@ cdef inline bint lock_lock(FastRLock lock, long current_thread, bint blocking) n | ||
345 | lock, current_thread, | ||
346 | pythread.WAIT_LOCK if blocking else pythread.NOWAIT_LOCK) | ||
347 | |||
348 | -cdef bint _acquire_lock(FastRLock lock, long current_thread, int wait) nogil: | ||
349 | +cdef bint _acquire_lock(FastRLock lock, long current_thread, int wait) noexcept nogil: | ||
350 | # Note that this function *must* hold the GIL when being called. | ||
351 | # We just use 'nogil' in the signature to make sure that no Python | ||
352 | # code execution slips in that might free the GIL | ||
353 | @@ -111,7 +111,7 @@ cdef bint _acquire_lock(FastRLock lock, long current_thread, int wait) nogil: | ||
354 | lock._count = 1 | ||
355 | return 1 | ||
356 | |||
357 | -cdef inline void unlock_lock(FastRLock lock) nogil: | ||
358 | +cdef inline void unlock_lock(FastRLock lock) noexcept nogil: | ||
359 | # Note that this function *must* hold the GIL when being called. | ||
360 | # We just use 'nogil' in the signature to make sure that no Python | ||
361 | # code execution slips in that might free the GIL | ||
362 | diff --git a/h5py/_proxy.pyx b/h5py/_proxy.pyx | ||
363 | index 46b4fe0d..e40504f5 100644 | ||
364 | --- a/h5py/_proxy.pyx | ||
365 | +++ b/h5py/_proxy.pyx | ||
366 | @@ -241,7 +241,7 @@ ctypedef struct h5py_scatter_t: | ||
367 | void* buf | ||
368 | |||
369 | cdef herr_t h5py_scatter_cb(void* elem, hid_t type_id, unsigned ndim, | ||
370 | - const hsize_t *point, void *operator_data) nogil except -1: | ||
371 | + const hsize_t *point, void *operator_data) except -1 nogil: | ||
372 | cdef h5py_scatter_t* info = <h5py_scatter_t*>operator_data | ||
373 | |||
374 | memcpy(elem, (<char*>info[0].buf)+((info[0].i)*(info[0].elsize)), | ||
375 | @@ -252,7 +252,7 @@ cdef herr_t h5py_scatter_cb(void* elem, hid_t type_id, unsigned ndim, | ||
376 | return 0 | ||
377 | |||
378 | cdef herr_t h5py_gather_cb(void* elem, hid_t type_id, unsigned ndim, | ||
379 | - const hsize_t *point, void *operator_data) nogil except -1: | ||
380 | + const hsize_t *point, void *operator_data) except -1 nogil: | ||
381 | cdef h5py_scatter_t* info = <h5py_scatter_t*>operator_data | ||
382 | |||
383 | memcpy((<char*>info[0].buf)+((info[0].i)*(info[0].elsize)), elem, | ||
384 | diff --git a/h5py/_selector.pyx b/h5py/_selector.pyx | ||
385 | index 8b858c82..69970176 100644 | ||
386 | --- a/h5py/_selector.pyx | ||
387 | +++ b/h5py/_selector.pyx | ||
388 | @@ -341,7 +341,7 @@ cdef class Reader: | ||
389 | |||
390 | arr = PyArray_ZEROS(arr_rank, arr_shape, self.np_typenum, 0) | ||
391 | if not self.native_byteorder: | ||
392 | - arr = arr.newbyteorder() | ||
393 | + arr = arr.view(arr.dtype.newbyteorder()) | ||
394 | finally: | ||
395 | efree(arr_shape) | ||
396 | |||
397 | diff --git a/h5py/api_compat.h b/h5py/api_compat.h | ||
398 | index 52917f4d..a359e827 100644 | ||
399 | --- a/h5py/api_compat.h | ||
400 | +++ b/h5py/api_compat.h | ||
401 | @@ -24,7 +24,6 @@ typedef void *PyMPI_MPI_Message; | ||
402 | #include <stddef.h> | ||
403 | #include "Python.h" | ||
404 | #include "numpy/arrayobject.h" | ||
405 | -#include "hdf5.h" | ||
406 | |||
407 | /* The HOFFSET macro can't be used from Cython. */ | ||
408 | |||
409 | @@ -35,14 +34,14 @@ typedef void *PyMPI_MPI_Message; | ||
410 | #define h5py_size_n256 (sizeof(npy_complex256)) | ||
411 | #endif | ||
412 | |||
413 | -#define h5py_offset_n64_real (HOFFSET(npy_complex64, real)) | ||
414 | -#define h5py_offset_n64_imag (HOFFSET(npy_complex64, imag)) | ||
415 | -#define h5py_offset_n128_real (HOFFSET(npy_complex128, real)) | ||
416 | -#define h5py_offset_n128_imag (HOFFSET(npy_complex128, imag)) | ||
417 | +#define h5py_offset_n64_real (0) | ||
418 | +#define h5py_offset_n64_imag (sizeof(float)) | ||
419 | +#define h5py_offset_n128_real (0) | ||
420 | +#define h5py_offset_n128_imag (sizeof(double)) | ||
421 | |||
422 | #ifdef NPY_COMPLEX256 | ||
423 | -#define h5py_offset_n256_real (HOFFSET(npy_complex256, real)) | ||
424 | -#define h5py_offset_n256_imag (HOFFSET(npy_complex256, imag)) | ||
425 | +#define h5py_offset_n256_real (0) | ||
426 | +#define h5py_offset_n256_imag (sizeof(long double)) | ||
427 | #endif | ||
428 | |||
429 | #endif | ||
430 | diff --git a/h5py/api_types_hdf5.pxd b/h5py/api_types_hdf5.pxd | ||
431 | index a198f105..099e0f58 100644 | ||
432 | --- a/h5py/api_types_hdf5.pxd | ||
433 | +++ b/h5py/api_types_hdf5.pxd | ||
434 | @@ -257,27 +257,27 @@ cdef extern from "hdf5.h": | ||
435 | herr_t (*sb_encode)(H5FD_t *file, char *name, unsigned char *p) | ||
436 | herr_t (*sb_decode)(H5FD_t *f, const char *name, const unsigned char *p) | ||
437 | size_t fapl_size | ||
438 | - void * (*fapl_get)(H5FD_t *file) | ||
439 | - void * (*fapl_copy)(const void *fapl) | ||
440 | - herr_t (*fapl_free)(void *fapl) | ||
441 | + void * (*fapl_get)(H5FD_t *file) except * | ||
442 | + void * (*fapl_copy)(const void *fapl) except * | ||
443 | + herr_t (*fapl_free)(void *fapl) except -1 | ||
444 | size_t dxpl_size | ||
445 | void * (*dxpl_copy)(const void *dxpl) | ||
446 | herr_t (*dxpl_free)(void *dxpl) | ||
447 | - H5FD_t *(*open)(const char *name, unsigned flags, hid_t fapl, haddr_t maxaddr) | ||
448 | - herr_t (*close)(H5FD_t *file) | ||
449 | + H5FD_t *(*open)(const char *name, unsigned flags, hid_t fapl, haddr_t maxaddr) except * | ||
450 | + herr_t (*close)(H5FD_t *file) except -1 | ||
451 | int (*cmp)(const H5FD_t *f1, const H5FD_t *f2) | ||
452 | herr_t (*query)(const H5FD_t *f1, unsigned long *flags) | ||
453 | herr_t (*get_type_map)(const H5FD_t *file, H5FD_mem_t *type_map) | ||
454 | haddr_t (*alloc)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size) | ||
455 | herr_t (*free)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size) | ||
456 | - haddr_t (*get_eoa)(const H5FD_t *file, H5FD_mem_t type) | ||
457 | - herr_t (*set_eoa)(H5FD_t *file, H5FD_mem_t type, haddr_t addr) | ||
458 | - haddr_t (*get_eof)(const H5FD_t *file, H5FD_mem_t type) | ||
459 | + haddr_t (*get_eoa)(const H5FD_t *file, H5FD_mem_t type) noexcept | ||
460 | + herr_t (*set_eoa)(H5FD_t *file, H5FD_mem_t type, haddr_t addr) noexcept | ||
461 | + haddr_t (*get_eof)(const H5FD_t *file, H5FD_mem_t type) except -1 | ||
462 | herr_t (*get_handle)(H5FD_t *file, hid_t fapl, void**file_handle) | ||
463 | - herr_t (*read)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, void *buffer) | ||
464 | - herr_t (*write)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, const void *buffer) | ||
465 | - herr_t (*flush)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) | ||
466 | - herr_t (*truncate)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) | ||
467 | + herr_t (*read)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, void *buffer) except * | ||
468 | + herr_t (*write)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, const void *buffer) except * | ||
469 | + herr_t (*flush)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) except -1 | ||
470 | + herr_t (*truncate)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) except -1 | ||
471 | herr_t (*lock)(H5FD_t *file, hbool_t rw) | ||
472 | herr_t (*unlock)(H5FD_t *file) | ||
473 | H5FD_mem_t fl_map[<int>H5FD_MEM_NTYPES] | ||
474 | @@ -295,27 +295,27 @@ cdef extern from "hdf5.h": | ||
475 | herr_t (*sb_encode)(H5FD_t *file, char *name, unsigned char *p) | ||
476 | herr_t (*sb_decode)(H5FD_t *f, const char *name, const unsigned char *p) | ||
477 | size_t fapl_size | ||
478 | - void * (*fapl_get)(H5FD_t *file) | ||
479 | - void * (*fapl_copy)(const void *fapl) | ||
480 | - herr_t (*fapl_free)(void *fapl) | ||
481 | + void * (*fapl_get)(H5FD_t *file) except * | ||
482 | + void * (*fapl_copy)(const void *fapl) except * | ||
483 | + herr_t (*fapl_free)(void *fapl) except -1 | ||
484 | size_t dxpl_size | ||
485 | void * (*dxpl_copy)(const void *dxpl) | ||
486 | herr_t (*dxpl_free)(void *dxpl) | ||
487 | - H5FD_t *(*open)(const char *name, unsigned flags, hid_t fapl, haddr_t maxaddr) | ||
488 | - herr_t (*close)(H5FD_t *file) | ||
489 | + H5FD_t *(*open)(const char *name, unsigned flags, hid_t fapl, haddr_t maxaddr) except * | ||
490 | + herr_t (*close)(H5FD_t *file) except -1 | ||
491 | int (*cmp)(const H5FD_t *f1, const H5FD_t *f2) | ||
492 | herr_t (*query)(const H5FD_t *f1, unsigned long *flags) | ||
493 | herr_t (*get_type_map)(const H5FD_t *file, H5FD_mem_t *type_map) | ||
494 | haddr_t (*alloc)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size) | ||
495 | herr_t (*free)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size) | ||
496 | - haddr_t (*get_eoa)(const H5FD_t *file, H5FD_mem_t type) | ||
497 | - herr_t (*set_eoa)(H5FD_t *file, H5FD_mem_t type, haddr_t addr) | ||
498 | - haddr_t (*get_eof)(const H5FD_t *file, H5FD_mem_t type) | ||
499 | + haddr_t (*get_eoa)(const H5FD_t *file, H5FD_mem_t type) noexcept | ||
500 | + herr_t (*set_eoa)(H5FD_t *file, H5FD_mem_t type, haddr_t addr) noexcept | ||
501 | + haddr_t (*get_eof)(const H5FD_t *file, H5FD_mem_t type) except -1 | ||
502 | herr_t (*get_handle)(H5FD_t *file, hid_t fapl, void**file_handle) | ||
503 | - herr_t (*read)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, void *buffer) | ||
504 | - herr_t (*write)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, const void *buffer) | ||
505 | - herr_t (*flush)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) | ||
506 | - herr_t (*truncate)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) | ||
507 | + herr_t (*read)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, void *buffer) except * | ||
508 | + herr_t (*write)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, const void *buffer) except * | ||
509 | + herr_t (*flush)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) except -1 | ||
510 | + herr_t (*truncate)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) except -1 | ||
511 | herr_t (*lock)(H5FD_t *file, hbool_t rw) | ||
512 | herr_t (*unlock)(H5FD_t *file) | ||
513 | H5FD_mem_t fl_map[<int>H5FD_MEM_NTYPES] | ||
514 | diff --git a/h5py/h5fd.pyx b/h5py/h5fd.pyx | ||
515 | index e9746057..d39cf68f 100644 | ||
516 | --- a/h5py/h5fd.pyx | ||
517 | +++ b/h5py/h5fd.pyx | ||
518 | @@ -144,10 +144,10 @@ cdef herr_t H5FD_fileobj_close(H5FD_fileobj_t *f) except -1 with gil: | ||
519 | stdlib_free(f) | ||
520 | return 0 | ||
521 | |||
522 | -cdef haddr_t H5FD_fileobj_get_eoa(const H5FD_fileobj_t *f, H5FD_mem_t type): | ||
523 | +cdef haddr_t H5FD_fileobj_get_eoa(const H5FD_fileobj_t *f, H5FD_mem_t type) noexcept nogil: | ||
524 | return f.eoa | ||
525 | |||
526 | -cdef herr_t H5FD_fileobj_set_eoa(H5FD_fileobj_t *f, H5FD_mem_t type, haddr_t addr): | ||
527 | +cdef herr_t H5FD_fileobj_set_eoa(H5FD_fileobj_t *f, H5FD_mem_t type, haddr_t addr) noexcept nogil: | ||
528 | f.eoa = addr | ||
529 | return 0 | ||
530 | |||
531 | @@ -191,22 +191,38 @@ cdef herr_t H5FD_fileobj_flush(H5FD_fileobj_t *f, hid_t dxpl, hbool_t closing) e | ||
532 | cdef H5FD_class_t info | ||
533 | memset(&info, 0, sizeof(info)) | ||
534 | |||
535 | +# Cython doesn't support "except X" in casting definition currently | ||
536 | +ctypedef herr_t (*file_free_func_ptr)(void *) except -1 | ||
537 | + | ||
538 | +ctypedef herr_t (*file_close_func_ptr)(H5FD_t *) except -1 | ||
539 | +ctypedef haddr_t (*file_get_eoa_func_ptr)(const H5FD_t *, H5FD_mem_t) noexcept | ||
540 | +ctypedef herr_t (*file_set_eof_func_ptr)(H5FD_t *, H5FD_mem_t, haddr_t) noexcept | ||
541 | +ctypedef haddr_t (*file_get_eof_func_ptr)(const H5FD_t *, H5FD_mem_t) except -1 | ||
542 | +ctypedef herr_t (*file_read_func_ptr)(H5FD_t *, H5FD_mem_t, hid_t, haddr_t, size_t, void*) except -1 | ||
543 | +ctypedef herr_t (*file_write_func_ptr)(H5FD_t *, H5FD_mem_t, hid_t, haddr_t, size_t, const void*) except -1 | ||
544 | +ctypedef herr_t (*file_truncate_func_ptr)(H5FD_t *, hid_t, hbool_t) except -1 | ||
545 | +ctypedef herr_t (*file_flush_func_ptr)(H5FD_t *, hid_t, hbool_t) except -1 | ||
546 | + | ||
547 | + | ||
548 | info.name = 'fileobj' | ||
549 | info.maxaddr = libc.stdint.SIZE_MAX - 1 | ||
550 | info.fc_degree = H5F_CLOSE_WEAK | ||
551 | info.fapl_size = sizeof(PyObject *) | ||
552 | info.fapl_get = <void *(*)(H5FD_t *)>H5FD_fileobj_fapl_get | ||
553 | info.fapl_copy = <void *(*)(const void *)>H5FD_fileobj_fapl_copy | ||
554 | -info.fapl_free = <herr_t (*)(void *)>H5FD_fileobj_fapl_free | ||
555 | + | ||
556 | +info.fapl_free = <file_free_func_ptr>H5FD_fileobj_fapl_free | ||
557 | + | ||
558 | info.open = <H5FD_t *(*)(const char *name, unsigned flags, hid_t fapl, haddr_t maxaddr)>H5FD_fileobj_open | ||
559 | -info.close = <herr_t (*)(H5FD_t *)>H5FD_fileobj_close | ||
560 | -info.get_eoa = <haddr_t (*)(const H5FD_t *, H5FD_mem_t)>H5FD_fileobj_get_eoa | ||
561 | -info.set_eoa = <herr_t (*)(H5FD_t *, H5FD_mem_t, haddr_t)>H5FD_fileobj_set_eoa | ||
562 | -info.get_eof = <haddr_t (*)(const H5FD_t *, H5FD_mem_t)>H5FD_fileobj_get_eof | ||
563 | -info.read = <herr_t (*)(H5FD_t *, H5FD_mem_t, hid_t, haddr_t, size_t, void *)>H5FD_fileobj_read | ||
564 | -info.write = <herr_t (*)(H5FD_t *, H5FD_mem_t, hid_t, haddr_t, size_t, const void *)>H5FD_fileobj_write | ||
565 | -info.truncate = <herr_t (*)(H5FD_t *, hid_t, hbool_t)>H5FD_fileobj_truncate | ||
566 | -info.flush = <herr_t (*)(H5FD_t *, hid_t, hbool_t)>H5FD_fileobj_flush | ||
567 | + | ||
568 | +info.close = <file_close_func_ptr>H5FD_fileobj_close | ||
569 | +info.get_eoa = <file_get_eoa_func_ptr>H5FD_fileobj_get_eoa | ||
570 | +info.set_eoa = <file_set_eof_func_ptr>H5FD_fileobj_set_eoa | ||
571 | +info.get_eof = <file_get_eof_func_ptr>H5FD_fileobj_get_eof | ||
572 | +info.read = <file_read_func_ptr>H5FD_fileobj_read | ||
573 | +info.write = <file_write_func_ptr>H5FD_fileobj_write | ||
574 | +info.truncate = <file_truncate_func_ptr>H5FD_fileobj_truncate | ||
575 | +info.flush = <file_flush_func_ptr>H5FD_fileobj_flush | ||
576 | # H5FD_FLMAP_DICHOTOMY | ||
577 | info.fl_map = [H5FD_MEM_SUPER, # default | ||
578 | H5FD_MEM_SUPER, # super | ||
579 | diff --git a/h5py/h5p.pyx b/h5py/h5p.pyx | ||
580 | index 779ea1b5..dc8bf65a 100644 | ||
581 | --- a/h5py/h5p.pyx | ||
582 | +++ b/h5py/h5p.pyx | ||
583 | @@ -1177,7 +1177,7 @@ cdef class PropFAID(PropInstanceID): | ||
584 | size_t block_size IN: File system block size | ||
585 | size_t cbuf_size IN: Copy buffer size | ||
586 | |||
587 | - Properites with value of 0 indicate that the HDF5 library should | ||
588 | + Properties with value of 0 indicate that the HDF5 library should | ||
589 | choose the value. | ||
590 | """ | ||
591 | H5Pset_fapl_direct(self.id, alignment, block_size, cbuf_size) | ||
592 | @@ -1761,7 +1761,7 @@ cdef class PropOCID(PropCreateID): | ||
593 | |||
594 | max_compact -- maximum number of attributes to be stored in compact storage(default:8) | ||
595 | must be greater than or equal to min_dense | ||
596 | - min_dense -- minmum number of attributes to be stored in dense storage(default:6) | ||
597 | + min_dense -- minimum number of attributes to be stored in dense storage(default:6) | ||
598 | |||
599 | """ | ||
600 | H5Pset_attr_phase_change(self.id, max_compact, min_dense) | ||
601 | diff --git a/h5py/h5t.pyx b/h5py/h5t.pyx | ||
602 | index e7aae14f..b9d7e74d 100644 | ||
603 | --- a/h5py/h5t.pyx | ||
604 | +++ b/h5py/h5t.pyx | ||
605 | @@ -1938,7 +1938,7 @@ def check_dtype(**kwds): | ||
606 | |||
607 | vlen = dtype | ||
608 | If the dtype represents an HDF5 vlen, returns the Python base class. | ||
609 | - Currently only builting string vlens (str) are supported. Returns | ||
610 | + Currently only built-in string vlens (str) are supported. Returns | ||
611 | None if the dtype does not represent an HDF5 vlen. | ||
612 | |||
613 | enum = dtype | ||
614 | diff --git a/h5py/tests/test_attrs_data.py b/h5py/tests/test_attrs_data.py | ||
615 | index 56481ca0..5083a1aa 100644 | ||
616 | --- a/h5py/tests/test_attrs_data.py | ||
617 | +++ b/h5py/tests/test_attrs_data.py | ||
618 | @@ -262,7 +262,7 @@ class TestEmpty(BaseAttrs): | ||
619 | self.assertTrue(is_empty_dataspace(h5a.open(self.f.id, b'y'))) | ||
620 | |||
621 | def test_modify(self): | ||
622 | - with self.assertRaises(IOError): | ||
623 | + with self.assertRaises(OSError): | ||
624 | self.f.attrs.modify('x', 1) | ||
625 | |||
626 | def test_values(self): | ||
627 | diff --git a/h5py/tests/test_big_endian_file.py b/h5py/tests/test_big_endian_file.py | ||
628 | index 4d81de01..170b5bcc 100644 | ||
629 | --- a/h5py/tests/test_big_endian_file.py | ||
630 | +++ b/h5py/tests/test_big_endian_file.py | ||
631 | @@ -24,14 +24,14 @@ def test_vlen_big_endian(): | ||
632 | assert dset[4] == 1.2 | ||
633 | assert dset.dtype == "<f8" | ||
634 | |||
635 | - # Same float values with big endianess | ||
636 | + # Same float values with big endianness | ||
637 | assert f["DSBEfloat"][0] == 3.14 | ||
638 | assert f["DSBEfloat"].dtype == ">f8" | ||
639 | |||
640 | assert f["DSLEint"][0] == 1 | ||
641 | assert f["DSLEint"].dtype == "<u8" | ||
642 | |||
643 | - # Same int values with big endianess | ||
644 | + # Same int values with big endianness | ||
645 | assert f["DSBEint"][0] == 1 | ||
646 | assert f["DSBEint"].dtype == ">i8" | ||
647 | |||
648 | diff --git a/h5py/tests/test_dataset.py b/h5py/tests/test_dataset.py | ||
649 | index e104dd53..0ffa5c80 100644 | ||
650 | --- a/h5py/tests/test_dataset.py | ||
651 | +++ b/h5py/tests/test_dataset.py | ||
652 | @@ -1939,9 +1939,9 @@ class TestCommutative(BaseDataset): | ||
653 | dset = self.f.create_dataset("test", shape, dtype=float, | ||
654 | data=np.random.rand(*shape)) | ||
655 | |||
656 | - # grab a value from the elements, ie dset[0] | ||
657 | + # grab a value from the elements, ie dset[0, 0] | ||
658 | # check that mask arrays are commutative wrt ==, != | ||
659 | - val = np.float64(dset[0]) | ||
660 | + val = np.float64(dset[0, 0]) | ||
661 | |||
662 | assert np.all((val == dset) == (dset == val)) | ||
663 | assert np.all((val != dset) == (dset != val)) | ||
664 | diff --git a/h5py/tests/test_file.py b/h5py/tests/test_file.py | ||
665 | index b47d408e..1aa38731 100644 | ||
666 | --- a/h5py/tests/test_file.py | ||
667 | +++ b/h5py/tests/test_file.py | ||
668 | @@ -326,7 +326,7 @@ class TestDrivers(TestCase): | ||
669 | # could be an integer multiple of 512 | ||
670 | # | ||
671 | # To allow HDF5 to do the heavy lifting for different platform, | ||
672 | - # We didn't provide any argumnets to the first call | ||
673 | + # We didn't provide any arguments to the first call | ||
674 | # and obtained HDF5's default values there. | ||
675 | |||
676 | # Testing creation with a few different property lists | ||
677 | @@ -639,9 +639,9 @@ class TestUnicode(TestCase): | ||
678 | Modes 'r' and 'r+' do not create files even when given unicode names | ||
679 | """ | ||
680 | fname = self.mktemp(prefix=chr(0x201a)) | ||
681 | - with self.assertRaises(IOError): | ||
682 | + with self.assertRaises(OSError): | ||
683 | File(fname, 'r') | ||
684 | - with self.assertRaises(IOError): | ||
685 | + with self.assertRaises(OSError): | ||
686 | File(fname, 'r+') | ||
687 | |||
688 | |||
689 | diff --git a/h5py/tests/test_file_alignment.py b/h5py/tests/test_file_alignment.py | ||
690 | index c280bb76..da13ee04 100644 | ||
691 | --- a/h5py/tests/test_file_alignment.py | ||
692 | +++ b/h5py/tests/test_file_alignment.py | ||
693 | @@ -50,7 +50,7 @@ class TestFileAlignment(TestCase): | ||
694 | alignment_interval = 4096 | ||
695 | |||
696 | for shape in [ | ||
697 | - (1033,), # A prime number above the thresold | ||
698 | + (1033,), # A prime number above the threshold | ||
699 | (1000,), # Exactly equal to the threshold | ||
700 | (1001,), # one above the threshold | ||
701 | ]: | ||
702 | @@ -75,7 +75,7 @@ class TestFileAlignment(TestCase): | ||
703 | alignment_interval = 1024 | ||
704 | |||
705 | for shape in [ | ||
706 | - (881,), # A prime number below the thresold | ||
707 | + (881,), # A prime number below the threshold | ||
708 | (999,), # Exactly one below the threshold | ||
709 | ]: | ||
710 | fname = self.mktemp() | ||
711 | diff --git a/h5py/tests/test_group.py b/h5py/tests/test_group.py | ||
712 | index 328c352a..4af1fb1f 100644 | ||
713 | --- a/h5py/tests/test_group.py | ||
714 | +++ b/h5py/tests/test_group.py | ||
715 | @@ -771,7 +771,7 @@ class TestExternalLinks(TestCase): | ||
716 | with self.assertRaises(KeyError): | ||
717 | self.f['ext'] | ||
718 | |||
719 | - # I would prefer IOError but there's no way to fix this as the exception | ||
720 | + # I would prefer OSError but there's no way to fix this as the exception | ||
721 | # class is determined by HDF5. | ||
722 | def test_exc_missingfile(self): | ||
723 | """ KeyError raised when attempting to open missing file """ | ||
724 | @@ -844,7 +844,7 @@ class TestExtLinkBugs(TestCase): | ||
725 | try: | ||
726 | if x: | ||
727 | x.close() | ||
728 | - except IOError: | ||
729 | + except OSError: | ||
730 | pass | ||
731 | return w | ||
732 | orig_name = self.mktemp() | ||
733 | diff --git a/h5py/tests/test_selections.py b/h5py/tests/test_selections.py | ||
734 | index 0b1722d7..01f6dcb7 100644 | ||
735 | --- a/h5py/tests/test_selections.py | ||
736 | +++ b/h5py/tests/test_selections.py | ||
737 | @@ -65,7 +65,7 @@ class TestTypeGeneration(BaseSelection): | ||
738 | self.assertEqual(out, np.dtype('i')) | ||
739 | self.assertEqual(format, np.dtype( [('a','i')] )) | ||
740 | |||
741 | - # Field does not apear in named typed | ||
742 | + # Field does not appear in named typed | ||
743 | with self.assertRaises(ValueError): | ||
744 | out, format = sel2.read_dtypes(dt, ('j', 'k')) | ||
745 | |||
746 | diff --git a/pylintrc b/pylintrc | ||
747 | index 045df2f7..2401d3b0 100644 | ||
748 | --- a/pylintrc | ||
749 | +++ b/pylintrc | ||
750 | @@ -44,7 +44,7 @@ confidence= | ||
751 | # can either give multiple identifiers separated by comma (,) or put this | ||
752 | # option multiple times (only on the command line, not in the configuration | ||
753 | # file where it should appear only once).You can also use "--disable=all" to | ||
754 | -# disable everything first and then reenable specific checks. For example, if | ||
755 | +# disable everything first and then re-enable specific checks. For example, if | ||
756 | # you want to run only the similarities checker, you can use "--disable=all | ||
757 | # --enable=similarities". If you want to run only the classes checker, but have | ||
758 | # no Warning level messages displayed, use"--disable=all --enable=classes | ||
759 | diff --git a/pyproject.toml b/pyproject.toml | ||
760 | index ee573d2f..717200ef 100644 | ||
761 | --- a/pyproject.toml | ||
762 | +++ b/pyproject.toml | ||
763 | @@ -1,6 +1,6 @@ | ||
764 | [build-system] | ||
765 | requires = [ | ||
766 | - "Cython >=0.29.31,<1", | ||
767 | + "Cython >=0.29.31,<4", | ||
768 | "oldest-supported-numpy", | ||
769 | "pkgconfig", | ||
770 | "setuptools >=61", | ||
771 | diff --git a/setup_configure.py b/setup_configure.py | ||
772 | index 0fba53ba..c3b86a64 100644 | ||
773 | --- a/setup_configure.py | ||
774 | +++ b/setup_configure.py | ||
775 | @@ -165,7 +165,7 @@ class BuildConfig: | ||
776 | try: | ||
777 | if pkgconfig.exists(pc_name): | ||
778 | pc = pkgconfig.parse(pc_name) | ||
779 | - except EnvironmentError: | ||
780 | + except OSError: | ||
781 | if os.name != 'nt': | ||
782 | print( | ||
783 | "Building h5py requires pkg-config unless the HDF5 path " | ||
784 | diff --git a/tox.ini b/tox.ini | ||
785 | index 0efb88a6..86a176dd 100644 | ||
786 | --- a/tox.ini | ||
787 | +++ b/tox.ini | ||
788 | @@ -65,7 +65,7 @@ skip_install=True | ||
789 | package_env = DUMMY NON-EXISTENT ENV NAME | ||
790 | changedir=docs | ||
791 | deps= | ||
792 | - sphinx | ||
793 | + -r docs/requirements-rtd.txt | ||
794 | commands= | ||
795 | sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html | ||
796 | |||
diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.11.0.bb index 8a9158525..e0ceafca1 100644 --- a/meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-h5py_3.11.0.bb | |||
@@ -4,10 +4,9 @@ SECTION = "devel/python" | |||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "d93adc48ceeb33347eb24a634fb787efc7ae4644e6ea4ba733d099605045c049" | 7 | SRC_URI[sha256sum] = "7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9" |
8 | 8 | ||
9 | SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch \ | 9 | SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch" |
10 | file://0001-Fix-Cython-3-compatibility.patch" | ||
11 | 10 | ||
12 | inherit pkgconfig pypi setuptools3 | 11 | inherit pkgconfig pypi setuptools3 |
13 | 12 | ||
@@ -38,3 +37,8 @@ RDEPENDS:${PN} = "python3-numpy \ | |||
38 | " | 37 | " |
39 | 38 | ||
40 | export HDF5_VERSION="1.14.0" | 39 | export HDF5_VERSION="1.14.0" |
40 | |||
41 | # http://errors.yoctoproject.org/Errors/Details/766919/ | ||
42 | # h5py/h5l.c:8163:107: error: passing argument 4 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types] | ||
43 | # h5py/h5l.c:8163:133: error: passing argument 5 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types] | ||
44 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
diff --git a/meta-python/recipes-devtools/python/python3-icu_2.12.bb b/meta-python/recipes-devtools/python/python3-icu_2.13.1.bb index 6394db4e9..6a590de5f 100644 --- a/meta-python/recipes-devtools/python/python3-icu_2.12.bb +++ b/meta-python/recipes-devtools/python/python3-icu_2.13.1.bb | |||
@@ -8,8 +8,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f" | |||
8 | DEPENDS += "icu" | 8 | DEPENDS += "icu" |
9 | 9 | ||
10 | PYPI_PACKAGE = "PyICU" | 10 | PYPI_PACKAGE = "PyICU" |
11 | SRC_URI[sha256sum] = "bd7ab5efa93ad692e6daa29cd249364e521218329221726a113ca3cb281c8611" | 11 | |
12 | SRC_URI[sha256sum] = "d4919085eaa07da12bade8ee721e7bbf7ade0151ca0f82946a26c8f4b98cdceb" | ||
12 | 13 | ||
13 | SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" | 14 | SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" |
14 | 15 | ||
15 | inherit pkgconfig pypi python_setuptools_build_meta | 16 | inherit pkgconfig pypi python_setuptools_build_meta |
17 | |||
18 | # it's lowercase pyicu instead of ${PYPI_PACKAGE} in this version | ||
19 | S = "${WORKDIR}/pyicu-${PV}" | ||
diff --git a/meta-python/recipes-devtools/python/python3-imageio_2.34.0.bb b/meta-python/recipes-devtools/python/python3-imageio_2.34.1.bb index e38d69440..45772ef8e 100644 --- a/meta-python/recipes-devtools/python/python3-imageio_2.34.0.bb +++ b/meta-python/recipes-devtools/python/python3-imageio_2.34.1.bb | |||
@@ -5,7 +5,7 @@ SECTION = "devel/python" | |||
5 | LICENSE = "BSD-2-Clause" | 5 | LICENSE = "BSD-2-Clause" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=24cb9a367a9e641b459a01c4d15256ba" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=24cb9a367a9e641b459a01c4d15256ba" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "ae9732e10acf807a22c389aef193f42215718e16bd06eed0c5bb57e1034a4d53" | 8 | SRC_URI[sha256sum] = "f13eb76e4922f936ac4a7fec77ce8a783e63b93543d4ea3e40793a6cabd9ac7d" |
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-imgtool_2.0.0.bb b/meta-python/recipes-devtools/python/python3-imgtool_2.1.0.bb index a25e6a61a..aafcf3827 100644 --- a/meta-python/recipes-devtools/python/python3-imgtool_2.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-imgtool_2.1.0.bb | |||
@@ -3,7 +3,7 @@ SUMMARY = "MCUboot's image signing and key management tool" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://imgtool/main.py;beginline=3;endline=18;md5=0645fb61e2f961a110302fbfdb227446" | 4 | LIC_FILES_CHKSUM = "file://imgtool/main.py;beginline=3;endline=18;md5=0645fb61e2f961a110302fbfdb227446" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "7a541255e69eec1f12aa38dce1f1d4fe20d8212677c68a9b6ec634ca91a06612" | 6 | SRC_URI[sha256sum] = "4f7fbcdf53c44eaaa6226504510ccb52f7ef00c997503cf94934b330c9607b60" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb b/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb index 3d93cc05e..503ef35a9 100644 --- a/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb | |||
@@ -5,15 +5,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ca9b07f08e2c72d48c74d363d1e0e15" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "912feeb5e0f7e0188e6f42241d2f450002e11bbc0937c65865045854c24c0bd0" | 6 | SRC_URI[sha256sum] = "912feeb5e0f7e0188e6f42241d2f450002e11bbc0937c65865045854c24c0bd0" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | RDEPENDS:${PN} += " \ | 10 | RDEPENDS:${PN} += " \ |
11 | python3-twisted \ | 11 | python3-twisted-core \ |
12 | python3-click \ | 12 | python3-click \ |
13 | " | 13 | " |
14 | 14 | ||
15 | # -native is needed to build python[3]-twisted, however, we need to take steps to | 15 | # -native is needed to build python[3]-twisted, however, we need to take steps to |
16 | # prevent a circular dependency. The build apparently does not use the part of | 16 | # prevent a circular dependency. The build apparently does not use the part of |
17 | # python-incremental which uses python-twisted, so this hack is OK. | 17 | # python-incremental which uses python-twisted, so this hack is OK. |
18 | RDEPENDS:python3-incremental-native:remove = "python3-twisted-native" | 18 | RDEPENDS:python3-incremental-native:remove = "python3-twisted-core-native" |
19 | BBCLASSEXTEND = "native" | 19 | BBCLASSEXTEND = "native" |
diff --git a/meta-python/recipes-devtools/python/python3-ipython_8.23.0.bb b/meta-python/recipes-devtools/python/python3-ipython_8.24.0.bb index ebfd14722..23060f3d6 100644 --- a/meta-python/recipes-devtools/python/python3-ipython_8.23.0.bb +++ b/meta-python/recipes-devtools/python/python3-ipython_8.24.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING.rst;md5=59b20262b8663cdd094005bddf47af5f" | |||
5 | 5 | ||
6 | PYPI_PACKAGE = "ipython" | 6 | PYPI_PACKAGE = "ipython" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "7468edaf4f6de3e1b912e57f66c241e6fd3c7099f2ec2136e239e142e800274d" | 8 | SRC_URI[sha256sum] = "010db3f8a728a578bb641fdd06c063b9fb8e96a9464c63aec6310fbcb5e80501" |
9 | 9 | ||
10 | RDEPENDS:${PN} = "\ | 10 | RDEPENDS:${PN} = "\ |
11 | python3-setuptools \ | 11 | python3-setuptools \ |
diff --git a/meta-python/recipes-devtools/python/python3-joblib_1.4.0.bb b/meta-python/recipes-devtools/python/python3-joblib_1.4.2.bb index 868e3f211..13d2a448d 100644 --- a/meta-python/recipes-devtools/python/python3-joblib_1.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-joblib_1.4.2.bb | |||
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2e481820abf0a70a18011a30153df066" | |||
4 | 4 | ||
5 | inherit setuptools3 pypi | 5 | inherit setuptools3 pypi |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "1eb0dc091919cd384490de890cb5dfd538410a6d4b3b54eef09fb8c50b409b1c" | 7 | SRC_URI[sha256sum] = "2382c5816b2636fbd20a09e0f4e9dad4736765fdfb7dca582943b9c1366b3f0e" |
8 | 8 | ||
9 | RDEPENDS:${PN} += " \ | 9 | RDEPENDS:${PN} += " \ |
10 | python3-asyncio \ | 10 | python3-asyncio \ |
diff --git a/meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb b/meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb index 237713bf1..ff9d7dd55 100644 --- a/meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/linjackson78/jstyleson" | |||
4 | SRC_URI += " file://LICENSE " | 4 | SRC_URI += " file://LICENSE " |
5 | 5 | ||
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=d97b96c7337934ee448ffd4392f32079" | 7 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=d97b96c7337934ee448ffd4392f32079" |
8 | 8 | ||
9 | PYPI_PACKAGE_EXT = "tar.gz" | 9 | PYPI_PACKAGE_EXT = "tar.gz" |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb b/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb index 991aa0f7d..6bd7ce8ba 100644 --- a/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb | |||
@@ -70,3 +70,8 @@ RDEPENDS:${PN} = " \ | |||
70 | python3-pillow \ | 70 | python3-pillow \ |
71 | python3-pygments \ | 71 | python3-pygments \ |
72 | " | 72 | " |
73 | |||
74 | # http://errors.yoctoproject.org/Errors/Details/766917/ | ||
75 | # python3-kivy/2.3.0/git/kivy/graphics/cgl_backend/cgl_gl.c:4568:52: error: assignment to 'void (*)(GLuint, GLsizei, const GLchar **, const GLint *)' {aka 'void (*)(unsigned int, int, const char **, const int *)'} from incompatible pointer type 'void (*)(GLuint, GLsizei, const GLchar * const*, const GLint *)' {aka 'void (*)(unsigned int, int, const char * const*, const int *)'} [-Wincompatible-pointer-types] | ||
76 | # python3-kivy/2.3.0/git/kivy/core/window/_window_sdl2.c:8781:23: error: passing argument 1 of 'SDL_SetEventFilter' from incompatible pointer type [-Wincompatible-pointer-types] | ||
77 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
diff --git a/meta-python/recipes-devtools/python/python3-langtable_0.0.65.bb b/meta-python/recipes-devtools/python/python3-langtable_0.0.66.bb index fa9edc67d..26a4f1921 100644 --- a/meta-python/recipes-devtools/python/python3-langtable_0.0.65.bb +++ b/meta-python/recipes-devtools/python/python3-langtable_0.0.66.bb | |||
@@ -6,7 +6,7 @@ SECTION = "devel/python" | |||
6 | 6 | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "791ec5403859704e1dee4d2a056a30ec21d1e7bc040658ce62c40e0427ba4333" | 9 | SRC_URI[sha256sum] = "0679e9014aa25916a8184c7bb5082fe983a661ab958d37f5fb75461abf5fb342" |
10 | 10 | ||
11 | inherit pypi setuptools3 python3native | 11 | inherit pypi setuptools3 python3native |
12 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-marshmallow_3.21.1.bb b/meta-python/recipes-devtools/python/python3-marshmallow_3.21.2.bb index bf1d8dd29..11351230c 100644 --- a/meta-python/recipes-devtools/python/python3-marshmallow_3.21.1.bb +++ b/meta-python/recipes-devtools/python/python3-marshmallow_3.21.2.bb | |||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "\ | |||
6 | file://LICENSE;md5=27586b20700d7544c06933afe56f7df4 \ | 6 | file://LICENSE;md5=27586b20700d7544c06933afe56f7df4 \ |
7 | file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb" | 7 | file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "4e65e9e0d80fc9e609574b9983cf32579f305c718afb30d7233ab818571768c3" | 9 | SRC_URI[sha256sum] = "82408deadd8b33d56338d2182d455db632c6313aa2af61916672146bb32edc56" |
10 | 10 | ||
11 | inherit python_flit_core pypi ptest | 11 | inherit python_flit_core pypi ptest |
12 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-moteus/0001-lib-python-remove-self-import-from-setup.py.patch b/meta-python/recipes-devtools/python/python3-moteus/0001-lib-python-remove-self-import-from-setup.py.patch deleted file mode 100644 index 10acd7b8c..000000000 --- a/meta-python/recipes-devtools/python/python3-moteus/0001-lib-python-remove-self-import-from-setup.py.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From 7490ac4629c7fe0dc329647e6e000d4bc13c610d Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Leitner <dev@g0hl1n.net> | ||
3 | Date: Wed, 24 Jan 2024 00:49:45 +0100 | ||
4 | Subject: [PATCH] lib: python: remove self-import from setup.py | ||
5 | |||
6 | Importing moteus itself within the setup.py creates some kind of a | ||
7 | chicken-and-egg problem. Furthermore it isn't used anywhere within | ||
8 | setup.py. Therefore remove the corresponding import. | ||
9 | |||
10 | Signed-off-by: Richard Leitner <dev@g0hl1n.net> | ||
11 | |||
12 | Upstream-Status: Backport [https://github.com/mjbots/moteus/commit/7490ac4629c7fe0dc329647e6e000d4bc13c610d] | ||
13 | --- | ||
14 | setup.py | 2 -- | ||
15 | 1 file changed, 2 deletions(-) | ||
16 | |||
17 | diff --git a/setup.py b/setup.py | ||
18 | index 2731685..6c6064d 100644 | ||
19 | --- a/setup.py | ||
20 | +++ b/setup.py | ||
21 | @@ -17,8 +17,6 @@ | ||
22 | import setuptools | ||
23 | import pathlib | ||
24 | |||
25 | -import moteus | ||
26 | - | ||
27 | here = pathlib.Path(__file__).parent.resolve() | ||
28 | |||
29 | # Get the long description from the README file | ||
30 | -- | ||
31 | 2.40.1 | ||
32 | |||
diff --git a/meta-python/recipes-devtools/python/python3-moteus_0.3.67.bb b/meta-python/recipes-devtools/python/python3-moteus_0.3.70.bb index 3c93ee44f..7e77d8f7a 100644 --- a/meta-python/recipes-devtools/python/python3-moteus_0.3.67.bb +++ b/meta-python/recipes-devtools/python/python3-moteus_0.3.70.bb | |||
@@ -5,9 +5,7 @@ LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=9;md5=24025d3c660abfc62a | |||
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 |
7 | 7 | ||
8 | SRC_URI += "file://0001-lib-python-remove-self-import-from-setup.py.patch" | 8 | SRC_URI[sha256sum] = "39e6e2689511c601dff62e502ca6c6ab91100f34b2ebbf52fcee241bf8bfed31" |
9 | |||
10 | SRC_URI[sha256sum] = "a2122f20f59b8962057cf8d3fb583e0aa19006eaf2cde49e30027a4d1b8bf925" | ||
11 | 9 | ||
12 | S = "${WORKDIR}/moteus-${PV}" | 10 | S = "${WORKDIR}/moteus-${PV}" |
13 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-mypy_1.9.0.bb b/meta-python/recipes-devtools/python/python3-mypy_1.10.0.bb index e51264f8a..534ff9066 100644 --- a/meta-python/recipes-devtools/python/python3-mypy_1.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-mypy_1.10.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8d62fd8f8648cb018e52857347e340b9" | |||
5 | 5 | ||
6 | inherit pypi python_setuptools_build_meta | 6 | inherit pypi python_setuptools_build_meta |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "3cc5da0127e6a478cddd906068496a97a7618a21ce9b54bde5bf7e539c7af974" | 8 | SRC_URI[sha256sum] = "3d087fcbec056c4ee34974da493a826ce316947485cef3901f511848e687c131" |
9 | 9 | ||
10 | BBCLASSEXTEND = "native" | 10 | BBCLASSEXTEND = "native" |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-nocasedict_2.0.1.bb b/meta-python/recipes-devtools/python/python3-nocasedict_2.0.3.bb index 5a2985817..105c20b5a 100644 --- a/meta-python/recipes-devtools/python/python3-nocasedict_2.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-nocasedict_2.0.3.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pywbem/nocasedict" | |||
3 | LICENSE = "LGPL-2.1-only" | 3 | LICENSE = "LGPL-2.1-only" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "960cb699f1209da80ac39e3ab50aa7342fe8ca9f70606c23447a510550435e50" | 6 | SRC_URI[sha256sum] = "1c9226c7f5a8a97ad51dcb0ae3157a720e3f7cb9c4568d22ea3a05e3f85658a9" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-nocaselist_2.0.0.bb b/meta-python/recipes-devtools/python/python3-nocaselist_2.0.2.bb index 2ad42247d..913b8ac5e 100644 --- a/meta-python/recipes-devtools/python/python3-nocaselist_2.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-nocaselist_2.0.2.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://nocaselist.readthedocs.io/en/latest/" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "456aa000c6777c5d21b029c52e532f94328d4fb4f15ad2a4dd3dd62db30b3892" | 6 | SRC_URI[sha256sum] = "32708b700a1a53133e6bb5cc53332c9775b0c7c959a5f9725793171fd2f4c8a5" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pdm_2.14.0.bb b/meta-python/recipes-devtools/python/python3-pdm_2.15.3.bb index 011ba5b3d..7551de866 100644 --- a/meta-python/recipes-devtools/python/python3-pdm_2.14.0.bb +++ b/meta-python/recipes-devtools/python/python3-pdm_2.15.3.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "MIT" | |||
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "7ae6c4b5518085a703e0824ab10cbc3b7246b599ef07b8c4dcb2af1e42859190" | 7 | SRC_URI[sha256sum] = "c227d81f6bf109626a5643a7bb531c5f5b777a850c4eac8d08b472c1146beee5" |
8 | 8 | ||
9 | inherit pypi python_setuptools_build_meta | 9 | inherit pypi python_setuptools_build_meta |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-platformdirs_4.2.0.bb b/meta-python/recipes-devtools/python/python3-platformdirs_4.2.2.bb index 19c95b374..5821aedd4 100644 --- a/meta-python/recipes-devtools/python/python3-platformdirs_4.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-platformdirs_4.2.2.bb | |||
@@ -7,7 +7,7 @@ SRC_URI += " \ | |||
7 | file://run-ptest \ | 7 | file://run-ptest \ |
8 | " | 8 | " |
9 | 9 | ||
10 | SRC_URI[sha256sum] = "ef0cc731df711022c174543cb70a9b5bd22e5a9337c8624ef2c2ceb8ddad8768" | 10 | SRC_URI[sha256sum] = "38b7b51f512eed9e84a22788b4bce1de17c0adb134d6becb09836e37d8654cd3" |
11 | 11 | ||
12 | inherit pypi python_hatchling ptest | 12 | inherit pypi python_hatchling ptest |
13 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb b/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb index 8bb8a93f7..b9b03badd 100644 --- a/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb +++ b/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb | |||
@@ -23,7 +23,6 @@ RDEPENDS:${PN} += " \ | |||
23 | python3-netclient \ | 23 | python3-netclient \ |
24 | python3-numbers \ | 24 | python3-numbers \ |
25 | python3-pkgutil \ | 25 | python3-pkgutil \ |
26 | python3-six \ | ||
27 | python3-unittest \ | 26 | python3-unittest \ |
28 | " | 27 | " |
29 | 28 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pycurl_7.45.2.bb b/meta-python/recipes-devtools/python/python3-pycurl_7.45.3.bb index a6863e21f..774c1343c 100644 --- a/meta-python/recipes-devtools/python/python3-pycurl_7.45.2.bb +++ b/meta-python/recipes-devtools/python/python3-pycurl_7.45.3.bb | |||
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING-LGPL;md5=4fbd65380cdd255951079008b364516c \ | |||
12 | file://COPYING-MIT;md5=be42e1b1e58c8d59c2901fd747bfc55d \ | 12 | file://COPYING-MIT;md5=be42e1b1e58c8d59c2901fd747bfc55d \ |
13 | " | 13 | " |
14 | 14 | ||
15 | SRC_URI[sha256sum] = "5730590be0271364a5bddd9e245c9cc0fb710c4cbacbdd95264a3122d23224ca" | 15 | SRC_URI[sha256sum] = "8c2471af9079ad798e1645ec0b0d3d4223db687379d17dd36a70637449f81d6b" |
16 | 16 | ||
17 | DEPENDS = "curl" | 17 | DEPENDS = "curl" |
18 | 18 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb index faa291ea6..f51064522 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb | |||
@@ -35,17 +35,6 @@ RDEPENDS:${PN}-ptest += "\ | |||
35 | python3-unittest-automake-output \ | 35 | python3-unittest-automake-output \ |
36 | " | 36 | " |
37 | 37 | ||
38 | do_install:append() { | ||
39 | for f in ${D}/${PYTHON_SITEPACKAGES_DIR}/pydantic_core/_pydantic_core.*.so | ||
40 | do | ||
41 | fname=`basename $f` | ||
42 | lname=`echo $fname | sed 's/musl/gnu/'` | ||
43 | if [ "$fname" != "$lname" ]; then | ||
44 | mv $f ${D}/${PYTHON_SITEPACKAGES_DIR}/pydantic_core/$lname | ||
45 | fi | ||
46 | done | ||
47 | } | ||
48 | |||
49 | do_install_ptest() { | 38 | do_install_ptest() { |
50 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ | 39 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ |
51 | sed -i -e "/--automake/ s/$/ -k 'not test_model_class_root_validator_wrap and not test_model_class_root_validator_before and not test_model_class_root_validator_after'/" ${D}${PTEST_PATH}/run-ptest | 40 | sed -i -e "/--automake/ s/$/ -k 'not test_model_class_root_validator_wrap and not test_model_class_root_validator_before and not test_model_class_root_validator_after'/" ${D}${PTEST_PATH}/run-ptest |
diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.7.0.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb index 36ad83527..423fe7673 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic_2.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb | |||
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" | |||
11 | 11 | ||
12 | inherit pypi python_hatchling | 12 | inherit pypi python_hatchling |
13 | 13 | ||
14 | SRC_URI[sha256sum] = "b5ecdd42262ca2462e2624793551e80911a1e989f462910bb81aef974b4bb383" | 14 | SRC_URI[sha256sum] = "c46c76a40bb1296728d7a8b99aa73dd70a48c3510111ff290034f860c99c419e" |
15 | 15 | ||
16 | DEPENDS += "python3-hatch-fancy-pypi-readme-native" | 16 | DEPENDS += "python3-hatch-fancy-pypi-readme-native" |
17 | 17 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyhamcrest_2.1.0.bb b/meta-python/recipes-devtools/python/python3-pyhamcrest_2.1.0.bb index eaa24eefe..dcc9ebfa9 100644 --- a/meta-python/recipes-devtools/python/python3-pyhamcrest_2.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyhamcrest_2.1.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=79391bf1501c898472d043f36e960612" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "c6acbec0923d0cb7e72c22af1926f3e7c97b8e8d69fc7498eabacaf7c975bd9c" | 6 | SRC_URI[sha256sum] = "c6acbec0923d0cb7e72c22af1926f3e7c97b8e8d69fc7498eabacaf7c975bd9c" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_hatchling |
9 | 9 | ||
10 | DEPENDS += "python3-hatch-vcs-native" | 10 | DEPENDS += "python3-hatch-vcs-native" |
11 | 11 | ||
@@ -13,6 +13,6 @@ UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/PyHamcrest/" | |||
13 | UPSTREAM_CHECK_REGEX = "/PyHamcrest/(?P<pver>(\d+[\.\-_]*)+)" | 13 | UPSTREAM_CHECK_REGEX = "/PyHamcrest/(?P<pver>(\d+[\.\-_]*)+)" |
14 | 14 | ||
15 | RDEPENDS:${PN} += " \ | 15 | RDEPENDS:${PN} += " \ |
16 | python3-six \ | 16 | python3-asyncio \ |
17 | python3-numbers \ | 17 | python3-numbers \ |
18 | " | 18 | " |
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb b/meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb index 12f4f908a..0de1576af 100644 --- a/meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb | |||
@@ -3,11 +3,11 @@ HOMEPAGE= "http://www.pylint.org/" | |||
3 | LICENSE = "GPL-2.0-only" | 3 | LICENSE = "GPL-2.0-only" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" |
5 | 5 | ||
6 | SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.1.x;protocol=https \ | 6 | SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https \ |
7 | file://0001-Adjust-test-expectations-for-ptest.patch \ | 7 | file://0001-Adjust-test-expectations-for-ptest.patch \ |
8 | file://run-ptest \ | 8 | file://run-ptest \ |
9 | " | 9 | " |
10 | SRCREV = "053c2c3a25f97f043e10cdd41d2609e495a68f57" | 10 | SRCREV = "769ffd20bbf321a6cf23f5e7221a0b8221f51482" |
11 | 11 | ||
12 | inherit python_setuptools_build_meta ptest | 12 | inherit python_setuptools_build_meta ptest |
13 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pymisp_2.4.188.bb b/meta-python/recipes-devtools/python/python3-pymisp_2.4.190.bb index 59a00be15..c1389982d 100644 --- a/meta-python/recipes-devtools/python/python3-pymisp_2.4.188.bb +++ b/meta-python/recipes-devtools/python/python3-pymisp_2.4.190.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/MISP/PyMISP" | |||
3 | LICENSE = "BSD-2-Clause" | 3 | LICENSE = "BSD-2-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "c2313d059a9f4d1221243fcda64fb8ae11603c1745e92d57c4071aad04336696" | 6 | SRC_URI[sha256sum] = "e7374295bfd8c7d25f56867e4395a029433360d95420e39b7f78eb1d4f8b48b4" |
7 | 7 | ||
8 | inherit python_poetry_core pypi | 8 | inherit python_poetry_core pypi |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pymodbus_3.6.7.bb b/meta-python/recipes-devtools/python/python3-pymodbus_3.6.8.bb index 323377253..b94504f14 100644 --- a/meta-python/recipes-devtools/python/python3-pymodbus_3.6.7.bb +++ b/meta-python/recipes-devtools/python/python3-pymodbus_3.6.8.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/riptideio/pymodbus/" | |||
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=eba8057aa82c058d2042b4b0a0e9cc63" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=eba8057aa82c058d2042b4b0a0e9cc63" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "e6cefac57f8d0e887ef49a705743787d8f1f005df94bd148e3da43c2599c77f3" | 6 | SRC_URI[sha256sum] = "abb214716b56fc62bc0d5d9d964e2249439341746287e918d175f0e3ee241407" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyperf_2.6.3.bb b/meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb index 6b37e1864..f3ebfe2d9 100644 --- a/meta-python/recipes-devtools/python/python3-pyperf_2.6.3.bb +++ b/meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb | |||
@@ -13,7 +13,7 @@ Features: \ | |||
13 | LICENSE = "MIT" | 13 | LICENSE = "MIT" |
14 | LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" |
15 | 15 | ||
16 | SRC_URI[sha256sum] = "9752fe749c21e460a564bb3f52fc319b892c62ee61c5138b4a9bbf94ad2755e6" | 16 | SRC_URI[sha256sum] = "4201c6601032f374e9c900c6d2544a2f5891abedc1a96eec0e7b2338a6247589" |
17 | 17 | ||
18 | DEPENDS += "python3-six-native" | 18 | DEPENDS += "python3-six-native" |
19 | 19 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb b/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb index 2807c054d..297eecad0 100644 --- a/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb | |||
@@ -9,16 +9,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | |||
9 | 9 | ||
10 | SRC_URI += "\ | 10 | SRC_URI += "\ |
11 | git://gitlab.com/tschorr/pyruvate.git;protocol=https;branch=main \ | 11 | git://gitlab.com/tschorr/pyruvate.git;protocol=https;branch=main \ |
12 | file://0001-linux.rs-Define-consts-for-rv32-architecture.patch;patchdir=../cargo_home/bitbake/nix-0.23.2/ \ | 12 | file://0001-linux.rs-Define-consts-for-rv32-architecture.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/nix-0.23.2/ \ |
13 | file://0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ | 13 | file://0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ |
14 | file://0001-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ | 14 | file://0001-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ |
15 | file://0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ | 15 | file://0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ |
16 | file://0001-musl-Define-O_LARGEFILE-for-riscv32.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ | 16 | file://0001-musl-Define-O_LARGEFILE-for-riscv32.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ |
17 | file://0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ | 17 | file://0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ |
18 | " | 18 | " |
19 | SRCREV = "57db64c9f65ced05c71b8d786c1cedfaa2991597" | 19 | SRCREV = "57db64c9f65ced05c71b8d786c1cedfaa2991597" |
20 | 20 | ||
21 | SRC_URI:append:mips = " file://0001-check-for-mips-targets-for-stat.st_dev-definitions.patch;patchdir=../cargo_home/bitbake/libsystemd-0.5.0/" | 21 | SRC_URI:append:mips = " file://0001-check-for-mips-targets-for-stat.st_dev-definitions.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libsystemd-0.5.0/" |
22 | 22 | ||
23 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
24 | 24 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.8.bb b/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.8.bb new file mode 100644 index 000000000..6ff69a396 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.8.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Pytest plugin providing a fixture interface for spulec/freezegun" | ||
2 | HOMEPAGE = "https://github.com/pytest-dev/pytest-freezer" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1661a0f2b9b83ed73b8e05b5683b10d0" | ||
5 | |||
6 | SRC_URI[sha256sum] = "8ee2f724b3ff3540523fa355958a22e6f4c1c819928b78a7a183ae4248ce6ee6" | ||
7 | |||
8 | inherit pypi python_flit_core | ||
9 | |||
10 | RDEPENDS:${PN} = "\ | ||
11 | python3-freezegun (>=1.0) \ | ||
12 | python3-pytest (>=3.6) \ | ||
13 | " | ||
14 | |||
15 | PYPI_PACKAGE = "pytest_freezer" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb b/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb index 37478ee0a..154ec255c 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb | |||
@@ -15,7 +15,9 @@ DEPENDS += "\ | |||
15 | " | 15 | " |
16 | 16 | ||
17 | RDEPENDS:${PN} += " \ | 17 | RDEPENDS:${PN} += " \ |
18 | python3-jinja2 \ | ||
18 | python3-pytest \ | 19 | python3-pytest \ |
20 | python3-pytest-metadata \ | ||
19 | " | 21 | " |
20 | 22 | ||
21 | BBCLASSEXTEND = "native nativesdk" | 23 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb b/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb new file mode 100644 index 000000000..86b03724a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "Pytest Plugin to disable socket calls during tests" | ||
2 | HOMEPAGE = "https://github.com/miketheman/pytest-socket" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1752f63a3a8a02fed42e580e9b94a081" | ||
5 | |||
6 | SRC_URI[sha256sum] = "71ab048cbbcb085c15a4423b73b619a8b35d6a307f46f78ea46be51b1b7e11b3" | ||
7 | |||
8 | inherit pypi python_poetry_core | ||
9 | |||
10 | RDEPENDS:${PN} = "python3-pytest" | ||
11 | |||
12 | BBCLASSEXTEND = "native nativesdk" | ||
13 | |||
14 | PYPI_PACKAGE = "pytest_socket" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-unordered_0.6.0.bb b/meta-python/recipes-devtools/python/python3-pytest-unordered_0.6.0.bb new file mode 100644 index 000000000..bf1420cf9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-unordered_0.6.0.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "Test equality of unordered collections in pytest" | ||
2 | HOMEPAGE = "https://github.com/utapyngo/pytest-unordered" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fcd3af2d38a4d4dfd5138c6f163dbe2e" | ||
5 | |||
6 | SRC_URI[sha256sum] = "f61b4f6e06a60a92db50968954efac93e2f584290a49f53ad135e3f32f57e02a" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
9 | |||
10 | RDEPENDS:${PN} += "python3-pytest" | ||
11 | |||
12 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyudev_0.24.1.bb b/meta-python/recipes-devtools/python/python3-pyudev_0.24.3.bb index ed5175fcf..0911b63ed 100644 --- a/meta-python/recipes-devtools/python/python3-pyudev_0.24.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyudev_0.24.3.bb | |||
@@ -3,7 +3,7 @@ SUMMARY = "A libudev binding" | |||
3 | LICENSE = "LGPL-2.1-or-later" | 3 | LICENSE = "LGPL-2.1-or-later" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "75e54d37218f5ac45b0da1f0fd9cc5e526a3cac3ef1cfad410cf7ab338b01471" | 6 | SRC_URI[sha256sum] = "2e945427a21674893bb97632401db62139d91cea1ee96137cc7b07ad22198fc7" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyzstd_0.15.10.bb b/meta-python/recipes-devtools/python/python3-pyzstd_0.16.0.bb index c094a8d6f..77459c1c5 100644 --- a/meta-python/recipes-devtools/python/python3-pyzstd_0.15.10.bb +++ b/meta-python/recipes-devtools/python/python3-pyzstd_0.16.0.bb | |||
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e" | |||
8 | 8 | ||
9 | PYPI_PACKAGE = "pyzstd" | 9 | PYPI_PACKAGE = "pyzstd" |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "83603a97fdbcf2139f475c940789f09e32703f931f29f4a8ddf3551e6700108b" | 11 | SRC_URI[sha256sum] = "fd43a0ae38ae15223fb1057729001829c3336e90f4acf04cf12ebdec33346658" |
12 | 12 | ||
13 | inherit pypi setuptools3 | 13 | inherit pypi setuptools3 |
14 | 14 | ||
diff --git a/meta-python/recipes-devtools/python/python3-rapidjson_1.14.bb b/meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb index 22868d8df..d7a56b051 100644 --- a/meta-python/recipes-devtools/python/python3-rapidjson_1.14.bb +++ b/meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4daf3929156304df67003c33274a98bd" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4daf3929156304df67003c33274a98bd" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "26806f0a658c34b48d2951d8d3f846ca9deb93a34e664ef436db632a188b6779" | 7 | SRC_URI[sha256sum] = "95a111da29d996af8549f8b32ec701dab3af2ab7c6cd9c79540391ecb05f20c8" |
8 | 8 | ||
9 | # Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe | 9 | # Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe |
10 | inherit setuptools3 pypi ptest | 10 | inherit setuptools3 pypi ptest |
diff --git a/meta-python/recipes-devtools/python/python3-regex_2023.12.25.bb b/meta-python/recipes-devtools/python/python3-regex_2024.5.15.bb index d7ac61608..9d356553b 100644 --- a/meta-python/recipes-devtools/python/python3-regex_2023.12.25.bb +++ b/meta-python/recipes-devtools/python/python3-regex_2024.5.15.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7b5751ddd6b643203c31ff873051d069" | |||
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "29171aa128da69afdf4bde412d5bedc335f2ca8fcfe4489038577d05f16181e5" | 8 | SRC_URI[sha256sum] = "d3ee02d9e5f482cc8309134a91eeaacbdd2261ba111b0fef3748eeb4913e6a2c" |
9 | 9 | ||
10 | RDEPENDS:${PN} += " \ | 10 | RDEPENDS:${PN} += " \ |
11 | python3-stringold \ | 11 | python3-stringold \ |
diff --git a/meta-python/recipes-devtools/python/python3-requests-mock_1.12.1.bb b/meta-python/recipes-devtools/python/python3-requests-mock_1.12.1.bb new file mode 100644 index 000000000..248526b00 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-requests-mock_1.12.1.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | SUMMARY = "Mocked responses for the requests library" | ||
2 | HOMEPAGE = "https://github.com/jamielennox/requests-mock" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b2eea41aec0f2973a45e1e45f28aa32" | ||
5 | |||
6 | DEPENDS = "python3-setuptools-scm-native" | ||
7 | SRC_URI[sha256sum] = "e9e12e333b525156e82a3c852f22016b9158220d2f47454de9cae8a77d371401" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta | ||
diff --git a/meta-python/recipes-devtools/python/python3-rlp_4.0.0.bb b/meta-python/recipes-devtools/python/python3-rlp_4.0.1.bb index 7df8ac07c..46ca600ea 100644 --- a/meta-python/recipes-devtools/python/python3-rlp_4.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-rlp_4.0.1.bb | |||
@@ -4,7 +4,7 @@ SECTION = "devel/python" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=00854fa80a84236706b11f47f23e61e7" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=00854fa80a84236706b11f47f23e61e7" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "61a5541f86e4684ab145cb849a5929d2ced8222930a570b3941cf4af16b72a78" | 7 | SRC_URI[sha256sum] = "bcefb11013dfadf8902642337923bd0c786dc8a27cb4c21da6e154e52869ecb1" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.29.bb b/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.30.bb index e646bd0d9..1a42aa1b4 100644 --- a/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.29.bb +++ b/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.30.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.sqlalchemy.org/" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c78b979ae6c20775a28a287d32092cbb" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c78b979ae6c20775a28a287d32092cbb" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "bd9566b8e58cabd700bc367b60e90d9349cd16f0984973f98a9a09f9c64e86f0" | 7 | SRC_URI[sha256sum] = "2b1708916730f4830bc69d6f49d37f7698b5bd7530aca7f04f785f8849e95255" |
8 | 8 | ||
9 | PYPI_PACKAGE = "SQLAlchemy" | 9 | PYPI_PACKAGE = "SQLAlchemy" |
10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb b/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb index e119a0f11..a95272261 100644 --- a/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb | |||
@@ -4,7 +4,7 @@ SECTION = "devel/python" | |||
4 | 4 | ||
5 | SRC_URI += " file://LICENSE " | 5 | SRC_URI += " file://LICENSE " |
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=497c556f42b1355b64190da2f3d88f93" | 7 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=497c556f42b1355b64190da2f3d88f93" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "f7f39c583fd92027bd9d06127b259aee7a5b7945c1f1fa56263811e1e766996d" | 9 | SRC_URI[sha256sum] = "f7f39c583fd92027bd9d06127b259aee7a5b7945c1f1fa56263811e1e766996d" |
10 | 10 | ||
@@ -14,4 +14,4 @@ RDEPENDS:${PN} += "\ | |||
14 | python3-setuptools \ | 14 | python3-setuptools \ |
15 | " | 15 | " |
16 | 16 | ||
17 | BBCLASSEXTEND = "native nativesdk" \ No newline at end of file | 17 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb b/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb index 06b08e78a..e104e1c0c 100644 --- a/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb +++ b/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb | |||
@@ -28,6 +28,6 @@ do_install:append() { | |||
28 | install -d ${D}${sysconfdir}/supervisor | 28 | install -d ${D}${sysconfdir}/supervisor |
29 | install -d ${D}${systemd_system_unitdir} | 29 | install -d ${D}${systemd_system_unitdir} |
30 | 30 | ||
31 | install -m 0644 ${WORKDIR}/supervisord.conf ${D}${sysconfdir}/supervisor | 31 | install -m 0644 ${UNPACKDIR}/supervisord.conf ${D}${sysconfdir}/supervisor |
32 | install -m 0644 ${WORKDIR}/supervisor.service ${D}${systemd_system_unitdir} | 32 | install -m 0644 ${UNPACKDIR}/supervisor.service ${D}${systemd_system_unitdir} |
33 | } | 33 | } |
diff --git a/meta-python/recipes-devtools/python/python3-tox_4.14.2.bb b/meta-python/recipes-devtools/python/python3-tox_4.15.0.bb index f451de321..4296738ec 100644 --- a/meta-python/recipes-devtools/python/python3-tox_4.14.2.bb +++ b/meta-python/recipes-devtools/python/python3-tox_4.15.0.bb | |||
@@ -6,7 +6,7 @@ HOMEPAGE = "http://tox.readthedocs.org/" | |||
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "0defb44f6dafd911b61788325741cc6b2e12ea71f987ac025ad4d649f1f1a104" | 9 | SRC_URI[sha256sum] = "7a0beeef166fbe566f54f795b4906c31b428eddafc0102ac00d20998dd1933f6" |
10 | 10 | ||
11 | BBCLASSEXTEND = "native nativesdk" | 11 | BBCLASSEXTEND = "native nativesdk" |
12 | inherit pypi python_hatchling | 12 | inherit pypi python_hatchling |
diff --git a/meta-python/recipes-devtools/python/python3-tqdm_4.66.2.bb b/meta-python/recipes-devtools/python/python3-tqdm_4.66.4.bb index 77d26f54b..485d24f52 100644 --- a/meta-python/recipes-devtools/python/python3-tqdm_4.66.2.bb +++ b/meta-python/recipes-devtools/python/python3-tqdm_4.66.4.bb | |||
@@ -5,7 +5,7 @@ SECTION = "devel/python" | |||
5 | LICENSE = "MIT & MPL-2.0" | 5 | LICENSE = "MIT & MPL-2.0" |
6 | LIC_FILES_CHKSUM = "file://LICENCE;md5=42dfa9e8c616dbc295df3f58d756b2a1" | 6 | LIC_FILES_CHKSUM = "file://LICENCE;md5=42dfa9e8c616dbc295df3f58d756b2a1" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "6cd52cdf0fef0e0f543299cfc96fec90d7b8a7e88745f411ec33eb44d5ed3531" | 8 | SRC_URI[sha256sum] = "e4d936c9de8727928f3be6079590e97d9abfe8d39a590be678eb5919ffc186bb" |
9 | 9 | ||
10 | inherit pypi python_setuptools_build_meta | 10 | inherit pypi python_setuptools_build_meta |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-transitions_0.9.0.bb b/meta-python/recipes-devtools/python/python3-transitions_0.9.1.bb index 980351bf1..5f1e3d9e2 100644 --- a/meta-python/recipes-devtools/python/python3-transitions_0.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-transitions_0.9.1.bb | |||
@@ -4,6 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=de0a0876a688a4483bfafa764773ab39" | |||
4 | 4 | ||
5 | inherit pypi setuptools3 | 5 | inherit pypi setuptools3 |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "2f54d11bdb225779d7e729011e93a9fb717668ce3dc65f8d4f5a5d7ba2f48e10" | 7 | SRC_URI[sha256sum] = "3542c37108e93e2ae5f215208ec5732c94a772937854a102cd7345b967fee61b" |
8 | 8 | ||
9 | RDEPENDS:${PN} += "python3-six python3-logging" | 9 | RDEPENDS:${PN} += "python3-six python3-logging" |
diff --git a/meta-python/recipes-devtools/python/python3-twine_5.0.0.bb b/meta-python/recipes-devtools/python/python3-twine_5.1.0.bb index cb4507481..6a79d45d4 100644 --- a/meta-python/recipes-devtools/python/python3-twine_5.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-twine_5.1.0.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://twine.readthedocs.io/" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "89b0cc7d370a4b66421cc6102f269aa910fe0f1861c124f573cf2ddedbc10cf4" | 6 | SRC_URI[sha256sum] = "4d74770c88c4fcaf8134d2a6a9d863e40f08255ff7d8e2acb3cbbd57d25f6e9d" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-twisted_22.10.0.bb b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb index 20b9ce254..336c17389 100644 --- a/meta-python/recipes-devtools/python/python3-twisted_22.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb | |||
@@ -1,39 +1,36 @@ | |||
1 | DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \ | 1 | DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \ |
2 | Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols \ | 2 | Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols \ |
3 | (including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more." | 3 | (including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more." |
4 | HOMEPAGE = "http://www.twistedmatrix.com" | 4 | HOMEPAGE = "https://twisted.org" |
5 | 5 | ||
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0f8d67f84b6e178c92d471011b2245fc" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c5d2c2493b848f83864bdedd67bbf5" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "32acbd40a94f5f46e7b42c109bfae2b302250945561783a8b7a059048f2d4d31" | 9 | SRC_URI[sha256sum] = "6b38b6ece7296b5e122c9eb17da2eeab3d98a198f50ca9efd00fb03e5b4fd4ae" |
10 | 10 | ||
11 | PYPI_PACKAGE = "Twisted" | 11 | inherit pypi python_hatchling |
12 | |||
13 | inherit pypi python_setuptools_build_meta | ||
14 | 12 | ||
15 | do_install:append() { | 13 | do_install:append() { |
16 | # remove some useless files before packaging | 14 | # remove some useless files before packaging |
17 | find ${D} \( -name "*.bat" -o -name "*.c" -o -name "*.h" \) -exec rm -f {} \; | 15 | find ${D} \( -name "*.bat" -o -name "*.c" -o -name "*.h" \) -exec rm -f {} \; |
18 | } | 16 | } |
19 | 17 | ||
20 | PACKAGES += "\ | 18 | PACKAGES =+ "\ |
21 | ${PN}-zsh \ | 19 | ${PN}-zsh \ |
22 | ${PN}-test \ | 20 | ${PN}-test \ |
23 | ${PN}-protocols \ | 21 | ${PN}-protocols \ |
24 | ${PN}-conch \ | 22 | ${PN}-conch \ |
25 | ${PN}-mail \ | 23 | ${PN}-mail \ |
26 | ${PN}-names \ | 24 | ${PN}-names \ |
27 | ${PN}-news \ | ||
28 | ${PN}-runner \ | 25 | ${PN}-runner \ |
29 | ${PN}-web \ | 26 | ${PN}-web \ |
30 | ${PN}-words \ | 27 | ${PN}-words \ |
31 | ${PN}-flow \ | ||
32 | ${PN}-pair \ | 28 | ${PN}-pair \ |
33 | ${PN}-core \ | 29 | ${PN}-core \ |
34 | " | 30 | " |
35 | 31 | ||
36 | DEPENDS += " \ | 32 | DEPENDS += " \ |
33 | python3-hatch-fancy-pypi-readme-native \ | ||
37 | python3-incremental-native \ | 34 | python3-incremental-native \ |
38 | " | 35 | " |
39 | 36 | ||
@@ -58,25 +55,20 @@ RDEPENDS:${PN}-core = "python3-appdirs \ | |||
58 | python3-debugger \ | 55 | python3-debugger \ |
59 | python3-hyperlink \ | 56 | python3-hyperlink \ |
60 | python3-incremental \ | 57 | python3-incremental \ |
61 | python3-pyhamcrest \ | ||
62 | python3-pyserial \ | 58 | python3-pyserial \ |
63 | python3-typing-extensions \ | 59 | python3-typing-extensions \ |
64 | python3-unixadmin \ | 60 | python3-unixadmin \ |
65 | python3-zopeinterface \ | 61 | python3-zopeinterface \ |
66 | " | 62 | " |
67 | RDEPENDS:${PN}-test = "${PN}" | 63 | RDEPENDS:${PN}-test = "${PN} python3-pyhamcrest" |
68 | RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-bcrypt python3-cryptography python3-pyasn1 python3-pickle" | 64 | RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-bcrypt python3-cryptography python3-pickle" |
69 | RDEPENDS:${PN}-mail = "${PN}-core ${PN}-protocols" | 65 | RDEPENDS:${PN}-mail = "${PN}-core ${PN}-protocols" |
70 | RDEPENDS:${PN}-names = "${PN}-core" | 66 | RDEPENDS:${PN}-names = "${PN}-core" |
71 | RDEPENDS:${PN}-news = "${PN}-core ${PN}-protocols" | ||
72 | RDEPENDS:${PN}-runner = "${PN}-core ${PN}-protocols" | 67 | RDEPENDS:${PN}-runner = "${PN}-core ${PN}-protocols" |
73 | RDEPENDS:${PN}-web += "${PN}-core ${PN}-protocols" | 68 | RDEPENDS:${PN}-web += "${PN}-core ${PN}-protocols" |
74 | RDEPENDS:${PN}-words += "${PN}-core" | 69 | RDEPENDS:${PN}-words += "${PN}-core" |
75 | RDEPENDS:${PN}-flow += "${PN}-core" | ||
76 | RDEPENDS:${PN}-pair += "${PN}-core" | 70 | RDEPENDS:${PN}-pair += "${PN}-core" |
77 | 71 | ||
78 | FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/${PYPI_PACKAGE}-${PV}.dist-info/*" | ||
79 | |||
80 | FILES:${PN}-test = " \ | 72 | FILES:${PN}-test = " \ |
81 | ${PYTHON_SITEPACKAGES_DIR}/twisted/test \ | 73 | ${PYTHON_SITEPACKAGES_DIR}/twisted/test \ |
82 | ${PYTHON_SITEPACKAGES_DIR}/twisted/*/test \ | 74 | ${PYTHON_SITEPACKAGES_DIR}/twisted/*/test \ |
@@ -85,8 +77,6 @@ FILES:${PN}-test = " \ | |||
85 | 77 | ||
86 | FILES:${PN}-protocols = " \ | 78 | FILES:${PN}-protocols = " \ |
87 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/*.py* \ | 79 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/*.py* \ |
88 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/gps/ \ | ||
89 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/mice/ \ | ||
90 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/haproxy \ | 80 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/haproxy \ |
91 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/__pycache__/*pyc \ | 81 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/__pycache__/*pyc \ |
92 | " | 82 | " |
@@ -124,7 +114,6 @@ FILES:${PN}-core = " \ | |||
124 | ${PYTHON_SITEPACKAGES_DIR}/twisted/*.py* \ | 114 | ${PYTHON_SITEPACKAGES_DIR}/twisted/*.py* \ |
125 | ${PYTHON_SITEPACKAGES_DIR}/twisted/python/*.py* \ | 115 | ${PYTHON_SITEPACKAGES_DIR}/twisted/python/*.py* \ |
126 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/*.py* \ | 116 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/*.py* \ |
127 | ${PYTHON_SITEPACKAGES_DIR}/Twisted*egg-info \ | ||
128 | ${PYTHON_SITEPACKAGES_DIR}/twisted/logger \ | 117 | ${PYTHON_SITEPACKAGES_DIR}/twisted/logger \ |
129 | ${PYTHON_SITEPACKAGES_DIR}/twisted/_threads \ | 118 | ${PYTHON_SITEPACKAGES_DIR}/twisted/_threads \ |
130 | ${PYTHON_SITEPACKAGES_DIR}/twisted/positioning \ | 119 | ${PYTHON_SITEPACKAGES_DIR}/twisted/positioning \ |
@@ -159,12 +148,6 @@ FILES:${PN}-names = " \ | |||
159 | ${PYTHON_SITEPACKAGES_DIR}/twisted/names \ | 148 | ${PYTHON_SITEPACKAGES_DIR}/twisted/names \ |
160 | " | 149 | " |
161 | 150 | ||
162 | FILES:${PN}-news = " \ | ||
163 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_news.py* \ | ||
164 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_news*.pyc \ | ||
165 | ${PYTHON_SITEPACKAGES_DIR}/twisted/news \ | ||
166 | " | ||
167 | |||
168 | FILES:${PN}-runner = " \ | 151 | FILES:${PN}-runner = " \ |
169 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_runner.py* \ | 152 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_runner.py* \ |
170 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_runner*.pyc \ | 153 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_runner*.pyc \ |
@@ -183,15 +166,7 @@ FILES:${PN}-words = " \ | |||
183 | ${PYTHON_SITEPACKAGES_DIR}/twisted/words \ | 166 | ${PYTHON_SITEPACKAGES_DIR}/twisted/words \ |
184 | " | 167 | " |
185 | 168 | ||
186 | FILES:${PN}-flow = " \ | ||
187 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_flow.py* \ | ||
188 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_flow*.pyc \ | ||
189 | ${PYTHON_SITEPACKAGES_DIR}/twisted/flow \ | ||
190 | " | ||
191 | |||
192 | FILES:${PN}-pair = " \ | 169 | FILES:${PN}-pair = " \ |
193 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_pair.py* \ | ||
194 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_pair*.pyc \ | ||
195 | ${PYTHON_SITEPACKAGES_DIR}/twisted/pair \ | 170 | ${PYTHON_SITEPACKAGES_DIR}/twisted/pair \ |
196 | " | 171 | " |
197 | 172 | ||
diff --git a/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb b/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb index d579ca044..1232f5e99 100644 --- a/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb | |||
@@ -9,4 +9,4 @@ SRC_URI[sha256sum] = "8375a5fb68a12054f0def91af800c821fb2232949337756ed975f88d8e | |||
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
11 | 11 | ||
12 | RDEPENDS:${PN} += "python3-six python3-twisted" | 12 | RDEPENDS:${PN} += "python3-twisted-core" |
diff --git a/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.20240316.bb b/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.20240516.bb index c6f15696e..d0684ba93 100644 --- a/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.20240316.bb +++ b/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.20240516.bb | |||
@@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=ef4dc1e740f5c928f1 | |||
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "5636f5714bb930c64bb34c4d47a59dc92f9d610b778b5364a31daa5584944848" | 8 | SRC_URI[sha256sum] = "bb296f59fc56458891d0feb1994717e548a1bcf89936a2877df8792b822b4696" |
9 | 9 | ||
10 | BBCLASSEXTEND = "native" | 10 | BBCLASSEXTEND = "native" |
diff --git a/meta-python/recipes-devtools/python/python3-types-setuptools_69.0.0.20240125.bb b/meta-python/recipes-devtools/python/python3-types-setuptools_70.0.0.20240524.bb index 7e15dcb13..781d3b5bb 100644 --- a/meta-python/recipes-devtools/python/python3-types-setuptools_69.0.0.20240125.bb +++ b/meta-python/recipes-devtools/python/python3-types-setuptools_70.0.0.20240524.bb | |||
@@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=ef4dc1e740f5c928f1 | |||
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "22ad498cb585b22ce8c97ada1fccdf294a2e0dd7dc984a28535a84ea82f45b3f" | 8 | SRC_URI[sha256sum] = "e31fee7b9d15ef53980526579ac6089b3ae51a005a281acf97178e90ac71aff6" |
9 | 9 | ||
10 | BBCLASSEXTEND = "native" | 10 | BBCLASSEXTEND = "native" |
diff --git a/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb index b5f6be9f2..c64c80062 100644 --- a/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb | |||
@@ -4,7 +4,7 @@ DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pu | |||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5418f0b03302d0a" | 5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5418f0b03302d0a" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "89cc92e73d5501b8a7f48575eeb14ad27156ad092c2e9fc7e3cf949f07e75532" | 7 | SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" |
8 | 8 | ||
9 | inherit pypi ptest setuptools3 | 9 | inherit pypi ptest setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-uswid_0.4.7.bb b/meta-python/recipes-devtools/python/python3-uswid_0.5.0.bb index 4499edb21..1381d7e88 100644 --- a/meta-python/recipes-devtools/python/python3-uswid_0.4.7.bb +++ b/meta-python/recipes-devtools/python/python3-uswid_0.5.0.bb | |||
@@ -1,10 +1,10 @@ | |||
1 | SUMMARY = "A pure-python library for embedding CoSWID data" | 1 | SUMMARY = "A pure-python library for embedding CoSWID data" |
2 | HOMEPAGE = "https://github.com/hughsie/python-uswid" | 2 | HOMEPAGE = "https://github.com/hughsie/python-uswid" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "LGPL-2.1-or-later" | 4 | LICENSE = "BSD-2-Clause-Patent" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f3636dfe71e94cc72918423cec0d1971" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "de15c2421bedaa5f54606558700c1f628f07d73da49ec69d1888214ac52c49e6" | 7 | SRC_URI[sha256sum] = "bdcd7ee5afac1da60ee688c357aa12f5f8d74bc28012446b10e2b4a9cf52fc6d" |
8 | 8 | ||
9 | inherit setuptools3 python3native pypi | 9 | inherit setuptools3 python3native pypi |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-validators_0.28.0.bb b/meta-python/recipes-devtools/python/python3-validators_0.28.3.bb index 36444c0bf..a132d74eb 100644 --- a/meta-python/recipes-devtools/python/python3-validators_0.28.0.bb +++ b/meta-python/recipes-devtools/python/python3-validators_0.28.3.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://python-validators.github.io/validators" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3fb4b9e6db86c69a33d5e3ee013ab59" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3fb4b9e6db86c69a33d5e3ee013ab59" |
6 | SRC_URI[sha256sum] = "85bc82511f6ccd0800f4c15d8c0dc546c15e369640c5ea1f24349ba0b3b17815" | 6 | SRC_URI[sha256sum] = "c6c79840bcde9ba77b19f6218f7738188115e27830cbaff43264bc4ed24c429d" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta ptest | 8 | inherit pypi python_setuptools_build_meta ptest |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-virtualenv_20.25.0.bb b/meta-python/recipes-devtools/python/python3-virtualenv_20.26.2.bb index 1858fee25..c7c7d4898 100644 --- a/meta-python/recipes-devtools/python/python3-virtualenv_20.25.0.bb +++ b/meta-python/recipes-devtools/python/python3-virtualenv_20.26.2.bb | |||
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/pypa/virtualenv" | |||
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0ce089158cf60a8ab6abb452b6405538" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0ce089158cf60a8ab6abb452b6405538" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "bf51c0d9c7dd63ea8e44086fa1e4fb1093a31e963b86959257378aef020e1f1b" | 9 | SRC_URI[sha256sum] = "82bf0f4eebbb78d36ddaee0283d43fe5736b53880b8a8cdcd37390a07ac3741c" |
10 | 10 | ||
11 | BBCLASSEXTEND = "native nativesdk" | 11 | BBCLASSEXTEND = "native nativesdk" |
12 | inherit pypi python_hatchling | 12 | inherit pypi python_hatchling |
diff --git a/meta-python/recipes-devtools/python/python3-watchdog_4.0.0.bb b/meta-python/recipes-devtools/python/python3-watchdog_4.0.1.bb index 9e36264d6..4d0a626c4 100644 --- a/meta-python/recipes-devtools/python/python3-watchdog_4.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-watchdog_4.0.1.bb | |||
@@ -4,7 +4,7 @@ DEPENDS = "python3-argh" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "e3e7065cbdabe6183ab82199d7a4f6b3ba0a438c5a512a68559846ccb76a78ec" | 7 | SRC_URI[sha256sum] = "eebaacf674fa25511e8867028d281e602ee6500045b57f43b08778082f7f8b44" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-web3_6.17.0.bb b/meta-python/recipes-devtools/python/python3-web3_6.19.0.bb index f1be4dcf4..7f06ca500 100644 --- a/meta-python/recipes-devtools/python/python3-web3_6.17.0.bb +++ b/meta-python/recipes-devtools/python/python3-web3_6.19.0.bb | |||
@@ -4,7 +4,7 @@ SECTION = "devel/python" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=373fede350846fdffd23648fba504635" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=373fede350846fdffd23648fba504635" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "1b535272a40da3d8d2b120856edb53b84b0c08bcc8fe1a5bbd5f816fd72f4ec6" | 7 | SRC_URI[sha256sum] = "d27fbd4ac5aa70d0e0c516bd3e3b802fbe74bc159b407c34052d9301b400f757" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-werkzeug_3.0.1.bb b/meta-python/recipes-devtools/python/python3-werkzeug_3.0.1.bb index f8d2769b4..448abe189 100644 --- a/meta-python/recipes-devtools/python/python3-werkzeug_3.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-werkzeug_3.0.1.bb | |||
@@ -20,4 +20,5 @@ RDEPENDS:${PN} += " \ | |||
20 | python3-profile \ | 20 | python3-profile \ |
21 | python3-compression \ | 21 | python3-compression \ |
22 | python3-json \ | 22 | python3-json \ |
23 | python3-difflib \ | ||
23 | " | 24 | " |
diff --git a/meta-python/recipes-devtools/python/python3-xmlschema_3.0.1.bb b/meta-python/recipes-devtools/python/python3-xmlschema_3.3.1.bb index 97dc68378..a80f6c2db 100644 --- a/meta-python/recipes-devtools/python/python3-xmlschema_3.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-xmlschema_3.3.1.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/sissaschool/xmlschema" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=26aa26eda991a3a2b61c11b62d3fda65" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=26aa26eda991a3a2b61c11b62d3fda65" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "bb24a5f4738e49d85d9eb03a2b5af26bbbbfdb055517ad953d98925094b8c026" | 6 | SRC_URI[sha256sum] = "2066ecbc9728112073f6f44d17c5c16723aff1c7d22a7c4c6421e2d68ec5f0ea" |
7 | 7 | ||
8 | PYPI_PACKAGE = "xmlschema" | 8 | PYPI_PACKAGE = "xmlschema" |
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-yamlloader_1.3.2.bb b/meta-python/recipes-devtools/python/python3-yamlloader_1.4.1.bb index 93c58c11c..55c48f889 100644 --- a/meta-python/recipes-devtools/python/python3-yamlloader_1.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-yamlloader_1.4.1.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/Phynix/yamlloader" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6831ef36faa29329bce2420c5356f97e" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6831ef36faa29329bce2420c5356f97e" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "7dbd98421d8090c521655f1b06ca030067f29df5253a8878126bce3a90f56817" | 6 | SRC_URI[sha256sum] = "b6fe40ecf5af596d840e920670ed3475f9813492bf6e55b24f2ad450c212bab5" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-zeroconf_0.132.0.bb b/meta-python/recipes-devtools/python/python3-zeroconf_0.132.2.bb index ea8ef1cb9..421bd3b6c 100644 --- a/meta-python/recipes-devtools/python/python3-zeroconf_0.132.0.bb +++ b/meta-python/recipes-devtools/python/python3-zeroconf_0.132.2.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jstasiak/python-zeroconf" | |||
3 | LICENSE = "LGPL-2.1-only" | 3 | LICENSE = "LGPL-2.1-only" |
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=6517bdc8f2416f27ab725d4702f7aac3" | 4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=6517bdc8f2416f27ab725d4702f7aac3" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "e2dddb9b8e6a9de3c43f943d8547300e6bd49b2043fd719ae830cfe0f2908a5c" | 6 | SRC_URI[sha256sum] = "9ad8bc6e3f168fe8c164634c762d3265c775643defff10e26273623a12d73ae1" |
7 | 7 | ||
8 | DEPENDS += "python3-cython-native" | 8 | DEPENDS += "python3-cython-native" |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python3-gspread/python3-gspread_6.1.0.bb b/meta-python/recipes-devtools/python3-gspread/python3-gspread_6.1.2.bb index 482155856..0aae1d0c9 100644 --- a/meta-python/recipes-devtools/python3-gspread/python3-gspread_6.1.0.bb +++ b/meta-python/recipes-devtools/python3-gspread/python3-gspread_6.1.2.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/burnash/gspread" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9488e21983675fa56dc05af558b83e2f" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9488e21983675fa56dc05af558b83e2f" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "576b72b628b251d2ee41e02b982d3c714d511d2a5aa3a88e587ed9efc4d6e752" | 6 | SRC_URI[sha256sum] = "b147688b8c7a18c9835d5f998997ec17c97c0470babcab17f65ac2b3a32402b7" |
7 | 7 | ||
8 | RDEPENDS:${PN} = " \ | 8 | RDEPENDS:${PN} = " \ |
9 | python3-google-auth \ | 9 | python3-google-auth \ |
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Fix-build-with-gcc-14.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Fix-build-with-gcc-14.patch new file mode 100644 index 000000000..4782e74ef --- /dev/null +++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Fix-build-with-gcc-14.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 5234a454a1b9f11f83e59909fb2972176497e02c Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 9 May 2024 17:35:11 -0700 | ||
4 | Subject: [PATCH] sip: Fix build with gcc-14 | ||
5 | |||
6 | Fixes -Wincompatible-pointer-types | ||
7 | sip/siplib/siplib.c:3900:20: error: assignment to 'sipSimpleWrapper *' {aka 'struct _sipSimpleWrapper *'} from incompatible pointer type 'PyObject *' {aka 'struct _object *'} [-Wincompatible-pointer-types] | ||
8 | | 3900 | *selfp = va_arg(va, PyObject *); | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | sip/siplib/siplib.c | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/sip/siplib/siplib.c b/sip/siplib/siplib.c | ||
17 | index 95563e5c..ae3fac60 100644 | ||
18 | --- a/sip/siplib/siplib.c | ||
19 | +++ b/sip/siplib/siplib.c | ||
20 | @@ -3897,7 +3897,7 @@ static int parsePass1(PyObject **parseErrp, sipSimpleWrapper **selfp, | ||
21 | { | ||
22 | case '#': | ||
23 | /* A ctor has an argument with the /Transfer/ annotation. */ | ||
24 | - *selfp = va_arg(va, PyObject *); | ||
25 | + *selfp = (sipSimpleWrapper *)va_arg(va, PyObject *); | ||
26 | break; | ||
27 | |||
28 | case 'B': | ||
29 | -- | ||
30 | 2.45.0 | ||
31 | |||
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.1.bb b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.1.bb index fb011cb71..cc6b6cef6 100644 --- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.1.bb +++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.1.bb | |||
@@ -14,6 +14,7 @@ SRC_URI += "file://add-back-option-build-base.patch \ | |||
14 | file://wxgtk-fixup-build-scripts.patch \ | 14 | file://wxgtk-fixup-build-scripts.patch \ |
15 | file://not-overwrite-cflags-cxxflags.patch \ | 15 | file://not-overwrite-cflags-cxxflags.patch \ |
16 | file://0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch \ | 16 | file://0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch \ |
17 | file://0001-sip-Fix-build-with-gcc-14.patch \ | ||
17 | " | 18 | " |
18 | SRC_URI[sha256sum] = "e48de211a6606bf072ec3fa778771d6b746c00b7f4b970eb58728ddf56d13d5c" | 19 | SRC_URI[sha256sum] = "e48de211a6606bf072ec3fa778771d6b746c00b7f4b970eb58728ddf56d13d5c" |
19 | 20 | ||
diff --git a/meta-python/recipes-extended/pywbem/python3-pywbem_1.6.3.bb b/meta-python/recipes-extended/pywbem/python3-pywbem_1.7.2.bb index 7d1ff2858..1fdcc98ca 100644 --- a/meta-python/recipes-extended/pywbem/python3-pywbem_1.6.3.bb +++ b/meta-python/recipes-extended/pywbem/python3-pywbem_1.7.2.bb | |||
@@ -16,7 +16,7 @@ HOMEPAGE = "http://pywbem.github.io" | |||
16 | LICENSE = "LGPL-2.1-only" | 16 | LICENSE = "LGPL-2.1-only" |
17 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" | 17 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" |
18 | 18 | ||
19 | SRC_URI[sha256sum] = "78df30dee98c508620b599b8951f322a81c6c0a9d7b78ffe5e017b9417cd97b9" | 19 | SRC_URI[sha256sum] = "dc3b785840017f5fcb6381c56682598cebbfc8451851768f85e2318a84e06b68" |
20 | 20 | ||
21 | inherit pypi setuptools3 update-alternatives | 21 | inherit pypi setuptools3 update-alternatives |
22 | 22 | ||
diff --git a/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.2.1.bb b/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.0.bb index c0a5368d1..127aa8b4a 100644 --- a/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.2.1.bb +++ b/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.0.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "https://pywbemtools.readthedocs.io/en/stable/" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "d2ad6c383490ddb3bbb0f737d23a07c7e8c345df65f8309bc554d8455cc913dc" | 7 | SRC_URI[sha256sum] = "9d0162b74c0b34d4500c099dddfe518cadc295a1a7bfb0abefa740a134d80fea" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||