diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2024-12-29 17:23:06 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 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 2f683ea25b8..2041c190f77 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.") | |||
| 541 | (define-public python-cryptography | 541 | (define-public python-cryptography |
| 542 | (package | 542 | (package |
| 543 | (name "python-cryptography") | 543 | (name "python-cryptography") |
| 544 | (version "43.0.3") | 544 | (version "44.0.0") |
| 545 | (source | 545 | (source |
| 546 | (origin | 546 | (origin |
| 547 | (method url-fetch) | 547 | (method url-fetch) |
| 548 | (uri (pypi-uri "cryptography" version)) | 548 | (uri (pypi-uri "cryptography" version)) |
| 549 | (sha256 | 549 | (sha256 |
| 550 | (base32 | 550 | (base32 |
| 551 | "01d8anh4crjvpa0s044rxkdi9cjnz4w15dj3yipjljba4q0r0nri")) | 551 | "00is2nzcl2pyhr90llga5mnbw3rvakn75rq10x1r6hhb6i7q6knd")) |
| 552 | (snippet | 552 | (snippet |
| 553 | #~(begin (use-modules (guix build utils)) | 553 | #~(begin (use-modules (guix build utils)) |
| 554 | ;; Help the configure phase. Remove this next release. | ||
| 555 | (with-output-to-file "Cargo.toml" | ||
| 556 | (lambda () (newline))) | ||
| 557 | (for-each delete-file | 554 | (for-each delete-file |
| 558 | (find-files "." "Cargo\\.lock$")) | 555 | (find-files "." "Cargo\\.lock$")) |
| 559 | (substitute* "pyproject.toml" | 556 | (substitute* "pyproject.toml" |
| @@ -567,7 +564,7 @@ is used by the Requests library to verify HTTPS requests.") | |||
| 567 | ((guix build pyproject-build-system) #:prefix py:) | 564 | ((guix build pyproject-build-system) #:prefix py:) |
| 568 | (guix build utils)) | 565 | (guix build utils)) |
| 569 | #:cargo-inputs | 566 | #:cargo-inputs |
| 570 | (list rust-asn1-0.16 | 567 | (list rust-asn1-0.20 |
| 571 | rust-cc-1 | 568 | rust-cc-1 |
| 572 | rust-cfg-if-1 | 569 | rust-cfg-if-1 |
| 573 | rust-foreign-types-0.3 | 570 | rust-foreign-types-0.3 |
| @@ -576,7 +573,7 @@ is used by the Requests library to verify HTTPS requests.") | |||
| 576 | rust-openssl-0.10 | 573 | rust-openssl-0.10 |
| 577 | rust-openssl-sys-0.9 | 574 | rust-openssl-sys-0.9 |
| 578 | rust-pem-3 | 575 | rust-pem-3 |
| 579 | rust-pyo3-0.22 | 576 | rust-pyo3-0.23 |
| 580 | rust-self-cell-1) | 577 | rust-self-cell-1) |
| 581 | #:install-source? #false | 578 | #:install-source? #false |
| 582 | #:phases | 579 | #:phases |
| @@ -585,7 +582,7 @@ is used by the Requests library to verify HTTPS requests.") | |||
| 585 | (lambda* (#:key vendor-dir #:allow-other-keys) | 582 | (lambda* (#:key vendor-dir #:allow-other-keys) |
| 586 | ;; Don't keep the whole tarball in the vendor directory | 583 | ;; Don't keep the whole tarball in the vendor directory |
| 587 | (delete-file-recursively | 584 | (delete-file-recursively |
| 588 | (string-append vendor-dir "/cryptography-" #$version ".tar.zst")))) | 585 | (string-append vendor-dir "/cryptography-" #$version ".tar.zst")))) |
| 589 | (replace 'build | 586 | (replace 'build |
| 590 | (assoc-ref py:%standard-phases 'build)) | 587 | (assoc-ref py:%standard-phases 'build)) |
| 591 | (delete 'check) | 588 | (delete 'check) |
| @@ -598,12 +595,16 @@ is used by the Requests library to verify HTTPS requests.") | |||
| 598 | (assoc-ref py:%standard-phases 'install))))) | 595 | (assoc-ref py:%standard-phases 'install))))) |
| 599 | (native-inputs | 596 | (native-inputs |
| 600 | (list python-certifi | 597 | (list python-certifi |
| 598 | python-cffi | ||
| 599 | python-click | ||
| 601 | python-cryptography-vectors | 600 | python-cryptography-vectors |
| 602 | python-iso8601 | 601 | python-mypy |
| 603 | python-pretend | 602 | python-pretend |
| 604 | python-pytest ;for subtests | 603 | python-pytest |
| 605 | python-pytest-benchmark | 604 | python-pytest-benchmark |
| 606 | python-pytest-subtests | 605 | python-pytest-cov |
| 606 | python-pytest-randomly | ||
| 607 | python-pytest-xdist | ||
| 607 | python-setuptools | 608 | python-setuptools |
| 608 | python-wheel)) | 609 | python-wheel)) |
| 609 | (inputs (list maturin openssl python-wrapper)) | 610 | (inputs (list maturin openssl python-wrapper)) |
