diff options
| author | Tim Orling <ticotimo@gmail.com> | 2022-01-15 21:29:04 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-01-18 08:59:58 -0800 |
| commit | 8589b69f9ff283ec3ae990466bed3b84702eb8e1 (patch) | |
| tree | 9fd5a6bfa76ae8c439b1b1afed94d770811d944b /meta-python/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch | |
| parent | 6fecc883380c4dcfbb642464061aa4c51a4626ee (diff) | |
| download | meta-openembedded-8589b69f9ff283ec3ae990466bed3b84702eb8e1.tar.gz | |
python3-cryptography: upgrade 3.3.2 -> 36.0.1
See https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3601---2021-12-14
for changes
* Add PSF-2.0 license and explicitly add checksums for the LICENSE files that
are packaged.
* RDEPENDS on python3-hypothesis (in oe-core) for ptest so we can drop the
patch for skipping.
* Drop backported patch for openssl3 support.
* inherit new setuptools_rust class (which inherits new pyo3 class, which
inherits cargo and python3-dir).
* RDEPENDS on python3-pytest-subtests for ptest
* Copy pyproject.toml for ptest as it defines the pytest.marker(s) needed
* Cleanup and alphabetize the RDEPENDS
* Use 'cargo bitbake' to generate the crate:// SRC_URIs
- Needed some hacks to the Cargo.toml in src/rust/ to make this work (probably
only package.repository was strictly required):
[package]
description = "cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions."
homepage = "https://github.com/pyca/cryptography"
repository = "https://github.com/pyca/cryptography"
* Add patches to src/rust/Cargo.toml to fix cargo errors including pem version
* Add check-memfree.py to ptest to check for sufficient free memory
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch b/meta-python/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch new file mode 100644 index 0000000000..d7ab757bb5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From ec8d3f3c61280c8140b34ed1479baef5e706f064 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Tim Orling <tim.orling@konsulko.com> | ||
| 3 | Date: Fri, 14 Jan 2022 22:02:25 -0800 | ||
| 4 | Subject: [PATCH] Cargo.toml: specify pem version | ||
| 5 | |||
| 6 | pem = "1.0" is not resolving, specify the current | ||
| 7 | pem = { version: "1.0.2"} | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | |||
| 11 | Signed-off-by: Tim Orling <tim.orling@konsulko.com> | ||
| 12 | --- | ||
| 13 | src/rust/Cargo.toml | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml | ||
| 17 | index 617167d0..174eaa80 100644 | ||
| 18 | --- a/src/rust/Cargo.toml | ||
| 19 | +++ b/src/rust/Cargo.toml | ||
| 20 | @@ -9,7 +9,7 @@ publish = false | ||
| 21 | lazy_static = "1" | ||
| 22 | pyo3 = { version = "0.15.1" } | ||
| 23 | asn1 = { version = "0.8.7", default-features = false, features = ["derive"] } | ||
| 24 | -pem = "1.0" | ||
| 25 | +pem = { version = "1.0.2" } | ||
| 26 | chrono = { version = "0.4", default-features = false, features = ["alloc", "clock"] } | ||
| 27 | ouroboros = "0.13" | ||
| 28 | |||
| 29 | -- | ||
| 30 | 2.30.2 | ||
| 31 | |||
