From 3bab95940578e0777d68c204acd14a4307af2450 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 14 Feb 2021 14:04:57 +0200 Subject: gnu: python-jeepney: Update to 0.6.0. * gnu/packages/python-crypto.scm (python-jeepney): Update to 0.6.0. [native-inputs]: Add python-trio, python-pytest-trio. --- gnu/packages/python-crypto.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 1f491cc9728..9613cf3af27 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 -;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner +;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner ;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari ;;; Copyright © 2016, 2017, 2020 Marius Bakke ;;; Copyright © 2017 Ben Sturmfels @@ -1571,18 +1571,20 @@ certificates, signing and building trust bundles.") (define-public python-jeepney (package (name "python-jeepney") - (version "0.4.3") + (version "0.6.0") (source (origin (method url-fetch) (uri (pypi-uri "jeepney" version)) (sha256 - (base32 "0vp3p1lqhqk2kd3254q5sxr50znmm2hmysc8a7g0fr1brihvhy9l")))) + (base32 "0mw6ch5s4czpmsiwqwhcidgk27858pl8vlvb7acrxjkm4ribcnbx")))) (build-system python-build-system) (native-inputs `(("python-testpath" ,python-testpath) ("python-tornado" ,python-tornado) - ("python-pytest" ,python-pytest))) + ("python-trio" ,python-trio) + ("python-pytest" ,python-pytest) + ("python-pytest-trio" ,python-pytest-trio))) (home-page "https://gitlab.com/takluyver/jeepney") (synopsis "Low-level, pure Python DBus protocol wrapper") (description -- cgit v1.3 From 78b043bb908813c01b2c6dbde16b310971ca85f5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 14 Feb 2021 14:07:09 +0200 Subject: gnu: python-secretstorage: Update to 3.3.1. * gnu/packages/python-crypto.scm (python-secretstorage): Update to 3.3.1. --- gnu/packages/python-crypto.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 9613cf3af27..91b10e91ad1 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1483,14 +1483,14 @@ and Backlog for a list of what is and is not currently supported.") (define-public python-secretstorage (package (name "python-secretstorage") - (version "3.1.2") + (version "3.3.1") (source (origin (method url-fetch) (uri (pypi-uri "SecretStorage" version)) (sha256 (base32 - "1xmzr0j3066s220bss4nkgqbiwb5k4kkp2rkpqlqwjb5kfc8mnhm")))) + "15ginv4gzxrx77n7517xnvf2jcpqc6ran12s951hc85zlr8nqrpx")))) (build-system python-build-system) (arguments '(#:tests? #f)) ; Tests require a running dbus service. -- cgit v1.3 From d9784b1a63ad26b5b54ef605f77933eea6de44a7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 14 Feb 2021 14:18:08 +0200 Subject: gnu: python-keyring: Update to 22.0.1. * gnu/packages/python-crypto.scm (python-keyring): Update to 22.0.1. [source]: Remove snippet. [arguments]: Adjust custom 'check phase to just run tests. [native-inputs]: Add python-toml, python-setuptools. [propagated-inputs]: Remove python-importlib-metadata. --- gnu/packages/python-crypto.scm | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 91b10e91ad1..9739de1ddef 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -369,39 +369,31 @@ do what is needed for client/server Kerberos authentication based on (define-public python-keyring (package (name "python-keyring") - (version "21.0.0") + (version "22.0.1") (source (origin (method url-fetch) (uri (pypi-uri "keyring" version)) (sha256 (base32 - "1k0w3yh3fz0qp0cvkxdiinq9jzbrnc6bd88qpjz34x3cgcr94psz")) - (modules '((guix build utils))) - (snippet - ;; https://github.com/jaraco/keyring/issues/414 - '(begin (substitute* "tests/test_packaging.py" - (("ep, =") "(ep,) =")) #t)))) + "1pvqc6may03did0iz98gasg7cy4h8ljzs4ibh927bfzda8a3xjws")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ - ;; Not clear why this test fails. - (delete-file "tests/test_packaging.py") - (substitute* "pytest.ini" - (("--black ") "")) (invoke "pytest")))))) (native-inputs - `(("python-pytest" ,python-pytest) + `(("python-toml" ,python-toml) + ("python-pytest" ,python-pytest) ("python-pytest-checkdocs" ,python-pytest-checkdocs) ("python-pytest-cov" ,python-pytest-cov) ("python-pytest-flake8" ,python-pytest-flake8) + ("python-setuptools" ,python-setuptools) ("python-setuptools-scm" ,python-setuptools-scm))) (propagated-inputs - `(("python-importlib-metadata" ,python-importlib-metadata) - ("python-secretstorage" ,python-secretstorage))) + `(("python-secretstorage" ,python-secretstorage))) (home-page "https://github.com/jaraco/keyring") (synopsis "Store and access your passwords safely") (description -- cgit v1.3 From f7c966ae02b4915d968b8f9769c506b1c77a17ff Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 14 Feb 2021 14:19:21 +0200 Subject: gnu: python-keyring: Make tests skippable. * gnu/packages/python-crypto.scm (python-keyring)[arguments]: In custom 'check phase only run tests when tests? is #true. --- gnu/packages/python-crypto.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 9739de1ddef..bf39f124a14 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -382,8 +382,10 @@ do what is needed for client/server Kerberos authentication based on `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "pytest")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest")) + #t))))) (native-inputs `(("python-toml" ,python-toml) ("python-pytest" ,python-pytest) -- cgit v1.3