From dba78c32a7ad26b1210e4471b9cb4be4d2ea74e3 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 11 May 2022 00:22:15 +0200 Subject: gnu: python-cryptography: Bump 'rust-redox-syscall' dependency. Fixes a build failure. * gnu/packages/python-crypto.scm (python-cryptography): Replace 'rust-redox-syscall-0.1' with 'rust-redox-syscall-0.2'. --- gnu/packages/python-crypto.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 2e16392c9d..08b86335c0 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -650,7 +650,7 @@ message digests and key derivation functions.") rust-pyo3-macros-0.15 rust-pyo3-macros-backend-0.15 rust-quote-1 - rust-redox-syscall-0.1 + rust-redox-syscall-0.2 rust-scopeguard-1 rust-smallvec-1 rust-stable-deref-trait-1 -- cgit v1.2.3 From 075dbc8734dcfc5843330f7efddc733afb746ace Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 20 Apr 2022 01:14:57 -0400 Subject: gnu: python-keyring: Fix test suite. [phases]{check}: Provide the tests directory argument to pytest. Ignore project pytest configs and make it verbose. [native-inputs]: Delete python-pytest-checkdocs, python-pytest-cov and python-pytest-flake8. --- gnu/packages/python-crypto.scm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 08b86335c0..60879f1c52 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -24,7 +24,7 @@ ;;; Copyright © 2020 Alexandros Theodotou ;;; Copyright © 2020 Justus Winter ;;; Copyright © 2020, 2021 Vinicius Monego -;;; Copyright © 2021 Maxim Cournoyer +;;; Copyright © 2021, 2022 Maxim Cournoyer ;;; Copyright © 2021 Maxime Devos ;;; ;;; This file is part of GNU Guix. @@ -351,14 +351,10 @@ do what is needed for client/server Kerberos authentication based on (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "pytest")) - #t))))) + (invoke "pytest" "-vv" "-c" "/dev/null" "tests"))))))) (native-inputs (list python-toml python-pytest - python-pytest-checkdocs - python-pytest-cov - python-pytest-flake8 python-setuptools python-setuptools-scm)) (propagated-inputs -- cgit v1.2.3 From 70bb54c8a2565df6e14cc8f453b4c3daeaf07214 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 20 Apr 2022 01:16:53 -0400 Subject: gnu: Remove python2-keyring. * gnu/packages/python-crypto.scm (python2-keyring): Delete variable. (python-keyring)[properties]: Delete field. --- gnu/packages/python-crypto.scm | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 60879f1c52..7f358659f0 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -366,30 +366,8 @@ do what is needed for client/server Kerberos authentication based on service from python. It can be used in any application that needs safe password storage.") ;; "MIT" and PSF dual license - (properties `((python2-variant . ,(delay python2-keyring)))) (license license:x11))) -(define-public python2-keyring - (let ((keyring (package-with-python2 - (strip-python2-variant python-keyring)))) - (package - (inherit keyring) - (name "python2-keyring") - (version "8.7") - (source - (origin - (method url-fetch) - (uri (pypi-uri "keyring" version)) - (sha256 - (base32 - "0482rmi2x6p78wl2kz8qzyq21xz1sbbfwnv5x7dggar4vkwxhzfx")))) - (arguments - `(#:python ,python-2)) - (native-inputs - (list python2-pytest python2-pytest-runner python2-setuptools-scm)) - (propagated-inputs - (list python2-pycrypto))))) - (define-public python-keyrings.alt (package (name "python-keyrings.alt") -- cgit v1.2.3