python3: improve run-time dependencies situation
cover python3: improve run-time dependencies situation
From: Bartosz Golaszewski <[email protected]>
A significant number of python recipes don't specify all the run-time dependencies required to at least be able to import all the installed modules. This series is the result of a semi-automated run through all python recipes in meta-python, building minimal images and verifying that there are no import exceptions.
Most patches just add missing RDEPENDS entries where needed. Some tweak the coding style if it's inconsistent. There are a few new packages on which existing recipes depend at run-time but which were not provided in meta-python previously.
This probably doesn't cover all the corner cases. Ptest packages were not tested with the assumption that they are being run somewhere and verified already.
There are also other run-time dependencies that may fail - like python code executing external programs that may be missing or ctypes opening shared objects at run-time later than at import-time but in general this series should at least improve the situation significantly.
There's some space for QA improvement in OE-core - like maybe raising a warning if a python recipe doesn't specify any RDEPENDS which usually means they are missing (but the module can also be very simple so this cannot be a hard fail).
Bartosz Golaszewski (149):
python3-pyparted: add missing run-time dependencies
python3-send2trash: add missing run-time dependencies
python3-pywbem: drop unneeded class from RDEPENDS
python3-pywbem: don't use PYTHON_PN
python3-pywbem: order RDEPENDS alphabetically
python3-pywbem: add missing run-time dependencies
python3-mock: cleanup RDEPENDS
python3-mock: add missing run-time dependencies
python3-cson: fix run-time dependencies
python3-ldap: don't use PYTHON_PN
python3-ldap: add missing run-time dependencies
python3-pyrad: add missing run-time dependencies
python3-html2text: add missing run-time dependencies
python3-parse: don't use PYTHON_PN and improve coding style
python3-parse: add missing run-time dependencies
python3-meld3: add missing run-time dependencies
python3-pyiface: add missing run-time dependencies
python3-mpmath: add missing run-time dependencies
python3-uswid: add missing run-time dependencies
python3-xmlrunner: add missing run-time dependencies
python3-editor: add missing run-time dependencies
python3-pykwalify: don't use PYTHON_PN and improve coding style
python3-pykwalify: add missing run-time dependencies
python3-iperf: add missing run-time dependencies
python3-sdnotify: add missing run-time dependencies
python3-service-identity: add missing run-time dependencies
python3-sqlsoup: add missing run-time dependencies
python3-sqlalchemy: don't use PYTHON_PN and improve coding style
python3-sqlalchemy: add missing run-time dependencies
python3-pure-eval: add missing run-time dependencies
python3-stack-data: fix coding style
python3-stack-data: add missing run-time dependencies
python3-sympy: add missing run-time dependencies
python3-thrift: don't use PYTHON_PN and improve coding style
python3-thrift: add missing run-time dependencies
python3-tomlkit: add missing run-time dependencies
python3-tornado: drop ${PN} from RDEPENDS
python3-tornado: fix coding style
python3-tornado: remove the testing submodule from FILES:${PN}-test
python3-tornado: add missing run-time dependencies
python3-trustme: add missing run-time dependencies
python3-twofish: add missing run-time dependencies
python3-txws: add missing run-time dependencies
python3-web3: add missing run-time dependencies
python3-uefi-firmware: add missing run-time dependencies
python3-websockets: fix coding style
python3-websockets: add missing run-time dependencies
python3-xlrd: fix coding style
python3-xlrd: add missing run-time dependencies
python3-versiontools: add missing run-time dependencies
python3-typeguard: add missing run-time dependencies
python3-process-tests: add missing run-time dependencies
python3-pyatspi: add missing run-time dependencies
python3-pydantic: don't use PYTHON_PN and improve coding style
python3-pydantic: add missing run-time dependencies
python3-python-vlc: add missing run-time dependencies
python3-redis: fix coding style
python3-redis: add missing run-time dependencies
python3-raven: add missing run-time dependencies
python3-pypng: new package
python3-qrcode: add missing run-time dependencies
python3-pyusb: fix run-time dependencies
python3-pytest-mock: add missing run-time dependencies
python3-pyroute2: fix coding style
python3-fcntl: add missing run-time dependencies python3-pyproject-metadata: add missing run-time dependencies
python3-pyproj: don't use PYTHON_PN
python3-pyproj: drop unnecessary run-time dependency
python3-pyproj: add missing run-time dependencies
python3-classes: new package
python3-pylyrics: add missing run-time dependencies
python3-pyjwt: stop using PYTHON_PN
python3-pyjwt: add missing run-time dependencies
python3-javaobj-py3: add missing run-time dependencies
python3-pyjks: stop using PYTHON_PN
python3-pyjks: fix run-time dependencies
python3-pyexpect: add missing run-time dependencies
python3-pynetlinux: fix relative imports
python3-pynetlinux: add missing run-time dependencies
python3-pickleshare: add missing run-time dependencies
python3-petact: add missing run-time dependencies
python3-pefile: add missing run-time dependencies
python3-jsonpath-rw: add missing run-time dependencies
python3-jsonrpcclient: add missing run-time dependencies
python3-jstyleson: add missing run-time dependencies
python3-kconfiglib: add missing run-time dependencies
python3-libevdev: add missing run-time dependencies
python3-linux-procfs: add missing run-time dependencies
python3-lockfile: add missing run-time dependencies
python3-msm: fix coding style
python3-lazy: new recipe
python3-msm: add missing run-time dependencies
python3-netaddr: stop using PYTHON_PN
python3-netaddr: add missing run-time dependencies
python3-ninja-syntax: new package
python3-ninja: add missing run-time dependencies
python3-nmap: add missing run-time dependencies
python3-oslash: add missing run-time dependencies
python3-padaos: add missing run-time dependencies
python3-padatious: add missing run-time dependencies
python3-pako: add missing run-time dependencies
python3-paramiko: stop using PYTHON_PN
python3-paramiko: add missing run-time dependencies
python3-path: fix coding style
python3-path: add missing run-time dependencies
python3-ecdsa: don't install tests
python3-et-xmlfile: fix coding style
python3-et-xmlfile: add missing run-time dependencies
python3-flask-user: fix coding style
python3-flask-user: add missing run-time dependencies
python3-isort: fix coding style
python3-isort: add missing run-time dependencies
python3-isodate: stop using PYTHON_PN
python3-isodate: add missing run-time dependencies
python-idna-ssl: add missing run-time dependencies
python3-hpack: add missing run-time dependencies
python3-h11: add missing run-time dependencies
python3-gsocketpool: drop unneeded DEPENDS
python3-gsocketpool: stop using PYTHON_PN
python3-gsocketpool: add missing run-time dependencies
python3-flask-mail: stop using PYTHON_PN
python3-flask-mail: add missing run-time dependencies
python3-flask-sijax: stop using PYTHON_PN
python3-flask-sijax: add missing run-time dependencies
python3-flask-script: remove recipe
python3-aioserial: fix coding style
python3-aioserial: add missing run-time dependencies
python3-aspectlib: add missing run-time dependencies
python3-asyncio-throttle: add missing run-time dependencies
python3-attrdict3: add missing run-time dependencies
python3-betamax: add missing run-time dependencies
python3-binwalk: add missing run-time dependencies
python3-can: fix coding style
python3-can: add missing run-time dependencies
python3-click-spinner: add missing run-time dependencies
python3-colorlog: add missing run-time dependencies
python3-colorzero: add missing run-time dependencies
python3-configobj: fix coding style
python3-configobj: add missing run-time dependencies
python3-configshell-fb: add missing run-time dependencies
python3-coverage: fix coding style and RDEPENDS
python3-custom-inherit: add missing run-time dependencies
python3-dateparser: fix coding style
python3-dateparser: add missing run-time dependencies
python3-tzlocal: fix coding style
python3-tzlocal: add missing run-time dependencies
python3-dbus-next: add missing run-time dependencies
python3-defusedxml: add missing run-time dependencies python3-setuptools-scm-git-archive: add missing run-time dependencies
meta-oe/recipes-security/nmap/nmap_7.80.bb | 6 +- .../python3-gsocketpool_0.1.6.bb | 7 ++- .../python-hpack/python3-hpack_4.0.0.bb | 2 + .../python-thrift/python3-thrift_0.16.0.bb | 9 +-- .../python-txws/python3-txws_0.9.1.bb | 5 ++ .../packagegroups/packagegroup-meta-python.bb | 1 - .../python/python-flask-script.inc | 12 ---- .../python/python-flask-sijax.inc | 6 +- .../python/python-idna-ssl.inc | 5 ++ .../python/python3-aioserial_1.3.1.bb | 6 +- .../python/python3-aspectlib_2.0.0.bb | 5 +- .../python/python3-asyncio-throttle_1.0.2.bb | 2 + .../python/python3-betamax_0.8.1.bb | 6 +- .../python/python3-binwalk_2.3.3.bb | 8 ++- .../python/python3-can_4.2.1.bb | 28 +++++---- .../python/python3-classes_0.4.1.bb | 10 ++++ .../python/python3-click-spinner_0.1.10.bb | 2 + .../python/python3-colorlog_6.7.0.bb | 2 + .../python/python3-colorzero_2.0.bb | 5 +- .../python/python3-configobj_5.0.8.bb | 5 +- .../python/python3-configshell-fb_1.1.29.bb | 7 ++- .../python/python3-coverage_7.2.6.bb | 19 +++--- .../python/python3-custom-inherit_2.3.1.bb | 5 ++ .../python/python3-dateparser_1.1.8.bb | 11 ++-- .../python/python3-dbus-next_0.2.3.bb | 5 ++ .../python/python3-defusedxml_0.7.1.bb | 2 + .../python/python3-ecdsa_0.18.0.bb | 4 ++ .../python/python3-editor_1.0.4.bb | 5 ++ .../python/python3-et-xmlfile_1.1.0.bb | 8 ++- .../python/python3-flask-mail_0.9.1.bb | 5 +- .../python/python3-flask-script_2.0.6.bb | 2 - .../python/python3-flask-user_0.6.19.bb | 13 ++-- .../python/python3-h11_0.14.0.bb | 2 + .../python/python3-html2text_2020.1.16.bb | 2 + .../python/python3-iperf_0.1.11.bb | 6 ++ .../python/python3-isodate_0.6.1.bb | 3 +- .../python/python3-isort_5.12.0.bb | 16 ++--- .../python/python3-javaobj-py3_0.4.3.bb | 5 ++ .../python/python3-jsonpath-rw_1.4.0.bb | 7 ++- .../python/python3-jsonrpcclient_4.0.2.bb | 4 +- .../python/python3-jstyleson_0.0.2.bb | 2 + .../python/python3-kconfiglib_14.1.0.bb | 6 ++ .../python/python3-lazy_1.5.bb | 8 +++ .../python/python3-libevdev_0.11.bb | 5 ++ .../python/python3-linux-procfs_0.7.1.bb | 2 + .../python/python3-lockfile_0.12.2.bb | 5 +- .../python/python3-meld3_2.0.1.bb | 6 ++ .../python/python3-mock_5.0.2.bb | 15 +++-- .../python/python3-mpmath_1.3.0.bb | 5 +- .../python/python3-msm_0.8.8.bb | 14 ++++- .../python/python3-netaddr_0.8.0.bb | 5 +- .../python/python3-ninja-syntax_1.7.2.bb | 10 ++++ .../python/python3-ninja_1.11.1.bb | 7 ++- .../python/python3-oslash_0.6.3.bb | 5 +- .../python/python3-padaos_0.1.10.bb | 2 + .../python/python3-padatious_0.4.8.bb | 8 +++ .../python/python3-pako_0.3.1.bb | 7 +++ .../python/python3-paramiko_3.1.0.bb | 11 ++-- .../python/python3-parse_1.19.0.bb | 13 ++-- .../python/python3-path_16.6.0.bb | 12 ++-- .../python/python3-pefile_2023.2.7.bb | 6 ++ .../python/python3-petact_0.1.2.bb | 6 ++ .../python/python3-pickleshare_0.7.5.bb | 2 + .../python/python3-process-tests_2.1.2.bb | 6 ++ .../python/python3-pure-eval_0.2.2.bb | 5 ++ .../python/python3-pyatspi_2.46.0.bb | 2 + .../python/python3-pydantic_1.10.7.bb | 19 +++--- .../python/python3-pyexpect_1.0.22.bb | 2 + .../python/python3-pyiface_git.bb | 6 ++ .../python/python3-pyjks_20.0.0.bb | 12 ++-- .../python/python3-pyjwt_2.7.0.bb | 5 +- .../python/python3-pykwalify_1.8.0.bb | 7 ++- .../python/python3-pylyrics_1.1.0.bb | 8 ++- .../0002-Fixed-relative-imports.patch | 60 +++++++++++++++++++ .../python/python3-pynetlinux_1.1.bb | 11 +++- .../python/python3-pypng_0.20220715.0.bb | 8 +++ .../python/python3-pyproj_3.5.0.bb | 8 ++- .../python3-pyproject-metadata_0.7.1.bb | 6 ++ .../python/python3-pyrad_2.4.bb | 8 +++ .../python/python3-pyroute2_0.5.19.bb | 33 +++++----- .../python/python3-pytest-mock_3.10.0.bb | 6 ++ .../python/python3-python-vlc_3.0.18122.bb | 5 ++ .../python/python3-pyusb_1.2.1.bb | 2 +- .../python/python3-qrcode_7.4.2.bb | 7 ++- .../python/python3-raven_6.10.0.bb | 5 ++ .../python/python3-redis_4.5.5.bb | 12 ++-- .../python/python3-sdnotify_0.3.2.bb | 2 + .../python/python3-service-identity_21.1.0.bb | 6 ++ .../python3-setuptools-scm-git-archive_1.1.bb | 1 + .../python/python3-sqlalchemy_2.0.15.bb | 18 +++--- .../python/python3-sqlsoup_0.9.1.bb | 2 + .../python/python3-stack-data_0.6.2.bb | 8 ++- .../python/python3-sympy_1.12.bb | 5 +- .../python/python3-tomlkit_0.11.8.bb | 6 ++ .../python/python3-tornado_6.3.bb | 22 +++++-- .../python/python3-trustme_0.9.0.bb | 7 +++ .../python/python3-twofish_0.3.0.bb | 2 + .../python/python3-typeguard_4.0.0.bb | 5 ++ .../python/python3-tzlocal_5.0.1.bb | 7 ++- .../python/python3-uefi-firmware_1.10.bb | 5 ++ .../python/python3-uswid_git.bb | 6 ++ .../python/python3-versiontools_1.9.1.bb | 2 + .../python/python3-web3_6.3.0.bb | 2 + .../python/python3-websockets_11.0.3.bb | 5 +- .../python/python3-xlrd_2.0.1.bb | 10 +++- .../python/python3-xmlrunner_1.7.7.bb | 2 + .../python3-attrdict3_2.0.2.bb | 2 + .../python-cson/python3-cson_git.bb | 3 +- .../python3-pyparted_3.12.0.bb | 5 +- .../pywbem/python3-pywbem_1.6.1.bb | 38 ++++++------ .../send2trash/python3-send2trash_1.8.0.bb | 2 + .../python/python3-ldap_3.4.3.bb | 9 +-- 112 files changed, 649 insertions(+), 201 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-flask-script.inc create mode 100644 meta-python/recipes-devtools/python/python3-classes_0.4.1.bb delete mode 100644 meta-python/recipes-devtools/python/python3-flask-script_2.0.6.bb create mode 100644 meta-python/recipes-devtools/python/python3-lazy_1.5.bb create mode 100644 meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-pynetlinux/0002-Fixed-relative-imports.patch create mode 100644 meta-python/recipes-devtools/python/python3-pypng_0.20220715.0.bb
Signature · 1 line
2.39.2
PATCH 1/149 python3-pyparted: add missing run-time dependencies
From: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../python-pyparted/python3-pyparted_3.12.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-python/recipes-extended/python-pyparted/python3-pyparted_3.12.0.bb +4 -1
@@ -17,7 +17,10 @@ DEPENDS += "parted" RDEPENDS:${PN}:class-target += " \ parted (>= 2.3) \ - python3-stringold python3-codecs python3-math \ + python3-codecs \ + python3-math \ + python3-numbers \ + python3-stringold \ " RDEPENDS:${PN}:class-native = ""
Signature · 1 line
2.39.2
PATCH 2/149 python3-send2trash: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-extended/send2trash/python3-send2trash_1.8.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-extended/send2trash/python3-send2trash_1.8.0.bb +2 -0
@@ -7,3 +7,5 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "d2c24762fd3759860a0aff155e45871447ea58d2be6bdd39b5c8f966a0c99c2d" PYPI_PACKAGE = "Send2Trash" + +RDEPENDS:${PN} += "python3-datetime"
Signature · 1 line
2.39.2
PATCH 3/149 python3-pywbem: drop unneeded class from RDEPENDS
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
The native package has the same dependencies. Even if normally they are satisfied by python3-native, we should still use a global RDEPENDS.
--- meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb +1 -1
@@ -27,7 +27,7 @@ DEPENDS += " \ ${PYTHON_PN}-wheel-native \ " -RDEPENDS:${PN}:class-target += "\ +RDEPENDS:${PN} += "\ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-io \ ${PYTHON_PN}-netclient \
Signature · 1 line
2.39.2
PATCH 4/149 python3-pywbem: don't use PYTHON_PN
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
--- .../pywbem/python3-pywbem_1.6.1.bb | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-)
meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb +17 -17
@@ -21,26 +21,26 @@ SRC_URI[sha256sum] = "abdbd6ce08b6c597cdd6c7730e6b49a842d913f2f6b3cc62b585c58ec3 inherit pypi setuptools3 update-alternatives DEPENDS += " \ - ${PYTHON_PN}-ply-native \ - ${PYTHON_PN}-pyyaml-native \ - ${PYTHON_PN}-six-native \ - ${PYTHON_PN}-wheel-native \ + python3-ply-native \ + python3-pyyaml-native \ + python3-six-native \ + python3-wheel-native \ " RDEPENDS:${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-ply \ - ${PYTHON_PN}-pyyaml \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-unixadmin \ - ${PYTHON_PN}-xml \ - ${PYTHON_PN}-nocasedict \ - ${PYTHON_PN}-nocaselist \ - ${PYTHON_PN}-yamlloader \ + python3-datetime \ + python3-io \ + python3-netclient \ + python3-ply \ + python3-pyyaml \ + python3-six \ + python3-stringold \ + python3-threading \ + python3-unixadmin \ + python3-xml \ + python3-nocasedict \ + python3-nocaselist \ + python3-yamlloader \ " ALTERNATIVE:${PN} = "mof_compiler"
Signature · 1 line
2.39.2
Re: [meta-python][PATCH 004/149] python3-pywbem: don't use PYTHON_PN
seeing this
13:23:45 NOTE: Resolving any missing task queue dependencies
13:23:54 ERROR: Nothing RPROVIDES 'python3-yamlloader-native' (but virtual:native:/mnt/jenkins/workspace/Yocto-world-arm/sources/meta-openembedded/meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb RDEPENDS on or otherwise requires it)
13:23:54 NOTE: Runtime target 'python3-yamlloader-native' is
unbuildable, removing...
13:23:54 Missing or unbuildable dependency chain was:
['python3-yamlloader-native']
13:23:54 NOTE: Runtime target 'python3-pywbemtools' is unbuildable, removing...
13:23:54 Missing or unbuildable dependency chain was:
['python3-pywbemtools', 'python3-pywbem-native',
'python3-yamlloader-native']
13:23:54 NOTE: Runtime target 'python3-pywbemtools-dev' is
unbuildable, removing...
13:23:54 Missing or unbuildable dependency chain was:
['python3-pywbemtools-dev', 'python3-pywbem-native',
'python3-yamlloader-native']
13:23:59 ERROR: Nothing RPROVIDES 'python3-nocasedict-native' (but virtual:native:/mnt/jenkins/workspace/Yocto-world-arm/sources/meta-openembedded/meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb RDEPENDS on or otherwise requires it)
13:23:59 NOTE: Runtime target 'python3-nocasedict-native' is
unbuildable, removing...
13:23:59 Missing or unbuildable dependency chain was:
['python3-nocasedict-native']
13:24:04 ERROR: Nothing RPROVIDES 'python3-nocaselist-native' (but virtual:native:/mnt/jenkins/workspace/Yocto-world-arm/sources/meta-openembedded/meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb RDEPENDS on or otherwise requires it)
13:24:04 NOTE: Runtime target 'python3-nocaselist-native' is
unbuildable, removing...
13:24:04 Missing or unbuildable dependency chain was:
['python3-nocaselist-native']
Quoted 61 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
We no longer support python2. Drop
PYTHON_PNand use python3 explicitly.Signed-off-by Bartosz Golaszewski <[email protected]>--- .../pywbem/python3-pywbem_1.6.1.bb | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-)meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb +17
-18@@ -21,26 +21,26 @@ SRC_URI[sha256sum] = "abdbd6ce08b6c597cdd6c7730e6b49a842d913f2f6b3cc62b585c58ec3 inherit pypi setuptools3 update-alternatives DEPENDS += " \ - ${PYTHON_PN}-ply-native \ - ${PYTHON_PN}-pyyaml-native \ - ${PYTHON_PN}-six-native \ - ${PYTHON_PN}-wheel-native \ + python3-ply-native \ + python3-pyyaml-native \ + python3-six-native \ + python3-wheel-native \ " RDEPENDS:${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-ply \ - ${PYTHON_PN}-pyyaml \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-unixadmin \ - ${PYTHON_PN}-xml \ - ${PYTHON_PN}-nocasedict \ - ${PYTHON_PN}-nocaselist \ - ${PYTHON_PN}-yamlloader \ + python3-datetime \ + python3-io \ + python3-netclient \ + python3-ply \ + python3-pyyaml \ + python3-six \ + python3-stringold \ + python3-threading \ + python3-unixadmin \ + python3-xml \ + python3-nocasedict \ + python3-nocaselist \ + python3-yamlloader \ " ALTERNATIVE:${PN} = "mof_compiler" --2.39.2
Re: [meta-python][PATCH 004/149] python3-pywbem: don't use PYTHON_PN
Quoted 26 lines · Khem Raj
seeing this
13:23:45 NOTE: Resolving any missing task queue dependencies
13:23:54 ERROR: Nothing RPROVIDES 'python3-yamlloader-native' (but virtual:native:/mnt/jenkins/workspace/Yocto-world-arm/sources/meta-openembedded/meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb RDEPENDS on or otherwise requires it)
13:23:54 NOTE: Runtime target 'python3-yamlloader-native' is
unbuildable, removing...
13:23:54 Missing or unbuildable dependency chain was:
['python3-yamlloader-native']
13:23:54 NOTE: Runtime target 'python3-pywbemtools' is unbuildable, removing...
13:23:54 Missing or unbuildable dependency chain was:
['python3-pywbemtools', 'python3-pywbem-native',
'python3-yamlloader-native']
13:23:54 NOTE: Runtime target 'python3-pywbemtools-dev' is
unbuildable, removing...
13:23:54 Missing or unbuildable dependency chain was:
['python3-pywbemtools-dev', 'python3-pywbem-native',
'python3-yamlloader-native']
13:23:59 ERROR: Nothing RPROVIDES 'python3-nocasedict-native' (but virtual:native:/mnt/jenkins/workspace/Yocto-world-arm/sources/meta-openembedded/meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb RDEPENDS on or otherwise requires it)
13:23:59 NOTE: Runtime target 'python3-nocasedict-native' is
unbuildable, removing...
13:23:59 Missing or unbuildable dependency chain was:
Quoted 9 lines
['python3-nocasedict-native']
13:24:04 ERROR: Nothing RPROVIDES 'python3-nocaselist-native' (but virtual:native:/mnt/jenkins/workspace/Yocto-world-arm/sources/meta-openembedded/meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb RDEPENDS on or otherwise requires it)
13:24:04 NOTE: Runtime target 'python3-nocaselist-native' is
unbuildable, removing...
13:24:04 Missing or unbuildable dependency chain was:
['python3-nocaselist-native']
This is caused by dependencies of python3-pywbem-native not having BBCLASSEXTEND = "native" in their recipes. How did it even work before? Clearly it wouldn't pull any of its run-time dependencies into the native sysroot...
Bart
Quoted 62 lines · Bartosz Golaszewski
Quoted 61 lines
From: Bartosz Golaszewski <[email protected]>
We no longer support python2. Drop
PYTHON_PNand use python3 explicitly.Signed-off-by Bartosz Golaszewski <[email protected]>--- .../pywbem/python3-pywbem_1.6.1.bb | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-)meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb +17
-18@@ -21,26 +21,26 @@ SRC_URI[sha256sum] = "abdbd6ce08b6c597cdd6c7730e6b49a842d913f2f6b3cc62b585c58ec3 inherit pypi setuptools3 update-alternatives DEPENDS += " \ - ${PYTHON_PN}-ply-native \ - ${PYTHON_PN}-pyyaml-native \ - ${PYTHON_PN}-six-native \ - ${PYTHON_PN}-wheel-native \ + python3-ply-native \ + python3-pyyaml-native \ + python3-six-native \ + python3-wheel-native \ " RDEPENDS:${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-ply \ - ${PYTHON_PN}-pyyaml \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-unixadmin \ - ${PYTHON_PN}-xml \ - ${PYTHON_PN}-nocasedict \ - ${PYTHON_PN}-nocaselist \ - ${PYTHON_PN}-yamlloader \ + python3-datetime \ + python3-io \ + python3-netclient \ + python3-ply \ + python3-pyyaml \ + python3-six \ + python3-stringold \ + python3-threading \ + python3-unixadmin \ + python3-xml \ + python3-nocasedict \ + python3-nocaselist \ + python3-yamlloader \ " ALTERNATIVE:${PN} = "mof_compiler" --2.39.2
PATCH 5/149 python3-pywbem: order RDEPENDS alphabetically
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Order run-time dependencies for clarity.
--- meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb +2 -2
@@ -31,6 +31,8 @@ RDEPENDS:${PN} += "\ python3-datetime \ python3-io \ python3-netclient \ + python3-nocasedict \ + python3-nocaselist \ python3-ply \ python3-pyyaml \ python3-six \
@@ -38,8 +40,6 @@ RDEPENDS:${PN} += "\ python3-threading \ python3-unixadmin \ python3-xml \ - python3-nocasedict \ - python3-nocaselist \ python3-yamlloader \ "
Signature · 1 line
2.39.2
PATCH 6/149 python3-pywbem: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-extended/pywbem/python3-pywbem_1.6.1.bb +2 -0
@@ -30,11 +30,13 @@ DEPENDS += " \ RDEPENDS:${PN} += "\ python3-datetime \ python3-io \ + python3-logging \ python3-netclient \ python3-nocasedict \ python3-nocaselist \ python3-ply \ python3-pyyaml \ + python3-requests \ python3-six \ python3-stringold \ python3-threading \
Signature · 1 line
2.39.2
PATCH 7/149 python3-mock: cleanup RDEPENDS
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Drop PYTHON_PN, improve coding-style and order the dependencies alphabetically.
--- .../recipes-devtools/python/python3-mock_5.0.2.bb | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)
meta-python/recipes-devtools/python/python3-mock_5.0.2.bb +8 -6
@@ -6,11 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e" inherit pypi setuptools3 -RDEPENDS:${PN} += "${PYTHON_PN}-prettytable \ - ${PYTHON_PN}-cmd2 \ - ${PYTHON_PN}-pyparsing \ - ${PYTHON_PN}-mccabe \ - ${PYTHON_PN}-pep8 \ - ${PYTHON_PN}-pyflakes" +RDEPENDS:${PN} += " \ + python3-cmd2 \ + python3-mccabe \ + python3-pep8 \ + python3-prettytable \ + python3-pyflakes \ + python3-pyparsing \ +" SRC_URI[sha256sum] = "06f18d7d65b44428202b145a9a36e99c2ee00d1eb992df0caf881d4664377891"
Signature · 1 line
2.39.2
PATCH 8/149 python3-mock: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-mock_5.0.2.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-mock_5.0.2.bb +1 -0
@@ -13,6 +13,7 @@ RDEPENDS:${PN} += " \ python3-prettytable \ python3-pyflakes \ python3-pyparsing \ + python3-unittest \ " SRC_URI[sha256sum] = "06f18d7d65b44428202b145a9a36e99c2ee00d1eb992df0caf881d4664377891"
Signature · 1 line
2.39.2
PATCH 9/149 python3-cson: fix run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add the missing run-time dependency on python3-json. As a result we no longer need to pull python3 native and can drop other *DEPENDS.
--- meta-python/recipes-extended/python-cson/python3-cson_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-python/recipes-extended/python-cson/python3-cson_git.bb +1 -2
@@ -14,8 +14,7 @@ SRC_URI = "git://github.com/gt3389b/python-cson.git;branch=master;protocol=https S = "${WORKDIR}/git" -RDEPENDS:${PN}:class-native = "" -DEPENDS:append:class-native = " python-native " +RDEPENDS:${PN} = "python3-json" inherit setuptools3
Signature · 1 line
2.39.2
PATCH 10/149 python3-ldap: don't use PYTHON_PN
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
--- .../recipes-networking/python/python3-ldap_3.4.3.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
meta-python/recipes-networking/python/python3-ldap_3.4.3.bb +4 -4
@@ -22,8 +22,8 @@ do_configure:prepend() { } RDEPENDS:${PN} = " \ - ${PYTHON_PN}-pprint \ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-pyasn1 \ - ${PYTHON_PN}-pyasn1-modules \ + python3-pprint \ + python3-pyasn1 \ + python3-pyasn1-modules \ + python3-threading \ "
Signature · 1 line
2.39.2
PATCH 11/149 python3-ldap: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-networking/python/python3-ldap_3.4.3.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-networking/python/python3-ldap_3.4.3.bb +1 -0
@@ -26,4 +26,5 @@ RDEPENDS:${PN} = " \ python3-pyasn1 \ python3-pyasn1-modules \ python3-threading \ + python3-unittest \ "
Signature · 1 line
2.39.2
PATCH 12/149 python3-pyrad: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-pyrad_2.4.bb | 8 ++++++++ 1 file changed, 8 insertions(+)
meta-python/recipes-devtools/python/python3-pyrad_2.4.bb +8 -0
@@ -9,3 +9,11 @@ SRC_URI[sha256sum] = "057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c4 SRC_URI += "file://use-poetry-core.patch" inherit pypi python_poetry_core + +RDEPENDS:${PN} += " \ + python3-crypt \ + python3-io \ + python3-logging \ + python3-netaddr \ + python3-six \ +"
Signature · 1 line
2.39.2
PATCH 13/149 python3-html2text: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-html2text_2020.1.16.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb +2 -0
@@ -17,6 +17,8 @@ RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-pytest \ " +RDEPENDS:${PN} += "python3-cgitb" + do_install_ptest() { install -d ${D}${PTEST_PATH}/test cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
Signature · 1 line
2.39.2
PATCH 14/149 python3-parse: don't use PYTHON_PN and improve coding style
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly. While at it: make indentation consistent.
--- .../recipes-devtools/python/python3-parse_1.19.0.bb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
meta-python/recipes-devtools/python/python3-parse_1.19.0.bb +6 -6
@@ -8,18 +8,18 @@ SRC_URI[sha256sum] = "9ff82852bcb65d139813e2a5197627a94966245c897796760a3a2a8eb6 inherit pypi setuptools3 ptest RDEPENDS:${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-logging \ - " + python3-datetime \ + python3-logging \ +" SRC_URI += " \ - file://run-ptest \ + file://run-ptest \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ " do_install_ptest() { - cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/ + cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/ }
Signature · 1 line
2.39.2
PATCH 15/149 python3-parse: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-parse_1.19.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-parse_1.19.0.bb +1 -0
@@ -10,6 +10,7 @@ inherit pypi setuptools3 ptest RDEPENDS:${PN} += "\ python3-datetime \ python3-logging \ + python3-numbers \ " SRC_URI += " \
Signature · 1 line
2.39.2
PATCH 16/149 python3-meld3: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb +6 -0
@@ -12,3 +12,9 @@ SRC_URI[md5sum] = "1add16caefc9e6b82ef4f40532cb4918" SRC_URI[sha256sum] = "3ea266994f1aa83507679a67b493b852c232a7905e29440a6b868558cad5e775" inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + python3-cgitb \ + python3-smtpd \ + python3-xml \ +"
Signature · 1 line
2.39.2
PATCH 17/149 python3-pyiface: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-pyiface_git.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-pyiface_git.bb +6 -0
@@ -7,6 +7,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fe869ee987a340198fb0d54c55c47f1" DEPENDS += "python3-setuptools-scm-native" +RDEPENDS:${PN} += " \ + python3-ctypes \ + python3-fcntl \ + python3-io \ +" + inherit setuptools3 SRC_URI = "git://github.com/bat-serjo/PyIface.git;protocol=https;branch=master"
Signature · 1 line
2.39.2
PATCH 18/149 python3-mpmath: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-mpmath_1.3.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-mpmath_1.3.0.bb +4 -1
@@ -11,6 +11,9 @@ SRC_URI[sha256sum] = "7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a inherit pypi setuptools3 DEPENDS += "${PYTHON_PN}-setuptools-scm-native" -RDEPENDS:${PN} += "python3-image" +RDEPENDS:${PN} += " \ + python3-image \ + python3-math \ +" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
PATCH 19/149 python3-uswid: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-uswid_git.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-uswid_git.bb +6 -0
@@ -4,6 +4,12 @@ SECTION = "devel/python" LICENSE = "LGPL-2.1-or-later" DEPENDS += " python3-cbor2 python3-lxml python3-pefile" +RDEPENDS:${PN} += " \ + python3-cbor2 \ + python3-json \ + python3-lxml \ + python3-netclient \ +" LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88" SRC_URI = "git://github.com/hughsie/python-uswid.git;branch=main;protocol=https"
Signature · 1 line
2.39.2
PATCH 20/149 python3-xmlrunner: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-xmlrunner_1.7.7.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-xmlrunner_1.7.7.bb +2 -0
@@ -7,3 +7,5 @@ SRC_URI[md5sum] = "7b0b152ed2d278516aedbc0cac22dfb3" SRC_URI[sha256sum] = "5a6113d049eca7646111ee657266966e5bbfb0b5ceb2e83ee0772e16d7110f39" inherit pypi setuptools3 + +RDEPENDS:${PN} += "python3-unittest"
Signature · 1 line
2.39.2
PATCH 21/149 python3-editor: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-editor_1.0.4.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-editor_1.0.4.bb +5 -0
@@ -10,3 +10,8 @@ PYPI_PACKAGE = "python-editor" inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN} += " \ + python3-io \ + python3-setuptools \ +"
Signature · 1 line
2.39.2
PATCH 22/149 python3-pykwalify: don't use PYTHON_PN and improve coding style
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly. While at it: make indentation consistent
--- .../recipes-devtools/python/python3-pykwalify_1.8.0.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-pykwalify_1.8.0.bb +3 -3
@@ -11,9 +11,9 @@ PYPI_PACKAGE = "pykwalify" inherit setuptools3 pypi RDEPENDS:${PN} = "\ - ${PYTHON_PN}-docopt \ - ${PYTHON_PN}-dateutil \ - ${PYTHON_PN}-ruamel-yaml \ + python3-dateutil \ + python3-docopt \ + python3-ruamel-yaml \ " BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
PATCH 23/149 python3-pykwalify: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-pykwalify_1.8.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pykwalify_1.8.0.bb +1 -0
@@ -13,6 +13,7 @@ inherit setuptools3 pypi RDEPENDS:${PN} = "\ python3-dateutil \ python3-docopt \ + python3-logging \ python3-ruamel-yaml \ "
Signature · 1 line
2.39.2
PATCH 24/149 python3-iperf: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-iperf_0.1.11.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-iperf_0.1.11.bb +6 -0
@@ -9,3 +9,9 @@ PYPI_PACKAGE = "iperf3" SRC_URI[sha256sum] = "d50eebbf2dcf445a173f98a82f9c433e0302d3dfb7987e1f21b86b35ef63ce26" inherit setuptools3 pypi + +RDEPENDS:${PN} += " \ + python3-ctypes \ + python3-json \ + python3-threading \ +"
Signature · 1 line
2.39.2
PATCH 25/149 python3-sdnotify: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-sdnotify_0.3.2.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-sdnotify_0.3.2.bb +2 -0
@@ -17,3 +17,5 @@ SRC_URI[sha256sum] = "73977fc746b36cc41184dd43c3fe81323e7b8b06c2bb0826c4f59a20c5 SRC_URI += "file://0001-setup.py-switch-to-setuptools.patch" inherit setuptools3 pypi + +RDEPENDS:${PN} += "python3-io"
Signature · 1 line
2.39.2
PATCH 26/149 python3-service-identity: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../python/python3-service-identity_21.1.0.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb +6 -0
@@ -14,6 +14,12 @@ SRC_URI += " \ file://run-ptest \ " +RDEPENDS:${PN} += " \ + python3-attr \ + python3-cryptography \ + python3-pyasn1-modules \ +" + RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-pytest \ "
Signature · 1 line
2.39.2
PATCH 27/149 python3-sqlsoup: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-sqlsoup_0.9.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-sqlsoup_0.9.1.bb +2 -0
@@ -7,3 +7,5 @@ PYPI_PACKAGE = "sqlsoup" SRC_URI[sha256sum] = "2fafb7732a663dcd59b37e64d1c94d5fb20d4fad32cd8ee260aa1cd9a10340d6" inherit pypi setuptools3 + +RDEPENDS:${PN} += "python3-sqlalchemy"
Signature · 1 line
2.39.2
PATCH 28/149 python3-sqlalchemy: don't use PYTHON_PN and improve coding style
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly. While at it: make indentation consistent.
--- .../python/python3-sqlalchemy_2.0.15.bb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.15.bb +8 -8
@@ -10,14 +10,14 @@ PYPI_PACKAGE = "SQLAlchemy" inherit pypi setuptools3 RDEPENDS:${PN} += " \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-compression \ - ${PYTHON_PN}-profile \ + python3-compression \ + python3-json \ + python3-logging \ + python3-netclient \ + python3-numbers \ + python3-pickle \ + python3-profile \ + python3-threading \ " BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
PATCH 29/149 python3-sqlalchemy: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-sqlalchemy_2.0.15.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.15.bb +2 -0
@@ -10,6 +10,7 @@ PYPI_PACKAGE = "SQLAlchemy" inherit pypi setuptools3 RDEPENDS:${PN} += " \ + python3-asyncio \ python3-compression \ python3-json \ python3-logging \
@@ -18,6 +19,7 @@ RDEPENDS:${PN} += " \ python3-pickle \ python3-profile \ python3-threading \ + python3-typing-extensions \ " BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
PATCH 30/149 python3-pure-eval: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-pure-eval_0.2.2.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-pure-eval_0.2.2.bb +5 -0
@@ -9,3 +9,8 @@ PYPI_PACKAGE = "pure_eval" inherit pypi python_setuptools_build_meta SRC_URI[sha256sum] = "2b45320af6dfaa1750f543d714b6d1c520a1688dec6fd24d339063ce0aaa9ac3" + +RDEPENDS:${PN} += " \ + python3-datetime \ + python3-numbers \ +"
Signature · 1 line
2.39.2
PATCH 31/149 python3-stack-data: fix coding style
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Use 4 spaces instead of tabs and order RDEPENDS alphabetically.
--- .../recipes-devtools/python/python3-stack-data_0.6.2.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-stack-data_0.6.2.bb +3 -3
@@ -11,7 +11,7 @@ inherit pypi python_setuptools_build_meta SRC_URI[sha256sum] = "32d2dd0376772d01b6cb9fc996f3c8b57a357089dec328ed4b6553d037eaf815" RDEPENDS:${PN} = " \ - python3-executing \ - python3-asttokens \ - python3-pure-eval \ + python3-asttokens \ + python3-executing \ + python3-pure-eval \ "
Signature · 1 line
2.39.2
PATCH 32/149 python3-stack-data: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-stack-data_0.6.2.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-stack-data_0.6.2.bb +2 -0
@@ -13,5 +13,7 @@ SRC_URI[sha256sum] = "32d2dd0376772d01b6cb9fc996f3c8b57a357089dec328ed4b6553d037 RDEPENDS:${PN} = " \ python3-asttokens \ python3-executing \ + python3-html \ + python3-logging \ python3-pure-eval \ "
Signature · 1 line
2.39.2
PATCH 33/149 python3-sympy: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-sympy_1.12.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-sympy_1.12.bb +4 -1
@@ -7,6 +7,9 @@ SRC_URI[sha256sum] = "ebf595c8dac3e0fdc4152c51878b498396ec7f30e7a914d6071e674d49 inherit pypi setuptools3 -RDEPENDS:${PN} += "python3-mpmath" +RDEPENDS:${PN} += " \ + python3-misc \ + python3-mpmath \ +" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
PATCH 34/149 python3-thrift: don't use PYTHON_PN and improve coding style
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly. While at it: make indentation consistent.
--- .../python-thrift/python3-thrift_0.16.0.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
meta-python/recipes-connectivity/python-thrift/python3-thrift_0.16.0.bb +4 -4
@@ -10,10 +10,10 @@ inherit pypi setuptools3 PYPI_SRC_URI:append = ";downloadfilename=${BP}.${PYPI_PACKAGE_EXT}" RDEPENDS:${PN} += "\ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-threading \ + python3-logging \ + python3-six \ + python3-stringold \ + python3-threading \ " BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
PATCH 35/149 python3-thrift: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-connectivity/python-thrift/python3-thrift_0.16.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-connectivity/python-thrift/python3-thrift_0.16.0.bb +1 -0
@@ -11,6 +11,7 @@ PYPI_SRC_URI:append = ";downloadfilename=${BP}.${PYPI_PACKAGE_EXT}" RDEPENDS:${PN} += "\ python3-logging \ + python3-scons \ python3-six \ python3-stringold \ python3-threading \
Signature · 1 line
2.39.2
PATCH 36/149 python3-tomlkit: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-tomlkit_0.11.8.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-tomlkit_0.11.8.bb +6 -0
@@ -11,6 +11,12 @@ SRC_URI += " \ file://run-ptest \ " +RDEPENDS:${PN} += " \ + python3-datetime \ + python3-profile \ + python3-stringold \ +" + RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-poetry-core \ ${PYTHON_PN}-pytest \
Signature · 1 line
2.39.2
PATCH 37/149 python3-tornado: drop ${PN} from RDEPENDS
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Ptest package doesn't need to explicitly depend on the main package.
--- meta-python/recipes-devtools/python/python3-tornado_6.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-tornado_6.3.bb +1 -1
@@ -15,7 +15,7 @@ RDEPENDS:${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-numbers ${PYTHON_PN}-em ${PYTHON_PN}-pkgutil ${PYTHON_PN}-html ${PYTHON_PN}-json ${PYTHON_PN}-certifi ${PYTHON_PN}-threading \ ${PYTHON_PN}-ctypes ${PYTHON_PN}-misc" -RDEPENDS:${PN}-test += "${PN} ${PYTHON_PN}-unittest" +RDEPENDS:${PN}-test += "${PYTHON_PN}-unittest" PACKAGES =+ "\ ${PN}-test \
Signature · 1 line
2.39.2
PATCH 38/149 python3-tornado: fix coding style
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Order RDEPENDS alphabetically and don't use PYTHON_PN.
--- .../python/python3-tornado_6.3.bb | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-)
meta-python/recipes-devtools/python/python3-tornado_6.3.bb +13 -4
@@ -11,11 +11,20 @@ SRC_URI[sha256sum] = "d68f3192936ff2c4add04dc21a436a43b4408d466746b78bb2b9d0a53a inherit pypi setuptools3 # Requires _compression which is currently located in misc -RDEPENDS:${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-numbers ${PYTHON_PN}-email \ - ${PYTHON_PN}-pkgutil ${PYTHON_PN}-html ${PYTHON_PN}-json ${PYTHON_PN}-certifi ${PYTHON_PN}-threading \ - ${PYTHON_PN}-ctypes ${PYTHON_PN}-misc" +RDEPENDS:${PN} += " \ + python3-certifi \ + python3-compression \ + python3-ctypes \ + python3-email \ + python3-html \ + python3-json \ + python3-misc \ + python3-numbers \ + python3-pkgutil \ + python3-threading \ +" -RDEPENDS:${PN}-test += "${PYTHON_PN}-unittest" +RDEPENDS:${PN}-test += "python3-unittest" PACKAGES =+ "\ ${PN}-test \
Signature · 1 line
2.39.2
PATCH 39/149 python3-tornado: remove the testing submodule from FILES:${PN}-test
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Tornado has the testing submodule in __all__ so calling:
from tornado import *
fails if we don't include the ptest package. To fix it: put the testing module into the main package.
--- meta-python/recipes-devtools/python/python3-tornado_6.3.bb | 1 - 1 file changed, 1 deletion(-)
meta-python/recipes-devtools/python/python3-tornado_6.3.bb +0 -1
@@ -32,5 +32,4 @@ PACKAGES =+ "\ FILES:${PN}-test = " \ ${libdir}/${PYTHON_DIR}/site-packages/*/test \ - ${libdir}/${PYTHON_DIR}/site-packages/*/testing.py* \ "
Signature · 1 line
2.39.2
PATCH 40/149 python3-tornado: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-tornado_6.3.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-python/recipes-devtools/python/python3-tornado_6.3.bb +4 -0
@@ -12,6 +12,7 @@ inherit pypi setuptools3 # Requires _compression which is currently located in misc RDEPENDS:${PN} += " \ + python3-asyncio \ python3-certifi \ python3-compression \ python3-ctypes \
@@ -19,9 +20,12 @@ RDEPENDS:${PN} += " \ python3-html \ python3-json \ python3-misc \ + python3-multiprocessing \ python3-numbers \ python3-pkgutil \ + python3-pycurl \ python3-threading \ + python3-unittest \ " RDEPENDS:${PN}-test += "python3-unittest"
Signature · 1 line
2.39.2
PATCH 41/149 python3-trustme: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-trustme_0.9.0.bb | 7 +++++++ 1 file changed, 7 insertions(+)
meta-python/recipes-devtools/python/python3-trustme_0.9.0.bb +7 -0
@@ -14,6 +14,13 @@ SRC_URI += " \ file://run-ptest \ " +RDEPENDS:${PN} += " \ + python3-cryptography \ + python3-datetime \ + python3-idna \ + python3-io \ +" + RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-pytest \ ${PYTHON_PN}-service-identity \
Signature · 1 line
2.39.2
PATCH 42/149 python3-twofish: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb +2 -0
@@ -15,3 +15,5 @@ SRC_URI[sha256sum] = "b09d8bb50d33b23ff34cafb1f9209f858f752935c6a5c901efb92a41ac inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN} += "python3-ctypes"
Signature · 1 line
2.39.2
PATCH 43/149 python3-txws: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-connectivity/python-txws/python3-txws_0.9.1.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb +5 -0
@@ -6,6 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=76699830db7fa9e897f6a1ad05f98ec8" DEPENDS = "python3-twisted python3-six python3-vcversioner python3-six-native python3-vcversioner-native" +RDEPENDS:${PN} += " \ + python3-six \ + python3-twisted \ +" + SRC_URI = "git://github.com/MostAwesomeDude/txWS.git;branch=master;protocol=https" SRCREV= "88cf6d9b9b685ffa1720644bd53c742afb10a414"
Signature · 1 line
2.39.2
PATCH 44/149 python3-web3: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-web3_6.3.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-web3_6.3.0.bb +2 -0
@@ -13,6 +13,8 @@ RDEPENDS:${PN} += " \ python3-distutils \ python3-eth-account \ python3-idna \ + python3-jsonschema \ + python3-google-api-core \ python3-lru-dict \ python3-requests \ python3-setuptools \
Signature · 1 line
2.39.2
PATCH 45/149 python3-uefi-firmware: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-uefi-firmware_1.10.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-uefi-firmware_1.10.bb +5 -0
@@ -15,3 +15,8 @@ SRCREV = "dfb15b068960b771e2e1536d34790dac9b5bfe32" S = "${WORKDIR}/git" inherit setuptools3 + +RDEPENDS:${PN} += " \ + python3-ctypes \ + python3-logging \ +"
Signature · 1 line
2.39.2
PATCH 46/149 python3-websockets: fix coding style
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Don't use PYTHON_PN as we're no longer supporting python2.
--- .../recipes-devtools/python/python3-websockets_11.0.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-websockets_11.0.3.bb +2 -2
@@ -10,6 +10,6 @@ SRC_URI[sha256sum] = "88fc51d9a26b10fc331be344f1781224a375b78488fc343620184e95a4 BBCLASSEXTEND = "native nativesdk" -RDEPENDS:${PN} = "\ - ${PYTHON_PN}-asyncio \ +RDEPENDS:${PN} = " \ + python3-asyncio \ "
Signature · 1 line
2.39.2
PATCH 47/149 python3-websockets: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-websockets_11.0.3.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-websockets_11.0.3.bb +1 -0
@@ -12,4 +12,5 @@ BBCLASSEXTEND = "native nativesdk" RDEPENDS:${PN} = " \ python3-asyncio \ + python3-profile \ "
Signature · 1 line
2.39.2
PATCH 48/149 python3-xlrd: fix coding style
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Put RDEPENDS on separate lines, don't use PYTHON_PN.
--- .../recipes-devtools/python/python3-xlrd_2.0.1.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb +7 -2
@@ -20,10 +20,15 @@ inherit ptest setuptools3 PIP_INSTALL_PACKAGE = "xlrd" PIP_INSTALL_DIST_PATH = "${S}/dist" -RDEPENDS:${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell" +RDEPENDS:${PN} += " \ + python3-compression \ + python3-io \ + python3-pprint \ + python3-shell \ +" RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ " do_install_ptest() {
Signature · 1 line
2.39.2
PATCH 49/149 python3-xlrd: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb +1 -0
@@ -23,6 +23,7 @@ PIP_INSTALL_DIST_PATH = "${S}/dist" RDEPENDS:${PN} += " \ python3-compression \ python3-io \ + python3-mmap \ python3-pprint \ python3-shell \ "
Signature · 1 line
2.39.2
PATCH 50/149 python3-versiontools: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-versiontools_1.9.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb +2 -0
@@ -8,3 +8,5 @@ SRC_URI[md5sum] = "602b7db8eea30dd29a1d451997adf251" SRC_URI[sha256sum] = "a969332887a18a9c98b0df0ea4d4ca75972f24ca94f06fb87d591377e83414f6" inherit pypi setuptools3 + +RDEPENDS:${PN} += "python3-setuptools"
Signature · 1 line
2.39.2
PATCH 51/149 python3-typeguard: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-typeguard_4.0.0.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-typeguard_4.0.0.bb +5 -0
@@ -11,6 +11,11 @@ SRC_URI += " \ file://run-ptest \ " +RDEPENDS:${PN} += " \ + python3-compression \ + python3-unittest \ +" + RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-pytest \ ${PYTHON_PN}-typing-extensions \
Signature · 1 line
2.39.2
PATCH 52/149 python3-process-tests: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-process-tests_2.1.2.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-process-tests_2.1.2.bb +6 -0
@@ -13,3 +13,9 @@ inherit pypi setuptools3 RDEPENDS:${PN} += "python3-core" BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN} += " \ + python3-io \ + python3-logging \ + python3-unittest \ +"
Signature · 1 line
2.39.2
PATCH 53/149 python3-pyatspi: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-pyatspi_2.46.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pyatspi_2.46.0.bb +2 -0
@@ -20,3 +20,5 @@ REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" inherit pkgconfig autotools python3native FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/pyatspi/*" + +RDEPENDS:${PN} += "python3-pygobject"
Signature · 1 line
2.39.2
PATCH 54/149 python3-pydantic: don't use PYTHON_PN and improve coding style
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly. While at it: order dependencies alphabetically.
--- .../python/python3-pydantic_1.10.7.bb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb +9 -9
@@ -8,13 +8,13 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "cfc83c0678b6ba51b0532bea66860617c4cd4251ecf76e9846fa5a9f3454e97e" RDEPENDS:${PN} += "\ - ${PYTHON_PN}-typing-extensions \ - ${PYTHON_PN}-core \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-image \ - ${PYTHON_PN}-logging \ + python3-core \ + python3-datetime \ + python3-image \ + python3-io \ + python3-json \ + python3-logging \ + python3-netclient \ + python3-numbers \ + python3-typing-extensions \ "
Signature · 1 line
2.39.2
PATCH 55/149 python3-pydantic: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb +1 -0
@@ -16,5 +16,6 @@ RDEPENDS:${PN} += "\ python3-logging \ python3-netclient \ python3-numbers \ + python3-profile \ python3-typing-extensions \ "
Signature · 1 line
2.39.2
PATCH 56/149 python3-python-vlc: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-python-vlc_3.0.18122.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-python-vlc_3.0.18122.bb +5 -0
@@ -6,3 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" SRC_URI[sha256sum] = "1039bde287853b4b7b61ba22d83761832434f78506da762dfb060291bf32897d" inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + python3-ctypes \ + python3-logging \ +"
Signature · 1 line
2.39.2
PATCH 57/149 python3-redis: fix coding style
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Don't use PYTHON_PN, order includes alphabetically and fix whitespaces.
--- .../recipes-devtools/python/python3-redis_4.5.5.bb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
meta-python/recipes-devtools/python/python3-redis_4.5.5.bb +5 -5
@@ -8,9 +8,9 @@ SRC_URI[sha256sum] = "dc87a0bdef6c8bfe1ef1e1c40be7034390c2ae02d92dcd0c7ca1729443 inherit pypi setuptools3 -RDEPENDS:${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-cryptography \ - ${PYTHON_PN}-packaging \ - ${PYTHON_PN}-asyncio \ +RDEPENDS:${PN} += " \ + python3-asyncio \ + python3-cryptography \ + python3-datetime \ + python3-packaging \ "
Signature · 1 line
2.39.2
PATCH 58/149 python3-redis: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-redis_4.5.5.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-redis_4.5.5.bb +2 -0
@@ -10,7 +10,9 @@ inherit pypi setuptools3 RDEPENDS:${PN} += " \ python3-asyncio \ + python3-compression \ python3-cryptography \ python3-datetime \ + python3-json \ python3-packaging \ "
Signature · 1 line
2.39.2
PATCH 59/149 python3-raven: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-raven_6.10.0.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-raven_6.10.0.bb +5 -0
@@ -11,3 +11,8 @@ SRC_URI[sha256sum] = "3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c PYPI_PACKAGE = "raven" inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + python3-json \ + python3-logging \ +"
Signature · 1 line
2.39.2
PATCH 60/149 python3-pypng: new package
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
python3-qrcode has a run-time dependency on pypng but it's not provided in meta-python. Add a recipe for it. It has no run-time dependencies itself.
--- .../recipes-devtools/python/python3-pypng_0.20220715.0.bb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pypng_0.20220715.0.bb
meta-python/recipes-devtools/python/python3-pypng_0.20220715.0.bb new file +8 -0
@@ -0,0 +1,8 @@ +SUMMARY = "PNG module for Python." +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE;md5=5b60f319c8cf51f825b4f40aadee3243" + +SRC_URI[sha256sum] = "739c433ba96f078315de54c0db975aee537cbc3e1d0ae4ed9aab0ca1e427e2c1" + +inherit pypi python_setuptools_build_meta
Signature · 1 line
2.39.2
PATCH 61/149 python3-qrcode: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-qrcode_7.4.2.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb +6 -1
@@ -8,4 +8,9 @@ SRC_URI[sha256sum] = "9dd969454827e127dbd93696b20747239e6d540e082937c90f14ac95b3 inherit pypi setuptools3 -RDEPENDS:${PN} = "python3-six python3-pillow" +RDEPENDS:${PN} = " \ + python3-six \ + python3-pillow \ + python3-pypng \ + python3-typing-extensions \ +"
Signature · 1 line
2.39.2
PATCH 62/149 python3-pyusb: fix run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add the missing dependency on ctypes and drop libusb1 from RDEPENDS as it will be already present in the rootfs thanks to being in project's build-time dependencies.
--- meta-python/recipes-devtools/python/python3-pyusb_1.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pyusb_1.2.1.bb +1 -1
@@ -13,6 +13,6 @@ SRC_URI[sha256sum] = "a4cc7404a203144754164b8b40994e2849fde1cfff06b08492f12fff9d inherit pypi setuptools3 -RDEPENDS:${PN} += "libusb1" +RDEPENDS:${PN} += "python3-ctypes" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
PATCH 63/149 python3-pytest-mock: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-pytest-mock_3.10.0.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-pytest-mock_3.10.0.bb +6 -0
@@ -18,6 +18,12 @@ inherit setuptools3 ptest DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS:${PN} += " \ + python3-asyncio \ + python3-pytest \ + python3-unittest \ +" + S = "${WORKDIR}/git" do_install_ptest() {
Signature · 1 line
2.39.2
Re: [meta-python][PATCH 063/149] python3-pytest-mock: add missing run-time dependencies
on qemux86-64/glibc I am seeing
AssertionError:
Failed ptests:
{'python3-pytest-mock':
['tests/test_pytest_mock.py::test_assert_called_args_with_introspection',
'tests/test_pytest_mock.py::test_assert_called_kwargs_with_introspection',
'tests/test_pytest_mock.py::test_detailed_introspection_async',
'tests/test_pytest_mock.py::test_plain_stopall',
'tests/test_pytest_mock.py::test_used_with_class_scope',
'tests/test_pytest_mock.py::test_used_with_module_scope',
'tests/test_pytest_mock.py::test_used_with_package_scope',
'tests/test_pytest_mock.py::test_used_with_session_scope']}
Cannot run ptests without @expectedFailure as ptests are expected to fail
Quoted 30 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
Signed-off-by Bartosz Golaszewski <[email protected]>--- .../recipes-devtools/python/python3-pytest-mock_3.10.0.bb | 6 ++++++ 1 file changed, 6 insertions(+)meta-python/recipes-devtools/python/python3-pytest-mock_3.10.0.bb +6
-1@@ -18,6 +18,12 @@ inherit setuptools3 ptest DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS:${PN} += " \ + python3-asyncio \ + python3-pytest \ + python3-unittest \ +" + S = "${WORKDIR}/git" do_install_ptest() { --2.39.2
Re: [meta-python][PATCH 063/149] python3-pytest-mock: add missing run-time dependencies
Quoted 15 lines · Khem Raj
on qemux86-64/glibc I am seeing
AssertionError:
Failed ptests:
{'python3-pytest-mock':
['tests/test_pytest_mock.py::test_assert_called_args_with_introspection','tests/test_pytest_mock.py::test_assert_called_kwargs_with_introspection',
'tests/test_pytest_mock.py::test_detailed_introspection_async',
'tests/test_pytest_mock.py::test_plain_stopall','tests/test_pytest_mock.py::test_used_with_class_scope',
Quoted 9 lines
'tests/test_pytest_mock.py::test_used_with_module_scope',
'tests/test_pytest_mock.py::test_used_with_package_scope',
'tests/test_pytest_mock.py::test_used_with_session_scope']}
Cannot run ptests without @expectedFailure as ptests are expected to fail
I'm not sure I follow. Without this patch the ptests can't even be started as pytest is not available for import, so it's not really a regression.
Bart
Quoted 31 lines · Bartosz Golaszewski
Quoted 30 lines
From: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
Signed-off-by Bartosz Golaszewski <[email protected]>--- .../recipes-devtools/python/python3-pytest-mock_3.10.0.bb | 6 ++++++ 1 file changed, 6 insertions(+)meta-python/recipes-devtools/python/python3-pytest-mock_3.10.0.bb +6
-1@@ -18,6 +18,12 @@ inherit setuptools3 ptest DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS:${PN} += " \ + python3-asyncio \ + python3-pytest \ + python3-unittest \ +" + S = "${WORKDIR}/git" do_install_ptest() { --2.39.2
Re: [meta-python][PATCH 063/149] python3-pytest-mock: add missing run-time dependencies
Quoted 24 lines · Bartosz Golaszewski
Quoted 9 lines · Khem Raj
on qemux86-64/glibc I am seeing
AssertionError:
Failed ptests:
{'python3-pytest-mock':
['tests/test_pytest_mock.py::test_assert_called_args_with_introspection','tests/test_pytest_mock.py::test_assert_called_kwargs_with_introspection',
Quoted 13 lines
'tests/test_pytest_mock.py::test_detailed_introspection_async',
'tests/test_pytest_mock.py::test_plain_stopall','tests/test_pytest_mock.py::test_used_with_class_scope',
'tests/test_pytest_mock.py::test_used_with_module_scope',
'tests/test_pytest_mock.py::test_used_with_package_scope',
'tests/test_pytest_mock.py::test_used_with_session_scope']}
Quoted 6 lines
Quoted 2 lines
Cannot run ptests without @expectedFailure as ptests are expected to fail
I'm not sure I follow. Without this patch the ptests can't even be started as pytest is not available for import, so it's not really a regression.
That’s fine all we need it disable from auto run
Quoted 42 lines
Bart
Quoted 1 line
On Wed, May 31, 2023 at 1:26 AM Bartosz Golaszewski <[email protected]>
Quoted 8 lines · wrote:
Quoted 8 lines
From: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
Signed-off-by Bartosz Golaszewski <[email protected]>--- .../recipes-devtools/python/python3-pytest-mock_3.10.0.bb | 6++++++
Quoted 3 lines
Review
Quoted 3 lines
1 file changed, 6 insertions(+)(quoted diff) +0
-0python3-pytest-mock_3.10.0.bb b/meta-python/recipes-devtools/python/ python3-pytest-mock_3.10.0.bb
Quoted 2 lines
Quoted 2 lines
index
c4e672f33..bf5bc250a100644
--- a/meta-python/recipes-devtools/python/python3-pytest-mock_3.10.0.bb
Quoted 1 line
Quoted 1 line
+++ b/meta-python/recipes-devtools/python/
python3-pytest-mock_3.10.0.bb
Quoted 16 lines
Quoted 16 lines
meta-python/recipes-devtools/python/python3-pytest-mock_3.10.0.bb +6
-1@@ -18,6 +18,12 @@ inherit setuptools3 ptest DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS:${PN} += " \ + python3-asyncio \ + python3-pytest \ + python3-unittest \ +" + S = "${WORKDIR}/git" do_install_ptest() { --2.39.2
PATCH 64/149 python3-pyroute2: fix coding style
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Make indentations consistent and stop using PYTHON_PN.
--- .../python/python3-pyroute2_0.5.19.bb | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-)
meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb +16 -16
@@ -8,29 +8,29 @@ SRC_URI[sha256sum] = "45460d12ed2a5caf272a357a3360b36d1e346f17afe1425b66fc21d70f inherit setuptools3 pypi ptest RDEPENDS:${PN} += " \ - ${PYTHON_PN}-ctypes \ - ${PYTHON_PN}-distutils \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-multiprocessing \ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-pkgutil \ - ${PYTHON_PN}-pprint \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-unixadmin \ + python3-ctypes \ + python3-distutils \ + python3-io \ + python3-json \ + python3-logging \ + python3-multiprocessing \ + python3-pickle \ + python3-pkgutil \ + python3-pprint \ + python3-shell \ + python3-unixadmin \ " SRC_URI += " \ - file://run-ptest \ + file://run-ptest \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-fcntl \ + python3-pytest \ + python3-fcntl \ " do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ }
Signature · 1 line
2.39.2
PATCH 65/149 python3-fcntl: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb +1 -0
@@ -12,6 +12,7 @@ RDEPENDS:${PN} += " \ python3-distutils \ python3-io \ python3-json \ + python3-fcntl \ python3-logging \ python3-multiprocessing \ python3-pickle \
Signature · 1 line
2.39.2
PATCH 66/149 python3-pyproject-metadata: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../python/python3-pyproject-metadata_0.7.1.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb +6 -0
@@ -8,3 +8,9 @@ inherit pypi python_setuptools_build_meta SRC_URI[sha256sum] = "0a94f18b108b9b21f3a26a3d541f056c34edcb17dc872a144a15618fed7aef67" BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN} += " \ + python3-logging \ + python3-packaging \ + python3-profile \ +"
Signature · 1 line
2.39.2
PATCH 67/149 python3-pyproj: don't use PYTHON_PN
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
--- meta-python/recipes-devtools/python/python3-pyproj_3.5.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pyproj_3.5.0.bb +1 -1
@@ -10,7 +10,7 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "9859d1591c1863414d875ae0759e72c2cffc01ab989dc64137fbac572cc81bf6" -RDEPENDS:${PN} = "${PYTHON_PN}-certifi proj" +RDEPENDS:${PN} = "python3-certifi proj" export PROJ_INCDIR = "${STAGING_INCDIR}" export PROJ_LIBDIR = "${STAGING_LIBDIR}"
Signature · 1 line
2.39.2
PATCH 68/149 python3-pyproj: drop unnecessary run-time dependency
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
libproj is already included in the rootfs as it's in recipe's DEPENDS.
--- meta-python/recipes-devtools/python/python3-pyproj_3.5.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pyproj_3.5.0.bb +1 -1
@@ -10,7 +10,7 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "9859d1591c1863414d875ae0759e72c2cffc01ab989dc64137fbac572cc81bf6" -RDEPENDS:${PN} = "python3-certifi proj" +RDEPENDS:${PN} = "python3-certifi" export PROJ_INCDIR = "${STAGING_INCDIR}" export PROJ_LIBDIR = "${STAGING_LIBDIR}"
Signature · 1 line
2.39.2
PATCH 69/149 python3-pyproj: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-pyproj_3.5.0.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pyproj_3.5.0.bb +7 -1
@@ -10,7 +10,13 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "9859d1591c1863414d875ae0759e72c2cffc01ab989dc64137fbac572cc81bf6" -RDEPENDS:${PN} = "python3-certifi" +RDEPENDS:${PN} = " \ + python3-certifi \ + python3-compression \ + python3-json \ + python3-logging \ + python3-profile \ +" export PROJ_INCDIR = "${STAGING_INCDIR}" export PROJ_LIBDIR = "${STAGING_LIBDIR}"
Signature · 1 line
2.39.2
PATCH 70/149 python3-classes: new package
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add a recipe for the package python3-pylyrics run-time depends on but which was never provided by meta-python.
--- .../recipes-devtools/python/python3-classes_0.4.1.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-classes_0.4.1.bb
meta-python/recipes-devtools/python/python3-classes_0.4.1.bb new file +10 -0
@@ -0,0 +1,10 @@ +SUMMARY = "Smart, pythonic, ad-hoc, typed polymorphism for Python." + +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=155fbcc756c8ae5265d252d23e20908f" + +SRC_URI[sha256sum] = "4de4fdd6c5c38607bbd8ad76703d7cc4dbe007cfa78e8ef1f62fc6ac55303e23" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "python3-typing-extensions"
Signature · 1 line
2.39.2
PATCH 71/149 python3-pylyrics: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-pylyrics_1.1.0.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb +7 -1
@@ -9,4 +9,10 @@ SRC_URI[sha256sum] = "c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604 PYPI_PACKAGE = "PyLyrics" PYPI_PACKAGE_EXT = "zip" -inherit pypi setuptools3 +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + python3-beautifulsoup4 \ + python3-classes \ + python3-requests \ +"
Signature · 1 line
2.39.2
PATCH 72/149 python3-pyjwt: stop using PYTHON_PN
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
We no longer support python2, so use python3 explicitly.
--- meta-python/recipes-devtools/python/python3-pyjwt_2.7.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pyjwt_2.7.0.bb +1 -1
@@ -10,6 +10,6 @@ SRC_URI[sha256sum] = "bd6ca4a3c4285c1a2d4349e5a035fdf8fb94e04ccd0fcbe6ba289dae9c PYPI_PACKAGE = "PyJWT" inherit pypi setuptools3 -RDEPENDS:${PN} = "${PYTHON_PN}-cryptography" +RDEPENDS:${PN} = "python3-cryptography" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
PATCH 73/149 python3-pyjwt: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-pyjwt_2.7.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pyjwt_2.7.0.bb +4 -1
@@ -10,6 +10,9 @@ SRC_URI[sha256sum] = "bd6ca4a3c4285c1a2d4349e5a035fdf8fb94e04ccd0fcbe6ba289dae9c PYPI_PACKAGE = "PyJWT" inherit pypi setuptools3 -RDEPENDS:${PN} = "python3-cryptography" +RDEPENDS:${PN} = " \ + python3-json \ + python3-cryptography \ +" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
PATCH 74/149 python3-javaobj-py3: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-javaobj-py3_0.4.3.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.3.bb +5 -0
@@ -12,3 +12,8 @@ SRC_URI[sha256sum] = "38f74db3a57e9998a9774e3614afb95cb396f139f29b3fdb130c5af554 inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN} += " \ + python3-compression \ + python3-logging \ +"
Signature · 1 line
2.39.2
PATCH 75/149 python3-pyjks: stop using PYTHON_PN
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
We no longer support python2, so use python3 explicitly. While at it:
add missing spaces for consistent coding style.
--- .../recipes-devtools/python/python3-pyjks_20.0.0.bb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
meta-python/recipes-devtools/python/python3-pyjks_20.0.0.bb +6 -6
@@ -11,12 +11,12 @@ SRC_URI[sha256sum] = "0378cec15fb11b2ed27ba54dad9fd987d48e6f62f49fcff138f5f7a8b3 inherit pypi setuptools3 -RDEPENDS:${PN} = "\ - ${PYTHON_PN}-javaobj-py3 \ - ${PYTHON_PN}-pyasn1 \ - ${PYTHON_PN}-pyasn1-modules \ - ${PYTHON_PN}-pycryptodome \ - ${PYTHON_PN}-twofish\ +RDEPENDS:${PN} = " \ + python3-javaobj-py3 \ + python3-pyasn1 \ + python3-pyasn1-modules \ + python3-pycryptodome \ + python3-twofish \ " BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
PATCH 76/149 python3-pyjks: fix run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
This package actually depends on python3-pycryptodomex.
--- meta-python/recipes-devtools/python/python3-pyjks_20.0.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pyjks_20.0.0.bb +1 -1
@@ -15,7 +15,7 @@ RDEPENDS:${PN} = " \ python3-javaobj-py3 \ python3-pyasn1 \ python3-pyasn1-modules \ - python3-pycryptodome \ + python3-pycryptodomex \ python3-twofish \ "
Signature · 1 line
2.39.2
PATCH 77/149 python3-pyexpect: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-pyexpect_1.0.22.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pyexpect_1.0.22.bb +2 -0
@@ -8,3 +8,5 @@ LIC_FILES_CHKSUM = "file://README.md;md5=a6aa1e7097aca5955f9a2e1c8b0ce158" inherit pypi setuptools3 SRC_URI[sha256sum] = "659351e7ee8923b42de8a774fabfc806acf07377d7fd19f2ea4412ef8f619c6a" + +RDEPENDS:${PN} += "python3-numbers"
Signature · 1 line
2.39.2
PATCH 78/149 python3-pynetlinux: fix relative imports
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Pull in a patch from upstream that addresses an issue with relative imports.
--- .../0002-Fixed-relative-imports.patch | 60 +++++++++++++++++++ .../python/python3-pynetlinux_1.1.bb | 5 +- 2 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-pynetlinux/0002-Fixed-relative-imports.patch
meta-python/recipes-devtools/python/python3-pynetlinux/0002-Fixed-relative-imports.patch new file +60 -0
@@ -0,0 +1,60 @@ +From afb778669efbc658a29e6bdb1c4834fee42931aa Mon Sep 17 00:00:00 2001 +From: Robert Grant <[email protected]> +Date: Wed, 10 Sep 2014 14:56:33 -0400 +Subject: [PATCH] Fixed relative imports + +Signed-off-by: Bartosz Golaszewski <[email protected]> + +--- +Upstream-Status: Accepted + + pynetlinux/__init__.py | 8 ++++---- + pynetlinux/brctl.py | 2 +- + pynetlinux/tap.py | 2 +- + 3 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/pynetlinux/__init__.py b/pynetlinux/__init__.py +index dbbf392..b6e1b8e 100644 +--- a/pynetlinux/__init__.py ++++ b/pynetlinux/__init__.py +@@ -2,7 +2,7 @@ + # import pylinux + # does a reasonable thing. + +-import brctl +-import ifconfig +-import tap +-import route ++from . import brctl ++from . import ifconfig ++from . import tap ++from . import route +diff --git a/pynetlinux/brctl.py b/pynetlinux/brctl.py +index f54d176..a8b926e 100644 +--- a/pynetlinux/brctl.py ++++ b/pynetlinux/brctl.py +@@ -3,7 +3,7 @@ import fcntl + import os + import struct + +-import ifconfig ++from . import ifconfig + + SYSFS_NET_PATH = "/sys/class/net" + +diff --git a/pynetlinux/tap.py b/pynetlinux/tap.py +index 0a0d59c..3f8ad3a 100644 +--- a/pynetlinux/tap.py ++++ b/pynetlinux/tap.py +@@ -2,7 +2,7 @@ import fcntl + import os + import struct + +-import ifconfig ++from . import ifconfig + + # From linux/if_tun.h + +-- +2.39.2 +
meta-python/recipes-devtools/python/python3-pynetlinux_1.1.bb +4 -1
@@ -7,6 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=74e1861736ee959824fe7542323c12e9" SRC_URI[sha256sum] = "4ad08298c9f5ba15a11cddc639ba8778cabdfc402b51066d9e0a325e5a5b391c" -SRC_URI += "file://0001-setup.py-switch-to-setuptools.patch" +SRC_URI += " \ + file://0001-setup.py-switch-to-setuptools.patch \ + file://0002-Fixed-relative-imports.patch \ +" inherit pypi setuptools3
Signature · 1 line
2.39.2
PATCH 79/149 python3-pynetlinux: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-pynetlinux_1.1.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-pynetlinux_1.1.bb +6 -0
@@ -13,3 +13,9 @@ SRC_URI += " \ " inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + python3-ctypes \ + python3-fcntl \ + python3-io \ +"
Signature · 1 line
2.39.2
PATCH 80/149 python3-pickleshare: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-pickleshare_0.7.5.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pickleshare_0.7.5.bb +2 -0
@@ -10,3 +10,5 @@ SRC_URI[md5sum] = "44ab782615894a812ab96669a122a634" SRC_URI[sha256sum] = "87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca" inherit setuptools3 pypi + +RDEPENDS:${PN} += "python3-pickle"
Signature · 1 line
2.39.2
PATCH 81/149 python3-petact: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-petact_0.1.2.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-petact_0.1.2.bb +6 -0
@@ -7,3 +7,9 @@ SRC_URI[md5sum] = "47e9a6abc91b4022953e4007ddae9e68" SRC_URI[sha256sum] = "5dcb0d44f86a601e41a2def9770993cd0ea45c76d37eb3f35e3dd61aa50350e6" inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + python3-compression \ + python3-crypt \ + python3-io \ +"
Signature · 1 line
2.39.2
PATCH 82/149 python3-pefile: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-pefile_2023.2.7.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-pefile_2023.2.7.bb +6 -0
@@ -11,3 +11,9 @@ PIP_INSTALL_PACKAGE = "pefile" PIP_INSTALL_DIST_PATH = "${S}/dist" BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN} += " \ + python3-mmap \ + python3-netclient \ + python3-stringold \ +"
Signature · 1 line
2.39.2
PATCH 83/149 python3-jsonpath-rw: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-jsonpath-rw_1.4.0.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-jsonpath-rw_1.4.0.bb +6 -1
@@ -8,4 +8,9 @@ SRC_URI[sha256sum] = "05c471281c45ae113f6103d1268ec7a4831a2e96aa80de45edc89b11fa inherit pypi setuptools3 -RDEPENDS:${PN} += " python3-decorator" +RDEPENDS:${PN} += " \ + python3-decorator \ + python3-logging \ + python3-ply \ + python3-six \ +"
Signature · 1 line
2.39.2
PATCH 84/149 python3-jsonrpcclient: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-jsonrpcclient_4.0.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-jsonrpcclient_4.0.2.bb +3 -1
@@ -8,7 +8,9 @@ SRC_URI[sha256sum] = "c0d475494b3e1b591ecdee7883739accaf5695edb673f16b7383b8c6bb inherit pypi setuptools3 RDEPENDS:${PN} += "\ - python3-core \ + python3-json \ + python3-math \ + python3-netclient \ " BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
PATCH 85/149 python3-jstyleson: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb +2 -0
@@ -13,3 +13,5 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "680003f3b15a2959e4e6a351f3b858e3c07dd3e073a0d54954e34d8ea5e1308e" BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN} += "python3-json"
Signature · 1 line
2.39.2
PATCH 86/149 python3-kconfiglib: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-kconfiglib_14.1.0.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb +6 -0
@@ -8,3 +8,9 @@ SRC_URI[sha256sum] = "bed2cc2216f538eca4255a83a4588d8823563cdd50114f86cf1a2674e6 inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN} += " \ + python3-curses \ + python3-shell \ + python3-tkinter \ +"
Signature · 1 line
2.39.2
PATCH 87/149 python3-libevdev: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- meta-python/recipes-devtools/python/python3-libevdev_0.11.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-libevdev_0.11.bb +5 -0
@@ -11,3 +11,8 @@ SRC_URI[sha256sum] = "e9ca006a4df2488a60bd9a740011ee948d81904be2364f017e56016950 inherit pypi setuptools3 PYPI_PACKAGE = "libevdev" + +RDEPENDS:${PN} += " \ + libevdev \ + python3-ctypes \ +"
Signature · 1 line
2.39.2
PATCH 88/149 python3-linux-procfs: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-linux-procfs_0.7.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-linux-procfs_0.7.1.bb +2 -0
@@ -10,3 +10,5 @@ SRCREV = "7f43598387e44e2da93ead2e075b7232429e4cc4" S = "${WORKDIR}/git" inherit setuptools3 + +RDEPENDS:${PN} += "python3-six"
Signature · 1 line
2.39.2
PATCH 89/149 python3-lockfile: add missing run-time dependencies
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../recipes-devtools/python/python3-lockfile_0.12.2.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb +4 -1
@@ -12,6 +12,9 @@ SRC_URI[sha256sum] = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361 inherit pypi setuptools3 DEPENDS += "python3-distutils-extra-native python3-pbr-native" -RDEPENDS:${PN} += "python3-sqlite3" +RDEPENDS:${PN} += " \ + python3-io \ + python3-sqlite3 \ +" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
PATCH 90/149 python3-msm: fix coding style
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Order run-time dependencies alphabetically and add some whitespaces for consistency.
--- meta-python/recipes-devtools/python/python3-msm_0.8.8.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-msm_0.8.8.bb +3 -3
@@ -8,10 +8,10 @@ SRC_URI[sha256sum] = "a502aee54917cd394217b31c977a1ba3d9541a0120e0a045c49fd77b32 inherit pypi setuptools3 -RDEPENDS:${PN} += "\ - python3-pako \ - python3-monotonic \ +RDEPENDS:${PN} += " \ python3-appdirs \ + python3-monotonic \ + python3-pako \ " do_install:append() {
Signature · 1 line
2.39.2
PATCH 91/149 python3-lazy: new recipe
In reply to Bartosz GolaszewskiFrom: Bartosz Golaszewski <[email protected]>
Add a recipe for python3-lazy - a package on which python3-msm run-time depends but which dependency is not satisfied by meta-python.
--- meta-python/recipes-devtools/python/python3-lazy_1.5.bb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-lazy_1.5.bb
meta-python/recipes-devtools/python/python3-lazy_1.5.bb new file +8 -0
@@ -0,0 +1,8 @@ +SUMMARY = "Lazy attributes are computed attributes that are evaluated only once, the first time they are used." + +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=84689cccb68e3c397d0856e8ad5a73b2" + +SRC_URI[sha256sum] = "cb3d8612aa895a48afe8f08860573ba8ef5ee4fdbe1b3cd606c5f50a16152186" + +inherit pypi setuptools3
Signature · 1 line
2.39.2
Quoted 7 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
A significant number of python recipes don't specify all the run-time dependencies required to at least be able to import all the installed modules. This series is the result of a semi-automated run through all python recipes in meta-python, building minimal images and verifying that there are no import exceptions.
I checked a few changes. Why are some recipes adding 'python3-unittest' as a runtime dependency?
For example, python3-ldap does not seem to need it. I checked the codes, https://github.com/cannatag/ldap3, all unittest references reside inside the test/ directory.
If it's a semi-automated run, then when it fails, I think the failed import commands could be recorded and put in the commit message. This could be achieved by using a template commit file which is then substituted to generate the actual commit file and using '-F' option to commit.
Regards,
Qi
Quoted 301 lines
Most patches just add missing RDEPENDS entries where needed. Some tweak the coding style if it's inconsistent. There are a few new packages on which existing recipes depend at run-time but which were not provided in meta-python previously.
This probably doesn't cover all the corner cases. Ptest packages were not tested with the assumption that they are being run somewhere and verified already.
There are also other run-time dependencies that may fail - like python code executing external programs that may be missing or ctypes opening shared objects at run-time later than at import-time but in general this series should at least improve the situation significantly.
There's some space for QA improvement in OE-core - like maybe raising a warning if a python recipe doesn't specify any RDEPENDS which usually means they are missing (but the module can also be very simple so this cannot be a hard fail).
Bartosz Golaszewski (149):
python3-pyparted: add missing run-time dependencies
python3-send2trash: add missing run-time dependencies
python3-pywbem: drop unneeded class from RDEPENDS
python3-pywbem: don't usePYTHON_PN
python3-pywbem: order RDEPENDS alphabetically
python3-pywbem: add missing run-time dependencies
python3-mock: cleanup RDEPENDS
python3-mock: add missing run-time dependencies
python3-cson: fix run-time dependencies
python3-ldap: don't usePYTHON_PN
python3-ldap: add missing run-time dependencies
python3-pyrad: add missing run-time dependencies
python3-html2text: add missing run-time dependencies
python3-parse: don't usePYTHON_PNand improve coding style
python3-parse: add missing run-time dependencies
python3-meld3: add missing run-time dependencies
python3-pyiface: add missing run-time dependencies
python3-mpmath: add missing run-time dependencies
python3-uswid: add missing run-time dependencies
python3-xmlrunner: add missing run-time dependencies
python3-editor: add missing run-time dependencies
python3-pykwalify: don't usePYTHON_PNand improve coding style
python3-pykwalify: add missing run-time dependencies
python3-iperf: add missing run-time dependencies
python3-sdnotify: add missing run-time dependencies
python3-service-identity: add missing run-time dependencies
python3-sqlsoup: add missing run-time dependencies
python3-sqlalchemy: don't usePYTHON_PNand improve coding style
python3-sqlalchemy: add missing run-time dependencies
python3-pure-eval: add missing run-time dependencies
python3-stack-data: fix coding style
python3-stack-data: add missing run-time dependencies
python3-sympy: add missing run-time dependencies
python3-thrift: don't usePYTHON_PNand improve coding style
python3-thrift: add missing run-time dependencies
python3-tomlkit: add missing run-time dependencies
python3-tornado: drop ${PN} from RDEPENDS
python3-tornado: fix coding style
python3-tornado: remove the testing submodule from FILES:${PN}-test
python3-tornado: add missing run-time dependencies
python3-trustme: add missing run-time dependencies
python3-twofish: add missing run-time dependencies
python3-txws: add missing run-time dependencies
python3-web3: add missing run-time dependencies
python3-uefi-firmware: add missing run-time dependencies
python3-websockets: fix coding style
python3-websockets: add missing run-time dependencies
python3-xlrd: fix coding style
python3-xlrd: add missing run-time dependencies
python3-versiontools: add missing run-time dependencies
python3-typeguard: add missing run-time dependencies
python3-process-tests: add missing run-time dependencies
python3-pyatspi: add missing run-time dependencies
python3-pydantic: don't usePYTHON_PNand improve coding style
python3-pydantic: add missing run-time dependencies
python3-python-vlc: add missing run-time dependencies
python3-redis: fix coding style
python3-redis: add missing run-time dependencies
python3-raven: add missing run-time dependencies
python3-pypng: new package
python3-qrcode: add missing run-time dependencies
python3-pyusb: fix run-time dependencies
python3-pytest-mock: add missing run-time dependencies
python3-pyroute2: fix coding style
python3-fcntl: add missing run-time dependencies python3-pyproject-metadata: add missing run-time dependencies
python3-pyproj: don't usePYTHON_PN
python3-pyproj: drop unnecessary run-time dependency
python3-pyproj: add missing run-time dependencies
python3-classes: new package
python3-pylyrics: add missing run-time dependencies
python3-pyjwt: stop usingPYTHON_PN
python3-pyjwt: add missing run-time dependencies
python3-javaobj-py3: add missing run-time dependencies
python3-pyjks: stop usingPYTHON_PN
python3-pyjks: fix run-time dependencies
python3-pyexpect: add missing run-time dependencies
python3-pynetlinux: fix relative imports
python3-pynetlinux: add missing run-time dependencies
python3-pickleshare: add missing run-time dependencies
python3-petact: add missing run-time dependencies
python3-pefile: add missing run-time dependencies
python3-jsonpath-rw: add missing run-time dependencies
python3-jsonrpcclient: add missing run-time dependencies
python3-jstyleson: add missing run-time dependencies
python3-kconfiglib: add missing run-time dependencies
python3-libevdev: add missing run-time dependencies
python3-linux-procfs: add missing run-time dependencies
python3-lockfile: add missing run-time dependencies
python3-msm: fix coding style
python3-lazy: new recipe
python3-msm: add missing run-time dependencies
python3-netaddr: stop usingPYTHON_PN
python3-netaddr: add missing run-time dependencies
python3-ninja-syntax: new package
python3-ninja: add missing run-time dependencies
python3-nmap: add missing run-time dependencies
python3-oslash: add missing run-time dependencies
python3-padaos: add missing run-time dependencies
python3-padatious: add missing run-time dependencies
python3-pako: add missing run-time dependencies
python3-paramiko: stop usingPYTHON_PN
python3-paramiko: add missing run-time dependencies
python3-path: fix coding style
python3-path: add missing run-time dependencies
python3-ecdsa: don't install tests
python3-et-xmlfile: fix coding style
python3-et-xmlfile: add missing run-time dependencies
python3-flask-user: fix coding style
python3-flask-user: add missing run-time dependencies
python3-isort: fix coding style
python3-isort: add missing run-time dependencies
python3-isodate: stop usingPYTHON_PN
python3-isodate: add missing run-time dependencies
python-idna-ssl: add missing run-time dependencies
python3-hpack: add missing run-time dependencies
python3-h11: add missing run-time dependencies
python3-gsocketpool: drop unneeded DEPENDS
python3-gsocketpool: stop usingPYTHON_PN
python3-gsocketpool: add missing run-time dependencies
python3-flask-mail: stop usingPYTHON_PN
python3-flask-mail: add missing run-time dependencies
python3-flask-sijax: stop usingPYTHON_PN
python3-flask-sijax: add missing run-time dependencies
python3-flask-script: remove recipe
python3-aioserial: fix coding style
python3-aioserial: add missing run-time dependencies
python3-aspectlib: add missing run-time dependencies
python3-asyncio-throttle: add missing run-time dependencies
python3-attrdict3: add missing run-time dependencies
python3-betamax: add missing run-time dependencies
python3-binwalk: add missing run-time dependencies
python3-can: fix coding style
python3-can: add missing run-time dependencies
python3-click-spinner: add missing run-time dependencies
python3-colorlog: add missing run-time dependencies
python3-colorzero: add missing run-time dependencies
python3-configobj: fix coding style
python3-configobj: add missing run-time dependencies
python3-configshell-fb: add missing run-time dependencies
python3-coverage: fix coding style and RDEPENDS
python3-custom-inherit: add missing run-time dependencies
python3-dateparser: fix coding style
python3-dateparser: add missing run-time dependencies
python3-tzlocal: fix coding style
python3-tzlocal: add missing run-time dependencies
python3-dbus-next: add missing run-time dependencies
python3-defusedxml: add missing run-time dependencies python3-setuptools-scm-git-archive: add missing run-time dependenciesmeta-oe/recipes-security/nmap/nmap_7.80.bb | 6 +- .../python3-gsocketpool_0.1.6.bb | 7 ++- .../python-hpack/python3-hpack_4.0.0.bb | 2 + .../python-thrift/python3-thrift_0.16.0.bb | 9 +-- .../python-txws/python3-txws_0.9.1.bb | 5 ++ .../packagegroups/packagegroup-meta-python.bb | 1 - .../python/python-flask-script.inc | 12 ---- .../python/python-flask-sijax.inc | 6 +- .../python/python-idna-ssl.inc | 5 ++ .../python/python3-aioserial_1.3.1.bb | 6 +- .../python/python3-aspectlib_2.0.0.bb | 5 +- .../python/python3-asyncio-throttle_1.0.2.bb | 2 + .../python/python3-betamax_0.8.1.bb | 6 +- .../python/python3-binwalk_2.3.3.bb | 8 ++- .../python/python3-can_4.2.1.bb | 28 +++++---- .../python/python3-classes_0.4.1.bb | 10 ++++ .../python/python3-click-spinner_0.1.10.bb | 2 + .../python/python3-colorlog_6.7.0.bb | 2 + .../python/python3-colorzero_2.0.bb | 5 +- .../python/python3-configobj_5.0.8.bb | 5 +- .../python/python3-configshell-fb_1.1.29.bb | 7 ++- .../python/python3-coverage_7.2.6.bb | 19 +++--- .../python/python3-custom-inherit_2.3.1.bb | 5 ++ .../python/python3-dateparser_1.1.8.bb | 11 ++-- .../python/python3-dbus-next_0.2.3.bb | 5 ++ .../python/python3-defusedxml_0.7.1.bb | 2 + .../python/python3-ecdsa_0.18.0.bb | 4 ++ .../python/python3-editor_1.0.4.bb | 5 ++ .../python/python3-et-xmlfile_1.1.0.bb | 8 ++- .../python/python3-flask-mail_0.9.1.bb | 5 +- .../python/python3-flask-script_2.0.6.bb | 2 - .../python/python3-flask-user_0.6.19.bb | 13 ++-- .../python/python3-h11_0.14.0.bb | 2 + .../python/python3-html2text_2020.1.16.bb | 2 + .../python/python3-iperf_0.1.11.bb | 6 ++ .../python/python3-isodate_0.6.1.bb | 3 +- .../python/python3-isort_5.12.0.bb | 16 ++--- .../python/python3-javaobj-py3_0.4.3.bb | 5 ++ .../python/python3-jsonpath-rw_1.4.0.bb | 7 ++- .../python/python3-jsonrpcclient_4.0.2.bb | 4 +- .../python/python3-jstyleson_0.0.2.bb | 2 + .../python/python3-kconfiglib_14.1.0.bb | 6 ++ .../python/python3-lazy_1.5.bb | 8 +++ .../python/python3-libevdev_0.11.bb | 5 ++ .../python/python3-linux-procfs_0.7.1.bb | 2 + .../python/python3-lockfile_0.12.2.bb | 5 +- .../python/python3-meld3_2.0.1.bb | 6 ++ .../python/python3-mock_5.0.2.bb | 15 +++-- .../python/python3-mpmath_1.3.0.bb | 5 +- .../python/python3-msm_0.8.8.bb | 14 ++++- .../python/python3-netaddr_0.8.0.bb | 5 +- .../python/python3-ninja-syntax_1.7.2.bb | 10 ++++ .../python/python3-ninja_1.11.1.bb | 7 ++- .../python/python3-oslash_0.6.3.bb | 5 +- .../python/python3-padaos_0.1.10.bb | 2 + .../python/python3-padatious_0.4.8.bb | 8 +++ .../python/python3-pako_0.3.1.bb | 7 +++ .../python/python3-paramiko_3.1.0.bb | 11 ++-- .../python/python3-parse_1.19.0.bb | 13 ++-- .../python/python3-path_16.6.0.bb | 12 ++-- .../python/python3-pefile_2023.2.7.bb | 6 ++ .../python/python3-petact_0.1.2.bb | 6 ++ .../python/python3-pickleshare_0.7.5.bb | 2 + .../python/python3-process-tests_2.1.2.bb | 6 ++ .../python/python3-pure-eval_0.2.2.bb | 5 ++ .../python/python3-pyatspi_2.46.0.bb | 2 + .../python/python3-pydantic_1.10.7.bb | 19 +++--- .../python/python3-pyexpect_1.0.22.bb | 2 + .../python/python3-pyiface_git.bb | 6 ++ .../python/python3-pyjks_20.0.0.bb | 12 ++-- .../python/python3-pyjwt_2.7.0.bb | 5 +- .../python/python3-pykwalify_1.8.0.bb | 7 ++- .../python/python3-pylyrics_1.1.0.bb | 8 ++- .../0002-Fixed-relative-imports.patch | 60 +++++++++++++++++++ .../python/python3-pynetlinux_1.1.bb | 11 +++- .../python/python3-pypng_0.20220715.0.bb | 8 +++ .../python/python3-pyproj_3.5.0.bb | 8 ++- .../python3-pyproject-metadata_0.7.1.bb | 6 ++ .../python/python3-pyrad_2.4.bb | 8 +++ .../python/python3-pyroute2_0.5.19.bb | 33 +++++----- .../python/python3-pytest-mock_3.10.0.bb | 6 ++ .../python/python3-python-vlc_3.0.18122.bb | 5 ++ .../python/python3-pyusb_1.2.1.bb | 2 +- .../python/python3-qrcode_7.4.2.bb | 7 ++- .../python/python3-raven_6.10.0.bb | 5 ++ .../python/python3-redis_4.5.5.bb | 12 ++-- .../python/python3-sdnotify_0.3.2.bb | 2 + .../python/python3-service-identity_21.1.0.bb | 6 ++ .../python3-setuptools-scm-git-archive_1.1.bb | 1 + .../python/python3-sqlalchemy_2.0.15.bb | 18 +++--- .../python/python3-sqlsoup_0.9.1.bb | 2 + .../python/python3-stack-data_0.6.2.bb | 8 ++- .../python/python3-sympy_1.12.bb | 5 +- .../python/python3-tomlkit_0.11.8.bb | 6 ++ .../python/python3-tornado_6.3.bb | 22 +++++-- .../python/python3-trustme_0.9.0.bb | 7 +++ .../python/python3-twofish_0.3.0.bb | 2 + .../python/python3-typeguard_4.0.0.bb | 5 ++ .../python/python3-tzlocal_5.0.1.bb | 7 ++- .../python/python3-uefi-firmware_1.10.bb | 5 ++ .../python/python3-uswid_git.bb | 6 ++ .../python/python3-versiontools_1.9.1.bb | 2 + .../python/python3-web3_6.3.0.bb | 2 + .../python/python3-websockets_11.0.3.bb | 5 +- .../python/python3-xlrd_2.0.1.bb | 10 +++- .../python/python3-xmlrunner_1.7.7.bb | 2 + .../python3-attrdict3_2.0.2.bb | 2 + .../python-cson/python3-cson_git.bb | 3 +- .../python3-pyparted_3.12.0.bb | 5 +- .../pywbem/python3-pywbem_1.6.1.bb | 38 ++++++------ .../send2trash/python3-send2trash_1.8.0.bb | 2 + .../python/python3-ldap_3.4.3.bb | 9 +-- 112 files changed, 649 insertions(+), 201 deletions(-)delete mode 100644 meta-python/recipes-devtools/python/python-flask-script.inc
create mode 100644 meta-python/recipes-devtools/python/python3-classes_0.4.1.bb
delete mode 100644 meta-python/recipes-devtools/python/python3-flask-script_2.0.6.bb create mode 100644 meta-python/recipes-devtools/python/python3-lazy_1.5.bb
create mode 100644 meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb create mode 100644meta-python/recipes-devtools/python/python3-pynetlinux/0002-Fixed-relative-imports.patchcreate mode 100644 meta-python/recipes-devtools/python/python3-pypng_0.20220715.0.bb-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102927): https://lists.openembedded.org/g/openembedded-devel/message/102927
Mute This Topic: https://lists.openembedded.org/mt/99237903/7304865
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 23 lines · ChenQi
Quoted 7 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
A significant number of python recipes don't specify all the run-time dependencies required to at least be able to import all the installed modules. This series is the result of a semi-automated run through all python recipes in meta-python, building minimal images and verifying that there are no import exceptions.
I checked a few changes. Why are some recipes adding 'python3-unittest' as a runtime dependency?
For example, python3-ldap does not seem to need it. I checked the codes,
https://github.com/cannatag/ldap3, all unittest references reside inside the test/ directory.If it's a semi-automated run, then when it fails, I think the failed import commands could be recorded and put in the commit message. This could be achieved by using a template commit file which is then substituted to generate the actual commit file and using '-F' option to commit.
Quoted 3 lines
Regards,
Qi
In this case it's not ldap itself but slapdtest which is also shipped and installed by the recipe. If someone ends up splitting it into its propert ptest package then we could remove this dependency but as it is now: it's impossible to import all shipped modules without unittest so adding it at least makes it more correct.
Bart