[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
61/61: gnu: python-cryptography: Update to 42.0.5.
From: |
guix-commits |
Subject: |
61/61: gnu: python-cryptography: Update to 42.0.5. |
Date: |
Thu, 28 Mar 2024 12:01:14 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit ab76434ee6fec6df231d01812e069f1073a30dd3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 28 17:42:18 2024 +0200
gnu: python-cryptography: Update to 42.0.5.
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Update
to 42.0.5.
[native-inputs]: Add python-flit-core.
(python-cryptography): Update to 42.0.5.
[arguments]: Adjust 'disable-rust-extension-build phase.
[native-inputs]: Add python-certifi. Remove python-hypothesis,
python-subtests.
(python-cryptography-rust)[cargo-inputs]: Add rust-cfg-if-1,
rust-self-cell-1. Replace rust-pem-1 with 3, rust-pyo3-0.18 with 0.20.
Remove rust-ouroboros-0.15.
Change-Id: I1d17ee8ca60eaa65a86b2f6f8054391dda4201c8
---
gnu/packages/python-crypto.scm | 29 +++++++++++++++--------------
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index ff6b3a3e1a..28ee2e6866 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
-;;; Copyright © 2015-2021, 2023 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015-2021, 2023, 2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2017, 2020, 2022, 2023 Marius Bakke <marius@gnu.org>
;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au>
@@ -487,16 +487,18 @@ is used by the Requests library to verify HTTPS
requests.")
(define-public python-cryptography-vectors
(package
(name "python-cryptography-vectors")
- (version "41.0.4")
+ (version "42.0.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cryptography_vectors" version))
(sha256
(base32
- "17m1azxfc3w0390jp9mkx1v0k3xfv4v1lrgch4hvbbm77s0z42j4"))))
+ "1lcflcvv0xjz5cyvf33iav1vd91qzjvl4w7h4qaxlcnbn3ixap2h"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f)) ; No tests included.
+ (native-inputs
+ (list python-flit-core))
(home-page "https://github.com/pyca/cryptography")
(synopsis "Test vectors for the cryptography package")
(description
@@ -507,14 +509,14 @@ is used by the Requests library to verify HTTPS
requests.")
(define-public python-cryptography
(package
(name "python-cryptography")
- (version "41.0.4")
+ (version "42.0.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cryptography" version))
(sha256
(base32
- "06pm952pr6f31pzwh5fb68zryqyss0hg9cbggxm15z15844w7svz"))))
+ "1qdz0yk5smi0dnywbxmanccwizilmnzgbbihjpmpgm6zjpn7xq3g"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -525,8 +527,7 @@ is used by the Requests library to verify HTTPS requests.")
;; 'python-cryptography-rust', so there's no need
;; to build it here.
(substitute* "pyproject.toml"
- ((".*setuptools-rust.*") ""))
- (delete-file "setup.py")))
+ (("\\s+\\\"setuptools-rust.*") ""))))
(add-before 'check 'symlink-rust-library
(lambda* (#:key inputs outputs #:allow-other-keys)
(symlink (search-input-file
@@ -536,13 +537,12 @@ is used by the Requests library to verify HTTPS
requests.")
"_rust.abi3.so")))))))
(native-inputs
- (list python-cryptography-vectors
- python-hypothesis
+ (list python-certifi
+ python-cryptography-vectors
python-iso8601
python-pretend
python-pytest ;for subtests
- python-pytest-benchmark
- python-pytest-subtests))
+ python-pytest-benchmark))
(inputs (list python-cryptography-rust))
(propagated-inputs (list python-cffi))
(home-page "https://github.com/pyca/cryptography")
@@ -596,14 +596,15 @@ ciphers, message digests and key derivation functions.")
#:cargo-inputs
`(("rust-asn1" ,rust-asn1-0.15)
("rust-cc" ,rust-cc-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
("rust-foreign-types" ,rust-foreign-types-0.3)
("rust-foreign-types-shared" ,rust-foreign-types-shared-0.1)
("rust-once-cell" ,rust-once-cell-1)
("rust-openssl" ,rust-openssl-0.10)
("rust-openssl-sys" ,rust-openssl-sys-0.9)
- ("rust-ouroboros" ,rust-ouroboros-0.15)
- ("rust-pem" ,rust-pem-1)
- ("rust-pyo3" ,rust-pyo3-0.18))))
+ ("rust-pem" ,rust-pem-3)
+ ("rust-pyo3" ,rust-pyo3-0.20)
+ ("rust-self-cell" ,rust-self-cell-1))))
(native-inputs (list pkg-config python python-cffi))
;; XXX: Adding rust-openssl-sys-0.9 is needed because #:cargo-inputs
;; doesn't honor propagated-inputs.
- 45/61: gnu: Add rust-normalize-path-0.2., (continued)
- 45/61: gnu: Add rust-normalize-path-0.2., guix-commits, 2024/03/28
- 47/61: gnu: Add rust-is-docker-0.2., guix-commits, 2024/03/28
- 40/61: gnu: rust-tectonic-io-base-0.4: Update to 0.4.3., guix-commits, 2024/03/28
- 07/61: gnu: Add xremap-hyprland., guix-commits, 2024/03/28
- 19/61: gnu: rust-windows-x86-64-gnullvm-0.48: Update to 0.48.5., guix-commits, 2024/03/28
- 46/61: gnu: Add rust-is-wsl-0.4., guix-commits, 2024/03/28
- 58/61: gnu: stgit-2: Allow building with newer dependencies., guix-commits, 2024/03/28
- 32/61: gnu: rust-clearscreen-1: Update to 1.0.11., guix-commits, 2024/03/28
- 53/61: gnu: Add rust-watchexec-events-1., guix-commits, 2024/03/28
- 54/61: gnu: Add rust-watchexec-filterer-globset-1., guix-commits, 2024/03/28
- 61/61: gnu: python-cryptography: Update to 42.0.5.,
guix-commits <=
- 09/61: gnu: rust-nix-0.20: Update to 0.20.2., guix-commits, 2024/03/28
- 21/61: gnu: rust-cargo-credential-macos-keychain-0.4: Update to 0.4.3., guix-commits, 2024/03/28
- 48/61: gnu: Add rust-ignore-files-1., guix-commits, 2024/03/28
- 33/61: gnu: Add rust-command-group-2., guix-commits, 2024/03/28
- 59/61: gnu: rust-curl-sys-0.4: Update to 0.4.72., guix-commits, 2024/03/28
- 49/61: gnu: Add rust-command-group-1., guix-commits, 2024/03/28
- 51/61: gnu: Add rust-async-priority-channel-0.1., guix-commits, 2024/03/28
- 55/61: gnu: Add rust-watchexec-filterer-ignore-1., guix-commits, 2024/03/28
- 56/61: gnu: aardvark-dns: Allow building with newer dependencies., guix-commits, 2024/03/28