python3-cryptography: backport stray file install fix
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Team,
Kindly ignore the patch below. I noticed that it was sent with incorrect author details/sign-off. I will send a revised version with the correct author's name and Signed-off-by information. Regards,
Deepak
________________________________
From: [email protected] <[email protected]> on behalf of Deepak Rathore via lists.openembedded.org <[email protected]>
Sent: Wednesday, August 19, 2026 4:47 PM
To: [email protected] <[email protected]>
Subject: [OE-core][wrynose][PATCH] python3-cryptography: backport stray file install fix
From: Himanshu Jadon <[email protected]>
Maturin 1.12 changed the handling of include entries from pyproject.toml. With the current cryptography metadata, files like CHANGELOG.rst, CONTRIBUTING.rst, docs and tests can be installed under site-packages instead of being kept only in the source archive.
That can cause image install conflicts when packages such as python3-pyrad and python3-pyexpect are installed with python3-cryptography, because those packages also install top-level docs or tests directories under site-packages.
Backport the upstream cryptography fix which marks these entries as sdist-only. The files remain available from the source tree, so the existing ptest install path which copies tests from ${S} is not changed.
--- .../python/python3-cryptography.bb | 1 + ...lling-stray-files-into-site-packages.patch | 55 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-cryptography/0002-Fix-installing-stray-files-into-site-packages.patch
meta/recipes-devtools/python/python3-cryptography.bb +1 -0
@@ -14,6 +14,7 @@ require python3-cryptography-common.inc SRC_URI[sha256sum] = "abace499247268e3757271b2f1e244b36b06f8515cf27c4d49468fc9eb16e93d" SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \ + file://0002-Fix-installing-stray-files-into-site-packages.patch \ file://check-memfree.py \ file://run-ptest \ "
meta/recipes-devtools/python/python3-cryptography/0002-Fix-installing-stray-files-into-site-packages.patch new file +55 -0
55 lines not on this page · raw message
--
2.35.6