* [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages
@ 2022-07-22 14:01 Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 01/19] gnu: python-args: Make it build with Python 3 Hartmut Goebel
` (19 more replies)
0 siblings, 20 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:01 UTC (permalink / raw)
To: 56701
This changeset updates python-pyjwt and its dependent packages. It also adds
some other required packages.
Added packages are already linted and verified they build. I also verified
the dependent packages (as reported by 'guix refresh -l' build.:
Hartmut Goebel (19):
gnu: python-args: Make it build with Python 3.
gnu: Add python-requests-kerberos.
gnu: Add python-dogpile.cache.
gnu: Add python-statsd.
gnu: Add python-os-service-types.
gnu: Add python-oslo.concurrency.
gnu: Add python-keystoneauth1.
gnu: Add python-requestsexceptions.
gnu: Add python-openstacksdk.
gnu: Add python-tempest.
gnu: python-keystoneclient: Update to 5.0.0.
gnu: python-munch: Update to 2.5.0.
gnu: python-oslo.context: Update to 5.0.0.
gnu: python-oslo.log: Update to 5.0.0.
gnu: python-tempest-lib: Update to 1.0.0.
gnu: python-pyjwt: Update to 2.4.0.
gnu: python-swiftclient: Update to 4.0.1.
gnu: python-pygithub: Update to 1.55.
gnu: conan: Update to 1.50.0.
gnu/packages/databases.scm | 31 ++-
gnu/packages/monitoring.scm | 19 ++
gnu/packages/openstack.scm | 385 ++++++++++++++++++++++++----
gnu/packages/package-management.scm | 7 +-
gnu/packages/python-web.scm | 21 +-
gnu/packages/python-xyz.scm | 45 ++--
6 files changed, 427 insertions(+), 81 deletions(-)
base-commit: bf82f7cbe3067ea6a638655b65f8cfff7b7fd940
--
2.30.4
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 01/19] gnu: python-args: Make it build with Python 3.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-08-04 19:04 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 02/19] gnu: Add python-requests-kerberos Hartmut Goebel
` (18 subsequent siblings)
19 siblings, 1 reply; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
This package is unmaintained, but still used. Patch the contained
Python-2-code to make it build with Python 3.
* gnu/packages/python-xyz.scm (python-args)[arguments]: Add phase
patch-python2-code.
---
gnu/packages/python-xyz.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7f6bbd55be..9e6e38532b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19,7 +19,7 @@
;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
-;;; Copyright © 2016, 2018, 2019, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2016, 2018, 2019, 2021, 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016, 2017 Troy Sankey <sankeytms@gmail.com>
@@ -14071,6 +14071,14 @@ files for use with Python.")
(base32
"057qzi46h5dmxdqknsbrssn78lmqjlnm624iqdhrnpk26zcbi1d7"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-python2-code
+ (lambda _
+ (substitute* "args.py"
+ (("isinstance\\(obj, basestring\\)")
+ "isinstance(obj, str)")))))))
(home-page "https://github.com/kennethreitz/args")
(synopsis "Command-line argument parser")
(description
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 02/19] gnu: Add python-requests-kerberos.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 01/19] gnu: python-args: Make it build with Python 3 Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache Hartmut Goebel
` (17 subsequent siblings)
19 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/python-web.scm (python-requests-kerberos): New variable.
---
gnu/packages/python-web.scm | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6bb73fa6d2..5e1bc8c7aa 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -13,7 +13,7 @@
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari <leo@famulari.name>
-;;; Copyright © 2016, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2016, 2019, 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2015, 2017 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2015, 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
@@ -2801,6 +2801,25 @@ APIs.")
than Python’s urllib2 library.")
(license license:asl2.0)))
+(define-public python-requests-kerberos
+ (package
+ (name "python-requests-kerberos")
+ (version "0.14.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "requests-kerberos" version))
+ (sha256
+ (base32
+ "1lbgjs779cjxhz07lfl9dbyp3qfh8a3ir2393042wfg518jd3afd"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-cryptography python-pyspnego
+ python-requests))
+ (home-page "https://github.com/requests/requests-kerberos")
+ (synopsis "Kerberos authentication handler for python-requests")
+ (description "This package provides a Kerberos authentication handler for
+python-requests.")
+ (license license:isc)))
+
(define-public python-requests-unixsocket
(package
(name "python-requests-unixsocket")
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 01/19] gnu: python-args: Make it build with Python 3 Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 02/19] gnu: Add python-requests-kerberos Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-08-04 19:04 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 04/19] gnu: Add python-statsd Hartmut Goebel
` (16 subsequent siblings)
19 siblings, 1 reply; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/databases.scm (python-dogpile.cache): New variable.
---
gnu/packages/databases.scm | 31 ++++++++++++++++++++++++++++++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 32c36fe337..0bdcee5f7c 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
-;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2016, 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
@@ -122,6 +122,7 @@
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages onc-rpc)
+ #:use-module (gnu packages openstack)
#:use-module (gnu packages pantheon)
#:use-module (gnu packages parallel)
#:use-module (gnu packages pcre)
@@ -4823,3 +4824,31 @@ create design, and edit database file compatible with SQLite.")
(description
"This package implements the @acronym{LSP, Language Server Protocol} for SQL.")
(license license:expat)))
+
+(define-public python-dogpile.cache
+ (package
+ (name "python-dogpile.cache")
+ (version "1.1.8")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "dogpile.cache" version))
+ (sha256
+ (base32
+ "0kpx42vxzss4sz5ic6mp01a97zinzm6q76n8li2gbi4ccfxyhi6q"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" )))))))
+ (native-inputs (list python-mako python-pytest))
+ (propagated-inputs (list python-decorator python-stevedore))
+ (home-page "https://github.com/sqlalchemy/dogpile.cache")
+ (synopsis "Caching front-end based on the Dogpile lock")
+ (description "@code{dogpile.cache} is a caching API which provides a
+generic interface to caching backends of any variety, and additionally
+provides API hooks which integrate these cache backends with the locking
+mechanism of @code{dogpile}.")
+ (license license:expat)))
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 04/19] gnu: Add python-statsd.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (2 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 05/19] gnu: Add python-os-service-types Hartmut Goebel
` (15 subsequent siblings)
19 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/monitoring.scm (python-statsd): New variable.
---
gnu/packages/monitoring.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 1544efb614..2412dba774 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2021, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
+;;; Copyright © 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -682,3 +683,21 @@ processes which keep waking up the disk unnecessarily and thus prevent some
power saving.")
(home-page "https://github.com/martinpitt/fatrace")
(license license:gpl3+)))
+
+(define-public python-statsd
+ (package
+ (name "python-statsd")
+ (version "3.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "statsd" version))
+ (sha256
+ (base32
+ "07yxnlalvcglgwa9pjs1clwrmwx7a4575jai7q05jz3g4i6dprp3"))))
+ (build-system python-build-system)
+ (native-inputs (list python-mock python-nose))
+ (home-page "https://github.com/jsocol/pystatsd")
+ (synopsis "Simple StatsD client")
+ (description "StatsD is a friendly front-end to Graphite. This package
+provides a simple Python client for the StatsD daemon.")
+ (license license:expat)))
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 05/19] gnu: Add python-os-service-types.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (3 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 04/19] gnu: Add python-statsd Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-08-04 19:04 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 06/19] gnu: Add python-oslo.concurrency Hartmut Goebel
` (14 subsequent siblings)
19 siblings, 1 reply; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/openstack.scm (python-os-service-types): New variable.
---
gnu/packages/openstack.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 0721d27dbf..a57210f847 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Tanguy Le Carrour <tanguy@bioneland.org>
+;;; Copyright © 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -251,6 +252,33 @@ to docs.openstack.org and developer.openstack.org.")
comprehensive manner.")
(license asl2.0)))
+(define-public python-os-service-types
+ (package
+ (name "python-os-service-types")
+ (version "1.7.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "os-service-types" version))
+ (sha256
+ (base32
+ "0v4chwr5jykkvkv4w7iaaic7gb06j6ziw7xrjlwkcf92m2ch501i"))))
+ (build-system python-build-system)
+ (arguments
+ ;; The tests are disabled to avoid a circular dependency with
+ ;; python-keystoneauth1.
+ `(#:tests? #f))
+ (native-inputs (list python-pbr))
+ (home-page "https://docs.openstack.org/os-service-types/latest/")
+ (synopsis "Python library for consuming OpenStack Service Types Authority
+data")
+ (description "The @{OpenStack Service Types Authority} contains
+information about official OpenStack services and their historical
+service-type aliases. The data is in JSON and the latest data should always
+be used. This simple library exists to allow for easy consumption of the
+data, along with a built-in version of the data to use in case network access
+is for some reason not possible and local caching of the fetched data.")
+ (license asl2.0)))
+
(define-public python-os-testr
(package
(name "python-os-testr")
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 06/19] gnu: Add python-oslo.concurrency.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (4 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 05/19] gnu: Add python-os-service-types Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-08-04 19:04 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 07/19] gnu: Add python-keystoneauth1 Hartmut Goebel
` (13 subsequent siblings)
19 siblings, 1 reply; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/openstack.scm (python-oslo.concurrency): New variable.
---
gnu/packages/openstack.scm | 42 ++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index a57210f847..7b0c96d11c 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -389,6 +389,48 @@ common features used in Tempest.")
;;; Packages from the Oslo library
;;;
+(define-public python-oslo.concurrency
+ (package
+ (name "python-oslo.concurrency")
+ (version "4.5.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "oslo.concurrency" version))
+ (sha256
+ (base32
+ "05ysy2jnxb7l2prw38kys0afr99mzh3bw5nd42zvm59xp53bjsb8"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "test-requirements.txt"
+ (("hacking[<>!=]" line) (string-append "# " line))
+ (("coverage[<>!=]" line) (string-append "# " line))
+ (("bandit[<>!=]" line) (string-append "# " line))
+ (("pre-commit[<>!=]" line) (string-append "# " line)))))
+ (add-before 'check 'fix-tests
+ (lambda _
+ (substitute* "oslo_concurrency/tests/unit/test_processutils.py"
+ (("#!/bin/bash") (string-append "#!" (which "bash")))
+ (("#!/bin/sh") (string-append "#!" (which "sh")))
+ (("'/usr/bin/env'") (string-append "'" (which "env") "'"))
+ (("'/usr/bin/env ") (string-append "'" (which "env") " "))
+ (("'/bin/true'") (string-append "'" (which "true") "'"))))))))
+ (native-inputs (list python-pbr
+ ;; for tests:
+ python-oslotest
+ python-fixtures
+ python-stestr
+ python-eventlet))
+ (propagated-inputs (list python-fasteners python-oslo.config
+ python-oslo.i18n python-oslo.utils))
+ (home-page "https://docs.openstack.org/oslo.concurrency/latest/")
+ (synopsis "Oslo Concurrency library")
+ (description "Oslo Concurrency library")
+ (license asl2.0)))
+
(define-public python-oslo.config
(package
(name "python-oslo.config")
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 07/19] gnu: Add python-keystoneauth1.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (5 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 06/19] gnu: Add python-oslo.concurrency Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 08/19] gnu: Add python-requestsexceptions Hartmut Goebel
` (12 subsequent siblings)
19 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/openstack.scm (python-keystoneauth1): New variable.
---
gnu/packages/openstack.scm | 60 ++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 7b0c96d11c..b791c1c076 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -724,6 +724,66 @@ functions, such as encoding, exception handling, string manipulation, and time
handling.")
(license asl2.0)))
+(define-public python-keystoneauth1
+ (package
+ (name "python-keystoneauth1")
+ (version "5.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "keystoneauth1" version))
+ (sha256
+ (base32
+ "08s36dqxrxqx37sdl28cr7fx2iwr8wfxaa53hwq2dzcx9h25zfvf"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "test-requirements.txt"
+ (("hacking[<>!=].*") "hacking\n")
+ ;; unused, code-quality checks only
+ (("flake8-.*[<>!=]" line) (string-append "# " line))
+ (("pycodestyle[<>!=]" line) (string-append "# " line))
+ (("bandit[<>!=]" line) (string-append "# " line))
+ (("coverage[<>!=]" line) (string-append "# " line))
+ (("reno[<>!=]" line) (string-append "# " line)))))
+ (add-before 'check 'check-setup
+ (lambda _
+ ;; remove code-quality checks
+ (delete-file "keystoneauth1/tests/unit/test_hacking_checks.py")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "stestr" "run")))))))
+ (propagated-inputs (list python-iso8601
+ python-os-service-types
+ python-requests
+ python-six
+ python-stevedore))
+ (native-inputs (list python-betamax
+ python-fixtures
+ python-hacking
+ python-lxml
+ python-oauthlib
+ python-oslo.config
+ python-oslo.utils
+ python-oslotest
+ python-pbr
+ python-pyyaml
+ python-requests-kerberos
+ python-requests-mock
+ python-stestr
+ python-testresources
+ python-testtools))
+ (home-page "https://docs.openstack.org/keystoneauth/latest/")
+ (synopsis "Authentication Library for OpenStack Identity")
+ (description "Keystoneauth provides a standard way to do authentication
+and service requests within the OpenStack ecosystem. It is designed for use
+in conjunction with the existing OpenStack clients and for simplifying the
+process of writing new clients.")
+ (license asl2.0)))
+
(define-public python-keystoneclient
(package
(name "python-keystoneclient")
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 08/19] gnu: Add python-requestsexceptions.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (6 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 07/19] gnu: Add python-keystoneauth1 Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-08-04 19:01 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 09/19] gnu: Add python-openstacksdk Hartmut Goebel
` (11 subsequent siblings)
19 siblings, 1 reply; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/openstack.scm (python-requestsexceptions): New variable.
---
gnu/packages/openstack.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index b791c1c076..3594179780 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -923,3 +923,28 @@ permanence.")
"Git-review is a command-line tool that helps submitting Git branches to
Gerrit for review, or fetching existing ones.")
(license asl2.0)))
+
+(define-public python-requestsexceptions
+ (package
+ (name "python-requestsexceptions")
+ (version "1.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "requestsexceptions" version))
+ (sha256
+ (base32
+ "0r9hp9yzgj8r81q5gc6r8sgxldqc09xi6ax0b7a6dw0qfv3wp5dh"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f)) ; no tests
+ (native-inputs (list python-pbr))
+ (home-page "https://www.openstack.org/")
+ (synopsis "Import exceptions from potentially bundled packages in
+requests")
+ (description "The Python requests library bundles the urllib3 library,
+however, some software distributions modify requests to remove the bundled
+library. This makes some operations difficult, such as suppressing the
+“insecure platform warning” messages that urllib emits. This package is a
+simple library to find the correct path to exceptions in the requests library
+regardless of whether they are bundled or not.")
+ (license asl2.0)))
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 09/19] gnu: Add python-openstacksdk.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (7 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 08/19] gnu: Add python-requestsexceptions Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-08-04 19:04 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 10/19] gnu: Add python-tempest Hartmut Goebel
` (10 subsequent siblings)
19 siblings, 1 reply; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/openstack.scm (python-openstacksdk): New variable.
---
gnu/packages/openstack.scm | 54 ++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 3594179780..6ed54caa26 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -27,7 +27,9 @@
(define-module (gnu packages openstack)
#:use-module (gnu packages)
#:use-module (gnu packages check)
+ #:use-module (gnu packages databases)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages monitoring)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
@@ -948,3 +950,55 @@ library. This makes some operations difficult, such as suppressing the
simple library to find the correct path to exceptions in the requests library
regardless of whether they are bundled or not.")
(license asl2.0)))
+
+(define-public python-openstacksdk
+ (package
+ (name "python-openstacksdk")
+ (version "0.100.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "openstacksdk" version))
+ (sha256
+ (base32
+ "0iq7rxw59ibl6xsqh3jw56yg3zfbz3cqgx1239n6xd9iv86mcgq1"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f ;; 8/3781 fail
+ #:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "stestr" "run")))))))
+ (native-inputs (list python-ddt
+ python-hacking
+ python-jsonschema
+ python-pbr
+ python-prometheus-client
+ python-requests-mock
+ python-statsd
+ python-stestr
+ python-testscenarios
+ python-oslo.config
+ python-oslotest))
+ (propagated-inputs (list python-appdirs
+ python-cryptography
+ python-decorator
+ python-dogpile.cache
+ python-importlib-metadata
+ python-iso8601
+ python-jmespath
+ python-jsonpatch
+ python-keystoneauth1
+ python-munch
+ python-netifaces
+ python-os-service-types
+ python-pbr ; run-time dependency actually
+ python-pyyaml
+ python-requestsexceptions))
+ (home-page "https://docs.openstack.org/openstacksdk/latest/")
+ (synopsis "SDK for building applications to work with OpenStack")
+ (description "This package provides a client library for building
+applications to work with OpenStack clouds. The SDK aims to provide a
+consistent and complete set of interactions with OpenStack’s many services,
+along with complete documentation, examples, and tools.")
+ (license asl2.0)))
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 10/19] gnu: Add python-tempest.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (8 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 09/19] gnu: Add python-openstacksdk Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 11/19] gnu: python-keystoneclient: Update to 5.0.0 Hartmut Goebel
` (9 subsequent siblings)
19 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/openstack.scm (python-tempest): New variable.
---
gnu/packages/openstack.scm | 58 ++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 6ed54caa26..d09de5e441 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -347,6 +347,64 @@ classes for implementing common patterns for using dynamically loaded
extensions.")
(license asl2.0)))
+(define-public python-tempest
+ (package
+ (name "python-tempest")
+ (version "31.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "tempest" version))
+ (sha256
+ (base32
+ "1bh250n0cf68jm68jd7pcrgf7zbsv74cq590ar1n002sijfcb80i"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "test-requirements.txt"
+ ;; unused, code-quality checks only
+ (("hacking[<>!=]" line) (string-append "# " line))
+ (("flake8-.*[<>!=]" line) (string-append "# " line))
+ (("pycodestyle[<>!=]" line) (string-append "# " line))
+ (("coverage[<>!=]" line) (string-append "# " line)))))
+ (add-before 'check 'setup-check
+ (lambda _
+ (substitute* "tempest/tests/lib/cli/test_execute.py"
+ (("cli_base.execute\\(\"env\",")
+ (string-append "cli_base.execute('" (which "env") "',")))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "stestr" "--test-path" "./tempest/tests" "run")))))))
+ (propagated-inputs (list python-cliff
+ python-cryptography
+ python-debtcollector
+ python-fixtures
+ python-jsonschema
+ python-netaddr
+ python-oslo.concurrency
+ python-oslo.config
+ python-oslo.log
+ python-oslo.serialization
+ python-oslo.utils
+ python-paramiko
+ python-prettytable
+ python-pyyaml
+ python-stevedore
+ python-subunit
+ python-testtools
+ python-urllib3))
+ (native-inputs (list python-oslotest python-pbr python-stestr python-hacking))
+ (home-page "https://docs.openstack.org/tempest/latest/")
+ (synopsis "OpenStack Integration Testing")
+ (description "This is a set of integration tests to be run against a live
+OpenStack cluster. Tempest has batteries of tests for OpenStack API
+validation, scenarios, and other specific tests useful in validating an
+OpenStack deployment.")
+ (license asl2.0)))
+
(define-public python-tempest-lib
(package
(name "python-tempest-lib")
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 11/19] gnu: python-keystoneclient: Update to 5.0.0.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (9 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 10/19] gnu: Add python-tempest Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-08-04 19:04 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 12/19] gnu: python-munch: Update to 2.5.0 Hartmut Goebel
` (8 subsequent siblings)
19 siblings, 1 reply; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/openstack.scm (python-keystoneclient): Update to 5.0.0.
[arguments]<phases>{relax-requirements}: New phase.
[propagated-inputs]: Remove python-pbr; add python-keystoneauth1.
[native-inputs]: Adjust to new style. Remove python-sphinx, python-coverage,
python-discover, python-hacking, python-mox3, python-oslosphinx,
python-pycrypto, python-testrepository, and python-webob; add python-pbr,
python-stestr, and python-testscenarios.
---
gnu/packages/openstack.scm | 55 +++++++++++++++++++++-----------------
1 file changed, 30 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index d09de5e441..08f6436af6 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -847,49 +847,54 @@ process of writing new clients.")
(define-public python-keystoneclient
(package
(name "python-keystoneclient")
- (version "1.8.1")
+ (version "5.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-keystoneclient" version))
(sha256
(base32
- "1w4csvkah67rfpxylxnvs2s3594i0f9isy8pf4gnsqs5zirvjaa4"))))
+ "0gza5fx3xl3l6vrc6pnhbzhipz1fz9h98kwxqp7mmd90pwrxll0g"))))
(build-system python-build-system)
(arguments
- '(#:tests? #f)) ; FIXME: Many tests are failing.
+ '(#:tests? #f ; FIXME: Many tests are failing.
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "test-requirements.txt"
+ ;; unused, code-quality checks only
+ (("hacking[<>!=]" line) (string-append "# " line))
+ (("flake8-.*[<>!=]" line) (string-append "# " line))
+ (("pycodestyle[<>!=]" line) (string-append "# " line))
+ (("bandit[<>!=]" line) (string-append "# " line))
+ (("coverage[<>!=]" line) (string-append "# " line))
+ (("reno[<>!=]" line) (string-append "# " line))
+ ))))))
(native-inputs
- `(("python-sphinx" ,python-sphinx)
- ;; and some packages for the tests
- ("openssl" ,openssl)
- ("python-coverage" ,python-coverage)
- ("python-discover" ,python-discover)
- ("python-fixtures" ,python-fixtures)
- ("python-hacking" ,python-hacking)
- ("python-keyring" ,python-keyring)
- ("python-lxml" ,python-lxml)
- ("python-mock" ,python-mock)
- ("python-mox3" ,python-mox3)
- ("python-oauthlib" ,python-oauthlib)
- ("python-oslosphinx" ,python-oslosphinx)
- ("python-oslotest" ,python-oslotest)
- ("python-pycrypto" ,python-pycrypto)
- ("python-requests-mock" ,python-requests-mock)
- ("python-temptest-lib" ,python-tempest-lib)
- ("python-testrepository" ,python-testrepository)
- ("python-testresources" ,python-testresources)
- ("python-testtools" ,python-testtools)
- ("python-webob" ,python-webob)))
+ (list openssl
+ python-fixtures
+ python-keyring
+ python-lxml
+ python-mock
+ python-oauthlib
+ python-oslotest
+ python-pbr
+ python-requests-mock
+ python-stestr
+ python-tempest-lib
+ python-testresources
+ python-testscenarios
+ python-testtools))
(propagated-inputs
(list python-babel
python-debtcollector
python-iso8601
+ python-keystoneauth1
python-netaddr
python-oslo.config
python-oslo.i18n
python-oslo.serialization
python-oslo.utils
- python-pbr
python-prettytable
python-requests
python-six
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 12/19] gnu: python-munch: Update to 2.5.0.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (10 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 11/19] gnu: python-keystoneclient: Update to 5.0.0 Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 13/19] gnu: python-oslo.context: Update to 5.0.0 Hartmut Goebel
` (7 subsequent siblings)
19 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/python-xyz.scm (python-munch): Update to 2.5.0.
[propagated-inputs]: Add python-six.
[native-inputs]: Add python-pbr and python-pytest.
---
gnu/packages/python-xyz.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9e6e38532b..284729e834 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5715,15 +5715,17 @@ the Texinfo, HTML, and PDF formats.")))
(define-public python-munch
(package
(name "python-munch")
- (version "2.0.4")
+ (version "2.5.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "munch" version))
(sha256
(base32
- "1cmqg91xnqx8gvnh4pmp0bfl1dfcm65d5p9mg73zz8pkjhx6h80l"))))
+ "1lnvlic9g68hcmgdnv5bzp0nx2bf1kjclj54gx0s7nyl4ipmywrd"))))
(build-system python-build-system)
+ (native-inputs (list python-pbr python-pytest))
+ (propagated-inputs (list python-six))
(home-page "https://github.com/Infinidat/munch")
(synopsis "Dot-accessible dictionary")
(description "Munch is a dot-accessible dictionary similar to JavaScript
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 13/19] gnu: python-oslo.context: Update to 5.0.0.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (11 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 12/19] gnu: python-munch: Update to 2.5.0 Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-08-04 19:03 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 14/19] gnu: python-oslo.log: " Hartmut Goebel
` (6 subsequent siblings)
19 siblings, 1 reply; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/openstack.scm (python-oslo.context): Update to 5.0.0.
[native-inputs]: Remove python-bandit; add python-mypy.
[arguments]<phases>{relax-requirements}: Relax more requirements.
---
gnu/packages/openstack.scm | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 08f6436af6..3f13b9613e 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -522,30 +522,32 @@ common features used in Tempest.")
(define-public python-oslo.context
(package
(name "python-oslo.context")
- (version "3.1.1")
+ (version "5.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "oslo.context" version))
(sha256
(base32
- "1l2z186rkd9acrb2ygf53yrdc1lgf7cy1akbhm21kgkzind4p2r6"))))
+ "091j2cjh1b60nx6s0a4amb2idh9awijnbmppc3an0738fv8cdh48"))))
(build-system python-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "test-requirements.txt"
- (("hacking>=3.0.1,<3.1.0")
- "hacking>=3.0.1"))
+ (("hacking[<>!=].*") "hacking\n")
+ ;; unused, code-quality checks only
+ (("bandit[<>!=]" line) (string-append "# " line))
+ (("pre-commit[<>!=]" line) (string-append "# " line)))
#t)))))
(propagated-inputs
(list python-debtcollector))
(native-inputs
- (list python-bandit
- python-coverage
+ (list python-coverage
python-fixtures
python-hacking
+ python-mypy
python-oslotest
python-pbr
python-stestr))
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 14/19] gnu: python-oslo.log: Update to 5.0.0.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (12 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 13/19] gnu: python-oslo.context: Update to 5.0.0 Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 15/19] gnu: python-tempest-lib: Update to 1.0.0 Hartmut Goebel
` (5 subsequent siblings)
19 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/openstack.scm (python-oslo.log): Update to 5.0.0.
[propagated-inputs]: Remove python-six, python-pbr.
[native-inputs]: Add python-pbr.
---
gnu/packages/openstack.scm | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 3f13b9613e..f3d972377d 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -588,14 +588,14 @@ in an application or library.")
(define-public python-oslo.log
(package
(name "python-oslo.log")
- (version "4.6.1")
+ (version "5.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "oslo.log" version))
(sha256
(base32
- "0dlnxjci9mpwhgfv19fy1z7xrdp8m95skrj5dr60all3pr7n22f6"))))
+ "00adkm465xcaxg15pncsmwxhicdj3kx4v1vcabghpmd2m0s75avk"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
@@ -610,11 +610,10 @@ in an application or library.")
python-oslo.i18n
python-oslo.utils
python-oslo.serialization
- python-pbr
- python-pyinotify
- python-six))
+ python-pyinotify))
(native-inputs
- (list python-fixtures python-oslotest python-stestr python-testtools))
+ (list python-fixtures python-oslotest python-stestr python-testtools
+ python-pbr))
(home-page "https://launchpad.net/oslo")
(synopsis "Python logging library of the Oslo project")
(description
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 15/19] gnu: python-tempest-lib: Update to 1.0.0.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (13 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 14/19] gnu: python-oslo.log: " Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 16/19] gnu: python-pyjwt: Update to 2.4.0 Hartmut Goebel
` (4 subsequent siblings)
19 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/openstack.scm (python-tempest-lib): Update to 1.0.0.
[arguments]<phases>{relax-requirements}: New phase.
[propagated-inputs]: Remove python-pbr.
[native-inouts]: Add python-pbr.
---
gnu/packages/openstack.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index f3d972377d..de5c2721b2 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -421,6 +421,10 @@ OpenStack deployment.")
`(#:tests? #f ; FIXME: Requires oslo.log >= 1.14.0.
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "requirements.txt"
+ (("jsonschema[<>!=].*") "jsonschema\n"))))
(add-before
'check 'pre-check
(lambda _
@@ -433,10 +437,10 @@ OpenStack deployment.")
python-jsonschema
python-oslo.log
python-paramiko
- python-pbr
python-six))
(native-inputs
- (list python-babel python-mock python-os-testr python-oslotest))
+ (list python-babel python-mock python-os-testr python-oslotest
+ python-pbr))
(home-page "https://www.openstack.org/")
(synopsis "OpenStack functional testing library")
(description
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 16/19] gnu: python-pyjwt: Update to 2.4.0.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (14 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 15/19] gnu: python-tempest-lib: Update to 1.0.0 Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 17/19] gnu: python-swiftclient: Update to 4.0.1 Hartmut Goebel
` (3 subsequent siblings)
19 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/python-xyz.scm (python-pyjwt): Update to 2.4.0.
[source]: Remove snippet.
[arguments]<phases>{check}: Remove now unused parts, honor '#:tests?'.
(native-inputs]: Remove python-pytest-cov, add python-cryptography.
---
gnu/packages/python-xyz.scm | 23 ++++++-----------------
1 file changed, 6 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 284729e834..de2a4d6ffb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3736,34 +3736,23 @@ memory usage and transliteration quality.")
(define-public python-pyjwt
(package
(name "python-pyjwt")
- (version "1.7.1")
+ (version "2.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "PyJWT" version))
(sha256
(base32
- "15hflax5qkw1v6nssk1r0wkj83jgghskcmn875m3wgvpzdvajncd"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (for-each delete-file-recursively
- (find-files "." "\\.pyc$"))
- #t))))
+ "1fmbcwfw1463wjzwbcgg3s16rad6kfb1mc5y7jbkp6v9ihh0hafl"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
- (lambda _
- ;; Mimic upstream commit 3a20892442b34c7 to get
- ;; rid of dependency on pytest-runner < 5.0.
- ;; Remove substitution for PyJWT > 1.7.1.
- (substitute* "setup.py"
- ((".*pytest-runner.*")
- ""))
- (invoke "pytest" "-vv"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
(native-inputs
- (list python-pytest python-pytest-cov))
+ (list python-cryptography python-pytest))
(home-page "https://github.com/progrium/pyjwt")
(synopsis "JSON Web Token implementation in Python")
(description
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 17/19] gnu: python-swiftclient: Update to 4.0.1.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (15 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 16/19] gnu: python-pyjwt: Update to 2.4.0 Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 18/19] gnu: python-pygithub: Update to 1.55 Hartmut Goebel
` (2 subsequent siblings)
19 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/openstack.scm (python-swiftclient): Update to 4.0.1.
[arguments]<phases>{relax-requirements}: New phase.
[arguments]<phases>{check}: New phase.
[propagated-inputs]: Remove python-six.
[native-inputs]: Remove python-pbr, python-sphinx, python-coverage,
python-discover, python-hacking, python-mock, python-oslosphinx,
python-testrepository, and python-testtools; add python-keystoneauth1,
python-openstacksdk, and python-stestr.
---
gnu/packages/openstack.scm | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index de5c2721b2..4ab78d48bb 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -918,29 +918,31 @@ LDAP.")
(define-public python-swiftclient
(package
(name "python-swiftclient")
- (version "2.6.0")
+ (version "4.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-swiftclient" version))
(sha256
(base32
- "1j33l4z9vqh0scfncl4fxg01zr1hgqxhhai6gvcih1gccqm4nd7p"))))
+ "1zwb4zcln454fzcnbwqhyzxb68wrsr1i2vvvrn5c7yy5k4vcfs1v"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (add-before 'check 'relax-requirements
+ (lambda _
+ (delete-file "test-requirements.txt")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "stestr" "run")))))))
(native-inputs
- (list python-pbr
- python-sphinx
- ;; The folloing packages are needed for the tests.
- python-coverage
- python-discover
- python-hacking
- python-mock
- python-oslosphinx
- python-keystoneclient
- python-testrepository
- python-testtools))
+ (list python-keystoneclient
+ python-keystoneauth1
+ python-openstacksdk
+ python-stestr))
(propagated-inputs
- (list python-requests python-six))
+ (list python-requests))
(home-page "https://www.openstack.org/")
(synopsis "OpenStack Object Storage API Client Library")
(description
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 18/19] gnu: python-pygithub: Update to 1.55.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (16 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 17/19] gnu: python-swiftclient: Update to 4.0.1 Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 19/19] gnu: conan: Update to 1.50.0 Hartmut Goebel
[not found] ` <handler.56701.B.165849848718348.ack@debbugs.gnu.org>
19 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/python-xyz.scm (python-pygithub): Update to 1.55.
[propagated-inputs]: Add python-pynacl.
---
gnu/packages/python-xyz.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index de2a4d6ffb..4494735c97 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4562,7 +4562,7 @@ to deprecate classes, functions or methods.")
(define-public python-pygithub
(package
(name "python-pygithub")
- (version "1.54.1")
+ (version "1.55")
(source
;; We fetch from the Git repo because there are no tests in the PyPI
;; archive.
@@ -4573,7 +4573,7 @@ to deprecate classes, functions or methods.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1nl74bp5ikdnrc8xq0qr25ryl1mvarf0xi43k8w5jzlrllhq0nkq"))))
+ (base32 "082bxffpy4h97dsay3l75cpgfjj10kywkvicnm6xscwvah285q9y"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -4585,7 +4585,7 @@ to deprecate classes, functions or methods.")
#t)))))
(propagated-inputs
(list python-cryptography python-deprecated python-pyjwt
- python-requests))
+ python-pynacl python-requests))
(native-inputs
(list python-httpretty python-pytest))
(home-page "https://pygithub.readthedocs.io/en/latest/")
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 19/19] gnu: conan: Update to 1.50.0.
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
` (17 preceding siblings ...)
2022-07-22 14:02 ` [bug#56701] [PATCH 18/19] gnu: python-pygithub: Update to 1.55 Hartmut Goebel
@ 2022-07-22 14:02 ` Hartmut Goebel
[not found] ` <handler.56701.B.165849848718348.ack@debbugs.gnu.org>
19 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-07-22 14:02 UTC (permalink / raw)
To: 56701
* gnu/packages/package-management.scm (conan): Update to 1.50.0.
[arguments]<phases>{check}: Add another test to be skipped, adjust comment.
---
gnu/packages/package-management.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 9c6ea8c772..1685da4903 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -1138,7 +1138,7 @@ written entirely in Python.")
(define-public conan
(package
(name "conan")
- (version "1.47.0")
+ (version "1.50.0")
(source
(origin
(method git-fetch) ;no tests in PyPI archive
@@ -1148,7 +1148,7 @@ written entirely in Python.")
(file-name (git-file-name name version))
(sha256
(base32
- "1zs2xb22rsy5fsc0fd7c95vrx1mfz7vasyg1lqkzyfimvn5zah6n"))))
+ "1jjrinz5wkcxfvwdpldrv4h7vacdyz88cc4af5vi3sdnjra0i0m5"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -1217,8 +1217,9 @@ written entirely in Python.")
;; This one fails for unknown reasons (see:
;; https://github.com/conan-io/conan/issues/9671).
"and not test_build "
- ;; This test expects the 'apt' command to be available.
+ ;; These tests expect the 'apt' command to be available.
"and not test_apt_check "
+ "and not test_apt_install_substitutes "
(if (not (string-prefix? "x86_64" system))
;; These tests either assume the machine is
;; x86_64, or require a cross-compiler to target
--
2.30.4
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 08/19] gnu: Add python-requestsexceptions.
2022-07-22 14:02 ` [bug#56701] [PATCH 08/19] gnu: Add python-requestsexceptions Hartmut Goebel
@ 2022-08-04 19:01 ` Efraim Flashner
0 siblings, 0 replies; 34+ messages in thread
From: Efraim Flashner @ 2022-08-04 19:01 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 56701
[-- Attachment #1: Type: text/plain, Size: 2061 bytes --]
On Fri, Jul 22, 2022 at 04:02:28PM +0200, Hartmut Goebel wrote:
> * gnu/packages/openstack.scm (python-requestsexceptions): New variable.
> ---
> gnu/packages/openstack.scm | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
> index b791c1c076..3594179780 100644
> --- a/gnu/packages/openstack.scm
> +++ b/gnu/packages/openstack.scm
> @@ -923,3 +923,28 @@ permanence.")
> "Git-review is a command-line tool that helps submitting Git branches to
> Gerrit for review, or fetching existing ones.")
> (license asl2.0)))
> +
> +(define-public python-requestsexceptions
> + (package
> + (name "python-requestsexceptions")
> + (version "1.4.0")
> + (source (origin
> + (method url-fetch)
> + (uri (pypi-uri "requestsexceptions" version))
> + (sha256
> + (base32
> + "0r9hp9yzgj8r81q5gc6r8sgxldqc09xi6ax0b7a6dw0qfv3wp5dh"))))
> + (build-system python-build-system)
> + (arguments
> + '(#:tests? #f)) ; no tests
> + (native-inputs (list python-pbr))
> + (home-page "https://www.openstack.org/")
> + (synopsis "Import exceptions from potentially bundled packages in
> +requests")
Synopsis should be one line.
> + (description "The Python requests library bundles the urllib3 library,
> +however, some software distributions modify requests to remove the bundled
> +library. This makes some operations difficult, such as suppressing the
> +“insecure platform warning” messages that urllib emits. This package is a
> +simple library to find the correct path to exceptions in the requests library
> +regardless of whether they are bundled or not.")
> + (license asl2.0)))
> --
> 2.30.4
>
>
>
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 13/19] gnu: python-oslo.context: Update to 5.0.0.
2022-07-22 14:02 ` [bug#56701] [PATCH 13/19] gnu: python-oslo.context: Update to 5.0.0 Hartmut Goebel
@ 2022-08-04 19:03 ` Efraim Flashner
0 siblings, 0 replies; 34+ messages in thread
From: Efraim Flashner @ 2022-08-04 19:03 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 56701
[-- Attachment #1: Type: text/plain, Size: 2444 bytes --]
On Fri, Jul 22, 2022 at 04:02:33PM +0200, Hartmut Goebel wrote:
> * gnu/packages/openstack.scm (python-oslo.context): Update to 5.0.0.
> [native-inputs]: Remove python-bandit; add python-mypy.
> [arguments]<phases>{relax-requirements}: Relax more requirements.
> ---
> gnu/packages/openstack.scm | 14 ++++++++------
> 1 file changed, 8 insertions(+), 6 deletions(-)
>
> diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
> index 08f6436af6..3f13b9613e 100644
> --- a/gnu/packages/openstack.scm
> +++ b/gnu/packages/openstack.scm
> @@ -522,30 +522,32 @@ common features used in Tempest.")
> (define-public python-oslo.context
> (package
> (name "python-oslo.context")
> - (version "3.1.1")
> + (version "5.0.0")
> (source
> (origin
> (method url-fetch)
> (uri (pypi-uri "oslo.context" version))
> (sha256
> (base32
> - "1l2z186rkd9acrb2ygf53yrdc1lgf7cy1akbhm21kgkzind4p2r6"))))
> + "091j2cjh1b60nx6s0a4amb2idh9awijnbmppc3an0738fv8cdh48"))))
> (build-system python-build-system)
> (arguments
> `(#:phases (modify-phases %standard-phases
> (add-after 'unpack 'relax-requirements
> (lambda _
> (substitute* "test-requirements.txt"
> - (("hacking>=3.0.1,<3.1.0")
> - "hacking>=3.0.1"))
> + (("hacking[<>!=].*") "hacking\n")
> + ;; unused, code-quality checks only
> + (("bandit[<>!=]" line) (string-append "# " line))
> + (("pre-commit[<>!=]" line) (string-append "# " line)))
> #t)))))
You can get rid of the trailing '#t' while applying the rest of the
patch.
> (propagated-inputs
> (list python-debtcollector))
> (native-inputs
> - (list python-bandit
> - python-coverage
> + (list python-coverage
> python-fixtures
> python-hacking
> + python-mypy
> python-oslotest
> python-pbr
> python-stestr))
> --
> 2.30.4
>
>
>
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 01/19] gnu: python-args: Make it build with Python 3.
2022-07-22 14:02 ` [bug#56701] [PATCH 01/19] gnu: python-args: Make it build with Python 3 Hartmut Goebel
@ 2022-08-04 19:04 ` Efraim Flashner
0 siblings, 0 replies; 34+ messages in thread
From: Efraim Flashner @ 2022-08-04 19:04 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 56701
[-- Attachment #1: Type: text/plain, Size: 448 bytes --]
On Fri, Jul 22, 2022 at 04:02:21PM +0200, Hartmut Goebel wrote:
> This package is unmaintained, but still used. Patch the contained
> Python-2-code to make it build with Python 3.
>
This one doesn't seem to be needed anymore.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache.
2022-07-22 14:02 ` [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache Hartmut Goebel
@ 2022-08-04 19:04 ` Efraim Flashner
2022-08-04 19:07 ` ( via Guix-patches via
2022-08-04 20:33 ` Hartmut Goebel
0 siblings, 2 replies; 34+ messages in thread
From: Efraim Flashner @ 2022-08-04 19:04 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 56701
[-- Attachment #1: Type: text/plain, Size: 3184 bytes --]
On Fri, Jul 22, 2022 at 04:02:23PM +0200, Hartmut Goebel wrote:
> * gnu/packages/databases.scm (python-dogpile.cache): New variable.
> ---
> gnu/packages/databases.scm | 31 ++++++++++++++++++++++++++++++-
> 1 file changed, 30 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
> index 32c36fe337..0bdcee5f7c 100644
> --- a/gnu/packages/databases.scm
> +++ b/gnu/packages/databases.scm
> @@ -8,7 +8,7 @@
> ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
> ;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
> ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
> -;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
> +;;; Copyright © 2016, 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
> ;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
> ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
> ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
> @@ -122,6 +122,7 @@
> #:use-module (gnu packages ncurses)
> #:use-module (gnu packages networking)
> #:use-module (gnu packages onc-rpc)
> + #:use-module (gnu packages openstack)
> #:use-module (gnu packages pantheon)
> #:use-module (gnu packages parallel)
> #:use-module (gnu packages pcre)
> @@ -4823,3 +4824,31 @@ create design, and edit database file compatible with SQLite.")
> (description
> "This package implements the @acronym{LSP, Language Server Protocol} for SQL.")
> (license license:expat)))
> +
I don't like the "." in the package name, but its still allowed.
> +(define-public python-dogpile.cache
> + (package
> + (name "python-dogpile.cache")
> + (version "1.1.8")
> + (source (origin
> + (method url-fetch)
> + (uri (pypi-uri "dogpile.cache" version))
> + (sha256
> + (base32
> + "0kpx42vxzss4sz5ic6mp01a97zinzm6q76n8li2gbi4ccfxyhi6q"))))
> + (build-system python-build-system)
> + (arguments
> + '(#:phases
> + (modify-phases %standard-phases
> + (replace 'check
> + (lambda* (#:key tests? #:allow-other-keys)
> + (when tests?
> + (invoke "pytest" )))))))
This extra space though, after pytest, it needs to go :)
> + (native-inputs (list python-mako python-pytest))
> + (propagated-inputs (list python-decorator python-stevedore))
> + (home-page "https://github.com/sqlalchemy/dogpile.cache")
> + (synopsis "Caching front-end based on the Dogpile lock")
> + (description "@code{dogpile.cache} is a caching API which provides a
> +generic interface to caching backends of any variety, and additionally
> +provides API hooks which integrate these cache backends with the locking
> +mechanism of @code{dogpile}.")
> + (license license:expat)))
> --
> 2.30.4
>
>
>
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 05/19] gnu: Add python-os-service-types.
2022-07-22 14:02 ` [bug#56701] [PATCH 05/19] gnu: Add python-os-service-types Hartmut Goebel
@ 2022-08-04 19:04 ` Efraim Flashner
0 siblings, 0 replies; 34+ messages in thread
From: Efraim Flashner @ 2022-08-04 19:04 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 56701
[-- Attachment #1: Type: text/plain, Size: 2782 bytes --]
On Fri, Jul 22, 2022 at 04:02:25PM +0200, Hartmut Goebel wrote:
> * gnu/packages/openstack.scm (python-os-service-types): New variable.
> ---
> gnu/packages/openstack.scm | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
> index 0721d27dbf..a57210f847 100644
> --- a/gnu/packages/openstack.scm
> +++ b/gnu/packages/openstack.scm
> @@ -7,6 +7,7 @@
> ;;; Copyright © 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
> ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
> ;;; Copyright © 2022 Tanguy Le Carrour <tanguy@bioneland.org>
> +;;; Copyright © 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -251,6 +252,33 @@ to docs.openstack.org and developer.openstack.org.")
> comprehensive manner.")
> (license asl2.0)))
>
> +(define-public python-os-service-types
> + (package
> + (name "python-os-service-types")
> + (version "1.7.0")
> + (source (origin
> + (method url-fetch)
> + (uri (pypi-uri "os-service-types" version))
> + (sha256
> + (base32
> + "0v4chwr5jykkvkv4w7iaaic7gb06j6ziw7xrjlwkcf92m2ch501i"))))
> + (build-system python-build-system)
> + (arguments
> + ;; The tests are disabled to avoid a circular dependency with
> + ;; python-keystoneauth1.
> + `(#:tests? #f))
> + (native-inputs (list python-pbr))
> + (home-page "https://docs.openstack.org/os-service-types/latest/")
> + (synopsis "Python library for consuming OpenStack Service Types Authority
> +data")
The synopsis should be on one line, even if it needs to stretch into
that 80-90 character range. Or shorted slightly. You could probably drop
the "Python" part of the synopsis.
> + (description "The @{OpenStack Service Types Authority} contains
You're missing something with the "@{", like @code{ or something.
> +information about official OpenStack services and their historical
> +service-type aliases. The data is in JSON and the latest data should always
> +be used. This simple library exists to allow for easy consumption of the
> +data, along with a built-in version of the data to use in case network access
> +is for some reason not possible and local caching of the fetched data.")
> + (license asl2.0)))
> +
> (define-public python-os-testr
> (package
> (name "python-os-testr")
> --
> 2.30.4
>
>
>
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 06/19] gnu: Add python-oslo.concurrency.
2022-07-22 14:02 ` [bug#56701] [PATCH 06/19] gnu: Add python-oslo.concurrency Hartmut Goebel
@ 2022-08-04 19:04 ` Efraim Flashner
0 siblings, 0 replies; 34+ messages in thread
From: Efraim Flashner @ 2022-08-04 19:04 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 56701
[-- Attachment #1: Type: text/plain, Size: 3000 bytes --]
On Fri, Jul 22, 2022 at 04:02:26PM +0200, Hartmut Goebel wrote:
> * gnu/packages/openstack.scm (python-oslo.concurrency): New variable.
> ---
> gnu/packages/openstack.scm | 42 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
>
> diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
> index a57210f847..7b0c96d11c 100644
> --- a/gnu/packages/openstack.scm
> +++ b/gnu/packages/openstack.scm
> @@ -389,6 +389,48 @@ common features used in Tempest.")
> ;;; Packages from the Oslo library
> ;;;
>
> +(define-public python-oslo.concurrency
> + (package
> + (name "python-oslo.concurrency")
> + (version "4.5.1")
> + (source (origin
> + (method url-fetch)
> + (uri (pypi-uri "oslo.concurrency" version))
> + (sha256
> + (base32
> + "05ysy2jnxb7l2prw38kys0afr99mzh3bw5nd42zvm59xp53bjsb8"))))
> + (build-system python-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (add-after 'unpack 'relax-requirements
> + (lambda _
> + (substitute* "test-requirements.txt"
> + (("hacking[<>!=]" line) (string-append "# " line))
> + (("coverage[<>!=]" line) (string-append "# " line))
> + (("bandit[<>!=]" line) (string-append "# " line))
> + (("pre-commit[<>!=]" line) (string-append "# " line)))))
> + (add-before 'check 'fix-tests
> + (lambda _
> + (substitute* "oslo_concurrency/tests/unit/test_processutils.py"
> + (("#!/bin/bash") (string-append "#!" (which "bash")))
> + (("#!/bin/sh") (string-append "#!" (which "sh")))
> + (("'/usr/bin/env'") (string-append "'" (which "env") "'"))
> + (("'/usr/bin/env ") (string-append "'" (which "env") " "))
> + (("'/bin/true'") (string-append "'" (which "true") "'"))))))))
> + (native-inputs (list python-pbr
> + ;; for tests:
> + python-oslotest
> + python-fixtures
> + python-stestr
> + python-eventlet))
> + (propagated-inputs (list python-fasteners python-oslo.config
> + python-oslo.i18n python-oslo.utils))
> + (home-page "https://docs.openstack.org/oslo.concurrency/latest/")
> + (synopsis "Oslo Concurrency library")
> + (description "Oslo Concurrency library")
The description needs to be fleshed out some more.
> + (license asl2.0)))
> +
> (define-public python-oslo.config
> (package
> (name "python-oslo.config")
> --
> 2.30.4
>
>
>
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 09/19] gnu: Add python-openstacksdk.
2022-07-22 14:02 ` [bug#56701] [PATCH 09/19] gnu: Add python-openstacksdk Hartmut Goebel
@ 2022-08-04 19:04 ` Efraim Flashner
0 siblings, 0 replies; 34+ messages in thread
From: Efraim Flashner @ 2022-08-04 19:04 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 56701
[-- Attachment #1: Type: text/plain, Size: 3916 bytes --]
On Fri, Jul 22, 2022 at 04:02:29PM +0200, Hartmut Goebel wrote:
> * gnu/packages/openstack.scm (python-openstacksdk): New variable.
> ---
> gnu/packages/openstack.scm | 54 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 54 insertions(+)
>
> diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
> index 3594179780..6ed54caa26 100644
> --- a/gnu/packages/openstack.scm
> +++ b/gnu/packages/openstack.scm
> @@ -27,7 +27,9 @@
> (define-module (gnu packages openstack)
> #:use-module (gnu packages)
> #:use-module (gnu packages check)
> + #:use-module (gnu packages databases)
> #:use-module (gnu packages gnupg)
> + #:use-module (gnu packages monitoring)
> #:use-module (gnu packages python)
> #:use-module (gnu packages python-build)
> #:use-module (gnu packages python-check)
> @@ -948,3 +950,55 @@ library. This makes some operations difficult, such as suppressing the
> simple library to find the correct path to exceptions in the requests library
> regardless of whether they are bundled or not.")
> (license asl2.0)))
> +
> +(define-public python-openstacksdk
> + (package
> + (name "python-openstacksdk")
> + (version "0.100.0")
> + (source (origin
> + (method url-fetch)
> + (uri (pypi-uri "openstacksdk" version))
> + (sha256
> + (base32
> + "0iq7rxw59ibl6xsqh3jw56yg3zfbz3cqgx1239n6xd9iv86mcgq1"))))
> + (build-system python-build-system)
> + (arguments
> + '(#:tests? #f ;; 8/3781 fail
Since it's such a small amount can those 8 tests be skipped?
> + #:phases (modify-phases %standard-phases
> + (replace 'check
> + (lambda* (#:key tests? #:allow-other-keys)
> + (when tests?
> + (invoke "stestr" "run")))))))
> + (native-inputs (list python-ddt
> + python-hacking
> + python-jsonschema
> + python-pbr
> + python-prometheus-client
> + python-requests-mock
> + python-statsd
> + python-stestr
> + python-testscenarios
> + python-oslo.config
> + python-oslotest))
> + (propagated-inputs (list python-appdirs
> + python-cryptography
> + python-decorator
> + python-dogpile.cache
> + python-importlib-metadata
> + python-iso8601
> + python-jmespath
> + python-jsonpatch
> + python-keystoneauth1
> + python-munch
> + python-netifaces
> + python-os-service-types
> + python-pbr ; run-time dependency actually
> + python-pyyaml
> + python-requestsexceptions))
> + (home-page "https://docs.openstack.org/openstacksdk/latest/")
> + (synopsis "SDK for building applications to work with OpenStack")
> + (description "This package provides a client library for building
> +applications to work with OpenStack clouds. The SDK aims to provide a
> +consistent and complete set of interactions with OpenStack’s many services,
> +along with complete documentation, examples, and tools.")
> + (license asl2.0)))
> --
> 2.30.4
>
>
>
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 11/19] gnu: python-keystoneclient: Update to 5.0.0.
2022-07-22 14:02 ` [bug#56701] [PATCH 11/19] gnu: python-keystoneclient: Update to 5.0.0 Hartmut Goebel
@ 2022-08-04 19:04 ` Efraim Flashner
0 siblings, 0 replies; 34+ messages in thread
From: Efraim Flashner @ 2022-08-04 19:04 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 56701
[-- Attachment #1: Type: text/plain, Size: 4552 bytes --]
On Fri, Jul 22, 2022 at 04:02:31PM +0200, Hartmut Goebel wrote:
> * gnu/packages/openstack.scm (python-keystoneclient): Update to 5.0.0.
> [arguments]<phases>{relax-requirements}: New phase.
> [propagated-inputs]: Remove python-pbr; add python-keystoneauth1.
> [native-inputs]: Adjust to new style. Remove python-sphinx, python-coverage,
> python-discover, python-hacking, python-mox3, python-oslosphinx,
> python-pycrypto, python-testrepository, and python-webob; add python-pbr,
> python-stestr, and python-testscenarios.
> ---
> gnu/packages/openstack.scm | 55 +++++++++++++++++++++-----------------
> 1 file changed, 30 insertions(+), 25 deletions(-)
>
> diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
> index d09de5e441..08f6436af6 100644
> --- a/gnu/packages/openstack.scm
> +++ b/gnu/packages/openstack.scm
> @@ -847,49 +847,54 @@ process of writing new clients.")
> (define-public python-keystoneclient
> (package
> (name "python-keystoneclient")
> - (version "1.8.1")
> + (version "5.0.0")
> (source
> (origin
> (method url-fetch)
> (uri (pypi-uri "python-keystoneclient" version))
> (sha256
> (base32
> - "1w4csvkah67rfpxylxnvs2s3594i0f9isy8pf4gnsqs5zirvjaa4"))))
> + "0gza5fx3xl3l6vrc6pnhbzhipz1fz9h98kwxqp7mmd90pwrxll0g"))))
> (build-system python-build-system)
> (arguments
> - '(#:tests? #f)) ; FIXME: Many tests are failing.
> + '(#:tests? #f ; FIXME: Many tests are failing.
> + #:phases (modify-phases %standard-phases
> + (add-after 'unpack 'relax-requirements
> + (lambda _
> + (substitute* "test-requirements.txt"
> + ;; unused, code-quality checks only
> + (("hacking[<>!=]" line) (string-append "# " line))
> + (("flake8-.*[<>!=]" line) (string-append "# " line))
> + (("pycodestyle[<>!=]" line) (string-append "# " line))
> + (("bandit[<>!=]" line) (string-append "# " line))
> + (("coverage[<>!=]" line) (string-append "# " line))
> + (("reno[<>!=]" line) (string-append "# " line))
> + ))))))
These close parentheses should be on the previous line.
> (native-inputs
> - `(("python-sphinx" ,python-sphinx)
> - ;; and some packages for the tests
> - ("openssl" ,openssl)
> - ("python-coverage" ,python-coverage)
> - ("python-discover" ,python-discover)
> - ("python-fixtures" ,python-fixtures)
> - ("python-hacking" ,python-hacking)
> - ("python-keyring" ,python-keyring)
> - ("python-lxml" ,python-lxml)
> - ("python-mock" ,python-mock)
> - ("python-mox3" ,python-mox3)
> - ("python-oauthlib" ,python-oauthlib)
> - ("python-oslosphinx" ,python-oslosphinx)
> - ("python-oslotest" ,python-oslotest)
> - ("python-pycrypto" ,python-pycrypto)
> - ("python-requests-mock" ,python-requests-mock)
> - ("python-temptest-lib" ,python-tempest-lib)
> - ("python-testrepository" ,python-testrepository)
> - ("python-testresources" ,python-testresources)
> - ("python-testtools" ,python-testtools)
> - ("python-webob" ,python-webob)))
> + (list openssl
> + python-fixtures
> + python-keyring
> + python-lxml
> + python-mock
> + python-oauthlib
> + python-oslotest
> + python-pbr
> + python-requests-mock
> + python-stestr
> + python-tempest-lib
> + python-testresources
> + python-testscenarios
> + python-testtools))
> (propagated-inputs
> (list python-babel
> python-debtcollector
> python-iso8601
> + python-keystoneauth1
> python-netaddr
> python-oslo.config
> python-oslo.i18n
> python-oslo.serialization
> python-oslo.utils
> - python-pbr
> python-prettytable
> python-requests
> python-six
> --
> 2.30.4
>
>
>
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache.
2022-08-04 19:04 ` Efraim Flashner
@ 2022-08-04 19:07 ` ( via Guix-patches via
2022-08-04 20:22 ` Efraim Flashner
2022-08-04 20:33 ` Hartmut Goebel
1 sibling, 1 reply; 34+ messages in thread
From: ( via Guix-patches via @ 2022-08-04 19:07 UTC (permalink / raw)
To: Efraim Flashner, Hartmut Goebel; +Cc: 56701
On Thu Aug 4, 2022 at 8:04 PM BST, Efraim Flashner wrote:
> I don't like the "." in the package name, but its still allowed.
Is it? I've never seen a package with a period in the name. It
should probably be converted to a hyphen: python-dogpile-cache.
-- (
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache.
2022-08-04 19:07 ` ( via Guix-patches via
@ 2022-08-04 20:22 ` Efraim Flashner
2022-08-04 20:26 ` ( via Guix-patches via
0 siblings, 1 reply; 34+ messages in thread
From: Efraim Flashner @ 2022-08-04 20:22 UTC (permalink / raw)
To: (; +Cc: Hartmut Goebel, 56701
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
On Thu, Aug 04, 2022 at 08:07:33PM +0100, ( wrote:
> On Thu Aug 4, 2022 at 8:04 PM BST, Efraim Flashner wrote:
> > I don't like the "." in the package name, but its still allowed.
> Is it? I've never seen a package with a period in the name. It
> should probably be converted to a hyphen: python-dogpile-cache.
>
'guix package -A \\. | cut -f1 | grep -v [[:digit:]]\.[[:digit:]] | wc -l'
reports there are 54 packages with a period in their name. That
eliminates packages like guile2.2-* or ocaml4.07-*.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache.
2022-08-04 20:22 ` Efraim Flashner
@ 2022-08-04 20:26 ` ( via Guix-patches via
0 siblings, 0 replies; 34+ messages in thread
From: ( via Guix-patches via @ 2022-08-04 20:26 UTC (permalink / raw)
To: Efraim Flashner; +Cc: Hartmut Goebel, 56701
On Thu Aug 4, 2022 at 9:22 PM BST, Efraim Flashner wrote:
> 'guix package -A \\. | cut -f1 | grep -v [[:digit:]]\.[[:digit:]] | wc -l'
> reports there are 54 packages with a period in their name. That
> eliminates packages like guile2.2-* or ocaml4.07-*.
Ah, yes, you're right.
-- (
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache.
2022-08-04 19:04 ` Efraim Flashner
2022-08-04 19:07 ` ( via Guix-patches via
@ 2022-08-04 20:33 ` Hartmut Goebel
2022-08-04 21:35 ` Efraim Flashner
1 sibling, 1 reply; 34+ messages in thread
From: Hartmut Goebel @ 2022-08-04 20:33 UTC (permalink / raw)
To: Efraim Flashner, 56701
Am 04.08.22 um 21:04 schrieb Efraim Flashner:
> I don't like the "." in the package name, but its still allowed.
Yes, I stumbled over this, too. And decided to keep it for two reasons:
1) This is the name the pypi importer created
2) There is another dogpile.* package using the same naming conventions.
Beside this I have no actual opinion and it would be fine for me to
change the dot into a dash (and eventually deprecating the other
dogpile.* packages, too)
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 34+ messages in thread
* [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache.
2022-08-04 20:33 ` Hartmut Goebel
@ 2022-08-04 21:35 ` Efraim Flashner
0 siblings, 0 replies; 34+ messages in thread
From: Efraim Flashner @ 2022-08-04 21:35 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 56701
[-- Attachment #1: Type: text/plain, Size: 838 bytes --]
On Thu, Aug 04, 2022 at 10:33:46PM +0200, Hartmut Goebel wrote:
> Am 04.08.22 um 21:04 schrieb Efraim Flashner:
> > I don't like the "." in the package name, but its still allowed.
>
> Yes, I stumbled over this, too. And decided to keep it for two reasons:
>
> 1) This is the name the pypi importer created
>
> 2) There is another dogpile.* package using the same naming conventions.
>
> Beside this I have no actual opinion and it would be fine for me to change
> the dot into a dash (and eventually deprecating the other dogpile.*
> packages, too)
>
Let's leave it as the importer created it for now.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* bug#56701: Acknowledgement ([PATCH 00/19] Update python-pyjwt and its dependent packages)
[not found] ` <handler.56701.B.165849848718348.ack@debbugs.gnu.org>
@ 2022-08-10 7:54 ` Hartmut Goebel
0 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2022-08-10 7:54 UTC (permalink / raw)
To: 56701-close, Efraim Flashner
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
Hi,
thanks for the review. I addresses your xomments and pushed as
2111a4eee7441213156e9df04dd141cf19d91fdc.
Note: For excluding the failing tests in python-openstacksdk I had to
also update pythonstestr. All dependencies still seem to build.
--
Regards
Hartmut Goebel
| Hartmut Goebel |h.goebel@crazy-compilers.com |
|www.crazy-compilers.com | compilers which you thought are impossible |
[-- Attachment #2: Type: text/html, Size: 1379 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
end of thread, other threads:[~2022-08-10 7:57 UTC | newest]
Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 01/19] gnu: python-args: Make it build with Python 3 Hartmut Goebel
2022-08-04 19:04 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 02/19] gnu: Add python-requests-kerberos Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache Hartmut Goebel
2022-08-04 19:04 ` Efraim Flashner
2022-08-04 19:07 ` ( via Guix-patches via
2022-08-04 20:22 ` Efraim Flashner
2022-08-04 20:26 ` ( via Guix-patches via
2022-08-04 20:33 ` Hartmut Goebel
2022-08-04 21:35 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 04/19] gnu: Add python-statsd Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 05/19] gnu: Add python-os-service-types Hartmut Goebel
2022-08-04 19:04 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 06/19] gnu: Add python-oslo.concurrency Hartmut Goebel
2022-08-04 19:04 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 07/19] gnu: Add python-keystoneauth1 Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 08/19] gnu: Add python-requestsexceptions Hartmut Goebel
2022-08-04 19:01 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 09/19] gnu: Add python-openstacksdk Hartmut Goebel
2022-08-04 19:04 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 10/19] gnu: Add python-tempest Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 11/19] gnu: python-keystoneclient: Update to 5.0.0 Hartmut Goebel
2022-08-04 19:04 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 12/19] gnu: python-munch: Update to 2.5.0 Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 13/19] gnu: python-oslo.context: Update to 5.0.0 Hartmut Goebel
2022-08-04 19:03 ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 14/19] gnu: python-oslo.log: " Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 15/19] gnu: python-tempest-lib: Update to 1.0.0 Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 16/19] gnu: python-pyjwt: Update to 2.4.0 Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 17/19] gnu: python-swiftclient: Update to 4.0.1 Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 18/19] gnu: python-pygithub: Update to 1.55 Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 19/19] gnu: conan: Update to 1.50.0 Hartmut Goebel
[not found] ` <handler.56701.B.165849848718348.ack@debbugs.gnu.org>
2022-08-10 7:54 ` bug#56701: Acknowledgement ([PATCH 00/19] Update python-pyjwt and its dependent packages) Hartmut Goebel
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.