Skip to contentSkip to conversation

Some updates for pypi.bbclass changes

PATCH In review Scott Murray 2 participants 5 messages Oct 9 – Oct 14

lore
Share & tools
lore
#0 lore raw

cover Some updates for pypi.bbclass changes

Here are a couple of PYPI_PACKAGE_SDIST additions to work with the updated pypi.bbclass, they fix failures I was seeing with meta-security CI.

Changes:

Scott Murray (2):
python3-systemd: Add PYPI_PACKAGE_SDIST
python3-dateutil: Add PYPI_PACKAGE_SDIST

 meta-python/recipes-devtools/python/python3-dateutil_2.9.0.bb | 1 +
 meta-python/recipes-devtools/python/python3-systemd_235.bb    | 1 +
 2 files changed, 2 insertions(+)
Signature · 1 line
2.47.3
#1 lore raw

PATCH 1/2 python3-systemd: Add PYPI_PACKAGE_SDIST

Add PYPI_PACKAGE_SDIST definition to work with pypi.bbclass update.

---
 meta-python/recipes-devtools/python/python3-systemd_235.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-systemd_235.bb +1 -0
index 269e175cc5..08d538cbb9 100644
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c"
 
 
 PYPI_PACKAGE = "systemd-python"
+PYPI_PACKAGE_SDIST = "systemd-python"
 SRC_URI:append:libc-musl = " file://0001-Provide-implementation-of-strndupa-for-musl.patch"
 SRC_URI[sha256sum] = "4e57f39797fd5d9e2d22b8806a252d7c0106c936039d1e71c8c6b8008e695c0a"
 
Signature · 1 line
2.47.3
#2 lore raw

PATCH 2/2 python3-dateutil: Add PYPI_PACKAGE_SDIST

In reply to Scott Murray

Add PYPI_PACKAGE_SDIST definition to work with pypi.bbclass update.

---
 meta-python/recipes-devtools/python/python3-dateutil_2.9.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-dateutil_2.9.0.bb +1 -0
index dd3f55edf9..291fef5880 100644
@@ -8,6 +8,7 @@ SRC_URI += "file://0001-drop-the-six-dependency.patch"
 SRC_URI[sha256sum] = "78e73e19c63f5b20ffa567001531680d939dc042bf7850431877645523c66709"
 
 PYPI_PACKAGE = "python-dateutil"
+PYPI_PACKAGE_SDIST = "python-dateutil"
 inherit pypi python_setuptools_build_meta
 
 DEPENDS += "python3-wheel-native"
Signature · 1 line
2.47.3
#3 lore raw
In reply to Scott Murray

Ross has sent a comprehensive patch which I could not test and apply due to travel, its now in master, can you revalidate your usecase and see if these fixes are still needed ?

Quoted 29 lines · Scott Murray via lists.openembedded.org

Here are a couple of PYPI_PACKAGE_SDIST additions to work with the updated pypi.bbclass, they fix failures I was seeing with meta-security CI.

Changes:

Scott Murray (2):
python3-systemd: Add PYPI_PACKAGE_SDIST
python3-dateutil: Add PYPI_PACKAGE_SDIST

 meta-python/recipes-devtools/python/python3-dateutil_2.9.0.bb | 1 +
 meta-python/recipes-devtools/python/python3-systemd_235.bb    | 1 +
 2 files changed, 2 insertions(+)

--
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#130682):
https://lists.openembedded.org/g/openembedded-devel/message/130682
Mute This Topic: https://lists.openembedded.org/mt/121669340/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw
Quoted 3 lines · Khem Raj

Ross has sent a comprehensive patch which I could not test and apply due to travel, its now in master, can you revalidate your usecase and see if these fixes are still needed ?

You can drop these, things look fine now after Ross' patch.

Thanks,

Scott

Quoted 33 lines
Quoted 29 lines · Scott Murray via lists.openembedded.org

Here are a couple of PYPI_PACKAGE_SDIST additions to work with the updated pypi.bbclass, they fix failures I was seeing with meta-security CI.

Changes:

Scott Murray (2):
python3-systemd: Add PYPI_PACKAGE_SDIST
python3-dateutil: Add PYPI_PACKAGE_SDIST

 meta-python/recipes-devtools/python/python3-dateutil_2.9.0.bb | 1 +
 meta-python/recipes-devtools/python/python3-systemd_235.bb    | 1 +
 2 files changed, 2 insertions(+)

--
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#130682):
https://lists.openembedded.org/g/openembedded-devel/message/130682
Mute This Topic: https://lists.openembedded.org/mt/121669340/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-