diff options
author | Ricardo Wurmus <[email protected]> | 2024-12-29 17:23:06 +0100 |
---|---|---|
committer | Ricardo Wurmus <[email protected]> | 2025-01-20 21:37:28 +0100 |
commit | baca820ebc0d880b7879100770c9bfc72d1e075e (patch) | |
tree | b405f3b0e36247d9fec89a052a1011a0ccf5668a /gnu/packages/python-crypto.scm | |
parent | 10c6ef58ab5ee91ffbb84e7809edfbd3d7a6e4f4 (diff) |
gnu: python-cryptography: Update to 44.0.0.
* gnu/packages/python-crypto.scm (python-cryptography): Update to 44.0.0.
[arguments]<cargo-inputs>: Replace rust-asn1-0.16 with rust-asn1-0.20; replace
rust-pyo3-0.22 with rust-pyo3-0.23.
[source]: Remove obsolete part of snippet.
[native-inputs]: Remove python-iso8601 and python-pytest-subtests; add
python-cffi, python-click, python-mypy, python-pytest-cov,
python-pytest-randomly, and python-pytest-xdist.
Change-Id: I44dab9afec879d45d4612cb15e582ce1a62635ad
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r-- | gnu/packages/python-crypto.scm | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 2f683ea25b..2041c190f7 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -541,19 +541,16 @@ is used by the Requests library to verify HTTPS requests.") (define-public python-cryptography (package (name "python-cryptography") - (version "43.0.3") + (version "44.0.0") (source (origin (method url-fetch) (uri (pypi-uri "cryptography" version)) (sha256 (base32 - "01d8anh4crjvpa0s044rxkdi9cjnz4w15dj3yipjljba4q0r0nri")) + "00is2nzcl2pyhr90llga5mnbw3rvakn75rq10x1r6hhb6i7q6knd")) (snippet #~(begin (use-modules (guix build utils)) - ;; Help the configure phase. Remove this next release. - (with-output-to-file "Cargo.toml" - (lambda () (newline))) (for-each delete-file (find-files "." "Cargo\\.lock$")) (substitute* "pyproject.toml" @@ -567,7 +564,7 @@ is used by the Requests library to verify HTTPS requests.") ((guix build pyproject-build-system) #:prefix py:) (guix build utils)) #:cargo-inputs - (list rust-asn1-0.16 + (list rust-asn1-0.20 rust-cc-1 rust-cfg-if-1 rust-foreign-types-0.3 @@ -576,7 +573,7 @@ is used by the Requests library to verify HTTPS requests.") rust-openssl-0.10 rust-openssl-sys-0.9 rust-pem-3 - rust-pyo3-0.22 + rust-pyo3-0.23 rust-self-cell-1) #:install-source? #false #:phases @@ -585,7 +582,7 @@ is used by the Requests library to verify HTTPS requests.") (lambda* (#:key vendor-dir #:allow-other-keys) ;; Don't keep the whole tarball in the vendor directory (delete-file-recursively - (string-append vendor-dir "/cryptography-" #$version ".tar.zst")))) + (string-append vendor-dir "/cryptography-" #$version ".tar.zst")))) (replace 'build (assoc-ref py:%standard-phases 'build)) (delete 'check) @@ -598,12 +595,16 @@ is used by the Requests library to verify HTTPS requests.") (assoc-ref py:%standard-phases 'install))))) (native-inputs (list python-certifi + python-cffi + python-click python-cryptography-vectors - python-iso8601 + python-mypy python-pretend - python-pytest ;for subtests + python-pytest python-pytest-benchmark - python-pytest-subtests + python-pytest-cov + python-pytest-randomly + python-pytest-xdist python-setuptools python-wheel)) (inputs (list maturin openssl python-wrapper)) |