* [PATCH] python3-cryptography{-vectors}: upgrade 42.0.8 -> 43.0.0
@ 2024-08-13 3:16 tim.orling
2024-08-14 22:51 ` [OE-core] " Alexandre Belloni
0 siblings, 1 reply; 8+ messages in thread
From: tim.orling @ 2024-08-13 3:16 UTC (permalink / raw)
To: openembedded-core; +Cc: Tim Orling
From: Tim Orling <tim.orling@konsulko.com>
* PEP-517 has changed to maturin
https://github.com/pyca/cryptography/commit/5b23baae7e1a59ab16630e6f8eae13e2b8822ded
https://github.com/pyca/cryptography/compare/42.0.8...43.0.0
43.0.0 - 2024-07-20
* BACKWARDS INCOMPATIBLE: Support for OpenSSL less than 1.1.1e has been
removed. Users on older version of OpenSSL will need to upgrade.
* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.8.
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.3.1.
* Updated the minimum supported Rust version (MSRV) to 1.65.0, from 1.63.0.
* generate_private_key() now enforces a minimum RSA key size of 1024-bit.
Note that 1024-bit is still considered insecure, users should generally use
a key size of 2048-bits.
* serialize_certificates() now emits ASN.1 that more closely follows the
recommendations in RFC 2315.
* Added new Decrepit cryptography module which contains outdated and insecure
cryptographic primitives. CAST5, SEED, IDEA, and Blowfish, which were
deprecated in 37.0.0, have been added to this module. They will be removed
from the cipher module in 45.0.0.
* Moved TripleDES and ARC4 into Decrepit cryptography and deprecated them in
the cipher module. They will be removed from the cipher module in 48.0.0.
* Added support for deterministic ECDSA (RFC 6979)
* Added support for client certificate verification to the X.509 path
validation APIs in the form of ClientVerifier, VerifiedClient, and
PolicyBuilder build_client_verifier().
* Added Certificate public_key_algorithm_oid and Certificate Signing Request
public_key_algorithm_oid to determine the PublicKeyAlgorithmOID Object
Identifier of the public key found inside the certificate.
* Added invalidity_date_utc, a timezone-aware alternative to the naïve
datetime attribute invalidity_date.
* Added support for parsing empty DN string in from_rfc4514_string().
* Added the following properties that return timezone-aware datetime objects:
produced_at_utc(), revocation_time_utc(), this_update_utc(),
next_update_utc(), revocation_time_utc(), this_update_utc(),
next_update_utc(), These are timezone-aware variants of existing properties
that return naïve datetime objects.
* Added rsa_recover_private_exponent()
* Added reset_nonce() for altering the nonce of a cipher context without
initializing a new instance. See the docs for additional restrictions.
* NameAttribute now raises an exception when attempting to create a common
name whose length is shorter or longer than RFC 5280 permits.
* Added basic support for PKCS7 encryption (including SMIME) via
PKCS7EnvelopeBuilder.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
.../python/python3-cryptography-crates.inc | 130 +++++++-----------
...=> python3-cryptography-vectors_43.0.0.bb} | 2 +-
...toml-remove-benchmark-disable-option.patch | 8 +-
....0.8.bb => python3-cryptography_43.0.0.bb} | 4 +-
4 files changed, 57 insertions(+), 87 deletions(-)
rename meta/recipes-devtools/python/{python3-cryptography-vectors_42.0.8.bb => python3-cryptography-vectors_43.0.0.bb} (91%)
rename meta/recipes-devtools/python/{python3-cryptography_42.0.8.bb => python3-cryptography_43.0.0.bb} (91%)
diff --git a/meta/recipes-devtools/python/python3-cryptography-crates.inc b/meta/recipes-devtools/python/python3-cryptography-crates.inc
index dbeda05dc45..a0f606cb46e 100644
--- a/meta/recipes-devtools/python/python3-cryptography-crates.inc
+++ b/meta/recipes-devtools/python/python3-cryptography-crates.inc
@@ -2,101 +2,71 @@
# from src/rust/Cargo.lock
SRC_URI += " \
- crate://crates.io/asn1/0.15.5 \
- crate://crates.io/asn1_derive/0.15.5 \
- crate://crates.io/autocfg/1.1.0 \
- crate://crates.io/base64/0.21.7 \
- crate://crates.io/bitflags/1.3.2 \
- crate://crates.io/bitflags/2.4.2 \
- crate://crates.io/cc/1.0.83 \
+ crate://crates.io/asn1/0.16.2 \
+ crate://crates.io/asn1_derive/0.16.2 \
+ crate://crates.io/autocfg/1.3.0 \
+ crate://crates.io/base64/0.22.1 \
+ crate://crates.io/bitflags/2.6.0 \
+ crate://crates.io/cc/1.1.6 \
crate://crates.io/cfg-if/1.0.0 \
crate://crates.io/foreign-types/0.3.2 \
crate://crates.io/foreign-types-shared/0.1.1 \
- crate://crates.io/heck/0.4.1 \
- crate://crates.io/indoc/2.0.4 \
- crate://crates.io/libc/0.2.152 \
- crate://crates.io/lock_api/0.4.11 \
- crate://crates.io/memoffset/0.9.0 \
+ crate://crates.io/heck/0.5.0 \
+ crate://crates.io/indoc/2.0.5 \
+ crate://crates.io/libc/0.2.155 \
+ crate://crates.io/memoffset/0.9.1 \
crate://crates.io/once_cell/1.19.0 \
- crate://crates.io/openssl/0.10.64 \
+ crate://crates.io/openssl/0.10.65 \
crate://crates.io/openssl-macros/0.1.1 \
- crate://crates.io/openssl-sys/0.9.102 \
- crate://crates.io/parking_lot/0.12.1 \
- crate://crates.io/parking_lot_core/0.9.9 \
- crate://crates.io/pem/3.0.3 \
- crate://crates.io/pkg-config/0.3.29 \
- crate://crates.io/portable-atomic/1.6.0 \
- crate://crates.io/proc-macro2/1.0.78 \
- crate://crates.io/pyo3/0.20.3 \
- crate://crates.io/pyo3-build-config/0.20.3 \
- crate://crates.io/pyo3-ffi/0.20.3 \
- crate://crates.io/pyo3-macros/0.20.3 \
- crate://crates.io/pyo3-macros-backend/0.20.3 \
- crate://crates.io/quote/1.0.35 \
- crate://crates.io/redox_syscall/0.4.1 \
- crate://crates.io/scopeguard/1.2.0 \
- crate://crates.io/self_cell/1.0.3 \
- crate://crates.io/smallvec/1.13.1 \
- crate://crates.io/syn/2.0.48 \
- crate://crates.io/target-lexicon/0.12.13 \
+ crate://crates.io/openssl-sys/0.9.103 \
+ crate://crates.io/pem/3.0.4 \
+ crate://crates.io/pkg-config/0.3.30 \
+ crate://crates.io/portable-atomic/1.7.0 \
+ crate://crates.io/proc-macro2/1.0.86 \
+ crate://crates.io/pyo3/0.22.2 \
+ crate://crates.io/pyo3-build-config/0.22.2 \
+ crate://crates.io/pyo3-ffi/0.22.2 \
+ crate://crates.io/pyo3-macros/0.22.2 \
+ crate://crates.io/pyo3-macros-backend/0.22.2 \
+ crate://crates.io/quote/1.0.36 \
+ crate://crates.io/self_cell/1.0.4 \
+ crate://crates.io/syn/2.0.71 \
+ crate://crates.io/target-lexicon/0.12.15 \
crate://crates.io/unicode-ident/1.0.12 \
crate://crates.io/unindent/0.2.3 \
crate://crates.io/vcpkg/0.2.15 \
- crate://crates.io/windows-targets/0.48.5 \
- crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
- crate://crates.io/windows_aarch64_msvc/0.48.5 \
- crate://crates.io/windows_i686_gnu/0.48.5 \
- crate://crates.io/windows_i686_msvc/0.48.5 \
- crate://crates.io/windows_x86_64_gnu/0.48.5 \
- crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
- crate://crates.io/windows_x86_64_msvc/0.48.5 \
"
-SRC_URI[asn1-0.15.5.sha256sum] = "ae3ecbce89a22627b5e8e6e11d69715617138290289e385cde773b1fe50befdb"
-SRC_URI[asn1_derive-0.15.5.sha256sum] = "861af988fac460ac69a09f41e6217a8fb9178797b76fcc9478444be6a59be19c"
-SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
-SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
-SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
-SRC_URI[bitflags-2.4.2.sha256sum] = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
-SRC_URI[cc-1.0.83.sha256sum] = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
+SRC_URI[asn1-0.16.2.sha256sum] = "532ceda058281b62096b2add4ab00ab3a453d30dee28b8890f62461a0109ebbd"
+SRC_URI[asn1_derive-0.16.2.sha256sum] = "56e6076d38cc17cc22b0f65f31170a2ee1975e6b07f0012893aefd86ce19c987"
+SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
+SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
+SRC_URI[bitflags-2.6.0.sha256sum] = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
+SRC_URI[cc-1.1.6.sha256sum] = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f"
SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
-SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
-SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8"
-SRC_URI[libc-0.2.152.sha256sum] = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7"
-SRC_URI[lock_api-0.4.11.sha256sum] = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
-SRC_URI[memoffset-0.9.0.sha256sum] = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
+SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
+SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
+SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
+SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
-SRC_URI[openssl-0.10.64.sha256sum] = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f"
+SRC_URI[openssl-0.10.65.sha256sum] = "c2823eb4c6453ed64055057ea8bd416eda38c71018723869dd043a3b1186115e"
SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
-SRC_URI[openssl-sys-0.9.102.sha256sum] = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2"
-SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
-SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
-SRC_URI[pem-3.0.3.sha256sum] = "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310"
-SRC_URI[pkg-config-0.3.29.sha256sum] = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb"
-SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
-SRC_URI[proc-macro2-1.0.78.sha256sum] = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
-SRC_URI[pyo3-0.20.3.sha256sum] = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
-SRC_URI[pyo3-build-config-0.20.3.sha256sum] = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
-SRC_URI[pyo3-ffi-0.20.3.sha256sum] = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
-SRC_URI[pyo3-macros-0.20.3.sha256sum] = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
-SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
-SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
-SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
-SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
-SRC_URI[self_cell-1.0.3.sha256sum] = "58bf37232d3bb9a2c4e641ca2a11d83b5062066f88df7fed36c28772046d65ba"
-SRC_URI[smallvec-1.13.1.sha256sum] = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"
-SRC_URI[syn-2.0.48.sha256sum] = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f"
-SRC_URI[target-lexicon-0.12.13.sha256sum] = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae"
+SRC_URI[openssl-sys-0.9.103.sha256sum] = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"
+SRC_URI[pem-3.0.4.sha256sum] = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae"
+SRC_URI[pkg-config-0.3.30.sha256sum] = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
+SRC_URI[portable-atomic-1.7.0.sha256sum] = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265"
+SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
+SRC_URI[pyo3-0.22.2.sha256sum] = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433"
+SRC_URI[pyo3-build-config-0.22.2.sha256sum] = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8"
+SRC_URI[pyo3-ffi-0.22.2.sha256sum] = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6"
+SRC_URI[pyo3-macros-0.22.2.sha256sum] = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206"
+SRC_URI[pyo3-macros-backend-0.22.2.sha256sum] = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372"
+SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
+SRC_URI[self_cell-1.0.4.sha256sum] = "d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a"
+SRC_URI[syn-2.0.71.sha256sum] = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462"
+SRC_URI[target-lexicon-0.12.15.sha256sum] = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2"
SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
-SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
-SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
-SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
-SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
-SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
-SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
-SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
-SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
diff --git a/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.8.bb b/meta/recipes-devtools/python/python3-cryptography-vectors_43.0.0.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-cryptography-vectors_42.0.8.bb
rename to meta/recipes-devtools/python/python3-cryptography-vectors_43.0.0.bb
index 1256e75c474..1f766140748 100644
--- a/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.8.bb
+++ b/meta/recipes-devtools/python/python3-cryptography-vectors_43.0.0.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
# NOTE: Make sure to keep this recipe at the same version as python3-cryptography
# Upgrade both recipes at the same time
-SRC_URI[sha256sum] = "df5657367bc0a90c374309cb261009a2c53cae91a458781339a0f724f819a46a"
+SRC_URI[sha256sum] = "5c9d09a732d5433cede1542a96ecd70a80e122af047ee7404bcdf1f3ccb8e702"
PYPI_PACKAGE = "cryptography_vectors"
diff --git a/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch b/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
index 3eed171ffee..b0c5098961d 100644
--- a/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
+++ b/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
@@ -1,4 +1,4 @@
-From e4d7856fe842f3df7c614554d006d81253a5edf2 Mon Sep 17 00:00:00 2001
+From 82e71e7122d9131ffcd786a0bffeaf846967a37e Mon Sep 17 00:00:00 2001
From: Mingli Yu <mingli.yu@windriver.com>
Date: Tue, 17 May 2022 17:22:48 +0800
Subject: [PATCH] pyproject.toml: remove --benchmark-disable option
@@ -26,11 +26,11 @@ Signed-off-by: Tim Orling <tim.orling@konsulko.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
-index d2e304f..10aabcf 100644
+index 5f1bcc7..ba02540 100644
--- a/pyproject.toml
+++ b/pyproject.toml
-@@ -92,7 +92,7 @@ rust-version = ">=1.63.0"
-
+@@ -117,7 +117,7 @@ exclude = [
+ ]
[tool.pytest.ini_options]
-addopts = "-r s --capture=no --strict-markers --benchmark-disable"
diff --git a/meta/recipes-devtools/python/python3-cryptography_42.0.8.bb b/meta/recipes-devtools/python/python3-cryptography_43.0.0.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb
rename to meta/recipes-devtools/python/python3-cryptography_43.0.0.bb
index 3f70f910d4d..778471b4ff5 100644
--- a/meta/recipes-devtools/python/python3-cryptography_42.0.8.bb
+++ b/meta/recipes-devtools/python/python3-cryptography_43.0.0.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
"
LDSHARED += "-pthread"
-SRC_URI[sha256sum] = "8d09d05439ce7baa8e9e95b07ec5b6c886f548deb7e0f69ef25f64b3bce842f2"
+SRC_URI[sha256sum] = "b88075ada2d51aa9f18283532c9f60e72170041bba88d7f37e49cbb10275299e"
SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
file://check-memfree.py \
@@ -17,7 +17,7 @@ SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
require ${BPN}-crates.inc
-inherit pypi python_setuptools3_rust cargo-update-recipe-crates pkgconfig
+inherit pypi python_maturin cargo-update-recipe-crates pkgconfig
DEPENDS += " \
python3-cffi-native \
--
2.46.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [OE-core] [PATCH] python3-cryptography{-vectors}: upgrade 42.0.8 -> 43.0.0
2024-08-13 3:16 [PATCH] python3-cryptography{-vectors}: upgrade 42.0.8 -> 43.0.0 tim.orling
@ 2024-08-14 22:51 ` Alexandre Belloni
2024-08-14 23:39 ` Tim Orling
0 siblings, 1 reply; 8+ messages in thread
From: Alexandre Belloni @ 2024-08-14 22:51 UTC (permalink / raw)
To: Tim Orling; +Cc: openembedded-core
This causes reproducibility issues:
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240813-qgfyyhkg/packages/diff-html/
On 12/08/2024 20:16:28-0700, Tim Orling wrote:
> From: Tim Orling <tim.orling@konsulko.com>
>
> * PEP-517 has changed to maturin
> https://github.com/pyca/cryptography/commit/5b23baae7e1a59ab16630e6f8eae13e2b8822ded
>
> https://github.com/pyca/cryptography/compare/42.0.8...43.0.0
>
> 43.0.0 - 2024-07-20
> * BACKWARDS INCOMPATIBLE: Support for OpenSSL less than 1.1.1e has been
> removed. Users on older version of OpenSSL will need to upgrade.
> * BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.8.
> * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.3.1.
> * Updated the minimum supported Rust version (MSRV) to 1.65.0, from 1.63.0.
> * generate_private_key() now enforces a minimum RSA key size of 1024-bit.
> Note that 1024-bit is still considered insecure, users should generally use
> a key size of 2048-bits.
> * serialize_certificates() now emits ASN.1 that more closely follows the
> recommendations in RFC 2315.
> * Added new Decrepit cryptography module which contains outdated and insecure
> cryptographic primitives. CAST5, SEED, IDEA, and Blowfish, which were
> deprecated in 37.0.0, have been added to this module. They will be removed
> from the cipher module in 45.0.0.
> * Moved TripleDES and ARC4 into Decrepit cryptography and deprecated them in
> the cipher module. They will be removed from the cipher module in 48.0.0.
> * Added support for deterministic ECDSA (RFC 6979)
> * Added support for client certificate verification to the X.509 path
> validation APIs in the form of ClientVerifier, VerifiedClient, and
> PolicyBuilder build_client_verifier().
> * Added Certificate public_key_algorithm_oid and Certificate Signing Request
> public_key_algorithm_oid to determine the PublicKeyAlgorithmOID Object
> Identifier of the public key found inside the certificate.
> * Added invalidity_date_utc, a timezone-aware alternative to the naïve
> datetime attribute invalidity_date.
> * Added support for parsing empty DN string in from_rfc4514_string().
> * Added the following properties that return timezone-aware datetime objects:
> produced_at_utc(), revocation_time_utc(), this_update_utc(),
> next_update_utc(), revocation_time_utc(), this_update_utc(),
> next_update_utc(), These are timezone-aware variants of existing properties
> that return naïve datetime objects.
> * Added rsa_recover_private_exponent()
> * Added reset_nonce() for altering the nonce of a cipher context without
> initializing a new instance. See the docs for additional restrictions.
> * NameAttribute now raises an exception when attempting to create a common
> name whose length is shorter or longer than RFC 5280 permits.
> * Added basic support for PKCS7 encryption (including SMIME) via
> PKCS7EnvelopeBuilder.
>
> Signed-off-by: Tim Orling <tim.orling@konsulko.com>
> ---
> .../python/python3-cryptography-crates.inc | 130 +++++++-----------
> ...=> python3-cryptography-vectors_43.0.0.bb} | 2 +-
> ...toml-remove-benchmark-disable-option.patch | 8 +-
> ....0.8.bb => python3-cryptography_43.0.0.bb} | 4 +-
> 4 files changed, 57 insertions(+), 87 deletions(-)
> rename meta/recipes-devtools/python/{python3-cryptography-vectors_42.0.8.bb => python3-cryptography-vectors_43.0.0.bb} (91%)
> rename meta/recipes-devtools/python/{python3-cryptography_42.0.8.bb => python3-cryptography_43.0.0.bb} (91%)
>
> diff --git a/meta/recipes-devtools/python/python3-cryptography-crates.inc b/meta/recipes-devtools/python/python3-cryptography-crates.inc
> index dbeda05dc45..a0f606cb46e 100644
> --- a/meta/recipes-devtools/python/python3-cryptography-crates.inc
> +++ b/meta/recipes-devtools/python/python3-cryptography-crates.inc
> @@ -2,101 +2,71 @@
>
> # from src/rust/Cargo.lock
> SRC_URI += " \
> - crate://crates.io/asn1/0.15.5 \
> - crate://crates.io/asn1_derive/0.15.5 \
> - crate://crates.io/autocfg/1.1.0 \
> - crate://crates.io/base64/0.21.7 \
> - crate://crates.io/bitflags/1.3.2 \
> - crate://crates.io/bitflags/2.4.2 \
> - crate://crates.io/cc/1.0.83 \
> + crate://crates.io/asn1/0.16.2 \
> + crate://crates.io/asn1_derive/0.16.2 \
> + crate://crates.io/autocfg/1.3.0 \
> + crate://crates.io/base64/0.22.1 \
> + crate://crates.io/bitflags/2.6.0 \
> + crate://crates.io/cc/1.1.6 \
> crate://crates.io/cfg-if/1.0.0 \
> crate://crates.io/foreign-types/0.3.2 \
> crate://crates.io/foreign-types-shared/0.1.1 \
> - crate://crates.io/heck/0.4.1 \
> - crate://crates.io/indoc/2.0.4 \
> - crate://crates.io/libc/0.2.152 \
> - crate://crates.io/lock_api/0.4.11 \
> - crate://crates.io/memoffset/0.9.0 \
> + crate://crates.io/heck/0.5.0 \
> + crate://crates.io/indoc/2.0.5 \
> + crate://crates.io/libc/0.2.155 \
> + crate://crates.io/memoffset/0.9.1 \
> crate://crates.io/once_cell/1.19.0 \
> - crate://crates.io/openssl/0.10.64 \
> + crate://crates.io/openssl/0.10.65 \
> crate://crates.io/openssl-macros/0.1.1 \
> - crate://crates.io/openssl-sys/0.9.102 \
> - crate://crates.io/parking_lot/0.12.1 \
> - crate://crates.io/parking_lot_core/0.9.9 \
> - crate://crates.io/pem/3.0.3 \
> - crate://crates.io/pkg-config/0.3.29 \
> - crate://crates.io/portable-atomic/1.6.0 \
> - crate://crates.io/proc-macro2/1.0.78 \
> - crate://crates.io/pyo3/0.20.3 \
> - crate://crates.io/pyo3-build-config/0.20.3 \
> - crate://crates.io/pyo3-ffi/0.20.3 \
> - crate://crates.io/pyo3-macros/0.20.3 \
> - crate://crates.io/pyo3-macros-backend/0.20.3 \
> - crate://crates.io/quote/1.0.35 \
> - crate://crates.io/redox_syscall/0.4.1 \
> - crate://crates.io/scopeguard/1.2.0 \
> - crate://crates.io/self_cell/1.0.3 \
> - crate://crates.io/smallvec/1.13.1 \
> - crate://crates.io/syn/2.0.48 \
> - crate://crates.io/target-lexicon/0.12.13 \
> + crate://crates.io/openssl-sys/0.9.103 \
> + crate://crates.io/pem/3.0.4 \
> + crate://crates.io/pkg-config/0.3.30 \
> + crate://crates.io/portable-atomic/1.7.0 \
> + crate://crates.io/proc-macro2/1.0.86 \
> + crate://crates.io/pyo3/0.22.2 \
> + crate://crates.io/pyo3-build-config/0.22.2 \
> + crate://crates.io/pyo3-ffi/0.22.2 \
> + crate://crates.io/pyo3-macros/0.22.2 \
> + crate://crates.io/pyo3-macros-backend/0.22.2 \
> + crate://crates.io/quote/1.0.36 \
> + crate://crates.io/self_cell/1.0.4 \
> + crate://crates.io/syn/2.0.71 \
> + crate://crates.io/target-lexicon/0.12.15 \
> crate://crates.io/unicode-ident/1.0.12 \
> crate://crates.io/unindent/0.2.3 \
> crate://crates.io/vcpkg/0.2.15 \
> - crate://crates.io/windows-targets/0.48.5 \
> - crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
> - crate://crates.io/windows_aarch64_msvc/0.48.5 \
> - crate://crates.io/windows_i686_gnu/0.48.5 \
> - crate://crates.io/windows_i686_msvc/0.48.5 \
> - crate://crates.io/windows_x86_64_gnu/0.48.5 \
> - crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
> - crate://crates.io/windows_x86_64_msvc/0.48.5 \
> "
>
> -SRC_URI[asn1-0.15.5.sha256sum] = "ae3ecbce89a22627b5e8e6e11d69715617138290289e385cde773b1fe50befdb"
> -SRC_URI[asn1_derive-0.15.5.sha256sum] = "861af988fac460ac69a09f41e6217a8fb9178797b76fcc9478444be6a59be19c"
> -SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
> -SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
> -SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
> -SRC_URI[bitflags-2.4.2.sha256sum] = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
> -SRC_URI[cc-1.0.83.sha256sum] = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
> +SRC_URI[asn1-0.16.2.sha256sum] = "532ceda058281b62096b2add4ab00ab3a453d30dee28b8890f62461a0109ebbd"
> +SRC_URI[asn1_derive-0.16.2.sha256sum] = "56e6076d38cc17cc22b0f65f31170a2ee1975e6b07f0012893aefd86ce19c987"
> +SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
> +SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
> +SRC_URI[bitflags-2.6.0.sha256sum] = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
> +SRC_URI[cc-1.1.6.sha256sum] = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f"
> SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
> SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
> SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
> -SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
> -SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8"
> -SRC_URI[libc-0.2.152.sha256sum] = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7"
> -SRC_URI[lock_api-0.4.11.sha256sum] = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
> -SRC_URI[memoffset-0.9.0.sha256sum] = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
> +SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
> +SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
> +SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
> +SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
> SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
> -SRC_URI[openssl-0.10.64.sha256sum] = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f"
> +SRC_URI[openssl-0.10.65.sha256sum] = "c2823eb4c6453ed64055057ea8bd416eda38c71018723869dd043a3b1186115e"
> SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
> -SRC_URI[openssl-sys-0.9.102.sha256sum] = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2"
> -SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
> -SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
> -SRC_URI[pem-3.0.3.sha256sum] = "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310"
> -SRC_URI[pkg-config-0.3.29.sha256sum] = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb"
> -SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
> -SRC_URI[proc-macro2-1.0.78.sha256sum] = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
> -SRC_URI[pyo3-0.20.3.sha256sum] = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
> -SRC_URI[pyo3-build-config-0.20.3.sha256sum] = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
> -SRC_URI[pyo3-ffi-0.20.3.sha256sum] = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
> -SRC_URI[pyo3-macros-0.20.3.sha256sum] = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
> -SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
> -SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
> -SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
> -SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
> -SRC_URI[self_cell-1.0.3.sha256sum] = "58bf37232d3bb9a2c4e641ca2a11d83b5062066f88df7fed36c28772046d65ba"
> -SRC_URI[smallvec-1.13.1.sha256sum] = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"
> -SRC_URI[syn-2.0.48.sha256sum] = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f"
> -SRC_URI[target-lexicon-0.12.13.sha256sum] = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae"
> +SRC_URI[openssl-sys-0.9.103.sha256sum] = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"
> +SRC_URI[pem-3.0.4.sha256sum] = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae"
> +SRC_URI[pkg-config-0.3.30.sha256sum] = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
> +SRC_URI[portable-atomic-1.7.0.sha256sum] = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265"
> +SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
> +SRC_URI[pyo3-0.22.2.sha256sum] = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433"
> +SRC_URI[pyo3-build-config-0.22.2.sha256sum] = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8"
> +SRC_URI[pyo3-ffi-0.22.2.sha256sum] = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6"
> +SRC_URI[pyo3-macros-0.22.2.sha256sum] = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206"
> +SRC_URI[pyo3-macros-backend-0.22.2.sha256sum] = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372"
> +SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
> +SRC_URI[self_cell-1.0.4.sha256sum] = "d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a"
> +SRC_URI[syn-2.0.71.sha256sum] = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462"
> +SRC_URI[target-lexicon-0.12.15.sha256sum] = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2"
> SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
> SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
> SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
> -SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
> -SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
> -SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
> -SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
> -SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
> -SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
> -SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
> -SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
> diff --git a/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.8.bb b/meta/recipes-devtools/python/python3-cryptography-vectors_43.0.0.bb
> similarity index 91%
> rename from meta/recipes-devtools/python/python3-cryptography-vectors_42.0.8.bb
> rename to meta/recipes-devtools/python/python3-cryptography-vectors_43.0.0.bb
> index 1256e75c474..1f766140748 100644
> --- a/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.8.bb
> +++ b/meta/recipes-devtools/python/python3-cryptography-vectors_43.0.0.bb
> @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
> # NOTE: Make sure to keep this recipe at the same version as python3-cryptography
> # Upgrade both recipes at the same time
>
> -SRC_URI[sha256sum] = "df5657367bc0a90c374309cb261009a2c53cae91a458781339a0f724f819a46a"
> +SRC_URI[sha256sum] = "5c9d09a732d5433cede1542a96ecd70a80e122af047ee7404bcdf1f3ccb8e702"
>
> PYPI_PACKAGE = "cryptography_vectors"
>
> diff --git a/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch b/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
> index 3eed171ffee..b0c5098961d 100644
> --- a/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
> +++ b/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
> @@ -1,4 +1,4 @@
> -From e4d7856fe842f3df7c614554d006d81253a5edf2 Mon Sep 17 00:00:00 2001
> +From 82e71e7122d9131ffcd786a0bffeaf846967a37e Mon Sep 17 00:00:00 2001
> From: Mingli Yu <mingli.yu@windriver.com>
> Date: Tue, 17 May 2022 17:22:48 +0800
> Subject: [PATCH] pyproject.toml: remove --benchmark-disable option
> @@ -26,11 +26,11 @@ Signed-off-by: Tim Orling <tim.orling@konsulko.com>
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pyproject.toml b/pyproject.toml
> -index d2e304f..10aabcf 100644
> +index 5f1bcc7..ba02540 100644
> --- a/pyproject.toml
> +++ b/pyproject.toml
> -@@ -92,7 +92,7 @@ rust-version = ">=1.63.0"
> -
> +@@ -117,7 +117,7 @@ exclude = [
> + ]
>
> [tool.pytest.ini_options]
> -addopts = "-r s --capture=no --strict-markers --benchmark-disable"
> diff --git a/meta/recipes-devtools/python/python3-cryptography_42.0.8.bb b/meta/recipes-devtools/python/python3-cryptography_43.0.0.bb
> similarity index 91%
> rename from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb
> rename to meta/recipes-devtools/python/python3-cryptography_43.0.0.bb
> index 3f70f910d4d..778471b4ff5 100644
> --- a/meta/recipes-devtools/python/python3-cryptography_42.0.8.bb
> +++ b/meta/recipes-devtools/python/python3-cryptography_43.0.0.bb
> @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
> "
> LDSHARED += "-pthread"
>
> -SRC_URI[sha256sum] = "8d09d05439ce7baa8e9e95b07ec5b6c886f548deb7e0f69ef25f64b3bce842f2"
> +SRC_URI[sha256sum] = "b88075ada2d51aa9f18283532c9f60e72170041bba88d7f37e49cbb10275299e"
>
> SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
> file://check-memfree.py \
> @@ -17,7 +17,7 @@ SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
>
> require ${BPN}-crates.inc
>
> -inherit pypi python_setuptools3_rust cargo-update-recipe-crates pkgconfig
> +inherit pypi python_maturin cargo-update-recipe-crates pkgconfig
>
> DEPENDS += " \
> python3-cffi-native \
> --
> 2.46.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#203242): https://lists.openembedded.org/g/openembedded-core/message/203242
> Mute This Topic: https://lists.openembedded.org/mt/107870272/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [OE-core] [PATCH] python3-cryptography{-vectors}: upgrade 42.0.8 -> 43.0.0
2024-08-14 22:51 ` [OE-core] " Alexandre Belloni
@ 2024-08-14 23:39 ` Tim Orling
2024-08-15 8:08 ` Richard Purdie
0 siblings, 1 reply; 8+ messages in thread
From: Tim Orling @ 2024-08-14 23:39 UTC (permalink / raw)
To: Alexandre Belloni; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 21186 bytes --]
On Wed, Aug 14, 2024 at 3:51 PM Alexandre Belloni <
alexandre.belloni@bootlin.com> wrote:
> This causes reproducibility issues:
>
lol. This was supposed to fix reproducibility issues!
>
>
> https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240813-qgfyyhkg/packages/diff-html/
>
>
Those data.tar.xz differences look entirely different. I'm going to have to
dig over the next couple days and perhaps ask upstream, unless someone else
recognizes a pattern. Although I wonder if this is just "this rust package
was not populated in Repro A because the task was already in state and it
was populated in Repro B because it was built from scratch". If that is the
case, we have something elsewhere causing problems with state (rust, cargo,
python3-py03 or python3-maturin for instance).
>
> On 12/08/2024 20:16:28-0700, Tim Orling wrote:
> > From: Tim Orling <tim.orling@konsulko.com>
> >
> > * PEP-517 has changed to maturin
> >
> https://github.com/pyca/cryptography/commit/5b23baae7e1a59ab16630e6f8eae13e2b8822ded
> >
> > https://github.com/pyca/cryptography/compare/42.0.8...43.0.0
> >
> > 43.0.0 - 2024-07-20
> > * BACKWARDS INCOMPATIBLE: Support for OpenSSL less than 1.1.1e has been
> > removed. Users on older version of OpenSSL will need to upgrade.
> > * BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.8.
> > * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
> 3.3.1.
> > * Updated the minimum supported Rust version (MSRV) to 1.65.0, from
> 1.63.0.
> > * generate_private_key() now enforces a minimum RSA key size of 1024-bit.
> > Note that 1024-bit is still considered insecure, users should
> generally use
> > a key size of 2048-bits.
> > * serialize_certificates() now emits ASN.1 that more closely follows the
> > recommendations in RFC 2315.
> > * Added new Decrepit cryptography module which contains outdated and
> insecure
> > cryptographic primitives. CAST5, SEED, IDEA, and Blowfish, which were
> > deprecated in 37.0.0, have been added to this module. They will be
> removed
> > from the cipher module in 45.0.0.
> > * Moved TripleDES and ARC4 into Decrepit cryptography and deprecated
> them in
> > the cipher module. They will be removed from the cipher module in
> 48.0.0.
> > * Added support for deterministic ECDSA (RFC 6979)
> > * Added support for client certificate verification to the X.509 path
> > validation APIs in the form of ClientVerifier, VerifiedClient, and
> > PolicyBuilder build_client_verifier().
> > * Added Certificate public_key_algorithm_oid and Certificate Signing
> Request
> > public_key_algorithm_oid to determine the PublicKeyAlgorithmOID Object
> > Identifier of the public key found inside the certificate.
> > * Added invalidity_date_utc, a timezone-aware alternative to the naïve
> > datetime attribute invalidity_date.
> > * Added support for parsing empty DN string in from_rfc4514_string().
> > * Added the following properties that return timezone-aware datetime
> objects:
> > produced_at_utc(), revocation_time_utc(), this_update_utc(),
> > next_update_utc(), revocation_time_utc(), this_update_utc(),
> > next_update_utc(), These are timezone-aware variants of existing
> properties
> > that return naïve datetime objects.
> > * Added rsa_recover_private_exponent()
> > * Added reset_nonce() for altering the nonce of a cipher context without
> > initializing a new instance. See the docs for additional restrictions.
> > * NameAttribute now raises an exception when attempting to create a
> common
> > name whose length is shorter or longer than RFC 5280 permits.
> > * Added basic support for PKCS7 encryption (including SMIME) via
> > PKCS7EnvelopeBuilder.
> >
> > Signed-off-by: Tim Orling <tim.orling@konsulko.com>
> > ---
> > .../python/python3-cryptography-crates.inc | 130 +++++++-----------
> > ...=> python3-cryptography-vectors_43.0.0.bb} | 2 +-
> > ...toml-remove-benchmark-disable-option.patch | 8 +-
> > ....0.8.bb => python3-cryptography_43.0.0.bb} | 4 +-
> > 4 files changed, 57 insertions(+), 87 deletions(-)
> > rename meta/recipes-devtools/python/{
> python3-cryptography-vectors_42.0.8.bb =>
> python3-cryptography-vectors_43.0.0.bb} (91%)
> > rename meta/recipes-devtools/python/{python3-cryptography_42.0.8.bb =>
> python3-cryptography_43.0.0.bb} (91%)
> >
> > diff --git
> a/meta/recipes-devtools/python/python3-cryptography-crates.inc
> b/meta/recipes-devtools/python/python3-cryptography-crates.inc
> > index dbeda05dc45..a0f606cb46e 100644
> > --- a/meta/recipes-devtools/python/python3-cryptography-crates.inc
> > +++ b/meta/recipes-devtools/python/python3-cryptography-crates.inc
> > @@ -2,101 +2,71 @@
> >
> > # from src/rust/Cargo.lock
> > SRC_URI += " \
> > - crate://crates.io/asn1/0.15.5 \
> > - crate://crates.io/asn1_derive/0.15.5 \
> > - crate://crates.io/autocfg/1.1.0 \
> > - crate://crates.io/base64/0.21.7 \
> > - crate://crates.io/bitflags/1.3.2 \
> > - crate://crates.io/bitflags/2.4.2 \
> > - crate://crates.io/cc/1.0.83 \
> > + crate://crates.io/asn1/0.16.2 \
> > + crate://crates.io/asn1_derive/0.16.2 \
> > + crate://crates.io/autocfg/1.3.0 \
> > + crate://crates.io/base64/0.22.1 \
> > + crate://crates.io/bitflags/2.6.0 \
> > + crate://crates.io/cc/1.1.6 \
> > crate://crates.io/cfg-if/1.0.0 \
> > crate://crates.io/foreign-types/0.3.2 \
> > crate://crates.io/foreign-types-shared/0.1.1 \
> > - crate://crates.io/heck/0.4.1 \
> > - crate://crates.io/indoc/2.0.4 \
> > - crate://crates.io/libc/0.2.152 \
> > - crate://crates.io/lock_api/0.4.11 \
> > - crate://crates.io/memoffset/0.9.0 \
> > + crate://crates.io/heck/0.5.0 \
> > + crate://crates.io/indoc/2.0.5 \
> > + crate://crates.io/libc/0.2.155 \
> > + crate://crates.io/memoffset/0.9.1 \
> > crate://crates.io/once_cell/1.19.0 \
> > - crate://crates.io/openssl/0.10.64 \
> > + crate://crates.io/openssl/0.10.65 \
> > crate://crates.io/openssl-macros/0.1.1 \
> > - crate://crates.io/openssl-sys/0.9.102 \
> > - crate://crates.io/parking_lot/0.12.1 \
> > - crate://crates.io/parking_lot_core/0.9.9 \
> > - crate://crates.io/pem/3.0.3 \
> > - crate://crates.io/pkg-config/0.3.29 \
> > - crate://crates.io/portable-atomic/1.6.0 \
> > - crate://crates.io/proc-macro2/1.0.78 \
> > - crate://crates.io/pyo3/0.20.3 \
> > - crate://crates.io/pyo3-build-config/0.20.3 \
> > - crate://crates.io/pyo3-ffi/0.20.3 \
> > - crate://crates.io/pyo3-macros/0.20.3 \
> > - crate://crates.io/pyo3-macros-backend/0.20.3 \
> > - crate://crates.io/quote/1.0.35 \
> > - crate://crates.io/redox_syscall/0.4.1 \
> > - crate://crates.io/scopeguard/1.2.0 \
> > - crate://crates.io/self_cell/1.0.3 \
> > - crate://crates.io/smallvec/1.13.1 \
> > - crate://crates.io/syn/2.0.48 \
> > - crate://crates.io/target-lexicon/0.12.13 \
> > + crate://crates.io/openssl-sys/0.9.103 \
> > + crate://crates.io/pem/3.0.4 \
> > + crate://crates.io/pkg-config/0.3.30 \
> > + crate://crates.io/portable-atomic/1.7.0 \
> > + crate://crates.io/proc-macro2/1.0.86 \
> > + crate://crates.io/pyo3/0.22.2 \
> > + crate://crates.io/pyo3-build-config/0.22.2 \
> > + crate://crates.io/pyo3-ffi/0.22.2 \
> > + crate://crates.io/pyo3-macros/0.22.2 \
> > + crate://crates.io/pyo3-macros-backend/0.22.2 \
> > + crate://crates.io/quote/1.0.36 \
> > + crate://crates.io/self_cell/1.0.4 \
> > + crate://crates.io/syn/2.0.71 \
> > + crate://crates.io/target-lexicon/0.12.15 \
> > crate://crates.io/unicode-ident/1.0.12 \
> > crate://crates.io/unindent/0.2.3 \
> > crate://crates.io/vcpkg/0.2.15 \
> > - crate://crates.io/windows-targets/0.48.5 \
> > - crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
> > - crate://crates.io/windows_aarch64_msvc/0.48.5 \
> > - crate://crates.io/windows_i686_gnu/0.48.5 \
> > - crate://crates.io/windows_i686_msvc/0.48.5 \
> > - crate://crates.io/windows_x86_64_gnu/0.48.5 \
> > - crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
> > - crate://crates.io/windows_x86_64_msvc/0.48.5 \
> > "
> >
> > -SRC_URI[asn1-0.15.5.sha256sum] =
> "ae3ecbce89a22627b5e8e6e11d69715617138290289e385cde773b1fe50befdb"
> > -SRC_URI[asn1_derive-0.15.5.sha256sum] =
> "861af988fac460ac69a09f41e6217a8fb9178797b76fcc9478444be6a59be19c"
> > -SRC_URI[autocfg-1.1.0.sha256sum] =
> "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
> > -SRC_URI[base64-0.21.7.sha256sum] =
> "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
> > -SRC_URI[bitflags-1.3.2.sha256sum] =
> "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
> > -SRC_URI[bitflags-2.4.2.sha256sum] =
> "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
> > -SRC_URI[cc-1.0.83.sha256sum] =
> "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
> > +SRC_URI[asn1-0.16.2.sha256sum] =
> "532ceda058281b62096b2add4ab00ab3a453d30dee28b8890f62461a0109ebbd"
> > +SRC_URI[asn1_derive-0.16.2.sha256sum] =
> "56e6076d38cc17cc22b0f65f31170a2ee1975e6b07f0012893aefd86ce19c987"
> > +SRC_URI[autocfg-1.3.0.sha256sum] =
> "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
> > +SRC_URI[base64-0.22.1.sha256sum] =
> "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
> > +SRC_URI[bitflags-2.6.0.sha256sum] =
> "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
> > +SRC_URI[cc-1.1.6.sha256sum] =
> "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f"
> > SRC_URI[cfg-if-1.0.0.sha256sum] =
> "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
> > SRC_URI[foreign-types-0.3.2.sha256sum] =
> "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
> > SRC_URI[foreign-types-shared-0.1.1.sha256sum] =
> "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
> > -SRC_URI[heck-0.4.1.sha256sum] =
> "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
> > -SRC_URI[indoc-2.0.4.sha256sum] =
> "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8"
> > -SRC_URI[libc-0.2.152.sha256sum] =
> "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7"
> > -SRC_URI[lock_api-0.4.11.sha256sum] =
> "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
> > -SRC_URI[memoffset-0.9.0.sha256sum] =
> "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
> > +SRC_URI[heck-0.5.0.sha256sum] =
> "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
> > +SRC_URI[indoc-2.0.5.sha256sum] =
> "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
> > +SRC_URI[libc-0.2.155.sha256sum] =
> "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
> > +SRC_URI[memoffset-0.9.1.sha256sum] =
> "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
> > SRC_URI[once_cell-1.19.0.sha256sum] =
> "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
> > -SRC_URI[openssl-0.10.64.sha256sum] =
> "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f"
> > +SRC_URI[openssl-0.10.65.sha256sum] =
> "c2823eb4c6453ed64055057ea8bd416eda38c71018723869dd043a3b1186115e"
> > SRC_URI[openssl-macros-0.1.1.sha256sum] =
> "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
> > -SRC_URI[openssl-sys-0.9.102.sha256sum] =
> "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2"
> > -SRC_URI[parking_lot-0.12.1.sha256sum] =
> "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
> > -SRC_URI[parking_lot_core-0.9.9.sha256sum] =
> "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
> > -SRC_URI[pem-3.0.3.sha256sum] =
> "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310"
> > -SRC_URI[pkg-config-0.3.29.sha256sum] =
> "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb"
> > -SRC_URI[portable-atomic-1.6.0.sha256sum] =
> "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
> > -SRC_URI[proc-macro2-1.0.78.sha256sum] =
> "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
> > -SRC_URI[pyo3-0.20.3.sha256sum] =
> "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
> > -SRC_URI[pyo3-build-config-0.20.3.sha256sum] =
> "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
> > -SRC_URI[pyo3-ffi-0.20.3.sha256sum] =
> "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
> > -SRC_URI[pyo3-macros-0.20.3.sha256sum] =
> "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
> > -SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] =
> "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
> > -SRC_URI[quote-1.0.35.sha256sum] =
> "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
> > -SRC_URI[redox_syscall-0.4.1.sha256sum] =
> "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
> > -SRC_URI[scopeguard-1.2.0.sha256sum] =
> "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
> > -SRC_URI[self_cell-1.0.3.sha256sum] =
> "58bf37232d3bb9a2c4e641ca2a11d83b5062066f88df7fed36c28772046d65ba"
> > -SRC_URI[smallvec-1.13.1.sha256sum] =
> "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"
> > -SRC_URI[syn-2.0.48.sha256sum] =
> "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f"
> > -SRC_URI[target-lexicon-0.12.13.sha256sum] =
> "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae"
> > +SRC_URI[openssl-sys-0.9.103.sha256sum] =
> "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"
> > +SRC_URI[pem-3.0.4.sha256sum] =
> "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae"
> > +SRC_URI[pkg-config-0.3.30.sha256sum] =
> "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
> > +SRC_URI[portable-atomic-1.7.0.sha256sum] =
> "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265"
> > +SRC_URI[proc-macro2-1.0.86.sha256sum] =
> "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
> > +SRC_URI[pyo3-0.22.2.sha256sum] =
> "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433"
> > +SRC_URI[pyo3-build-config-0.22.2.sha256sum] =
> "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8"
> > +SRC_URI[pyo3-ffi-0.22.2.sha256sum] =
> "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6"
> > +SRC_URI[pyo3-macros-0.22.2.sha256sum] =
> "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206"
> > +SRC_URI[pyo3-macros-backend-0.22.2.sha256sum] =
> "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372"
> > +SRC_URI[quote-1.0.36.sha256sum] =
> "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
> > +SRC_URI[self_cell-1.0.4.sha256sum] =
> "d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a"
> > +SRC_URI[syn-2.0.71.sha256sum] =
> "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462"
> > +SRC_URI[target-lexicon-0.12.15.sha256sum] =
> "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2"
> > SRC_URI[unicode-ident-1.0.12.sha256sum] =
> "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
> > SRC_URI[unindent-0.2.3.sha256sum] =
> "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
> > SRC_URI[vcpkg-0.2.15.sha256sum] =
> "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
> > -SRC_URI[windows-targets-0.48.5.sha256sum] =
> "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
> > -SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] =
> "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
> > -SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] =
> "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
> > -SRC_URI[windows_i686_gnu-0.48.5.sha256sum] =
> "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
> > -SRC_URI[windows_i686_msvc-0.48.5.sha256sum] =
> "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
> > -SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] =
> "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
> > -SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] =
> "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
> > -SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] =
> "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
> > diff --git a/meta/recipes-devtools/python/
> python3-cryptography-vectors_42.0.8.bb b/meta/recipes-devtools/python/
> python3-cryptography-vectors_43.0.0.bb
> > similarity index 91%
> > rename from meta/recipes-devtools/python/
> python3-cryptography-vectors_42.0.8.bb
> > rename to meta/recipes-devtools/python/
> python3-cryptography-vectors_43.0.0.bb
> > index 1256e75c474..1f766140748 100644
> > --- a/meta/recipes-devtools/python/
> python3-cryptography-vectors_42.0.8.bb
> > +++ b/meta/recipes-devtools/python/
> python3-cryptography-vectors_43.0.0.bb
> > @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM =
> "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
> > # NOTE: Make sure to keep this recipe at the same version as
> python3-cryptography
> > # Upgrade both recipes at the same time
> >
> > -SRC_URI[sha256sum] =
> "df5657367bc0a90c374309cb261009a2c53cae91a458781339a0f724f819a46a"
> > +SRC_URI[sha256sum] =
> "5c9d09a732d5433cede1542a96ecd70a80e122af047ee7404bcdf1f3ccb8e702"
> >
> > PYPI_PACKAGE = "cryptography_vectors"
> >
> > diff --git
> a/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
> b/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
> > index 3eed171ffee..b0c5098961d 100644
> > ---
> a/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
> > +++
> b/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
> > @@ -1,4 +1,4 @@
> > -From e4d7856fe842f3df7c614554d006d81253a5edf2 Mon Sep 17 00:00:00 2001
> > +From 82e71e7122d9131ffcd786a0bffeaf846967a37e Mon Sep 17 00:00:00 2001
> > From: Mingli Yu <mingli.yu@windriver.com>
> > Date: Tue, 17 May 2022 17:22:48 +0800
> > Subject: [PATCH] pyproject.toml: remove --benchmark-disable option
> > @@ -26,11 +26,11 @@ Signed-off-by: Tim Orling <tim.orling@konsulko.com>
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/pyproject.toml b/pyproject.toml
> > -index d2e304f..10aabcf 100644
> > +index 5f1bcc7..ba02540 100644
> > --- a/pyproject.toml
> > +++ b/pyproject.toml
> > -@@ -92,7 +92,7 @@ rust-version = ">=1.63.0"
> > -
> > +@@ -117,7 +117,7 @@ exclude = [
> > + ]
> >
> > [tool.pytest.ini_options]
> > -addopts = "-r s --capture=no --strict-markers --benchmark-disable"
> > diff --git a/meta/recipes-devtools/python/python3-cryptography_42.0.8.bb
> b/meta/recipes-devtools/python/python3-cryptography_43.0.0.bb
> > similarity index 91%
> > rename from meta/recipes-devtools/python/python3-cryptography_42.0.8.bb
> > rename to meta/recipes-devtools/python/python3-cryptography_43.0.0.bb
> > index 3f70f910d4d..778471b4ff5 100644
> > --- a/meta/recipes-devtools/python/python3-cryptography_42.0.8.bb
> > +++ b/meta/recipes-devtools/python/python3-cryptography_43.0.0.bb
> > @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM =
> "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
> > "
> > LDSHARED += "-pthread"
> >
> > -SRC_URI[sha256sum] =
> "8d09d05439ce7baa8e9e95b07ec5b6c886f548deb7e0f69ef25f64b3bce842f2"
> > +SRC_URI[sha256sum] =
> "b88075ada2d51aa9f18283532c9f60e72170041bba88d7f37e49cbb10275299e"
> >
> > SRC_URI +=
> "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
> > file://check-memfree.py \
> > @@ -17,7 +17,7 @@ SRC_URI +=
> "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
> >
> > require ${BPN}-crates.inc
> >
> > -inherit pypi python_setuptools3_rust cargo-update-recipe-crates
> pkgconfig
> > +inherit pypi python_maturin cargo-update-recipe-crates pkgconfig
> >
> > DEPENDS += " \
> > python3-cffi-native \
> > --
> > 2.46.0
> >
>
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#203242):
> https://lists.openembedded.org/g/openembedded-core/message/203242
> > Mute This Topic: https://lists.openembedded.org/mt/107870272/3617179
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> alexandre.belloni@bootlin.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
[-- Attachment #2: Type: text/html, Size: 32968 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [OE-core] [PATCH] python3-cryptography{-vectors}: upgrade 42.0.8 -> 43.0.0
2024-08-14 23:39 ` Tim Orling
@ 2024-08-15 8:08 ` Richard Purdie
2024-09-25 12:00 ` Alexander Kanavin
[not found] ` <17F87AF6EAFDA641.14701@lists.openembedded.org>
0 siblings, 2 replies; 8+ messages in thread
From: Richard Purdie @ 2024-08-15 8:08 UTC (permalink / raw)
To: tim.orling, Alexandre Belloni; +Cc: openembedded-core
On Wed, 2024-08-14 at 16:39 -0700, Tim Orling via
lists.openembedded.org wrote:
>
>
> On Wed, Aug 14, 2024 at 3:51 PM Alexandre Belloni
> <alexandre.belloni@bootlin.com> wrote:
> > This causes reproducibility issues:
> >
>
>
> lol. This was supposed to fix reproducibility issues!
>
> >
> > https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240813-qgfyyhkg/packages/diff-html/
> >
> >
>
>
> Those data.tar.xz differences look entirely different. I'm going to
> have to dig over the next couple days and perhaps ask upstream,
> unless someone else recognizes a pattern. Although I wonder if this
> is just "this rust package was not populated in Repro A because the
> task was already in state and it was populated in Repro B because it
> was built from scratch". If that is the case, we have something
> elsewhere causing problems with state (rust, cargo, python3-py03 or
> python3-maturin for instance).
>
They don't look that different. The RECORD file changed and the lines
look to have changed ordering as I think the same lines are there,
e.g.:
cryptography/hazmat/primitives/hashes.py,sha256=EvDIJBhj83Z7f-
oHbsA0TzZLFSDV_Yv8hQRdM4o8FD0,5091
and
cryptography/hazmat/primitives/hashes.py,sha256=EvDIJBhj83Z7f-
oHbsA0TzZLFSDV_Yv8hQRdM4o8FD0,5091
but different ordering.
So the question is what is writing that file and is it doing it based
on something like "ls" output which just lists the order on disk? If
that is true you can thrown a sort in somewhere...
Cheers,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [OE-core] [PATCH] python3-cryptography{-vectors}: upgrade 42.0.8 -> 43.0.0
2024-08-15 8:08 ` Richard Purdie
@ 2024-09-25 12:00 ` Alexander Kanavin
[not found] ` <17F87AF6EAFDA641.14701@lists.openembedded.org>
1 sibling, 0 replies; 8+ messages in thread
From: Alexander Kanavin @ 2024-09-25 12:00 UTC (permalink / raw)
To: richard.purdie; +Cc: tim.orling, Alexandre Belloni, openembedded-core
On Thu, 15 Aug 2024 at 10:08, Richard Purdie via
lists.openembedded.org
<richard.purdie=linuxfoundation.org@lists.openembedded.org> wrote:
> They don't look that different. The RECORD file changed and the lines
> look to have changed ordering as I think the same lines are there,
> e.g.:
>
> cryptography/hazmat/primitives/hashes.py,sha256=EvDIJBhj83Z7f-
> oHbsA0TzZLFSDV_Yv8hQRdM4o8FD0,5091
>
> and
>
> cryptography/hazmat/primitives/hashes.py,sha256=EvDIJBhj83Z7f-
> oHbsA0TzZLFSDV_Yv8hQRdM4o8FD0,5091
>
> but different ordering.
>
> So the question is what is writing that file and is it doing it based
> on something like "ls" output which just lists the order on disk? If
> that is true you can thrown a sort in somewhere...
Note that neither is sorted. I just built this with the in-progress
python 3.13 update, and with that the entries do seem to be sorted, so
it seems the problem will disappear with that update.
Alex
^ permalink raw reply [flat|nested] 8+ messages in thread[parent not found: <17F87AF6EAFDA641.14701@lists.openembedded.org>]
* Re: [OE-core] [PATCH] python3-cryptography{-vectors}: upgrade 42.0.8 -> 43.0.0
[not found] ` <17F87AF6EAFDA641.14701@lists.openembedded.org>
@ 2024-09-26 9:58 ` Alexander Kanavin
[not found] ` <17F8C2E18D10AF69.31778@lists.openembedded.org>
1 sibling, 0 replies; 8+ messages in thread
From: Alexander Kanavin @ 2024-09-26 9:58 UTC (permalink / raw)
To: alex.kanavin
Cc: richard.purdie, tim.orling, Alexandre Belloni, openembedded-core
On Wed, 25 Sept 2024 at 14:01, Alexander Kanavin via
lists.openembedded.org <alex.kanavin=gmail.com@lists.openembedded.org>
wrote:
> > So the question is what is writing that file and is it doing it based
> > on something like "ls" output which just lists the order on disk? If
> > that is true you can thrown a sort in somewhere...
>
> Note that neither is sorted. I just built this with the in-progress
> python 3.13 update, and with that the entries do seem to be sorted, so
> it seems the problem will disappear with that update.
Sadly this was a premature celebration. This was the case in my local
build, but on the autobuilder (test python 3.13 build) it again fails
in the same non-sorted way:
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240925-w8kid2em/packages/diff-html/
Alex
^ permalink raw reply [flat|nested] 8+ messages in thread[parent not found: <17F8C2E18D10AF69.31778@lists.openembedded.org>]
* Re: [OE-core] [PATCH] python3-cryptography{-vectors}: upgrade 42.0.8 -> 43.0.0
[not found] ` <17F8C2E18D10AF69.31778@lists.openembedded.org>
@ 2024-10-08 16:47 ` Alexander Kanavin
2024-10-08 21:04 ` Richard Purdie
0 siblings, 1 reply; 8+ messages in thread
From: Alexander Kanavin @ 2024-10-08 16:47 UTC (permalink / raw)
To: openembedded-core; +Cc: richard.purdie, tim.orling, Alexandre Belloni
On Thu, 26 Sept 2024 at 11:58, Alexander Kanavin via
lists.openembedded.org <alex.kanavin=gmail.com@lists.openembedded.org>
wrote:
> > > So the question is what is writing that file and is it doing it based
> > > on something like "ls" output which just lists the order on disk? If
> > > that is true you can thrown a sort in somewhere...
> >
> > Note that neither is sorted. I just built this with the in-progress
> > python 3.13 update, and with that the entries do seem to be sorted, so
> > it seems the problem will disappear with that update.
>
> Sadly this was a premature celebration. This was the case in my local
> build, but on the autobuilder (test python 3.13 build) it again fails
> in the same non-sorted way:
> https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240925-w8kid2em/packages/diff-html/
I have a fix for this now:
https://git.yoctoproject.org/poky-contrib/tree/meta/recipes-devtools/python/python3-installer/0001-src-installer-utils.py-sort-entries-before-writing-o.patch?h=akanavin/package-version-updates
Python 3.13 upgrade is still in progress, I need to go over these fails:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/7361
Alex
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [OE-core] [PATCH] python3-cryptography{-vectors}: upgrade 42.0.8 -> 43.0.0
2024-10-08 16:47 ` Alexander Kanavin
@ 2024-10-08 21:04 ` Richard Purdie
0 siblings, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2024-10-08 21:04 UTC (permalink / raw)
To: Alexander Kanavin, openembedded-core; +Cc: tim.orling, Alexandre Belloni
On Tue, 2024-10-08 at 18:47 +0200, Alexander Kanavin wrote:
> On Thu, 26 Sept 2024 at 11:58, Alexander Kanavin via
> lists.openembedded.org <alex.kanavin=gmail.com@lists.openembedded.org>
> wrote:
> > > > So the question is what is writing that file and is it doing it based
> > > > on something like "ls" output which just lists the order on disk? If
> > > > that is true you can thrown a sort in somewhere...
> > >
> > > Note that neither is sorted. I just built this with the in-progress
> > > python 3.13 update, and with that the entries do seem to be sorted, so
> > > it seems the problem will disappear with that update.
> >
> > Sadly this was a premature celebration. This was the case in my local
> > build, but on the autobuilder (test python 3.13 build) it again fails
> > in the same non-sorted way:
> > https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240925-w8kid2em/packages/diff-html/
>
> I have a fix for this now:
> https://git.yoctoproject.org/poky-contrib/tree/meta/recipes-devtools/python/python3-installer/0001-src-installer-utils.py-sort-entries-before-writing-o.patch?h=akanavin/package-version-updates
>
> Python 3.13 upgrade is still in progress, I need to go over these fails:
> https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/7361
I have patches queued for bitbake to address some of the python 3.13
issues in our own codebase. Python 3.13 also has issues working with
pseudo which have just been fixed. Those would affect python3-native
functionality.
Cheers,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-10-08 21:04 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-13 3:16 [PATCH] python3-cryptography{-vectors}: upgrade 42.0.8 -> 43.0.0 tim.orling
2024-08-14 22:51 ` [OE-core] " Alexandre Belloni
2024-08-14 23:39 ` Tim Orling
2024-08-15 8:08 ` Richard Purdie
2024-09-25 12:00 ` Alexander Kanavin
[not found] ` <17F87AF6EAFDA641.14701@lists.openembedded.org>
2024-09-26 9:58 ` Alexander Kanavin
[not found] ` <17F8C2E18D10AF69.31778@lists.openembedded.org>
2024-10-08 16:47 ` Alexander Kanavin
2024-10-08 21:04 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.