1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 13:40:36 +02:00
Commit Graph

329 Commits

Author SHA1 Message Date
Christopher Baines
51bd111732 gnu: python-pyopenssl: Skip TestDTLS::test_timeout.
With the changes currently on the python-team branch, this seems to fail at
least on aarch64-linux, presumably due to faketime being used.

* gnu/packages/python-crypto.scm (python-pyopenssl)[arguments]: Skip
TestDTLS::test_timeout.

Change-Id: Ifca6dc323141219a01b9aff7baad8c712ac56b02
2025-04-16 11:46:22 +02:00
Ricardo Wurmus
b9cfda4fa4 gnu: Remove python-pyblake2.
This package no longer builds with Python 3.11.  Since Python 3.6 and later
have native support for BLAKE2 in hashlib derived from this implementation,
with compatible API, it is no big loss to remove this package.

* gnu/packages/python-crypto.scm (python-pyblake2): Remove variable.

Change-Id: Ia540ce0ee2cae10ee5fb5527b5fc90bb6db2be9b
2025-04-16 11:46:12 +02:00
Ricardo Wurmus
f22b9b9815 gnu: python-passlib: Use pyproject-build-system.
* gnu/packages/python-crypto.scm (python-passlib)[build-system]: Use
pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.
[propagated-inputs]: Add python-argon2-cffi and python-cryptography.

Change-Id: If443497990b35768650f368f0368d9c0f648cca9
2025-04-16 11:46:10 +02:00
Ricardo Wurmus
f29219345d gnu: python-certauth: Add missing inputs and adjust disabled tests.
* gnu/packages/python-crypto.scm (python-certauth)[native-inputs]: Add
nss-certs-for-test.
[arguments]: Adjust list of disabled tests.

Change-Id: I948ad49276fa107efcfe34c8931a047c5d66ad1b
2025-04-16 11:46:09 +02:00
Ricardo Wurmus
5ce0fb8048 gnu: python-blake3: Remove bad characters from version string.
The version string would be converted to "-0.3.1-", which breaks version
checks in packages using blake3.

* gnu/packages/python-crypto.scm (python-blake3)[arguments]: Remove single
quotes from version field.

Change-Id: I9a3df22f866f119f52e7cd93ac899d4f24bb9302
2025-02-27 09:59:50 +01:00
Sharlatan Hellseher
3722cb156a gnu: python-txtorcon: Update to 24.8.0.
Reported in #75979 by bdju <bdju@tilde.team>.

Test suite failed to complete successfully, this change refreshes
version and simplify package.

* gnu/packages/python-crypto.scm: Add (gnu packages lsof).
(python-txtorcon): Update to 24.8.0.
[build-system]: Swap to pyproject-build-system.
[arguments] <phases>: Remove 'disable-failing-tests.
[inputs]: Add lsof.
[native-inputs]: Remove python-mock; add python-pytest,
python-setuptools, and python-wheel.

Change-Id: I26bc9bb1040b4e4408405e40db108a38e674df81
2025-02-04 12:21:20 +00:00
Felix Gruber
0b7179b8b9 gnu: python-certauth: Fix build.
* gnu/packages/python-crypto.scm (python-certauth): Fix build.
[arguments]: Disable failing tests.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I623638539fa25d4178fd4b0b4c201e5f91172542
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-25 22:18:08 +00:00
Danny Milosavljevic
aea7f8ee40 gnu: {python-pycryptodome, python-pycryptodomex}: Update to 3.21.0.
* gnu/packages/python-crypto.scm (python-pycryptodome): Update to 3.21.0.
(python-pycryptodomex): Update to 3.21.0.

Change-Id: Ic9b4325d752e066e6aaf9cb88f27b20241174687
2025-01-25 17:24:11 +01:00
Danny Milosavljevic
1f892e09b3 gnu: Add python-pydes.
* gnu/packages/python-crypto.scm (python-pydes): New variable.

Change-Id: I2a9ab9544211f2a5e8b3e8428ab795939ce0c22e
2025-01-25 17:24:06 +01:00
Ricardo Wurmus
80106ec319 gnu: python-pyopenssl: Update to 24.3.0.
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 24.3.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-wheel.

Change-Id: I504a80c300a94698771734734bed29c07cb13bd5
2025-01-20 21:37:28 +01:00
Ricardo Wurmus
baca820ebc 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
2025-01-20 21:37:28 +01:00
Ricardo Wurmus
10c6ef58ab gnu: python-cryptography-vectors: Update to 44.0.0.
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Update to
44.0.0.
[native-inputs]: Remove python-setuptools and python-wheel.

Change-Id: I9d73e0ee5ef9af14c5a7ce5900d0814fea707f87
2025-01-20 21:37:28 +01:00
Efraim Flashner
c75a1c9e36 gnu: python-pyopenssl: Update to 24.2.1.
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 24.2.1.
[source]: Update pypi-uri name.
[arguments]: Adjust the 'check phase for the new release date.

Change-Id: Iebf7ea8668233a70a05b8cea728734694c3c2dde
2025-01-06 12:15:04 +02:00
Efraim Flashner
97aa14a222 gnu: python-cryptography: Update to 43.0.3.
* gnu/packages/python-crypto.scm (python-cryptography): Update to
43.0.3.
[source]: Add snippet to ease building with maturin.
[build-system]: Switch to cargo-build-system.
[arguments]: Remove custom 'disable-rust-extension-build phase.  Replace
new cargo-build-system 'build, 'check and 'install phases with phases
from the pyproject-build-system.
[cargo-inputs]: New field.
[inputs]: Remove python-cryptography-rust.  Add maturin, python-wrapper.
(python-cryptography-rust): Remove variable.

Change-Id: I6523f00964b8e82a93ed8a1f8b2e1f49ddd1ddbc

squash python-cryptography to 43.0.3

Change-Id: If8497f64265afab1d5d47a8aa017be908f612d3d
2025-01-06 12:15:04 +02:00
Efraim Flashner
a6fdd8099b gnu: python-cryptography-vectors: Update to 43.0.3.
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Update
to 43.0.3.

Change-Id: Ie35ceba7a38966dd950d96e7c058749eeab90679
2025-01-06 12:15:04 +02:00
Artyom V. Poptsov
6d6a1e37b1 gnu: python-spake2: Update to 0.9.
* gnu/packages/python-crypto.scm (python-spake2): Update to 0.9.
[propagated-inputs]: Add python-cryptography.

Change-Id: I9122e657446cb92a7fd1325cdbed63f6ab73428f
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-16 23:32:51 +03:00
Sharlatan Hellseher
4349a55ef7 gnu: python-base58: Adjust inputs.
* gnu/packages/python-crypto.scm (python-base58) [native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ie9d7e2f043bdbbba711223cae99c8bd5d5e0e2c9
2024-12-13 21:01:42 +00:00
Sharlatan Hellseher
90fd98affd gnu: python-service-identity: Update to 24.2.0.
* gnu/packages/python-crypto.scm (python-service-identity): Update to 24.2.0.
Adjust indentation.
[source]: Adjust URI as PyPI tarball name was changed.
[native-inputs]: Remove python-setuptools and python-wheel; add
python-hatch-fancy-pypi-readme, python-hatch-vcs, and python-hatchling.
[description]: Adjust fill column.

Change-Id: I16d53f1709bf21968b56fb836772b367256031ae
2024-12-13 20:28:38 +00:00
Sharlatan Hellseher
11684c6429 gnu: python-paramiko: Update to 3.5.0.
* gnu/packages/python-crypto.scm (python-paramiko): Update to 3.5.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<tests>: Enable them.
[propagated-inputs]: Add python-invoke.
[native-inputs]: Add python-pytest, python-icecream, python-pytest-relaxed,
python-pytest-xdist, python-setuptools, and python-wheel.

Change-Id: I9ba2f5123ca066d993e8d3c797207179ff8c466b
2024-12-13 20:23:32 +00:00
Sharlatan Hellseher
e6896b25fc gnu: python-ecdsa: Update to 0.19.0.
* gnu/packages/python-crypto.scm (python-ecdsa): Update to 0.19.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ib7077ffd3c78b4b995bb3c278fd27738b2c952ee
2024-12-13 20:23:32 +00:00
Nicolas Graves
ad9e792f83 gnu: python-certauth: Move to pyproject-build-system.
* gnu/packages/python-crypto.scm (python-certauth):
  [build-system]: Move to pyproject-build-system.

Change-Id: If455ef00ff35164c2db401267162025b2ff9c6c2
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:57 +00:00
Ricardo Wurmus
7347fb453a gnu: python-argon2-cffi: Update to 21.1.0.
* gnu/packages/python-crypto.scm (python-argon2-cffi): Update to 21.1.0.
[source]: Simplify snippet.
[arguments]: Do not quote list; respect TESTS? in 'check phase.
[propagated-inputs]: Add python-typing-extensions; remove python-six.

Change-Id: Ifeee408dbcb43ff435cc1e9563df07f89df3ffb2
2024-12-13 20:18:39 +00:00
Ricardo Wurmus
63222dc684 gnu: python-pynacl: Add missing inputs.
* gnu/packages/python-crypto.scm (python-pynacl)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ia815f1d820ad2e78ff60d8772e189b5d4b4050a2
2024-12-13 20:18:33 +00:00
Lars-Dominik Braun
fdc0fefd46 build-system/pyproject: Use python-sans-pip-wrapper as default-python.
Also adds python-setuptools and python-wheel to relevant packages,
either to native-inputs or to propagated inputs if the pkg_resources
Python module is loaded at runtime.

* guix/build-system/pyproject.scm (default-python): Default to
python-sans-pip-wrapper.

Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
2024-12-13 20:15:41 +00:00
Morgan Smith
aa50cfe05a gnu: Add python-omemo-dr.
* gnu/packages/python-crypto.scm (python-omemo-dr): New variable.

Change-Id: I06b31e62dff1a740fee832e17200f8905810860a
Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-25 11:40:54 +01:00
Josselin Poiret
e312bce543 gnu: python-certifi: Ungraft.
* gnu/packages/python-crypto.scm (python-certifi): Ungraft and apply source snippet
directly.
(python-certifi/fixed): Remove variable.

Change-Id: I6778ebcc3ef23dab1776d3876b9179d332a126e5
2024-08-31 10:45:03 +02:00
jgart
966afbc375 gnu: python-base58: Move to pyproject-build-system.
* gnu/packages/python-crypto.scm (python-base58): Move to
pyproject-build-system.
[build-system]: Use pyproject-build-system.
[arguments]: Convert to use the modern gexp style.

Change-Id: If95dbaa274b5c430441215a21168ea30808157a9
2024-08-10 00:45:55 -05:00
Efraim Flashner
e4c1584f5b gnu: python-pyopenssl: Update to 24.1.0.
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 24.1.0.
[arguments]: Adjust custom 'check phase to disable fewer tests and
update faketime.
[native-inputs]: Add python-pytest-rerunfailures.  Remove
python-pretend.
[properties]: Add package updater helpers updater-extra-inputs,
updater-extra-native-inputs.

Change-Id: I3a152e6c66d27c912e18e67c114672397426e6e3
2024-07-19 00:46:11 +03:00
Efraim Flashner
da4c49e45c 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
2024-07-19 00:45:09 +03:00
Efraim Flashner
d020191ed9 gnu: python-certifi: Use system SSL certificates.
* gnu/packages/python-crypto.scm (python-certifi)[replacement]: New
field.
(python-certifi/fixed): Provide a python-certifi which only offers to
use the system's SSL certificates.

Change-Id: Ie1871be42988dff3cccfe24bca626149fee0f371
2024-04-07 14:42:20 +03:00
Ricardo Wurmus
fb95491645 gnu: python-pynacl: Use pyproject-build-system.
* gnu/packages/python-crypto.scm (python-pynacl)[build-system]: Use
pyproject-build-system.
[arguments]: Remove custom check phase.
[source]: Remove unnecessary substitution.

Change-Id: Idf2409022abde9f3a59e71cd1fa69ce9f1df6b1f
2024-03-28 13:27:04 +01:00
nafkhamdc
4881c7d697 gnu: python-pynacl: Update to 1.5.0.
* gnu/packages/python-crypto.scm (python-pynacl): Update to 1.5.0.

Change-Id: Iadf81b8d67a5d4fa08fbcb9937afa86de33385dc
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2024-03-28 12:43:01 +01:00
Efraim Flashner
a2a475f778 gnu: rust-asn1: Move to (gnu packages crates-tls).
* gnu/packages/crates-io.scm (rust-asn1-0.15, rust-asn1-0.13,
rust-asn1-derive-0.15, rust-asn1-derive-0.13, rust-asn1-rs-0.5,
rust-asn1-rs-0.3, rust-asn1-rs-derive-0.4, rust-asn1-rs-derive-0.1,
rust-asn1-rs-impl-0.1): Move from here ...
* gnu/packages/crates-tls.scm: ... to here.

Change-Id: I1293490ef4afe2a9609337e996bc8f2b0eb0e3e6
2024-02-20 13:58:04 +02:00
Efraim Flashner
003dc790fd Revert "build: cargo-build-system: Disable tests by default."
This reverts commit 37667443074a6de29f7665868f102111d62f0af9.

This change needs more discussion.
2023-10-18 11:36:31 +03:00
Efraim Flashner
d631d901d8 build: cargo-build-system: Disable tests by default.
* guix/build-system/cargo.scm (cargo-build): Disable tests by default.
* gnu/packages/admin.scm (greetd, wlgreet, du-dust),
* gnu/packages/bioinformatics.scm (circtools, python-gseapy),
* gnu/packages/crypto.scm (rust-minisign, b3sum),
* gnu/packages/gnome.scm (librsvg),
* gnu/packages/python-crypto.scm (python-blake3,
python-cryptography-rust),
* gnu/packages/python-xyz.scm (python-orjson),
* gnu/packages/rust-apps.scm (agate, alfis, bat, diffr, drill, dutree,
exa, fd, hexyl, hyperfine, i3status-rust, just, maturin, ripgrep, rot8,
rust-swc, rust-cargo-edit, git-interactive-rebase-tool, rust-cbindgen,
rust-cbindgen-0.24, rust-cbindgen-0.19, sniffglue, tectonic, treefmt,
hex, tokei, vivid, watchexec, rbw, rust-analyzer, rust-cargo-c, rtss,
skim, skim-0.7, svd2rust, swayhide, tealdeer, git-absorb, zoxide, htmlq),
* gnu/packages/sequoia.scm (sequoia-sqv),
* gnu/packages/syndication.scm (newsboat),
* gnu/packages/terminals.scm (alacritty),
* gnu/packages/text-editors.scm (kak-lsp, parinfer-rust),
* gnu/packages/tree-sitter.scm (tree-sitter-cli),
* gnu/packages/video.scm (rav1e),
* gnu/packages/web.scm (monolith, castor)
[arguments]: Enable tests.
2023-10-18 11:36:18 +03:00
Efraim Flashner
395ed95e70 gnu: python-pyopenssl: Update to 23.2.0.
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 23.2.0.
2023-10-18 11:36:16 +03:00
Efraim Flashner
8f60a52bb0 gnu: python-cryptography-rust: Use cargo-test-flags.
* gnu/packages/python-crypto.scm (python-cryptography-rust)
[arguments]: Replace custom 'check phase with cargo-test-flags.
2023-10-18 11:36:02 +03:00
Efraim Flashner
424e0ea4e5 gnu: python-cryptography: Update to 41.0.4.
* gnu/packages/python-crypto.scm (python-cryptography): Update to 41.0.4.
(python-cryptography-rust)[arguments]: Don't install source.
[cargo-inputs]: Add rust-foreign-types-0.3 Replace rust-asn1-0.13 with
0.15, rust-pyo3-0.15 with 0.18.  Remove rust-chrono-0.4.
2023-10-18 11:36:02 +03:00
Efraim Flashner
227f4cacf6 gnu: python-cryptography-vectors: Update to 41.0.4.
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Update
to 41.0.4.
[build-system]: Switch to pyproject-build-system.
[arguments]: Disable tests.
2023-10-18 11:36:01 +03:00
Efraim Flashner
7823c65040 gnu: python-pgpy: Update to 0.6.0.
* gnu/packages/python-crypto.scm (python-pgpy): Update to 0.6.0.
[propagated-inputs]: Remove python-singledispatch and python-six.
2023-10-17 18:13:19 +03:00
fanquake
47fe9da5d3 gnu: python-pyotp: Update to 2.9.0.
* gnu/packages/python-crypto.scm (python-pyotp): Update to 2.9.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:07:17 +01:00
Marius Bakke
c2e078c602 gnu: python-libnacl: Update to 2.1.0.
* gnu/packages/python-crypto.scm (python-libnacl): Update to 2.1.0.
[build-system]: Switch to PYPROJECT-BUILD-SYSTEM.
[arguments]: Adjust hack for locating libsodium.  Add custom check phase.
[native-inputs]: Remove PYTHON-PYHAMCREST.  Add PYTHON-POETRY-CORE.
2023-09-22 01:29:21 +08:00
Marius Bakke
e592513d39 gnu: python-certauth: Fix test failure with newer PyOpenSSL.
* gnu/packages/python-crypto.scm (python-certauth)[arguments]: New field.
2023-09-22 01:29:17 +08:00
Hilton Chain
f5eb5b7cac gnu: python-asn1crypto: Respect #:tests?.
* gnu/packages/python-crypto.scm (python-asn1crypto)[#:phases]<check>: Honor
argument #:tests?.
2023-08-24 12:41:04 +08:00
fanquake
c49c43d44c gnu: python-asn1crypto: Update to 1.5.1.
* gnu/packages/python-crypto.scm (python-asn1crypto): Update to 1.5.1.
[description]: Adjust according to lint warning.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-08-24 12:39:42 +08:00
Efraim Flashner
1f04e3d027 gnu: python-cryptography-rust: Enable tests.
* gnu/packages/python-crypto.scm (python-cryptography-rust)
[arguments]: Don't skip the tests. Add a custom 'check phase.
2023-08-14 19:37:37 +03:00
Efraim Flashner
a91628366a gnu: python-cryptography: Update to 40.0.2.
* gnu/packages/python-crypto.scm (python-cryptography): Update to 40.0.2.
(python-cryptography-rust)[cargo-inputs]: Move rust-cc-1 here from
cargo-development-inputs.
[cargo-development-inputs]: Remove field.
2023-08-14 19:37:37 +03:00
Efraim Flashner
a3ba943b6f gnu: python-cryptography-vectors: Update to 40.0.2.
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Update
to 40.0.2.
2023-08-14 19:37:37 +03:00
Z572
dc741120fe gnu: python-m2crypto: Update to 0.38.0.
* gnu/packages/python-crypto.scm (python-m2crypto): Update to 0.38.0.
[build-system]: switch to PYPROJECT-BUILD-SYSTEM.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-06-12 19:25:50 +01:00
Rikard Nordgren
36ea29115c gnu: Add python-crcmod.
* gnu/packages/python-crypto.scm (python-crcmod): New variable.

Co-authored-by: jgart <jgart@dismail.de>
Signed-off-by: jgart <jgart@dismail.de>
2023-05-23 08:55:02 -05:00