diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
28 files changed, 124 insertions, 41 deletions
diff --git a/meta-python/recipes-devtools/python/python3-alembic_1.17.1.bb b/meta-python/recipes-devtools/python/python3-alembic_1.17.2.bb index 4c3602cdd2..81bfdc64be 100644 --- a/meta-python/recipes-devtools/python/python3-alembic_1.17.1.bb +++ b/meta-python/recipes-devtools/python/python3-alembic_1.17.2.bb | |||
| @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d2ee18d90dcc02d96b76e9e953629936" | |||
| 4 | 4 | ||
| 5 | inherit pypi python_setuptools_build_meta | 5 | inherit pypi python_setuptools_build_meta |
| 6 | 6 | ||
| 7 | SRC_URI[sha256sum] = "8a289f6778262df31571d29cca4c7fbacd2f0f582ea0816f4c399b6da7528486" | 7 | SRC_URI[sha256sum] = "bbe9751705c5e0f14877f02d46c53d10885e377e3d90eda810a016f9baa19e8e" |
| 8 | 8 | ||
| 9 | RDEPENDS:${PN} += "\ | 9 | RDEPENDS:${PN} += "\ |
| 10 | python3-dateutil \ | 10 | python3-dateutil \ |
diff --git a/meta-python/recipes-devtools/python/python3-apiflask_2.4.0.bb b/meta-python/recipes-devtools/python/python3-apiflask_3.0.0.bb index 96eb1f2f9d..3b9912454d 100644 --- a/meta-python/recipes-devtools/python/python3-apiflask_2.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-apiflask_3.0.0.bb | |||
| @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5f89d1b0dec37448d4f4163dc3c40e64" | |||
| 5 | 5 | ||
| 6 | inherit pypi python_setuptools_build_meta | 6 | inherit pypi python_setuptools_build_meta |
| 7 | 7 | ||
| 8 | SRC_URI[sha256sum] = "b7894741cdea90013276873cdf635d5150e1deb3fe20d02d429866af960f275f" | 8 | SRC_URI[sha256sum] = "2b8420a23b93a78407ef5fe3e1f79cdfc7baa9b3c53977a06d6ab68772a7c2b7" |
| 9 | 9 | ||
| 10 | RDEPENDS:${PN} += "\ | 10 | RDEPENDS:${PN} += "\ |
| 11 | python3-apispec \ | 11 | python3-apispec \ |
diff --git a/meta-python/recipes-devtools/python/python3-argcomplete_3.6.3.bb b/meta-python/recipes-devtools/python/python3-argcomplete_3.6.2.bb index f73ecf4523..abad776d8c 100644 --- a/meta-python/recipes-devtools/python/python3-argcomplete_3.6.3.bb +++ b/meta-python/recipes-devtools/python/python3-argcomplete_3.6.2.bb | |||
| @@ -3,7 +3,9 @@ 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] = "62e8ed4fd6a45864acc8235409461b72c9a28ee785a2011cc5eb78318786c89c" | 6 | SRC_URI[sha256sum] = "d0519b1bc867f5f4f4713c41ad0aba73a4a5f007449716b16f385f2166dc6adf" |
| 7 | |||
| 8 | PYPI_PACKAGE = "argcomplete" | ||
| 7 | 9 | ||
| 8 | inherit pypi python_hatchling | 10 | inherit pypi python_hatchling |
| 9 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-arrow_1.4.0.bb b/meta-python/recipes-devtools/python/python3-arrow_1.4.0.bb index 3394e4d323..a967f9e429 100644 --- a/meta-python/recipes-devtools/python/python3-arrow_1.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-arrow_1.4.0.bb | |||
| @@ -14,6 +14,7 @@ inherit pypi python_flit_core ptest-python-pytest | |||
| 14 | RDEPENDS:${PN}-ptest += " \ | 14 | RDEPENDS:${PN}-ptest += " \ |
| 15 | python3-dateparser \ | 15 | python3-dateparser \ |
| 16 | python3-dateutil-zoneinfo \ | 16 | python3-dateutil-zoneinfo \ |
| 17 | python3-pre-commit \ | ||
| 17 | python3-pytest-cov \ | 18 | python3-pytest-cov \ |
| 18 | python3-pytest-mock \ | 19 | python3-pytest-mock \ |
| 19 | python3-pytz \ | 20 | python3-pytz \ |
| @@ -23,4 +24,5 @@ RDEPENDS:${PN}-ptest += " \ | |||
| 23 | 24 | ||
| 24 | RDEPENDS:${PN} += " \ | 25 | RDEPENDS:${PN} += " \ |
| 25 | python3-dateutil \ | 26 | python3-dateutil \ |
| 27 | python3-tzdata \ | ||
| 26 | " | 28 | " |
diff --git a/meta-python/recipes-devtools/python/python3-asttokens_3.0.0.bb b/meta-python/recipes-devtools/python/python3-asttokens_3.0.1.bb index 16256535de..81eab1d5c7 100644 --- a/meta-python/recipes-devtools/python/python3-asttokens_3.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-asttokens_3.0.1.bb | |||
| @@ -1,13 +1,13 @@ | |||
| 1 | SUMMARY = "The asttokens module annotates Python abstract syntax trees (ASTs)" | 1 | SUMMARY = "The asttokens module annotates Python abstract syntax trees (ASTs)" |
| 2 | HOMEPAGE = "https://github.com/gristlabs/asttokens" | 2 | HOMEPAGE = "https://github.com/gristlabs/asttokens" |
| 3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3d9b931fa23ab1cacd0087f9e2ee12c0" |
| 5 | 5 | ||
| 6 | PYPI_PACKAGE = "asttokens" | 6 | PYPI_PACKAGE = "asttokens" |
| 7 | 7 | ||
| 8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
| 9 | 9 | ||
| 10 | SRC_URI[sha256sum] = "0dcd8baa8d62b0c1d118b399b2ddba3c4aff271d0d7a9e0d4c1681c79035bbc7" | 10 | SRC_URI[sha256sum] = "71a4ee5de0bde6a31d64f6b13f2293ac190344478f081c3d1bccfcf5eacb0cb7" |
| 11 | 11 | ||
| 12 | DEPENDS += "python3-setuptools-scm-native" | 12 | DEPENDS += "python3-setuptools-scm-native" |
| 13 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-black_25.9.0.bb b/meta-python/recipes-devtools/python/python3-black_25.11.0.bb index 3925a9ff0b..ce8130d54a 100644 --- a/meta-python/recipes-devtools/python/python3-black_25.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-black_25.11.0.bb | |||
| @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d3465a2a183908c9cb95bf490bd1e7ab \ | |||
| 5 | file://src/blib2to3/LICENSE;md5=bbbad7490e921f9a73c0e891305cb4b3" | 5 | file://src/blib2to3/LICENSE;md5=bbbad7490e921f9a73c0e891305cb4b3" |
| 6 | 6 | ||
| 7 | DEPENDS = "python3-hatch-vcs-native python3-hatchling-native" | 7 | DEPENDS = "python3-hatch-vcs-native python3-hatchling-native" |
| 8 | SRC_URI[sha256sum] = "0474bca9a0dd1b51791fcc507a4e02078a1c63f6d4e4ae5544b9848c7adfb619" | 8 | SRC_URI[sha256sum] = "9a323ac32f5dc75ce7470501b887250be5005a01602e931a15e45593f70f6e08" |
| 9 | 9 | ||
| 10 | inherit pypi python_hatchling | 10 | inherit pypi python_hatchling |
| 11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-blinker/0001-Add-asyncio-fixture-to-test_async_receiver.patch b/meta-python/recipes-devtools/python/python3-blinker/0001-Add-asyncio-fixture-to-test_async_receiver.patch new file mode 100644 index 0000000000..2f3d1dfa5d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-blinker/0001-Add-asyncio-fixture-to-test_async_receiver.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 2edb837a27ea52ec98d2c72db3534cc764c41337 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 18 Nov 2025 13:06:49 -0800 | ||
| 4 | Subject: [PATCH] Add asyncio fixture to test_async_receiver | ||
| 5 | |||
| 6 | This ensures that this test executes and passes | ||
| 7 | with pytest-8.4+ | ||
| 8 | |||
| 9 | pytest now throws errors for such functions [1] | ||
| 10 | which were skipped in older versions | ||
| 11 | |||
| 12 | [1] https://github.com/pytest-dev/pytest/issues/11372 | ||
| 13 | |||
| 14 | Upstream-Status: Submitted [https://github.com/pallets-eco/blinker/pull/187] | ||
| 15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 16 | --- | ||
| 17 | tests/test_signals.py | 2 +- | ||
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 19 | |||
| 20 | diff --git a/tests/test_signals.py b/tests/test_signals.py | ||
| 21 | index 93a9c48..da88627 100644 | ||
| 22 | --- a/tests/test_signals.py | ||
| 23 | +++ b/tests/test_signals.py | ||
| 24 | @@ -256,7 +256,7 @@ def test_strong_receiver() -> None: | ||
| 25 | assert sentinel | ||
| 26 | assert [id(fn) for fn in sig.receivers.values()] == [fn_id] | ||
| 27 | |||
| 28 | - | ||
| 29 | +@pytest.mark.asyncio | ||
| 30 | async def test_async_receiver() -> None: | ||
| 31 | sentinel = [] | ||
| 32 | |||
diff --git a/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb b/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb index f82d686a64..7ddcd04b62 100644 --- a/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb | |||
| @@ -2,6 +2,7 @@ DESCRIPTION = "Fast, simple object-to-object and broadcast signaling." | |||
| 2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=42cd19c88fc13d1307a4efd64ee90e4e" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=42cd19c88fc13d1307a4efd64ee90e4e" |
| 4 | 4 | ||
| 5 | SRC_URI += "file://0001-Add-asyncio-fixture-to-test_async_receiver.patch" | ||
| 5 | SRC_URI[sha256sum] = "b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf" | 6 | SRC_URI[sha256sum] = "b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf" |
| 6 | 7 | ||
| 7 | inherit pypi python_flit_core ptest-python-pytest | 8 | inherit pypi python_flit_core ptest-python-pytest |
| @@ -9,3 +10,6 @@ inherit pypi python_flit_core ptest-python-pytest | |||
| 9 | RDEPENDS:${PN} += "\ | 10 | RDEPENDS:${PN} += "\ |
| 10 | python3-asyncio \ | 11 | python3-asyncio \ |
| 11 | " | 12 | " |
| 13 | RDEPENDS:${PN}-ptest += "\ | ||
| 14 | python3-pytest-asyncio \ | ||
| 15 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-cachetools_6.2.1.bb b/meta-python/recipes-devtools/python/python3-cachetools_6.2.2.bb index 78b4ab5e2e..f9eb66df8b 100644 --- a/meta-python/recipes-devtools/python/python3-cachetools_6.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-cachetools_6.2.2.bb | |||
| @@ -14,6 +14,6 @@ RDEPENDS:${PN} += " \ | |||
| 14 | python3-math \ | 14 | python3-math \ |
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | SRC_URI[sha256sum] = "3f391e4bd8f8bf0931169baf7456cc822705f4e2a31f840d218f445b9a854201" | 17 | SRC_URI[sha256sum] = "8e6d266b25e539df852251cfd6f990b4bc3a141db73b939058d809ebd2590fc6" |
| 18 | 18 | ||
| 19 | BBCLASSEXTEND = "native nativesdk" | 19 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-cantools_40.7.1.bb b/meta-python/recipes-devtools/python/python3-cantools_41.0.0.bb index 92b6c1ca09..24249dba9d 100644 --- a/meta-python/recipes-devtools/python/python3-cantools_40.7.1.bb +++ b/meta-python/recipes-devtools/python/python3-cantools_41.0.0.bb | |||
| @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/eerimoq/cantools" | |||
| 3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd" |
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "467e04cc86e076307375ae9bcd83707108e998e3ea6019bf968773580b9aa95f" | 6 | SRC_URI[sha256sum] = "81d7efa32d66a149934b21b691a40fb40db9e0b74fa02c24f4f257f587d169ae" |
| 7 | 7 | ||
| 8 | PYPI_PACKAGE = "cantools" | 8 | PYPI_PACKAGE = "cantools" |
| 9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb b/meta-python/recipes-devtools/python/python3-execnet_2.1.2.bb index 54c102bec7..34f0a1f670 100644 --- a/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-execnet_2.1.2.bb | |||
| @@ -11,7 +11,7 @@ DEPENDS += "\ | |||
| 11 | python3-hatch-vcs-native \ | 11 | python3-hatch-vcs-native \ |
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | SRC_URI[sha256sum] = "5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3" | 14 | SRC_URI[sha256sum] = "63d83bfdd9a23e35b9c6a3261412324f964c2ec8dcd8d3c6916ee9373e0befcd" |
| 15 | 15 | ||
| 16 | inherit ptest-python-pytest pypi python_hatchling | 16 | inherit ptest-python-pytest pypi python_hatchling |
| 17 | 17 | ||
diff --git a/meta-python/recipes-devtools/python/python3-google-auth/0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch b/meta-python/recipes-devtools/python/python3-google-auth/0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch new file mode 100644 index 0000000000..5ee13f3d63 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-google-auth/0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From 35eea881e1aeb27fc12cfb301e497e72e59e720f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 18 Nov 2025 17:23:09 -0800 | ||
| 4 | Subject: [PATCH] make the TLS tests skip when pyopenssl isn't available | ||
| 5 | |||
| 6 | In some distributions e.g. yocto | ||
| 7 | pyOpenSSL is a packageconfig and disabled by default, | ||
| 8 | and it means pyopenssl.py module is not installed as a result. | ||
| 9 | |||
| 10 | This test fails plainly when it can not find urllib3.contrib.pyopenssl | ||
| 11 | instead skip the test if it does not find the module. | ||
| 12 | |||
| 13 | Upstream-Status: Submitted [https://github.com/googleapis/google-auth-library-python/pull/1873] | ||
| 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 15 | --- | ||
| 16 | tests/transport/test__custom_tls_signer.py | 5 ++++- | ||
| 17 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/tests/transport/test__custom_tls_signer.py b/tests/transport/test__custom_tls_signer.py | ||
| 20 | index 3a33c2c..6f88ddf 100644 | ||
| 21 | --- a/tests/transport/test__custom_tls_signer.py | ||
| 22 | +++ b/tests/transport/test__custom_tls_signer.py | ||
| 23 | @@ -18,7 +18,10 @@ import os | ||
| 24 | import mock | ||
| 25 | import pytest # type: ignore | ||
| 26 | from requests.packages.urllib3.util.ssl_ import create_urllib3_context # type: ignore | ||
| 27 | -import urllib3.contrib.pyopenssl # type: ignore | ||
| 28 | +urllib3_pyopenssl = pytest.importorskip( | ||
| 29 | + "urllib3.contrib.pyopenssl", | ||
| 30 | + reason="urllib3.contrib.pyopenssl not available in this environment", | ||
| 31 | +) | ||
| 32 | |||
| 33 | from google.auth import exceptions | ||
| 34 | from google.auth.transport import _custom_tls_signer | ||
diff --git a/meta-python/recipes-devtools/python/python3-google-auth_2.40.3.bb b/meta-python/recipes-devtools/python/python3-google-auth_2.43.0.bb index b7498dcc99..aa94035eb6 100644 --- a/meta-python/recipes-devtools/python/python3-google-auth_2.40.3.bb +++ b/meta-python/recipes-devtools/python/python3-google-auth_2.43.0.bb | |||
| @@ -5,10 +5,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | |||
| 5 | 5 | ||
| 6 | inherit pypi setuptools3 ptest | 6 | inherit pypi setuptools3 ptest |
| 7 | 7 | ||
| 8 | SRC_URI[sha256sum] = "500c3a29adedeb36ea9cf24b8d10858e152f2412e3ca37829b3fa18e33d63b77" | ||
| 9 | SRC_URI += " \ | 8 | SRC_URI += " \ |
| 9 | file://0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch \ | ||
| 10 | file://run-ptest \ | 10 | file://run-ptest \ |
| 11 | " | 11 | " |
| 12 | SRC_URI[sha256sum] = "88228eee5fc21b62a1b5fe773ca15e67778cb07dc8363adcb4a8827b52d81483" | ||
| 12 | 13 | ||
| 13 | PYPI_PACKAGE = "google_auth" | 14 | PYPI_PACKAGE = "google_auth" |
| 14 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | 15 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
diff --git a/meta-python/recipes-devtools/python/python3-parsimonious_0.10.0.bb b/meta-python/recipes-devtools/python/python3-parsimonious_0.10.0.bb deleted file mode 100644 index c2352224ff..0000000000 --- a/meta-python/recipes-devtools/python/python3-parsimonious_0.10.0.bb +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | SUMMARY = "Parsimonious aims to be the fastest arbitrary-lookahead parser written in pure Python." | ||
| 2 | HOMEPAGE = "https://github.com/erikrose/parsimonious" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "8281600da180ec8ae35427a4ab4f7b82bfec1e3d1e52f80cb60ea82b9512501c" | ||
| 8 | |||
| 9 | inherit pypi setuptools3 | ||
| 10 | |||
| 11 | RDEPENDS:${PN} += "python3-regex" | ||
diff --git a/meta-python/recipes-devtools/python/python3-parsimonious_0.11.0.bb b/meta-python/recipes-devtools/python/python3-parsimonious_0.11.0.bb new file mode 100644 index 0000000000..0376b5066a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-parsimonious_0.11.0.bb | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | SUMMARY = "Parsimonious aims to be the fastest arbitrary-lookahead parser written in pure Python." | ||
| 2 | HOMEPAGE = "https://github.com/erikrose/parsimonious" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "e080377d98957beec053580d38ae54fcdf7c470fb78670ba4bf8b5f9d5cad2a9" | ||
| 8 | |||
| 9 | DEPENDS += "python3-setuptools-scm-native" | ||
| 10 | |||
| 11 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
| 12 | |||
| 13 | PTEST_PYTEST_DIR = "parsimonious/tests" | ||
| 14 | |||
| 15 | RDEPENDS:${PN} += "python3-regex" | ||
| 16 | |||
| 17 | # ModuleNotFoundError: No module named 'timeit' | ||
| 18 | RDEPENDS:${PN}-ptest += "python3-misc" | ||
diff --git a/meta-python/recipes-devtools/python/python3-prettytable_3.16.0.bb b/meta-python/recipes-devtools/python/python3-prettytable_3.17.0.bb index abb13bb890..4e9b53adae 100644 --- a/meta-python/recipes-devtools/python/python3-prettytable_3.16.0.bb +++ b/meta-python/recipes-devtools/python/python3-prettytable_3.17.0.bb | |||
| @@ -3,7 +3,7 @@ HOMEPAGE = "http://code.google.com/p/prettytable" | |||
| 3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c9a6829fcd174d9535b46211917c7671" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c9a6829fcd174d9535b46211917c7671" |
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "3c64b31719d961bf69c9a7e03d0c1e477320906a98da63952bc6698d6164ff57" | 6 | SRC_URI[sha256sum] = "59f2590776527f3c9e8cf9fe7b66dd215837cca96a9c39567414cbc632e8ddb0" |
| 7 | 7 | ||
| 8 | inherit pypi ptest-python-pytest python_hatchling | 8 | inherit pypi ptest-python-pytest python_hatchling |
| 9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_6.33.0.bb b/meta-python/recipes-devtools/python/python3-protobuf_6.33.1.bb index 633c82f365..fcf53cb9a0 100644 --- a/meta-python/recipes-devtools/python/python3-protobuf_6.33.0.bb +++ b/meta-python/recipes-devtools/python/python3-protobuf_6.33.1.bb | |||
| @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = " \ | |||
| 10 | " | 10 | " |
| 11 | 11 | ||
| 12 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
| 13 | SRC_URI[sha256sum] = "140303d5c8d2037730c548f8c7b93b20bb1dc301be280c378b82b8894589c954" | 13 | SRC_URI[sha256sum] = "97f65757e8d09870de6fd973aeddb92f85435607235d20b2dfed93405d00c85b" |
| 14 | 14 | ||
| 15 | CVE_PRODUCT += "google:protobuf protobuf:protobuf google-protobuf protobuf-python" | 15 | CVE_PRODUCT += "google:protobuf protobuf:protobuf google-protobuf protobuf-python" |
| 16 | 16 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyais_2.13.2.bb b/meta-python/recipes-devtools/python/python3-pyais_2.13.3.bb index 6f1723d3b8..4103eb916c 100644 --- a/meta-python/recipes-devtools/python/python3-pyais_2.13.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyais_2.13.3.bb | |||
| @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=79d9e278b76e3e5b3358cd70b328173c" | |||
| 5 | 5 | ||
| 6 | SRC_URI = "git://github.com/M0r13n/pyais;protocol=https;branch=master" | 6 | SRC_URI = "git://github.com/M0r13n/pyais;protocol=https;branch=master" |
| 7 | 7 | ||
| 8 | SRCREV = "439783a1fa678cf18acfb75ccb9e02142cc72e2e" | 8 | SRCREV = "f0b3e06c4f1a532ba75986bdcf999ad776f81908" |
| 9 | 9 | ||
| 10 | inherit python_setuptools_build_meta ptest-python-pytest | 10 | inherit python_setuptools_build_meta ptest-python-pytest |
| 11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch b/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch index 0f3e7d45e8..307dc0083b 100644 --- a/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch +++ b/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch | |||
| @@ -12,11 +12,9 @@ Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com> | |||
| 12 | tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- | 12 | tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- |
| 13 | 1 file changed, 11 insertions(+), 11 deletions(-) | 13 | 1 file changed, 11 insertions(+), 11 deletions(-) |
| 14 | 14 | ||
| 15 | diff --git a/tests/functional/w/wrong_import_order.txt b/tests/functional/w/wrong_import_order.txt | ||
| 16 | index 9f143c292..a283467af 100644 | ||
| 17 | --- a/tests/functional/w/wrong_import_order.txt | 15 | --- a/tests/functional/w/wrong_import_order.txt |
| 18 | +++ b/tests/functional/w/wrong_import_order.txt | 16 | +++ b/tests/functional/w/wrong_import_order.txt |
| 19 | @@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard import ""sys"" should be placed before | 17 | @@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard |
| 20 | wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""astroid.are_exclusive""":UNDEFINED | 18 | wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""astroid.are_exclusive""":UNDEFINED |
| 21 | wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.Class""":UNDEFINED | 19 | wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.Class""":UNDEFINED |
| 22 | wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED | 20 | wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED |
diff --git a/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch b/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch index d30e852025..9c1d535690 100644 --- a/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch +++ b/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch | |||
| @@ -19,8 +19,6 @@ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | |||
| 19 | pyproject.toml | 6 ++++-- | 19 | pyproject.toml | 6 ++++-- |
| 20 | 1 file changed, 4 insertions(+), 2 deletions(-) | 20 | 1 file changed, 4 insertions(+), 2 deletions(-) |
| 21 | 21 | ||
| 22 | diff --git a/pyproject.toml b/pyproject.toml | ||
| 23 | index a3cc3f43b..5eaf5ee5e 100644 | ||
| 24 | --- a/pyproject.toml | 22 | --- a/pyproject.toml |
| 25 | +++ b/pyproject.toml | 23 | +++ b/pyproject.toml |
| 26 | @@ -8,8 +8,7 @@ name = "pylint" | 24 | @@ -8,8 +8,7 @@ name = "pylint" |
| @@ -33,9 +31,9 @@ index a3cc3f43b..5eaf5ee5e 100644 | |||
| 33 | authors = [ | 31 | authors = [ |
| 34 | { name = "Python Code Quality Authority", email = "code-quality@python.org" }, | 32 | { name = "Python Code Quality Authority", email = "code-quality@python.org" }, |
| 35 | ] | 33 | ] |
| 36 | @@ -65,6 +64,9 @@ scripts.pylint-config = "pylint:_run_pylint_config" | 34 | @@ -105,6 +104,9 @@ test-min = [ |
| 37 | scripts.pyreverse = "pylint:run_pyreverse" | 35 | "typing-extensions~=4.15", |
| 38 | scripts.symilar = "pylint:run_symilar" | 36 | ] |
| 39 | 37 | ||
| 40 | +[tool.setuptools] | 38 | +[tool.setuptools] |
| 41 | +license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] | 39 | +license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] |
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.3.8.bb b/meta-python/recipes-devtools/python/python3-pylint_4.0.3.bb index 9864084355..04144aa7a3 100644 --- a/meta-python/recipes-devtools/python/python3-pylint_3.3.8.bb +++ b/meta-python/recipes-devtools/python/python3-pylint_4.0.3.bb | |||
| @@ -3,8 +3,8 @@ HOMEPAGE = "https://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 | SRCREV = "98942ba4126a6fe1657bad77027bcc11016d16da" | 6 | SRCREV = "84b6552b86e210097ac29de7ef64b152efb4a454" |
| 7 | SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https \ | 7 | SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https;tag=v${PV} \ |
| 8 | file://0001-Adjust-test-expectations-for-ptest.patch \ | 8 | file://0001-Adjust-test-expectations-for-ptest.patch \ |
| 9 | file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \ | 9 | file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \ |
| 10 | file://run-ptest \ | 10 | file://run-ptest \ |
diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.15.3.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.15.4.bb index 70cf9c21fd..b066d730f7 100644 --- a/meta-python/recipes-devtools/python/python3-pymongo_4.15.3.bb +++ b/meta-python/recipes-devtools/python/python3-pymongo_4.15.4.bb | |||
| @@ -8,7 +8,7 @@ HOMEPAGE = "https://github.com/mongodb/mongo-python-driver" | |||
| 8 | LICENSE = "Apache-2.0" | 8 | LICENSE = "Apache-2.0" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| 10 | 10 | ||
| 11 | SRC_URI[sha256sum] = "7a981271347623b5319932796690c2d301668ac3a1965974ac9f5c3b8a22cea5" | 11 | SRC_URI[sha256sum] = "6ba7cdf46f03f406f77969a8081cfb659af16c0eee26b79a0a14e25f6c00827b" |
| 12 | 12 | ||
| 13 | inherit pypi python_hatchling | 13 | inherit pypi python_hatchling |
| 14 | 14 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.1.0.bb b/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.3.0.bb index 424a68debc..50fb5e6ef0 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.3.0.bb | |||
| @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pytest-dev/pytest-asyncio" | |||
| 3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=136e4f49dbf29942c572a3a8f6e88a77" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=136e4f49dbf29942c572a3a8f6e88a77" |
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "796aa822981e01b68c12e4827b8697108f7205020f24b5793b3c41555dab68ea" | 6 | SRC_URI[sha256sum] = "d7f52f36d231b80ee124cd216ffb19369aa168fc10095013c6b014a34d3ee9e5" |
| 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-python-dotenv_1.2.1.bb b/meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb index 58784fcf2e..22b976dd9c 100644 --- a/meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb | |||
| @@ -11,12 +11,14 @@ SRC_URI += "file://0001-test_main.py-skip-two-test-when-running-as-root.patch" | |||
| 11 | inherit pypi python_setuptools_build_meta ptest-python-pytest | 11 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
| 12 | 12 | ||
| 13 | # Uncomment this line to enable all the optional features. | 13 | # Uncomment this line to enable all the optional features. |
| 14 | #PACKAGECONFIG ?= "cli" | 14 | PACKAGECONFIG ?= "" |
| 15 | PACKAGECONFIG:append = "${@bb.utils.contains('PTEST_ENABLED', '1', ' cli', '', d)}" | ||
| 15 | PACKAGECONFIG[cli] = ",,,python3-click" | 16 | PACKAGECONFIG[cli] = ",,,python3-click" |
| 16 | 17 | ||
| 17 | PYPI_PACKAGE = "python_dotenv" | 18 | PYPI_PACKAGE = "python_dotenv" |
| 18 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | 19 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
| 19 | 20 | ||
| 20 | RDEPENDS:${PN}-ptest += "\ | 21 | RDEPENDS:${PN}-ptest += "\ |
| 22 | coreutils \ | ||
| 21 | python3-sh \ | 23 | python3-sh \ |
| 22 | " | 24 | " |
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_27.0.2.bb b/meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb index 121ca322a0..4014879aae 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq_27.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb | |||
| @@ -29,8 +29,7 @@ PEP517_BUILD_OPTS = "--skip-dependency-check \ | |||
| 29 | SRC_URI:append = " \ | 29 | SRC_URI:append = " \ |
| 30 | file://run-ptest \ | 30 | file://run-ptest \ |
| 31 | " | 31 | " |
| 32 | 32 | SRC_URI[sha256sum] = "ac0765e3d44455adb6ddbf4417dcce460fc40a05978c08efdf2948072f6db540" | |
| 33 | SRC_URI[sha256sum] = "b398dd713b18de89730447347e96a0240225e154db56e35b6bb8447ffdb07798" | ||
| 34 | 33 | ||
| 35 | inherit pypi pkgconfig python_setuptools_build_meta ptest cython | 34 | inherit pypi pkgconfig python_setuptools_build_meta ptest cython |
| 36 | 35 | ||
| @@ -60,4 +59,5 @@ RDEPENDS:${PN}-ptest += "\ | |||
| 60 | do_install_ptest() { | 59 | do_install_ptest() { |
| 61 | install -d ${D}${PTEST_PATH}/tests | 60 | install -d ${D}${PTEST_PATH}/tests |
| 62 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | 61 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 62 | install -m 0644 ${S}/pytest.ini ${D}${PTEST_PATH}/pytest.ini | ||
| 63 | } | 63 | } |
diff --git a/meta-python/recipes-devtools/python/python3-snagboot_2.4.bb b/meta-python/recipes-devtools/python/python3-snagboot_2.5.bb index 9c6c776685..fe496ffc2f 100644 --- a/meta-python/recipes-devtools/python/python3-snagboot_2.4.bb +++ b/meta-python/recipes-devtools/python/python3-snagboot_2.5.bb | |||
| @@ -3,7 +3,7 @@ SUMMARY = "Snagboot intends to be an open-source replacement vendor-specific too | |||
| 3 | LICENSE = "GPL-2.0-only" | 3 | LICENSE = "GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "651e9bcc2e43d3fc67cc1cff5b812e3bfb4ed132f4fd7fc1dc5e3fea31a7406d" | 6 | SRC_URI[sha256sum] = "64d114f743cf4d892a63bc35d6af45958e569030881154f9f2ffeac13cf9b664" |
| 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-typer_0.20.0.bb b/meta-python/recipes-devtools/python/python3-typer_0.20.0.bb index db682c5d35..f6be56cde3 100644 --- a/meta-python/recipes-devtools/python/python3-typer_0.20.0.bb +++ b/meta-python/recipes-devtools/python/python3-typer_0.20.0.bb | |||
| @@ -23,8 +23,11 @@ RDEPENDS:${PN} += "\ | |||
| 23 | " | 23 | " |
| 24 | # python3-misc for webbrowser module | 24 | # python3-misc for webbrowser module |
| 25 | RDEPENDS:${PN}-ptest += "\ | 25 | RDEPENDS:${PN}-ptest += "\ |
| 26 | python3-coverage \ | ||
| 27 | python3-markdown-it-py \ | ||
| 26 | python3-misc \ | 28 | python3-misc \ |
| 27 | python3-mypy \ | 29 | python3-mypy \ |
| 30 | python3-pluggy \ | ||
| 28 | python3-pytest \ | 31 | python3-pytest \ |
| 29 | python3-pytest-cov \ | 32 | python3-pytest-cov \ |
| 30 | python3-pytest-sugar \ | 33 | python3-pytest-sugar \ |
diff --git a/meta-python/recipes-devtools/python/python3-yamlloader_1.5.2.bb b/meta-python/recipes-devtools/python/python3-yamlloader_1.6.0.bb index 48fadb476e..4844e10de1 100644 --- a/meta-python/recipes-devtools/python/python3-yamlloader_1.5.2.bb +++ b/meta-python/recipes-devtools/python/python3-yamlloader_1.6.0.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] = "c10ac1321a626b1ca8b09d3f3afe9855b818391c59992a76b65e4a2d95eac41b" | 6 | SRC_URI[sha256sum] = "918232976c9910d079ef74b3266ff9ef674228609aa56e67718b3992940a823f" |
| 7 | 7 | ||
| 8 | inherit pypi python_hatchling | 8 | inherit pypi python_hatchling |
| 9 | 9 | ||
