1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00
Commit Graph

296 Commits

Author SHA1 Message Date
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
Juliana Sims
6ee8b5316c gnu: python-txtorcon: Update to 23.0.0.
* gnu/packages/python-crypto.scm (python-txtorcon): Update to 23.0.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-22 17:05:22 +02:00
Juliana Sims
daeafac0c4 gnu: python-txtorcon: Run guix style.
* gnu/packages/python-crypto.scm (python-txtorcon): Run guix style.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-22 17:05:22 +02:00
Juliana Sims
75ae763b4e gnu: python-txtorcon: Fix failing build.
Oops, I forgot to add a copyright line - this version fixes that.

* gnu/packages/python-crypto.scm (python-txtorcon): Fix failing build.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-22 17:05:22 +02:00
John Kehayias
779575cb33 gnu: python-ecdsa: Fix faulty commit.
Fix previous commit, which did not properly add the test to be skipped and
repeated the existing skipped test.  There is only one new test to be skipped.

* gnu/packages/python-crypto.scm (python-ecdsa)[arguments]: In the 'check'
phase, properly format the string for skipped tests.
2023-04-23 20:59:36 -04:00
John Kehayias
94a2e94a26 gnu: python-ecdsa: Skip two failing tests.
* gnu/packages/python-crypto.scm (python-ecdsa)[arguments]: In 'check' phase,
skip a couple more tests.
2023-04-23 20:48:20 -04:00
Andreas Enge
d1252b597d Merge remote-tracking branch 'origin/master' into core-updates 2023-04-22 09:21:22 +02:00
Brendan Tildesley
604f911d2c gnu: python-txtorcon: Fix build.
gnu/packages/python-crypto.scm (python-txtorcon): Fix build failure.
[propagated-inputs]: Add PYTHON-PYOPENSSL.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:53 +02:00
Andreas Enge
216d7bdb73 Merge remote-tracking branch 'origin/master' into core-updates 2023-04-17 19:17:39 +02:00
Efraim Flashner
bd0b398b67 gnu: python-jeepney: Update to 0.8.0.
* gnu/packages/python-crypto.scm (python-jeepney): Update to 0.8.0.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-async-timeout, python-pytest-asyncio,
python-flit-core. Remove python-tornado.
2023-04-17 11:13:26 +03:00
Efraim Flashner
929995a542 gnu: python-secretstorage: Update to 3.3.3.
* gnu/packages/python-crypto.scm (python-secretstorage): Update to 3.3.3.
2023-04-17 11:12:45 +03:00
Maxim Cournoyer
802a3b7ba3 gnu: python-pytest-7.1: Deprecate package.
The source was adjusted using the following command:

   $ git grep -rl python-pytest-7.1 |
     xargs sed -i 's/python-pytest-7.1/python-pytest/g'

* gnu/packages/check.scm (python-pytest-7.1): Delete variable.
2023-04-14 23:37:06 -04:00
Maxim Cournoyer
3bacd3c76a Merge branch 'master' into core-updates.
Conflicts:
	gnu/local.mk
	gnu/packages/build-tools.scm
	gnu/packages/certs.scm
	gnu/packages/check.scm
	gnu/packages/compression.scm
	gnu/packages/cups.scm
	gnu/packages/fontutils.scm
	gnu/packages/gnuzilla.scm
	gnu/packages/guile.scm
	gnu/packages/ibus.scm
	gnu/packages/image-processing.scm
	gnu/packages/linux.scm
	gnu/packages/music.scm
	gnu/packages/nss.scm
	gnu/packages/pdf.scm
	gnu/packages/python-xyz.scm
	gnu/packages/qt.scm
	gnu/packages/ruby.scm
	gnu/packages/shells.scm
	gnu/packages/tex.scm
	gnu/packages/video.scm
	gnu/packages/vulkan.scm
	gnu/packages/web.scm
	gnu/packages/webkit.scm
	gnu/packages/wm.scm
2023-04-14 17:15:08 -04:00
Maxim Cournoyer
94d1992d9e gnu: python-service-identity: Update to 21.1.0.
* gnu/packages/python-crypto.scm (python-service-identity): Update to 21.1.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: New field.
[propagated-inputs]: Remove python-pyopenssl.  Add python-cryptography and
python-six.
2023-04-14 15:12:07 -04:00
Maxim Cournoyer
bf7ac62911 gnu: python-pyopenssl: Update to 23.1.1.
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 23.1.1.
[source]: Remove patches.
[arguments]: Update faketime date in check phase.
Normalize pytest invocation in check phase override.
[propagated-inputs]: Remove python-six.
2023-04-14 15:12:07 -04:00
Maxim Cournoyer
f204e8028a gnu: python-cryptography: Update to 40.0.1 [fixes CVE-2023-23931].
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Delete
variable.
(python-cryptography-vectors-next): Rename to...
(python-cryptography-vectors): ... this.  Update to 40.0.1.
(python-cryptography): Delete variable.
(python-cryptography-next): Rename to...
(python-cryptography): ... this.  Update to 40.0.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove #:imported-modules and #:modules arguments.  Remove check
phase override.  Remove adjust-pyo3-requirement and configure-cargo phases.
Add disable-rust-extension-build and symlink-rust-library phases.
[native-inputs]: Replace python-cryptography-vectors-next with
python-cryptography-vectors.  Add python-iso8601.  Remove python-pytz.
Replace python-pytest with python-pytest-7.1.  Remove rust, rust:cargo and
python-setuptools-rust.
[inputs]: Remove all inputs.  Add python-cryptography-rust.
[propagated-inputs]: Remove python-asn1crypto, python-six, python-idna and
python-iso8601.
[description]: Start description with @code to avoid a lint warning.
2023-04-14 15:12:07 -04:00
Maxim Cournoyer
f60e76cd59 gnu: Add python-cryptography-rust.
* gnu/packages/python-crypto.scm (python-cryptography-rust): New variable.
2023-04-14 15:12:06 -04:00
Maxim Cournoyer
2ed5a1d535 gnu: python-service-identity: Update to 21.1.0.
* gnu/packages/python-crypto.scm (python-service-identity): Update to 21.1.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: New field.
[propagated-inputs]: Remove python-pyopenssl.  Add python-cryptography and
python-six.
2023-04-11 20:35:21 -04:00
Maxim Cournoyer
367fce7a2f gnu: python-pyopenssl: Update to 23.1.1.
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 23.1.1.
[source]: Remove patches.
[arguments]: Update faketime date in check phase.
Normalize pytest invocation in check phase override.
[propagated-inputs]: Remove python-six.
2023-04-11 20:35:21 -04:00
Maxim Cournoyer
5ec5e560ad gnu: python-cryptography: Update to 40.0.1 [fixes CVE-2023-23931].
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Delete
variable.
(python-cryptography-vectors-next): Rename to...
(python-cryptography-vectors): ... this.  Update to 40.0.1.
(python-cryptography): Delete variable.
(python-cryptography-next): Rename to...
(python-cryptography): ... this.  Update to 40.0.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove #:imported-modules and #:modules arguments.  Remove check
phase override.  Remove adjust-pyo3-requirement and configure-cargo phases.
Add disable-rust-extension-build and symlink-rust-library phases.
[native-inputs]: Replace python-cryptography-vectors-next with
python-cryptography-vectors.  Add python-iso8601.  Remove python-pytz.
Replace python-pytest with python-pytest-7.1.  Remove rust, rust:cargo and
python-setuptools-rust.
[inputs]: Remove all inputs.  Add python-cryptography-rust.
[propagated-inputs]: Remove python-asn1crypto, python-six, python-idna and
python-iso8601.
[description]: Start description with @code to avoid a lint warning.
2023-04-11 20:35:21 -04:00
Maxim Cournoyer
9e5102ca64 gnu: Add python-cryptography-rust.
* gnu/packages/python-crypto.scm (python-cryptography-rust): New variable.
2023-04-11 20:35:20 -04:00
Maxim Cournoyer
a1b826b338 gnu: python-trustme: Update to 0.9.0.
* gnu/packages/python-crypto.scm (python-trustme): Update to 0.9.0.
[build-system]: Use pyproject-build-system.
[arguments]: Delete field.
[propagated-inputs]: Add python-idna and python-ipaddress.
2023-03-29 13:23:45 -04:00
Andreas Enge
a55e18f17c gnu: Remove python-pycrypto.
The package has seen its last release in 2013 and "is unmaintained,
obsolete, and contains security vulnerabilities" according to its homepage.

* gnu/packages/python-crypto.scm (python-pycrypto): Delete variable.
2023-02-25 18:37:09 +01:00
Andreas Enge
1e5aabc572 gnu: Remove python-potr.
The last release of the package dates from 2018.
According to its self-description: "This software is experimental and
potentially insecure. Do not rely on it"
It depends on the cryptography library python-pycrypto, which has had
its last release in 2013 and "is unmaintained, obsolete, and contains
security vulnerabilities" according to its homepage.

* gnu/packages/python-crypto.scm (python-potr): Delete variable.
2023-02-25 18:34:54 +01:00
Marius Bakke
39d607796b gnu: python-pycryptodome: Update to 3.15.0.
* gnu/packages/python-crypto.scm (python-pycryptodome): Update to 3.15.0.
(python-pycryptodomex): Update hash.
2022-11-20 12:17:30 +01:00
Maxim Cournoyer
0b709b1471 gnu: python-keyring: Update to 23.9.3.
* gnu/packages/python-crypto.scm (python-keyring): Update to 23.9.3.
[origin]: Fix indentation.
[build-system]: Use pyproject-build-system.
[test-flags]: New argument.
[phases]: Remove check phase.  Add workaround-test-failure phase.
[native-inputs]: Remove python-setuptools.
[propagated-inputs]: Add python-importlib-metadata and python-jaraco-classes.
2022-11-01 12:07:12 -04:00
Efraim Flashner
322917aeb8 Merge remote-tracking branch 'origin/master' into staging
Conflicts:
	gnu/packages/gnuzilla.scm
	gnu/packages/graphics.scm
	gnu/packages/gstreamer.scm
	gnu/packages/gtk.scm
	gnu/packages/kde-frameworks.scm
	gnu/packages/video.scm
2022-10-12 14:36:44 +03:00
Maxim Cournoyer
b2b838b2b4 gnu: python-pyotp: Update to 2.7.0.
* gnu/packages/python-crypto.scm (python-pyotp): Update to 2.7.0.
2022-10-10 01:07:09 -04:00
Maxim Cournoyer
e4dbc25794 gnu: Add python-zxcvbn.
* gnu/packages/python-crypto.scm (python-zxcvbn): New variable.
2022-10-10 01:03:33 -04:00
Maxim Cournoyer
3c6e220d81 Merge branch 'master' into staging.
With resolved conflicts in:
	gnu/local.mk
	gnu/packages/crates-io.scm
2022-09-27 14:27:28 -04:00
Ricardo Wurmus
eefc107aaf gnu: Add python-blake3.
* gnu/packages/python-crypto.scm (python-blake3): New variable.
2022-09-25 21:24:30 +02:00
Marius Bakke
827b4117da Merge branch 'master' into staging 2022-08-30 18:58:57 +02:00
Marius Bakke
db2444ad82 gnu: Introduce versioned 'openssl-1.1' variable.
...and use it in packages that do not yet support 3.0.

* gnu/packages/tls.scm (openssl): Rename to ...
(openssl-1.1): ... this.
(openssl/fixed): Inherit from OPENSSL-1.1.
(openssl-3.0): Likewise.
(openssl): Turn into alias for OPENSSL-1.1.
* gnu/packages/ruby.scm (ruby-2.6)[inputs]: Change from OPENSSL to OPENSSL-1.1.
(ruby-3.0)[inputs]: Change "openssl" input to OPENSSL.
(ruby-3.1): Inherit from RUBY-3.0.
* gnu/packages/python.scm (python-2.7)[inputs]: Change from OPENSSL to
OPENSSL-1.1.
(python-3.9)[inputs]: Replace "openssl" with OPENSSL.
* gnu/packages/python-crypto.scm (python-cryptography)[inputs]: Change from
OPENSSL to OPENSSL-1.1.
* gnu/packages/databases.scm (mariadb)[inputs]: Likewise.
* gnu/packages/node.scm (node)[native-inputs, inputs]: Likewise.
(node-lts)[native-inputs]: Likewise.
2022-08-30 18:42:26 +02:00
Marius Bakke
1fd262e8d3 Merge branch 'master' into staging 2022-08-27 00:17:57 +02:00