unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [bug#49429] [PATCH]  gnu: Add python-flask-misaka.
  @ 2021-07-06  5:32 70% ` jgart via Guix-patches via
  2021-07-26 17:40 70%   ` bug#49429: " Ludovic Courtès
  0 siblings, 1 reply; 200+ results
From: jgart via Guix-patches via @ 2021-07-06  5:32 UTC (permalink / raw)
  To: 49429; +Cc: jgart

* gnu/packages/python-web.scm (python-flask-misaka): New variable.
---
 gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 656f310dc1..e0027ce9dc 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1063,6 +1063,32 @@ Origin Resource Sharing}, making cross-origin AJAX possible.")
 into Jinja2 by default.")
     (license license:bsd-3)))
 
+(define-public python-flask-misaka
+  (package
+    (name "python-flask-misaka")
+    (version "1.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "Flask-Misaka" version))
+        (sha256
+          (base32
+            "12gm6hq3lvlj0ddw8p6lk5pky8jk3pw758ihffjl49shnnzc68zl"))))
+    (build-system python-build-system)
+    (native-inputs
+      `(("python-coverage" ,python-coverage)
+        ("python-mock" ,python-mock)))
+    (propagated-inputs
+      `(("python-flask" ,python-flask)
+        ("python-misaka" ,python-misaka)))
+    (home-page
+      "https://github.com/singingwolfboy/flask-misaka/")
+    (synopsis
+      "Flask interface to Misaka, a markdown parsing library")
+    (description
+      "A pleasant interface between the Flask web framework and the Misaka Markdown parser.")
+    (license license:expat)))
+
 (define-public python-flask-session
   (package
     (name "python-flask-session")
-- 
2.31.1





^ permalink raw reply related	[relevance 70%]

* [bug#49468] [PATCH] Respect --without-tests in some dependencies of Mirage
@ 2021-07-08 17:43 88% Maxime Devos
  0 siblings, 0 replies; 200+ results
From: Maxime Devos @ 2021-07-08 17:43 UTC (permalink / raw)
  To: 49468; +Cc: slg


[-- Attachment #1.1: Type: text/plain, Size: 623 bytes --]

X-Debbugs-CC: slg <0x2d@disroot.org>

Hi guix,

In the context of <https://issues.guix.gnu.org/49123>,
I'm making some dependencies of mirage respect --without-tests.
The modified packages build successfully with and without --without-tests.

The number of rebuilds is minimal:

$ ./pre-inst-env guix refresh -l libolm python-h2 python-h11 python-hpack python-hyperframe python-watchgod python-pymediainfo
Building the following 5 packages would ensure 12 dependent packages are rebuilt: nheko@0.7.2 python-hypercorn@0.10.2 orange@3.28.0 python-sanic@20.12.2 rapid-photo-downloader@0.9.18

Greetings,
Maxime

[-- Attachment #1.2: 0001-gnu-python-pymediainfo-Respect-without-tests.patch --]
[-- Type: text/x-patch, Size: 2051 bytes --]

From d2d739db1dc72907df43df156d19f8fefae0c4db Mon Sep 17 00:00:00 2001
From: Maxime Devos <maximedevos@telenet.be>
Date: Thu, 8 Jul 2021 17:07:42 +0200
Subject: [PATCH 1/7] gnu: python-pymediainfo: Respect "--without-tests".

* gnu/packages/python-xyz.scm
  (python-pymediainfo)[arguments]<#:phases>{check}: Respect
  #:tests?.  Don't bother returning #t as it isn't required
  anymore.
---
 gnu/packages/python-xyz.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ec4209108f..d42119fd3c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -100,6 +100,7 @@
 ;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
 ;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
 ;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
+;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -745,14 +746,14 @@ to CommonMark.")
                                "/lib/libmediainfo.so.0")))
              #t))
          (replace 'check
-           (lambda _
-             ;; Extend PYTHONPATH so the built package will be found.
-             (setenv "PYTHONPATH"
-                     (string-append (getcwd) "/build/lib:"
-                                    (getenv "PYTHONPATH")))
-             ;; Skip the only failing test "test_parse_url"
-             (invoke "pytest" "-vv" "-k" "not test_parse_url")
-             #t)))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               ;; Extend PYTHONPATH so the built package will be found.
+               (setenv "PYTHONPATH"
+                       (string-append (getcwd) "/build/lib:"
+                                      (getenv "PYTHONPATH")))
+               ;; Skip the only failing test "test_parse_url"
+               (invoke "pytest" "-vv" "-k" "not test_parse_url")))))))
     (home-page
      "https://github.com/sbraz/pymediainfo")
     (synopsis
-- 
2.32.0


[-- Attachment #1.3: 0002-gnu-python-watchgod-Respect-without-tests.patch --]
[-- Type: text/x-patch, Size: 1026 bytes --]

From bcff673a068444db93fc840123947c283cac163f Mon Sep 17 00:00:00 2001
From: Maxime Devos <maximedevos@telenet.be>
Date: Thu, 8 Jul 2021 17:07:49 +0200
Subject: [PATCH 2/7] gnu: python-watchgod: Respect "--without-tests".

* gnu/packages/python-xyz.scm
  (python-watchgod)[arguments]<#:phases>{check}: Respect #:tests?.
---
 gnu/packages/python-xyz.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d42119fd3c..1a35f02edb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23419,8 +23419,9 @@ but portable.")
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             (invoke "pytest" "-vv"))))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "pytest" "-vv")))))))
     (native-inputs
      `(("python-coverage" ,python-coverage)
        ("python-docutils" ,python-docutils)
-- 
2.32.0


[-- Attachment #1.4: 0003-gnu-python-hyperframe-Respect-without-tests.patch --]
[-- Type: text/x-patch, Size: 1578 bytes --]

From d97097a9d1c73d6a58d72e360a7c6c82fabfabc3 Mon Sep 17 00:00:00 2001
From: Maxime Devos <maximedevos@telenet.be>
Date: Thu, 8 Jul 2021 17:12:46 +0200
Subject: [PATCH 3/7] gnu: python-hyperframe: Respect "--without-tests".

* gnu/packages/python-web.scm
  (python-hyperframe)[arguments]<#:phases>{check}: Respect #:tests?.
---
 gnu/packages/python-web.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d0a4ee9c16..0cccb55f07 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -42,6 +42,7 @@
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
 ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
+;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -843,9 +844,10 @@ follow links and submit forms.  It doesn’t do JavaScript.")
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (add-installed-pythonpath inputs outputs)
-             (invoke "pytest" "-vv" "test"))))))
+           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "pytest" "-vv" "test")))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (home-page "https://github.com/python-hyper/hyperframe")
-- 
2.32.0


[-- Attachment #1.5: 0004-gnu-python-hpack-Respect-without-tests.patch --]
[-- Type: text/x-patch, Size: 1646 bytes --]

From 6fb805811ddc192021f35d9f6ba415de20d7c306 Mon Sep 17 00:00:00 2001
From: Maxime Devos <maximedevos@telenet.be>
Date: Thu, 8 Jul 2021 17:23:53 +0200
Subject: [PATCH 4/7] gnu: python-hpack: Respect "--without-tests".

* gnu/packages/python-web.scm
  (python-hpack)[arguments]<#:phases>{check}: Respect #:tests?.
---
 gnu/packages/python-web.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 0cccb55f07..b535b54e4d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -877,12 +877,13 @@ into HTTP/2 frames.")
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (add-installed-pythonpath inputs outputs)
-             (invoke "pytest" "-vv" "test" "-k"
-                     ;; This test will be fixed in the next version. See:
-                     ;; https://github.com/python-hyper/hpack/issues/168.
-                     "not test_get_by_index_out_of_range"))))))
+           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "pytest" "-vv" "test" "-k"
+                       ;; This test will be fixed in the next version. See:
+                       ;; https://github.com/python-hyper/hpack/issues/168.
+                       "not test_get_by_index_out_of_range")))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (home-page "https://hyper.rtfd.org")
-- 
2.32.0


[-- Attachment #1.6: 0005-gnu-python-h11-Respect-without-tests.patch --]
[-- Type: text/x-patch, Size: 1056 bytes --]

From 188e32b2e29c601a6c9855b6adc4aa566f678d82 Mon Sep 17 00:00:00 2001
From: Maxime Devos <maximedevos@telenet.be>
Date: Thu, 8 Jul 2021 17:24:22 +0200
Subject: [PATCH 5/7] gnu: python-h11: Respect "--without-tests".

* gnu/packages/python-web.scm
  (python-h11)[arguments]<#:phases>{check}: Respect #:tests?.
---
 gnu/packages/python-web.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b535b54e4d..f529bd0dd2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -908,8 +908,9 @@ for use in Python programs that implement HTTP/2.")
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             (invoke "pytest" "-vv"))))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "pytest" "-vv")))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (home-page "https://github.com/python-hyper/h11")
-- 
2.32.0


[-- Attachment #1.7: 0006-gnu-python-h2-Respect-without-tests.patch --]
[-- Type: text/x-patch, Size: 1197 bytes --]

From 2487d91ce980e46e23848db2e79b6a1c0b43fdaa Mon Sep 17 00:00:00 2001
From: Maxime Devos <maximedevos@telenet.be>
Date: Thu, 8 Jul 2021 17:41:58 +0200
Subject: [PATCH 6/7] gnu: python-h2: Respect "--without-tests".

* gnu/packages/python-web.scm
  (python-h2)[arguments]<#:phases>{check}: Respect #:tests?.
---
 gnu/packages/python-web.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f529bd0dd2..7d3c717a61 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -937,9 +937,10 @@ and that could be anything you want.")
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (add-installed-pythonpath inputs outputs)
-             (invoke "pytest" "-vv" "test"))))))
+           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "pytest" "-vv" "test")))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (propagated-inputs
-- 
2.32.0


[-- Attachment #1.8: 0007-gnu-libolm-Respect-without-tests.patch --]
[-- Type: text/x-patch, Size: 1544 bytes --]

From 1c3c16618b3d4cefccc368717c741841c64730bc Mon Sep 17 00:00:00 2001
From: Maxime Devos <maximedevos@telenet.be>
Date: Thu, 8 Jul 2021 18:38:25 +0200
Subject: [PATCH 7/7] gnu: libolm: Respect "--without-tests".

* gnu/packages/libolm.scm
  (libolm)[arguments]<#:phases>{check}: Respect #:tests?.
---
 gnu/packages/crypto.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 99455dc632..bd2c462b96 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2020 Hendur Saga <hendursaga@yahoo.com>
 ;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>
 ;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
+;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1314,9 +1315,10 @@ Trusted comments are signed, thus verified, before being displayed.")
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             (with-directory-excursion "tests"
-               (invoke "ctest" ".")))))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (with-directory-excursion "tests"
+                 (invoke "ctest" "."))))))))
     (synopsis "Implementation of the olm and megolm cryptographic ratchets")
     (description "The libolm library implements the Double Ratchet
 cryptographic ratchet.  It is written in C and C++11, and exposed as a C
-- 
2.32.0


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply related	[relevance 88%]

* [bug#49678] [PATCH 02/12] gnu: python-flask-migrate: Update to 3.0.1.
  @ 2021-07-21 13:50 89%   ` Pierre Langlois
  2021-07-21 13:50 89%   ` [bug#49678] [PATCH 03/12] gnu: python-flask-sqlalchemy: Update to 2.5.1 Pierre Langlois
  2021-07-21 13:50 86%   ` [bug#49678] [PATCH 05/12] gnu: python-aws-xray-sdk: Update to 2.8.0 Pierre Langlois
  2 siblings, 0 replies; 200+ results
From: Pierre Langlois @ 2021-07-21 13:50 UTC (permalink / raw)
  To: 49678; +Cc: Pierre Langlois

* gnu/packages/python-web.scm (python-flask-migrate): Update to 3.0.1.
---
 gnu/packages/python-web.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ecea80444e..780805655f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -29,7 +29,7 @@
 ;;; Copyright © 2018, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org>
 ;;; Copyright © 2019 Brendan Tildesley <mail@brendan.scot>
-;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
+;;; Copyright © 2019, 2021 Pierre Langlois <pierre.langlois@gmx.com>
 ;;; Copyright © 2019, 2020 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2020 Evan Straw <evan.straw99@gmail.com>
@@ -3894,14 +3894,14 @@ itself.")
 (define-public python-flask-migrate
   (package
   (name "python-flask-migrate")
-  (version "2.5.3")
+  (version "3.0.1")
   (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "Flask-Migrate" version))
       (sha256
         (base32
-          "1vip9ww6l18dxffjsggm83k71zkvihxpnhaswpv8klh95s6517d6"))))
+          "00m76kgdkk0w5bfq8hbqszpyaqk0yxdvmz4s67lvd36pc7wfhhjd"))))
   (build-system python-build-system)
   (propagated-inputs
    `(("python-flask" ,python-flask)
--
2.32.0





^ permalink raw reply related	[relevance 89%]

* [bug#49678] [PATCH 05/12] gnu: python-aws-xray-sdk: Update to 2.8.0.
    2021-07-21 13:50 89%   ` [bug#49678] [PATCH 02/12] gnu: python-flask-migrate: Update to 3.0.1 Pierre Langlois
  2021-07-21 13:50 89%   ` [bug#49678] [PATCH 03/12] gnu: python-flask-sqlalchemy: Update to 2.5.1 Pierre Langlois
@ 2021-07-21 13:50 86%   ` Pierre Langlois
  2 siblings, 0 replies; 200+ results
From: Pierre Langlois @ 2021-07-21 13:50 UTC (permalink / raw)
  To: 49678; +Cc: Pierre Langlois

* gnu/packages/python-web.scm (python-aws-xray-sdk): Update to 2.8.0.
[arguments]: Skip sqlalchemy_core/test_postgres.py and django/test_settings.py
tests.  Honour tests? option in 'check phase.
---
 gnu/packages/python-web.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a677645814..82944c1711 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -398,7 +398,7 @@ Model} (SAM) templates into AWS CloudFormation templates.")
 (define-public python-aws-xray-sdk
   (package
     (name "python-aws-xray-sdk")
-    (version "2.6.0")
+    (version "2.8.0")
     (home-page "https://github.com/aws/aws-xray-sdk-python")
     (source (origin
               (method git-fetch)
@@ -406,7 +406,7 @@ Model} (SAM) templates into AWS CloudFormation templates.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "12fzr0ylpa1lx3xr1x2f1jx8iiyzcr6g57fb9jign0j0lxdlbzpv"))))
+                "1kxhplfhb1asnqk0vr0r3adq0ainwhy5fn0x7xjvihslrj6f77xl"))))
     (build-system python-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases
@@ -420,6 +420,7 @@ Model} (SAM) templates into AWS CloudFormation templates.")
                                   "tests/ext/psycopg2/test_psycopg2.py"
                                   "tests/ext/pymysql/test_pymysql.py"
                                   "tests/ext/pynamodb/test_pynamodb.py"
+                                  "tests/ext/sqlalchemy_core/test_postgres.py"
                                   "tests/test_async_recorder.py"

                                   ;; FIXME: Why is this failing?
@@ -428,17 +429,19 @@ Model} (SAM) templates into AWS CloudFormation templates.")
                                   ;; TODO: How to configure Django for these tests.
                                   "tests/ext/django/test_db.py"
                                   "tests/ext/django/test_middleware.py"
+                                  "tests/ext/django/test_settings.py"

                                   ;; These tests want to access httpbin.org.
                                   "tests/ext/requests/test_requests.py"
                                   "tests/ext/httplib/test_httplib.py"
                                   "tests/ext/aiohttp/test_client.py"))))
                   (replace 'check
-                    (lambda _
+                    (lambda* (#:key tests? #:allow-other-keys)
                       (setenv "PYTHONPATH"
                               (string-append "./build/lib:.:"
                                              (getenv "PYTHONPATH")))
-                      (invoke "pytest" "-vv" "tests"))))))
+                      (when tests?
+                        (invoke "pytest" "-vv" "tests")))))))
     (native-inputs
      `(;; These are required for the test suite.
        ("python-bottle" ,python-bottle)
--
2.32.0





^ permalink raw reply related	[relevance 86%]

* [bug#49678] [PATCH 03/12] gnu: python-flask-sqlalchemy: Update to 2.5.1.
    2021-07-21 13:50 89%   ` [bug#49678] [PATCH 02/12] gnu: python-flask-migrate: Update to 3.0.1 Pierre Langlois
@ 2021-07-21 13:50 89%   ` Pierre Langlois
  2021-07-21 13:50 86%   ` [bug#49678] [PATCH 05/12] gnu: python-aws-xray-sdk: Update to 2.8.0 Pierre Langlois
  2 siblings, 0 replies; 200+ results
From: Pierre Langlois @ 2021-07-21 13:50 UTC (permalink / raw)
  To: 49678; +Cc: Pierre Langlois

* gnu/packages/python-web.scm (python-flask-sqlalchemy): Update to 2.5.1.
[home-page]: Follow redirect.
---
 gnu/packages/python-web.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 780805655f..a677645814 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3513,18 +3513,18 @@ applications.")
 (define-public python-flask-sqlalchemy
   (package
     (name "python-flask-sqlalchemy")
-    (version "2.4.4")
+    (version "2.5.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Flask-SQLAlchemy" version))
               (sha256
                (base32
-                "1rgsj49gnx361hnb3vn6c1h17497qh22yc3r70l1r6w0mw71bixz"))))
+                "04jrx4sjrz1b20j38qk4qin975xwz30krzq59rfv3b3w7ss49nib"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-flask" ,python-flask)
        ("python-sqlalchemy" ,python-sqlalchemy)))
-    (home-page "https://github.com/mitsuhiko/flask-sqlalchemy")
+    (home-page "https://github.com/pallets/flask-sqlalchemy")
     (synopsis "Module adding SQLAlchemy support to your Flask application")
     (description
      "This package adds SQLAlchemy support to your Flask application.")
--
2.32.0





^ permalink raw reply related	[relevance 89%]

* bug#49429: [PATCH]  gnu: Add python-flask-misaka.
  2021-07-06  5:32 70% ` jgart via Guix-patches via
@ 2021-07-26 17:40 70%   ` Ludovic Courtès
  0 siblings, 0 replies; 200+ results
From: Ludovic Courtès @ 2021-07-26 17:40 UTC (permalink / raw)
  To: jgart; +Cc: 49429-done

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

Hi,

jgart <jgart@dismail.de> skribis:

> * gnu/packages/python-web.scm (python-flask-misaka): New variable.

Applied with the minor tweak below, as per:

  https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html

Thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 918 bytes --]

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 83ea50d913..b75cb5ddfd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1086,12 +1086,11 @@ into Jinja2 by default.")
     (propagated-inputs
       `(("python-flask" ,python-flask)
         ("python-misaka" ,python-misaka)))
-    (home-page
-      "https://github.com/singingwolfboy/flask-misaka/")
-    (synopsis
-      "Flask interface to Misaka, a markdown parsing library")
+    (home-page "https://github.com/singingwolfboy/flask-misaka/")
+    (synopsis "Flask interface to Misaka, a Markdown parsing library")
     (description
-      "A pleasant interface between the Flask web framework and the Misaka Markdown parser.")
+      "This package provides an interface between the Flask web framework and
+the Misaka Markdown parser.")
     (license license:expat)))
 
 (define-public python-flask-session

^ permalink raw reply related	[relevance 70%]

* [bug#49962] [PATCH 1/1] gnu: python-aiorpcx: Update to 0.18.7.
  @ 2021-08-09 16:28 70% ` Mike Rosset
  0 siblings, 0 replies; 200+ results
From: Mike Rosset @ 2021-08-09 16:28 UTC (permalink / raw)
  To: 49962; +Cc: Mike Rosset

* gnu/packages/python-web.scm (python-aiorpcx): Update to 0.18.7.

electrum 4.1.5 requires aiorpcx 0.18.7<=ver<0.19
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5df134ddff..f27b9121f9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -284,14 +284,14 @@ using @url{https://github.com/saghul/pycares,pycares}.")
 (define-public python-aiorpcx
   (package
     (name "python-aiorpcx")
-    (version "0.18.3")
+    (version "0.18.7")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiorpcX" version))
        (sha256
         (base32
-         "0k545hc7wl6sh1svydzbv6x7sx5pig2pqkl3yxs9riwmvzawx9xp"))))
+         "1rswrspv27x33xa5bnhrkjqzhv0sknv5kd7pl1vidw9d2z4rx2l0"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-attrs" ,python-attrs)))
-- 
2.32.0





^ permalink raw reply related	[relevance 70%]

* [bug#49973] [PATCH] gnu: python-aiorpcx: Update to 0.22.1.
@ 2021-08-10  7:36 71% Milkey Mouse
  0 siblings, 0 replies; 200+ results
From: Milkey Mouse @ 2021-08-10  7:36 UTC (permalink / raw)
  To: 49973

* gnu/packages/finance.scm (electrum)[inputs]: Use python-aiorpcx-0.18.
* gnu/packages/python-web.scm (python-aiorpcx): Update to 0.22.1.
(python-aiorpcx-0.18): New variable.
---
 gnu/packages/finance.scm    |  2 +-
 gnu/packages/python-web.scm | 16 ++++++++++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index db02232d3c..430552c3a3 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -523,7 +523,7 @@ do so.")
        ("python-protobuf" ,python-protobuf)
        ("python-aiohttp" ,python-aiohttp)
        ("python-aiohttp-socks" ,python-aiohttp-socks)
-       ("python-aiorpcx" ,python-aiorpcx)
+       ("python-aiorpcx" ,python-aiorpcx-0.18)
        ("python-certifi" ,python-certifi)
        ("python-bitstring" ,python-bitstring)
        ("python-attrs" ,python-attrs)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5df134ddff..441af70f26 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -284,14 +284,14 @@ using @url{https://github.com/saghul/pycares,pycares}.")
 (define-public python-aiorpcx
   (package
     (name "python-aiorpcx")
-    (version "0.18.3")
+    (version "0.22.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiorpcX" version))
        (sha256
         (base32
-         "0k545hc7wl6sh1svydzbv6x7sx5pig2pqkl3yxs9riwmvzawx9xp"))))
+         "0lx54bcinp44fmr8q4bbffsqbkg8kdcwykf9i5jj0bj3sfzgf9k0"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-attrs" ,python-attrs)))
@@ -306,6 +306,18 @@ The package includes a module with full coverage of JSON RPC versions 1.0 and
 comes with a SOCKS proxy client.")
     (license (list license:expat license:bsd-2))))
 
+(define-public python-aiorpcx-0.18
+  (package
+    (inherit python-aiorpcx)
+    (version "0.18.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "aiorpcX" version))
+       (sha256
+        (base32
+         "1rswrspv27x33xa5bnhrkjqzhv0sknv5kd7pl1vidw9d2z4rx2l0"))))))
+
 (define-public python-asgiref
   (package
     (name "python-asgiref")
-- 
2.32.0





^ permalink raw reply related	[relevance 71%]

* [bug#49993] [PATCH 14/18] gnu: Remove python2-pastescript.
    2021-08-11  3:08 70% ` [bug#49993] [PATCH 12/18] gnu: Remove python2-oauthlib Ben Sturmfels via Guix-patches via
  2021-08-11  3:08 70% ` [bug#49993] [PATCH 13/18] gnu: Remove python2-wtforms Ben Sturmfels via Guix-patches via
@ 2021-08-11  3:08 70% ` Ben Sturmfels via Guix-patches via
  2021-08-11  3:08 70% ` [bug#49993] [PATCH 15/18] gnu: Remove python2-openid-teams Ben Sturmfels via Guix-patches via
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 200+ results
From: Ben Sturmfels via Guix-patches via @ 2021-08-11  3:08 UTC (permalink / raw)
  To: 49993; +Cc: Ben Sturmfels

Remove Python 2 leaf package possibly added for Python 2 MediaGoblin.

* gnu/packages/python-web.scm (python2-pastescript): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d37fbcc181..a4798d249f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4240,9 +4240,6 @@ variety of features, from launching web applications to bootstrapping project
 layouts.")
     (license license:expat)))
 
-(define-public python2-pastescript
-  (package-with-python2 python-pastescript))
-
 (define-public python2-urlgrabber
   (package
     (name "python2-urlgrabber")
-- 
2.32.0





^ permalink raw reply related	[relevance 70%]

* [bug#49993] [PATCH 13/18] gnu: Remove python2-wtforms.
    2021-08-11  3:08 70% ` [bug#49993] [PATCH 12/18] gnu: Remove python2-oauthlib Ben Sturmfels via Guix-patches via
@ 2021-08-11  3:08 70% ` Ben Sturmfels via Guix-patches via
  2021-08-11  3:08 70% ` [bug#49993] [PATCH 14/18] gnu: Remove python2-pastescript Ben Sturmfels via Guix-patches via
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 200+ results
From: Ben Sturmfels via Guix-patches via @ 2021-08-11  3:08 UTC (permalink / raw)
  To: 49993; +Cc: Ben Sturmfels

Remove Python 2 leaf package possibly added for Python 2 MediaGoblin.

* gnu/packages/python-web.scm (python2-wtforms): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8f80e64a9d..d37fbcc181 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4170,9 +4170,6 @@ for Python web development.  It is very similar to the web form API
 available in Django, but is a standalone package.")
     (license license:bsd-3)))
 
-(define-public python2-wtforms
-  (package-with-python2 python-wtforms))
-
 (define-public python-paste
   (package
     (name "python-paste")
-- 
2.32.0





^ permalink raw reply related	[relevance 70%]

* [bug#49993] [PATCH 16/18] gnu: Remove python2-openid-cla.
                     ` (3 preceding siblings ...)
  2021-08-11  3:08 70% ` [bug#49993] [PATCH 15/18] gnu: Remove python2-openid-teams Ben Sturmfels via Guix-patches via
@ 2021-08-11  3:08 70% ` Ben Sturmfels via Guix-patches via
  2021-08-11  3:09 70% ` [bug#49993] [PATCH 17/18] gnu: Remove python2-openid Ben Sturmfels via Guix-patches via
  5 siblings, 0 replies; 200+ results
From: Ben Sturmfels via Guix-patches via @ 2021-08-11  3:08 UTC (permalink / raw)
  To: 49993; +Cc: Ben Sturmfels

Remove Python 2 leaf package.

* gnu/packages/python-web.scm (python2-openid-cla): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index df00f14947..f3589dc06c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1516,9 +1516,6 @@ Databricks REST APIs.")
 contributor license agreement extension for python-openid.")
     (license license:bsd-3)))
 
-(define-public python2-openid-cla
-  (package-with-python2 python-openid-cla))
-
 (define-public python-openid-teams
   (package
     (name "python-openid-teams")
-- 
2.32.0





^ permalink raw reply related	[relevance 70%]

* [bug#49993] [PATCH 12/18] gnu: Remove python2-oauthlib.
  @ 2021-08-11  3:08 70% ` Ben Sturmfels via Guix-patches via
  2021-08-11  3:08 70% ` [bug#49993] [PATCH 13/18] gnu: Remove python2-wtforms Ben Sturmfels via Guix-patches via
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 200+ results
From: Ben Sturmfels via Guix-patches via @ 2021-08-11  3:08 UTC (permalink / raw)
  To: 49993; +Cc: Ben Sturmfels

Remove Python 2 leaf package possibly added for Python 2 MediaGoblin.

* gnu/packages/python-web.scm (python2-oauthlib): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b75cb5ddfd..8f80e64a9d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2739,9 +2739,6 @@ adapter for use with the Requests library.")
 OAuth request-signing logic.")
     (license license:bsd-3)))
 
-(define-public python2-oauthlib
-  (package-with-python2 python-oauthlib))
-
 (define-public python-rauth
   (package
     (name "python-rauth")
-- 
2.32.0





^ permalink raw reply related	[relevance 70%]

* [bug#49993] [PATCH 15/18] gnu: Remove python2-openid-teams.
                     ` (2 preceding siblings ...)
  2021-08-11  3:08 70% ` [bug#49993] [PATCH 14/18] gnu: Remove python2-pastescript Ben Sturmfels via Guix-patches via
@ 2021-08-11  3:08 70% ` Ben Sturmfels via Guix-patches via
  2021-08-11  3:08 70% ` [bug#49993] [PATCH 16/18] gnu: Remove python2-openid-cla Ben Sturmfels via Guix-patches via
  2021-08-11  3:09 70% ` [bug#49993] [PATCH 17/18] gnu: Remove python2-openid Ben Sturmfels via Guix-patches via
  5 siblings, 0 replies; 200+ results
From: Ben Sturmfels via Guix-patches via @ 2021-08-11  3:08 UTC (permalink / raw)
  To: 49993; +Cc: Ben Sturmfels

Remove Python 2 leaf package.

* gnu/packages/python-web.scm (python2-openid-teams): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a4798d249f..df00f14947 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1539,9 +1539,6 @@ contributor license agreement extension for python-openid.")
 teams extension for python-openid.")
     (license license:bsd-3)))
 
-(define-public python2-openid-teams
-  (package-with-python2 python-openid-teams))
-
 (define-public python-priority
   (package
     (name "python-priority")
-- 
2.32.0





^ permalink raw reply related	[relevance 70%]

* [bug#49993] [PATCH 17/18] gnu: Remove python2-openid.
                     ` (4 preceding siblings ...)
  2021-08-11  3:08 70% ` [bug#49993] [PATCH 16/18] gnu: Remove python2-openid-cla Ben Sturmfels via Guix-patches via
@ 2021-08-11  3:09 70% ` Ben Sturmfels via Guix-patches via
  5 siblings, 0 replies; 200+ results
From: Ben Sturmfels via Guix-patches via @ 2021-08-11  3:09 UTC (permalink / raw)
  To: 49993; +Cc: Ben Sturmfels

Remove Python 2 leaf package possibly added for Python 2 MediaGoblin.

* gnu/packages/python-web.scm (python2-openid): Remove variable.
---
 gnu/packages/python-web.scm | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f3589dc06c..214bc90127 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1331,7 +1331,6 @@ is Python’s.")
           (lambda _
             (invoke "coverage" "run" "-m"
                     "unittest" "openid.test.test_suite"))))))
-    (properties `((python2-variant . ,(delay python2-openid))))
     (propagated-inputs
      `(("python-defusedxml" ,python-defusedxml)))
     (native-inputs
@@ -1344,29 +1343,6 @@ is Python’s.")
 for clients and servers.")
     (license license:asl2.0)))
 
-(define-public python2-openid
-  (package
-    (name "python2-openid")
-    (version "2.2.5")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "python-openid" version))
-       (sha256
-        (base32
-         "1vvhxlghjan01snfdc4k7ykd80vkyjgizwgg9bncnin8rqz1ricj"))))
-    (build-system python-build-system)
-    (arguments
-     ;; Python 3 support is in `python3-openid`, a separate package.
-     `(#:python ,python-2
-       ;; Tests aren't initialized correctly.
-       #:tests? #f))
-    (home-page "https://github.com/openid/python-openid")
-    (synopsis "OpenID support for servers and consumers")
-    (description "This library provides OpenID authentication for Python, both
-for clients and servers.")
-    (license license:asl2.0)))
-
 (define-public python-cssutils
   (package
     (name "python-cssutils")
-- 
2.32.0





^ permalink raw reply related	[relevance 70%]

* [bug#50018] [PATCH 04/19] gnu: python-aws-sam-translator: Update to 1.38.0.
  @ 2021-08-11 23:44 70% ` Vinicius Monego
  2021-08-11 23:44 62% ` [bug#50018] [PATCH 05/19] gnu: python-aws-sam-translator: Change source for tests Vinicius Monego
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-08-11 23:44 UTC (permalink / raw)
  To: 50018; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-aws-sam-translator): Update to 1.38.0.
---
 gnu/packages/python-web.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5df134ddff..787300e1f8 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -363,13 +363,13 @@ WSGI.  This package includes libraries for implementing ASGI servers.")
 (define-public python-aws-sam-translator
   (package
     (name "python-aws-sam-translator")
-    (version "1.36.0")
+    (version "1.38.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "aws-sam-translator" version))
               (sha256
                (base32
-                "115mcbb4r205c1hln199llqrvvbijfqz075rwx991l99jc6rj6zs"))))
+                "1djwlsjpbh13m4biglimrm9lq7hmla0k29giay7k3cjsrylxvjhf"))))
     (build-system python-build-system)
     (arguments
      `(;; XXX: Tests are not distributed with the PyPI archive, and would
@@ -387,6 +387,7 @@ WSGI.  This package includes libraries for implementing ASGI servers.")
     (propagated-inputs
      `(("python-boto3" ,python-boto3)
        ("python-jsonschema" ,python-jsonschema)
+       ("python-pyrsistent" ,python-pyrsistent)
        ("python-six" ,python-six)))
     (home-page "https://github.com/awslabs/serverless-application-model")
     (synopsis "Transform AWS SAM templates into AWS CloudFormation templates")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#50018] [PATCH 07/19] gnu: python-cfn-lint: Respect #:tests?.
                     ` (2 preceding siblings ...)
  2021-08-11 23:44 70% ` [bug#50018] [PATCH 06/19] gnu: python-cfn-lint: Update to 0.53.0 Vinicius Monego
@ 2021-08-11 23:44 68% ` Vinicius Monego
  3 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-08-11 23:44 UTC (permalink / raw)
  To: 50018; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-cfn-lint)[arguments]: Make some cosmetic
changes. Respect #:tests? in the custom 'check phase.
---
 gnu/packages/python-web.scm | 36 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e1da025cfb..9572bed39c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -501,23 +501,25 @@ emit information from within their applications to the AWS X-Ray service.")
                 "1njcrwanq0py0qpz875bg05jyrs2cvpcc570xxb8rjh139n1nxsh"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda* (#:key outputs #:allow-other-keys)
-                      (let ((out (assoc-ref outputs "out")))
-                        ;; Remove test for the documentation update scripts
-                        ;; to avoid a dependency on 'git'.
-                        (delete-file
-                         "test/unit/module/maintenance/test_update_documentation.py")
-                        (delete-file
-                         "test/unit/module/maintenance/test_update_resource_specs.py")
-                        (setenv "PYTHONPATH"
-                                (string-append "./build/lib:"
-                                               (getenv "PYTHONPATH")))
-                        (setenv "PATH" (string-append out "/bin:"
-                                                      (getenv "PATH")))
-                        (invoke "python" "-m" "unittest" "discover"
-                                "-s" "test")))))))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key outputs tests? #:allow-other-keys)
+             (when tests?
+               (let ((out (assoc-ref outputs "out")))
+                 ;; Remove test for the documentation update scripts
+                 ;; to avoid a dependency on 'git'.
+                 (delete-file
+                  "test/unit/module/maintenance/test_update_documentation.py")
+                 (delete-file
+                  "test/unit/module/maintenance/test_update_resource_specs.py")
+                 (setenv "PYTHONPATH"
+                         (string-append "./build/lib:"
+                                        (getenv "PYTHONPATH")))
+                 (setenv "PATH" (string-append out "/bin:"
+                                               (getenv "PATH")))
+                 (invoke "python" "-m" "unittest" "discover"
+                         "-s" "test"))))))))
     (native-inputs
      `(("python-pydot" ,python-pydot)
        ("python-mock" ,python-mock)))
-- 
2.30.2





^ permalink raw reply related	[relevance 68%]

* [bug#50018] [PATCH 05/19] gnu: python-aws-sam-translator: Change source for tests.
    2021-08-11 23:44 70% ` [bug#50018] [PATCH 04/19] gnu: python-aws-sam-translator: Update to 1.38.0 Vinicius Monego
@ 2021-08-11 23:44 62% ` Vinicius Monego
  2021-08-11 23:44 70% ` [bug#50018] [PATCH 06/19] gnu: python-cfn-lint: Update to 0.53.0 Vinicius Monego
  2021-08-11 23:44 68% ` [bug#50018] [PATCH 07/19] gnu: python-cfn-lint: Respect #:tests? Vinicius Monego
  3 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-08-11 23:44 UTC (permalink / raw)
  To: 50018; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-aws-sam-translator)[source]: Fetch from
GitHub. Make some cosmetic changes.
[arguments]: Change explanation on why tests are disabled. Make some cosmetic
changes.
[native-inputs]: Add python-black, python-click, python-coverage,
python-dateparser, python-docopt, python-flake8, python-mock,
python-parameterized, python-pathlib2, python-pylint, python-pytest,
python-pytest-cov, python-pyyaml, python-requests.
---
 gnu/packages/python-web.scm | 57 +++++++++++++++++++++++++------------
 1 file changed, 39 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 787300e1f8..041fb2d7b7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -364,26 +364,47 @@ WSGI.  This package includes libraries for implementing ASGI servers.")
   (package
     (name "python-aws-sam-translator")
     (version "1.38.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "aws-sam-translator" version))
-              (sha256
-               (base32
-                "1djwlsjpbh13m4biglimrm9lq7hmla0k29giay7k3cjsrylxvjhf"))))
+    (source
+     (origin
+       ;; PyPI tarball does not include tests.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/aws/serverless-application-model")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0nn9jfqz13kzmxm0r9vy24p8sqxv3mrm5d3lx7ah6rc581q8nv1k"))))
     (build-system python-build-system)
     (arguments
-     `(;; XXX: Tests are not distributed with the PyPI archive, and would
-       ;; introduce a circular dependency on python-cfn-lint.
-       #:tests? #f
-       #:phases (modify-phases %standard-phases
-                  (add-after 'unpack 'loosen-requirements
-                    (lambda _
-                      ;; The package needlessly specifies exact versions
-                      ;; of dependencies, when it works fine with others.
-                      (substitute* "requirements/base.txt"
-                        (("(.*)(~=[0-9\\.]+)" all package version)
-                         package))
-                      #t)))))
+     ;; 25 test failures divided in the following two errors:
+     ;; 'botocore.exceptions.NoRegionError: You must specify a region.'
+     ;; AttributeError: 'TestDeploymentPreferenceCollection' object has
+     ;; no attribute 'function_logical_id'.
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'loosen-requirements
+           (lambda _
+             ;; The package needlessly specifies exact versions
+             ;; of dependencies, when it works fine with others.
+             (substitute* "requirements/base.txt"
+               (("(.*)(~=[0-9\\.]+)" all package version)
+                package)))))))
+    (native-inputs
+     `(("python-black" ,python-black)
+       ("python-click" ,python-click)
+       ("python-coverage" ,python-coverage)
+       ("python-dateparser" ,python-dateparser)
+       ("python-docopt" ,python-docopt)
+       ("python-flake8" ,python-flake8)
+       ("python-mock" ,python-mock)
+       ("python-parameterized" ,python-parameterized)
+       ("python-pathlib2" ,python-pathlib2)
+       ("python-pylint" ,python-pylint)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pyyaml" ,python-pyyaml)
+       ("python-requests" ,python-requests)))
     (propagated-inputs
      `(("python-boto3" ,python-boto3)
        ("python-jsonschema" ,python-jsonschema)
-- 
2.30.2





^ permalink raw reply related	[relevance 62%]

* [bug#50018] [PATCH 06/19] gnu: python-cfn-lint: Update to 0.53.0.
    2021-08-11 23:44 70% ` [bug#50018] [PATCH 04/19] gnu: python-aws-sam-translator: Update to 1.38.0 Vinicius Monego
  2021-08-11 23:44 62% ` [bug#50018] [PATCH 05/19] gnu: python-aws-sam-translator: Change source for tests Vinicius Monego
@ 2021-08-11 23:44 70% ` Vinicius Monego
  2021-08-11 23:44 68% ` [bug#50018] [PATCH 07/19] gnu: python-cfn-lint: Respect #:tests? Vinicius Monego
  3 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-08-11 23:44 UTC (permalink / raw)
  To: 50018; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-cfn-lint): Update to 0.53.0.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 041fb2d7b7..e1da025cfb 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -488,7 +488,7 @@ emit information from within their applications to the AWS X-Ray service.")
 (define-public python-cfn-lint
   (package
     (name "python-cfn-lint")
-    (version "0.51.0")
+    (version "0.53.0")
     (home-page "https://github.com/aws-cloudformation/cfn-python-lint")
     (source (origin
               (method git-fetch)
@@ -498,7 +498,7 @@ emit information from within their applications to the AWS X-Ray service.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1027s243sik25c6sqw6gla7k7vl3jdicrik5zdsa8pafxh2baja4"))))
+                "1njcrwanq0py0qpz875bg05jyrs2cvpcc570xxb8rjh139n1nxsh"))))
     (build-system python-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#50033] [PATCH 3/4] gnu: Add python-flask-caching.
  @ 2021-08-12 23:58 69% ` Vinicius Monego
  0 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-08-12 23:58 UTC (permalink / raw)
  To: 50033; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask-caching): New variable.
---
 gnu/packages/python-web.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5df134ddff..36e1bf7541 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1018,6 +1018,37 @@ support for Flask.  This is based on the Python babel module as well as pytz -
 both of which are installed automatically if you install this library.")
     (license license:bsd-3)))
 
+(define-public python-flask-caching
+  (package
+    (name "python-flask-caching")
+    (version "1.10.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Flask-Caching" version))
+       (sha256
+        (base32 "000wl24ig22yzvx3dkl3yv5z0lzd6asmaz5fwh1vmhpbzhibf6fg"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "-k"
+                       "not test_init_nullcache")))))))
+    (native-inputs
+     `(("python-flask" ,python-flask)
+       ("python-memcached" ,python-memcached)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)))
+    (home-page "https://github.com/sh4nks/flask-caching")
+    (synopsis "Caching extension for Flask")
+    (description "This package adds caching support to Flask.  It is a fork of
+the Flask-Cache extension.")
+    (license license:bsd-3)))
+
 (define-public python-flask-cors
   (package
     (name "python-flask-cors")
-- 
2.30.2





^ permalink raw reply related	[relevance 69%]

* [bug#50076] [PATCH 1/1] gnu: Add python-flask-debugtoolbar.
  @ 2021-08-16  9:50 70% ` BonfaceKilz
  0 siblings, 0 replies; 200+ results
From: BonfaceKilz @ 2021-08-16  9:50 UTC (permalink / raw)
  To: 50076; +Cc: BonfaceKilz

* gnu/packages/python-web.scm (python-flask-debugtoolbar): New variable.
---
 gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 32b4aa4bf0..c8f0ab3940 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3005,6 +3005,32 @@ and Jinja2 template engine.  It is called a micro framework because it does not
 presume or force a developer to use a particular tool or library.")
     (license license:bsd-3)))
 
+(define-public python-flask-debugtoolbar
+  (package
+  (name "python-flask-debugtoolbar")
+  (version "0.11.0")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "Flask-DebugToolbar" version))
+      (sha256
+        (base32
+          "1d5asdnk8bmh6m46pzg3i7677cjgdm9mlm3wcpk19q7dak9pjkiw"))))
+  (build-system python-build-system)
+  (propagated-inputs
+    `(("python-blinker" ,python-blinker)
+      ("python-flask" ,python-flask)
+      ("python-itsdangerous" ,python-itsdangerous)
+      ("python-werkzeug" ,python-werkzeug)))
+  (home-page
+   "https://flask-debugtoolbar.readthedocs.io/")
+  (synopsis
+    "A toolbar overlay for debugging Flask applications.")
+  (description
+    "This extension adds a toolbar overlay to Flask applications containing
+useful information for debugging.")
+  (license license:bsd-3)))
+
 (define-public python-flask-wtf
   (package
     (name "python-flask-wtf")
-- 
2.31.1





^ permalink raw reply related	[relevance 70%]

* [bug#50213] [PATCH] gnu: python-flask: Add missing propagated-inputs.
@ 2021-08-26 15:08 70% jgart via Guix-patches via
  2021-09-01  3:09 67% ` [bug#50213] [PATCH 1/6] gnu: python-werkzeug: Update to 2.0.1 jgart via Guix-patches via
  0 siblings, 1 reply; 200+ results
From: jgart via Guix-patches via @ 2021-08-26 15:08 UTC (permalink / raw)
  To: 50213; +Cc: jgart

* gnu/packages/python-web.scm (python-flask) [propagated-inputs]:
Add python-markupsafe, python-asgiref, and python-dotenv.
---
 gnu/packages/python-web.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index eefdb751a7..938b93a4ba 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2998,6 +2998,9 @@ minimum of WSGI.")
     (propagated-inputs
      `(("python-itsdangerous" ,python-itsdangerous)
        ("python-jinja2" ,python-jinja2)
+       ("python-markupsafe" ,python-markupsafe)
+       ("python-asgiref" ,python-asgiref)
+       ("python-dotenv" ,python-dotenv)
        ("python-click" ,python-click)
        ("python-werkzeug" ,python-werkzeug)))
     (home-page "https://www.palletsprojects.com/p/flask/")
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#50213] [PATCH 18/19] gnu: python-flask: Add missing native-inputs.
                     ` (4 preceding siblings ...)
  2021-08-26 15:15 70% ` [bug#50213] [PATCH 17/19] gnu: python-flask: Use add-installed-pythonpath in the check phase jgart via Guix-patches via
@ 2021-08-26 15:15 70% ` jgart via Guix-patches via
  2021-08-26 15:15 70% ` [bug#50213] [PATCH 19/19] gnu: python-flask: Add missing propagated-inputs jgart via Guix-patches via
  6 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-08-26 15:15 UTC (permalink / raw)
  To: 50213; +Cc: jgart

* gnu/packages/python-web.scm (python-flask) [native-inputs]:
Add python-blinker, python-greenlet, and python-pytest-6.
---
 gnu/packages/python-web.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 561c788dde..eefdb751a7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2992,7 +2992,9 @@ minimum of WSGI.")
              (add-installed-pythonpath inputs outputs)
              (invoke "pytest" "-vv")))))))
     (native-inputs
-     `(("python-pytest" ,python-pytest)))
+     `(("python-blinker" ,python-blinker)
+       ("python-greenlet" ,python-greenlet)
+       ("python-pytest" ,python-pytest-6)))
     (propagated-inputs
      `(("python-itsdangerous" ,python-itsdangerous)
        ("python-jinja2" ,python-jinja2)
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#50213] [PATCH 19/19] gnu: python-flask: Add missing propagated-inputs.
                     ` (5 preceding siblings ...)
  2021-08-26 15:15 70% ` [bug#50213] [PATCH 18/19] gnu: python-flask: Add missing native-inputs jgart via Guix-patches via
@ 2021-08-26 15:15 70% ` jgart via Guix-patches via
  6 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-08-26 15:15 UTC (permalink / raw)
  To: 50213; +Cc: jgart

* gnu/packages/python-web.scm (python-flask) [propagated-inputs]:
Add python-markupsafe, python-asgiref, and python-dotenv.
---
 gnu/packages/python-web.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index eefdb751a7..938b93a4ba 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2998,6 +2998,9 @@ minimum of WSGI.")
     (propagated-inputs
      `(("python-itsdangerous" ,python-itsdangerous)
        ("python-jinja2" ,python-jinja2)
+       ("python-markupsafe" ,python-markupsafe)
+       ("python-asgiref" ,python-asgiref)
+       ("python-dotenv" ,python-dotenv)
        ("python-click" ,python-click)
        ("python-werkzeug" ,python-werkzeug)))
     (home-page "https://www.palletsprojects.com/p/flask/")
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#50213] [PATCH 08/19] gnu: python-werkzeug: Update to 2.0.1.
  @ 2021-08-26 15:15 70% ` jgart via Guix-patches via
  2021-08-26 15:15 70% ` [bug#50213] [PATCH 09/19] gnu: python-werkzeug: Add missing propagated-inputs jgart via Guix-patches via
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-08-26 15:15 UTC (permalink / raw)
  To: 50213; +Cc: jgart

* gnu/packages/python-web.scm (python-werkzeug): Update to 2.0.1.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 32b4aa4bf0..dfa1187d68 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4097,14 +4097,14 @@ List.  Forked from and using the same API as the publicsuffix package.")
 (define-public python-werkzeug
   (package
     (name "python-werkzeug")
-    (version "1.0.1")
+    (version "2.0.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Werkzeug" version))
        (sha256
         (base32
-         "0z74sa1xw5h20yin9faj0vvdbq713cgbj84klc72jr9nmpjv303c"))))
+         "0hlwawnn8c41f254qify5jnjj8xb97n294h09bqimzqhs0qdpq8x"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#50213] [PATCH 09/19] gnu: python-werkzeug: Add missing propagated-inputs.
    2021-08-26 15:15 70% ` [bug#50213] [PATCH 08/19] gnu: python-werkzeug: Update to 2.0.1 jgart via Guix-patches via
@ 2021-08-26 15:15 70% ` jgart via Guix-patches via
  2021-08-26 15:15 70% ` [bug#50213] [PATCH 10/19] gnu: python-werkzeug: Disable tests that require networking jgart via Guix-patches via
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-08-26 15:15 UTC (permalink / raw)
  To: 50213; +Cc: jgart

* gnu/packages/python-web.scm (python-werkzeug) [propagated-inputs]:
Add python-pytest-xprocess and python-pytest-6.
---
 gnu/packages/python-web.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index dfa1187d68..c464c54301 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4117,8 +4117,9 @@ List.  Forked from and using the same API as the publicsuffix package.")
     (propagated-inputs
      `(("python-requests" ,python-requests)))
     (native-inputs
-     `(("python-pytest" ,python-pytest)
-       ("python-pytest-timeout" ,python-pytest-timeout)))
+     `(("python-pytest" ,python-pytest-6)
+       ("python-pytest-timeout" ,python-pytest-timeout)
+       ("python-pytest-xprocess" ,python-pytest-xprocess)))
     (home-page "https://palletsprojects.com/p/werkzeug/")
     (synopsis "Utilities for WSGI applications")
     (description "One of the most advanced WSGI utility modules.  It includes a
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#50213] [PATCH 10/19] gnu: python-werkzeug: Disable tests that require networking.
    2021-08-26 15:15 70% ` [bug#50213] [PATCH 08/19] gnu: python-werkzeug: Update to 2.0.1 jgart via Guix-patches via
  2021-08-26 15:15 70% ` [bug#50213] [PATCH 09/19] gnu: python-werkzeug: Add missing propagated-inputs jgart via Guix-patches via
@ 2021-08-26 15:15 70% ` jgart via Guix-patches via
  2021-08-26 15:15 70% ` [bug#50213] [PATCH 16/19] gnu: python-flask: Update to 2.0.1 jgart via Guix-patches via
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-08-26 15:15 UTC (permalink / raw)
  To: 50213; +Cc: Raghav Gururajan, jgart

* gnu/packages/python-web.scm (python-werkzeug) [arguments]:
Disable tests that require an internet connection.

Co-authored-by: Raghav Gururajan <rg@raghavgururajan.name>
---
 gnu/packages/python-web.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c464c54301..07db685e2a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4112,8 +4112,13 @@ List.  Forked from and using the same API as the publicsuffix package.")
          (delete 'check)
          (add-after 'install 'check
            (lambda* (#:key inputs outputs #:allow-other-keys)
+             ;; requires networking
+             (for-each delete-file
+               (list "tests/middleware/test_http_proxy.py"
+                     "tests/test_serving.py"
+                     "tests/test_debug.py"))
              (add-installed-pythonpath inputs outputs)
-             (invoke "python" "-m" "pytest"))))))
+             (invoke "pytest" "-vv"))))))
     (propagated-inputs
      `(("python-requests" ,python-requests)))
     (native-inputs
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#50213] [PATCH 16/19] gnu: python-flask: Update to 2.0.1.
                     ` (2 preceding siblings ...)
  2021-08-26 15:15 70% ` [bug#50213] [PATCH 10/19] gnu: python-werkzeug: Disable tests that require networking jgart via Guix-patches via
@ 2021-08-26 15:15 70% ` jgart via Guix-patches via
  2021-08-26 15:15 70% ` [bug#50213] [PATCH 17/19] gnu: python-flask: Use add-installed-pythonpath in the check phase jgart via Guix-patches via
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-08-26 15:15 UTC (permalink / raw)
  To: 50213; +Cc: jgart

* gnu/packages/python-web.scm (python-flask): Update to 2.0.1.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 07db685e2a..6784b5038f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2975,13 +2975,13 @@ minimum of WSGI.")
 (define-public python-flask
   (package
     (name "python-flask")
-    (version "1.1.2")
+    (version "2.0.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Flask" version))
               (sha256
                (base32
-                "0q3h295izcil7lswkzfnyg3k5gq4hpmqmpl6i7s5m1n9szi1myjf"))))
+                "0mcgwq7b4qd99mf5bsvs3wphchxarf8kgil4hwww3blj31xjak0w"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#50213] [PATCH 17/19] gnu: python-flask: Use add-installed-pythonpath in the check phase.
                     ` (3 preceding siblings ...)
  2021-08-26 15:15 70% ` [bug#50213] [PATCH 16/19] gnu: python-flask: Update to 2.0.1 jgart via Guix-patches via
@ 2021-08-26 15:15 70% ` jgart via Guix-patches via
  2021-08-26 15:15 70% ` [bug#50213] [PATCH 18/19] gnu: python-flask: Add missing native-inputs jgart via Guix-patches via
  2021-08-26 15:15 70% ` [bug#50213] [PATCH 19/19] gnu: python-flask: Add missing propagated-inputs jgart via Guix-patches via
  6 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-08-26 15:15 UTC (permalink / raw)
  To: 50213; +Cc: jgart

* gnu/packages/python-web.scm (python-flask)[arguments]:
Use add-installed-pythonpath and tests? predicate in the check phase.
---
 gnu/packages/python-web.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6784b5038f..561c788dde 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2987,10 +2987,10 @@ minimum of WSGI.")
      '(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             (setenv "PYTHONPATH" (string-append "./build/lib:"
-                                                 (getenv "PYTHONPATH")))
-             (invoke "pytest" "-vv" "tests"))))))
+         (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+           (when tests?
+             (add-installed-pythonpath inputs outputs)
+             (invoke "pytest" "-vv")))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (propagated-inputs
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#50213] [PATCH 1/6] gnu: python-werkzeug: Update to 2.0.1.
  2021-08-26 15:08 70% [bug#50213] [PATCH] gnu: python-flask: Add missing propagated-inputs jgart via Guix-patches via
@ 2021-09-01  3:09 67% ` jgart via Guix-patches via
  2021-09-01  3:09 69%   ` [bug#50213] [PATCH 6/6] gnu: python-flask: " jgart via Guix-patches via
  0 siblings, 1 reply; 200+ results
From: jgart via Guix-patches via @ 2021-09-01  3:09 UTC (permalink / raw)
  To: 50213; +Cc: Raghav Gururajan, jgart

* gnu/packages/python-web.scm (python-werkzeug): Update to 2.0.1.
[propagated-inputs]: Add python-pytest-xprocess and python-pytest-6.
[arguments]: Disable tests that require an internet connection.

Co-authored-by: Raghav Gururajan <rg@raghavgururajan.name>
---
 gnu/packages/python-web.scm | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 32b4aa4bf0..07db685e2a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4097,14 +4097,14 @@ List.  Forked from and using the same API as the publicsuffix package.")
 (define-public python-werkzeug
   (package
     (name "python-werkzeug")
-    (version "1.0.1")
+    (version "2.0.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Werkzeug" version))
        (sha256
         (base32
-         "0z74sa1xw5h20yin9faj0vvdbq713cgbj84klc72jr9nmpjv303c"))))
+         "0hlwawnn8c41f254qify5jnjj8xb97n294h09bqimzqhs0qdpq8x"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
@@ -4112,13 +4112,19 @@ List.  Forked from and using the same API as the publicsuffix package.")
          (delete 'check)
          (add-after 'install 'check
            (lambda* (#:key inputs outputs #:allow-other-keys)
+             ;; requires networking
+             (for-each delete-file
+               (list "tests/middleware/test_http_proxy.py"
+                     "tests/test_serving.py"
+                     "tests/test_debug.py"))
              (add-installed-pythonpath inputs outputs)
-             (invoke "python" "-m" "pytest"))))))
+             (invoke "pytest" "-vv"))))))
     (propagated-inputs
      `(("python-requests" ,python-requests)))
     (native-inputs
-     `(("python-pytest" ,python-pytest)
-       ("python-pytest-timeout" ,python-pytest-timeout)))
+     `(("python-pytest" ,python-pytest-6)
+       ("python-pytest-timeout" ,python-pytest-timeout)
+       ("python-pytest-xprocess" ,python-pytest-xprocess)))
     (home-page "https://palletsprojects.com/p/werkzeug/")
     (synopsis "Utilities for WSGI applications")
     (description "One of the most advanced WSGI utility modules.  It includes a
-- 
2.33.0





^ permalink raw reply related	[relevance 67%]

* [bug#50213] [PATCH 6/6] gnu: python-flask: Update to 2.0.1.
  2021-09-01  3:09 67% ` [bug#50213] [PATCH 1/6] gnu: python-werkzeug: Update to 2.0.1 jgart via Guix-patches via
@ 2021-09-01  3:09 69%   ` jgart via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-09-01  3:09 UTC (permalink / raw)
  To: 50213; +Cc: jgart

* gnu/packages/python-web.scm (python-flask): Update to 2.0.1.
[arguments]:
Use add-installed-pythonpath and tests? predicate in the check phase.
[native-inputs]:
Add python-blinker, python-greenlet, and python-pytest-6.
[propagated-inputs]:
Add python-markupsafe, python-asgiref, and python-dotenv.
---
 gnu/packages/python-web.scm | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 07db685e2a..938b93a4ba 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2975,27 +2975,32 @@ minimum of WSGI.")
 (define-public python-flask
   (package
     (name "python-flask")
-    (version "1.1.2")
+    (version "2.0.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Flask" version))
               (sha256
                (base32
-                "0q3h295izcil7lswkzfnyg3k5gq4hpmqmpl6i7s5m1n9szi1myjf"))))
+                "0mcgwq7b4qd99mf5bsvs3wphchxarf8kgil4hwww3blj31xjak0w"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             (setenv "PYTHONPATH" (string-append "./build/lib:"
-                                                 (getenv "PYTHONPATH")))
-             (invoke "pytest" "-vv" "tests"))))))
+         (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+           (when tests?
+             (add-installed-pythonpath inputs outputs)
+             (invoke "pytest" "-vv")))))))
     (native-inputs
-     `(("python-pytest" ,python-pytest)))
+     `(("python-blinker" ,python-blinker)
+       ("python-greenlet" ,python-greenlet)
+       ("python-pytest" ,python-pytest-6)))
     (propagated-inputs
      `(("python-itsdangerous" ,python-itsdangerous)
        ("python-jinja2" ,python-jinja2)
+       ("python-markupsafe" ,python-markupsafe)
+       ("python-asgiref" ,python-asgiref)
+       ("python-dotenv" ,python-dotenv)
        ("python-click" ,python-click)
        ("python-werkzeug" ,python-werkzeug)))
     (home-page "https://www.palletsprojects.com/p/flask/")
-- 
2.33.0





^ permalink raw reply related	[relevance 69%]

* [bug#49993] [v2 10/12] gnu: Remove python2-openid.
                     ` (3 preceding siblings ...)
  2021-09-02  5:30 70% ` [bug#49993] [v2 09/12] gnu: Remove python2-openid-cla Ben Sturmfels via Guix-patches via
@ 2021-09-02  5:30 70% ` Ben Sturmfels via Guix-patches via
  4 siblings, 0 replies; 200+ results
From: Ben Sturmfels via Guix-patches via @ 2021-09-02  5:30 UTC (permalink / raw)
  To: 49993; +Cc: Ben Sturmfels

Remove Python 2 leaf package possibly added for Python 2 MediaGoblin.

* gnu/packages/python-web.scm (python2-openid): Remove variable.
---
 gnu/packages/python-web.scm | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 67bb12d6cf..e556f0c0ac 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1331,7 +1331,6 @@ is Python’s.")
           (lambda _
             (invoke "coverage" "run" "-m"
                     "unittest" "openid.test.test_suite"))))))
-    (properties `((python2-variant . ,(delay python2-openid))))
     (propagated-inputs
      `(("python-defusedxml" ,python-defusedxml)))
     (native-inputs
@@ -1344,29 +1343,6 @@ is Python’s.")
 for clients and servers.")
     (license license:asl2.0)))
 
-(define-public python2-openid
-  (package
-    (name "python2-openid")
-    (version "2.2.5")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "python-openid" version))
-       (sha256
-        (base32
-         "1vvhxlghjan01snfdc4k7ykd80vkyjgizwgg9bncnin8rqz1ricj"))))
-    (build-system python-build-system)
-    (arguments
-     ;; Python 3 support is in `python3-openid`, a separate package.
-     `(#:python ,python-2
-       ;; Tests aren't initialized correctly.
-       #:tests? #f))
-    (home-page "https://github.com/openid/python-openid")
-    (synopsis "OpenID support for servers and consumers")
-    (description "This library provides OpenID authentication for Python, both
-for clients and servers.")
-    (license license:asl2.0)))
-
 (define-public python-cssutils
   (package
     (name "python-cssutils")
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#49993] [v2 07/12] gnu: Remove python2-pastescript.
    2021-09-02  5:30 70% ` [bug#49993] [v2 06/12] gnu: Remove python2-wtforms Ben Sturmfels via Guix-patches via
@ 2021-09-02  5:30 70% ` Ben Sturmfels via Guix-patches via
  2021-09-02  5:30 70% ` [bug#49993] [v2 08/12] gnu: Remove python2-openid-teams Ben Sturmfels via Guix-patches via
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 200+ results
From: Ben Sturmfels via Guix-patches via @ 2021-09-02  5:30 UTC (permalink / raw)
  To: 49993; +Cc: Ben Sturmfels

Remove Python 2 leaf package possibly added for Python 2 MediaGoblin.

* gnu/packages/python-web.scm (python2-pastescript): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index fd37fab283..a1824df1c6 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4243,9 +4243,6 @@ variety of features, from launching web applications to bootstrapping project
 layouts.")
     (license license:expat)))
 
-(define-public python2-pastescript
-  (package-with-python2 python-pastescript))
-
 (define-public python2-urlgrabber
   (package
     (name "python2-urlgrabber")
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#49993] [v2 09/12] gnu: Remove python2-openid-cla.
                     ` (2 preceding siblings ...)
  2021-09-02  5:30 70% ` [bug#49993] [v2 08/12] gnu: Remove python2-openid-teams Ben Sturmfels via Guix-patches via
@ 2021-09-02  5:30 70% ` Ben Sturmfels via Guix-patches via
  2021-09-02  5:30 70% ` [bug#49993] [v2 10/12] gnu: Remove python2-openid Ben Sturmfels via Guix-patches via
  4 siblings, 0 replies; 200+ results
From: Ben Sturmfels via Guix-patches via @ 2021-09-02  5:30 UTC (permalink / raw)
  To: 49993; +Cc: Ben Sturmfels

Remove Python 2 leaf package.

* gnu/packages/python-web.scm (python2-openid-cla): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f3a3523d44..67bb12d6cf 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1516,9 +1516,6 @@ Databricks REST APIs.")
 contributor license agreement extension for python-openid.")
     (license license:bsd-3)))
 
-(define-public python2-openid-cla
-  (package-with-python2 python-openid-cla))
-
 (define-public python-openid-teams
   (package
     (name "python-openid-teams")
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#49993] [v2 06/12] gnu: Remove python2-wtforms.
  @ 2021-09-02  5:30 70% ` Ben Sturmfels via Guix-patches via
  2021-09-02  5:30 70% ` [bug#49993] [v2 07/12] gnu: Remove python2-pastescript Ben Sturmfels via Guix-patches via
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 200+ results
From: Ben Sturmfels via Guix-patches via @ 2021-09-02  5:30 UTC (permalink / raw)
  To: 49993; +Cc: Ben Sturmfels

Remove Python 2 leaf package possibly added for Python 2 MediaGoblin.

* gnu/packages/python-web.scm (python2-wtforms): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b75cb5ddfd..fd37fab283 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4173,9 +4173,6 @@ for Python web development.  It is very similar to the web form API
 available in Django, but is a standalone package.")
     (license license:bsd-3)))
 
-(define-public python2-wtforms
-  (package-with-python2 python-wtforms))
-
 (define-public python-paste
   (package
     (name "python-paste")
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#49993] [v2 08/12] gnu: Remove python2-openid-teams.
    2021-09-02  5:30 70% ` [bug#49993] [v2 06/12] gnu: Remove python2-wtforms Ben Sturmfels via Guix-patches via
  2021-09-02  5:30 70% ` [bug#49993] [v2 07/12] gnu: Remove python2-pastescript Ben Sturmfels via Guix-patches via
@ 2021-09-02  5:30 70% ` Ben Sturmfels via Guix-patches via
  2021-09-02  5:30 70% ` [bug#49993] [v2 09/12] gnu: Remove python2-openid-cla Ben Sturmfels via Guix-patches via
  2021-09-02  5:30 70% ` [bug#49993] [v2 10/12] gnu: Remove python2-openid Ben Sturmfels via Guix-patches via
  4 siblings, 0 replies; 200+ results
From: Ben Sturmfels via Guix-patches via @ 2021-09-02  5:30 UTC (permalink / raw)
  To: 49993; +Cc: Ben Sturmfels

Remove Python 2 leaf package.

* gnu/packages/python-web.scm (python2-openid-teams): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a1824df1c6..f3a3523d44 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1539,9 +1539,6 @@ contributor license agreement extension for python-openid.")
 teams extension for python-openid.")
     (license license:bsd-3)))
 
-(define-public python2-openid-teams
-  (package-with-python2 python-openid-teams))
-
 (define-public python-priority
   (package
     (name "python-priority")
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#50398] [PATCH] gnu: Add python-w3lib
@ 2021-09-05  8:28 68% Pradana Adrinusa AUMARS via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: Pradana Adrinusa AUMARS via Guix-patches via @ 2021-09-05  8:28 UTC (permalink / raw)
  To: 50398

From 7dc3c722627fbbecfe411a8b4d44f7b5cc12ba18 Mon Sep 17 00:00:00 2001
From: Pradana AUMARS <paumars@courrier.dev>
Date: Sun, 5 Sep 2021 10:25:14 +0200
Subject: [PATCH] gnu: Add python-w3lib

* gnu/packages/python-web.scm (python-w3lib): New variable.
---
 gnu/packages/python-web.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 32b4aa4bf0..47f7092147 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -43,6 +43,7 @@
 ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
 ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6205,3 +6206,25 @@ your code non-blocking and speedy.")
      "This project provides a client library in Python that makes it easy to
 communicate with Microsoft Azure Storage services.")
     (license license:expat)))
+
+(define-public python-w3lib
+  (package
+    (name "python-w3lib")
+    (version "1.22.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "w3lib" version))
+       (sha256
+        (base32
+         "1pv02lvvmgz2qb61vz1jkjc04fgm4hpfvaj5zm4i3mjp64hd1mha"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-six" ,python-six)))
+    (home-page "https://github.com/scrapy/w3lib")
+    (synopsis "Python library of web-related functions")
+    (description
+     "This is a Python library of web-related functions, such as: remove comments,
+or tags from HTML snippets, extract base url from HTML snippets, translate entites
+on HTML strings, among other things.")
+    (license license:bsd-3)))
-- 
2.33.0






^ permalink raw reply related	[relevance 68%]

* [bug#47910] [PATCH] gnu: python-wtforms: Update to 2.3.3 and adjust arguments+inputs.
  @ 2021-09-11 23:37 66% ` Raghav Gururajan via Guix-patches via
  2021-09-11 23:46 66% ` Raghav Gururajan via Guix-patches via
  1 sibling, 0 replies; 200+ results
From: Raghav Gururajan via Guix-patches via @ 2021-09-11 23:37 UTC (permalink / raw)
  To: 47910; +Cc: Raghav Gururajan, jgart, ben

* gnu/packages/python-web.scm (python-wtforms)[version]: Update to 2.3.3.
[phases](remove-django-test): Remove phase.
(check): Replace with custom phase.
[native-inputs]: Remove unzip. Add python-babel, python-coverage,
python-dateutil, python-pep8 and python-sqlalchemy.
[propagated-inputs]: Add python-markupsafe.

Co-authored-by: jgart <jgart@dismail.de>
---
 gnu/packages/python-web.scm | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 32b4aa4bf0..73361ad584 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4150,28 +4150,32 @@ addon modules.")
 (define-public python-wtforms
   (package
     (name "python-wtforms")
-    (version "2.1")
+    (version "2.3.3")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "WTForms" version ".zip"))
+       (uri (pypi-uri "WTForms" version ".tar.gz"))
        (sha256
         (base32
-         "0vyl26y9cg409cfyj8rhqxazsdnd0jipgjw06civhrd53yyi1pzz"))))
+         "17427m7p9nn9byzva697dkykykwcp2br3bxvi8vciywlmkh5s6c1"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
+     `(#:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'remove-django-test
-           ;; Don't fail the tests when the inputs for the optional tests cannot be found.
-           (lambda _
-             (substitute*
-               "tests/runtests.py"
-               (("'ext_django.tests', 'ext_sqlalchemy', 'ext_dateutil', 'locale_babel'") "")
-               (("sys.stderr.write(\"### Disabled test '%s', dependency not found\n\" % name)") ""))
-             #t)))))
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "setup.py" "compile_catalog")
+               (invoke "coverage" "run" "tests/runtests.py" "--with-pep8")))))))
     (native-inputs
-     `(("unzip" ,unzip)))
+     `(("python-babel" ,python-babel)
+       ("python-coverage" ,python-coverage)
+       ("python-dateutil" ,python-dateutil)
+       ("python-pep8" ,python-pep8)
+       ("python-sqlalchemy" ,python-sqlalchemy)))
+    (propagated-inputs
+     `(("python-markupsafe" ,python-markupsafe)))
     (home-page "http://wtforms.simplecodes.com/")
     (synopsis
      "Form validation and rendering library for Python web development")
-- 
2.33.0





^ permalink raw reply related	[relevance 66%]

* [bug#47910] [PATCH] gnu: python-wtforms: Update to 2.3.3 and adjust arguments+inputs.
    2021-09-11 23:37 66% ` [bug#47910] [PATCH] gnu: python-wtforms: Update to 2.3.3 and adjust arguments+inputs Raghav Gururajan via Guix-patches via
@ 2021-09-11 23:46 66% ` Raghav Gururajan via Guix-patches via
  1 sibling, 0 replies; 200+ results
From: Raghav Gururajan via Guix-patches via @ 2021-09-11 23:46 UTC (permalink / raw)
  To: 47910; +Cc: Raghav Gururajan, jgart, ben

* gnu/packages/python-web.scm (python-wtforms)[version]: Update to 2.3.3.
[phases](remove-django-test): Remove phase.
(check): Replace with custom phase.
[native-inputs]: Remove unzip. Add python-coverage, python-dateutil,
python-pep8 and python-sqlalchemy.
[propagated-inputs]: Add python-babel, python-email-validaor and
python-markupsafe.

Co-authored-by: jgart <jgart@dismail.de>
---
 gnu/packages/python-web.scm | 31 ++++++++++++++++++-------------
 1 file changed, 18 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 32b4aa4bf0..bd390d371d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4150,28 +4150,33 @@ addon modules.")
 (define-public python-wtforms
   (package
     (name "python-wtforms")
-    (version "2.1")
+    (version "2.3.3")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "WTForms" version ".zip"))
+       (uri (pypi-uri "WTForms" version ".tar.gz"))
        (sha256
         (base32
-         "0vyl26y9cg409cfyj8rhqxazsdnd0jipgjw06civhrd53yyi1pzz"))))
+         "17427m7p9nn9byzva697dkykykwcp2br3bxvi8vciywlmkh5s6c1"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
+     `(#:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'remove-django-test
-           ;; Don't fail the tests when the inputs for the optional tests cannot be found.
-           (lambda _
-             (substitute*
-               "tests/runtests.py"
-               (("'ext_django.tests', 'ext_sqlalchemy', 'ext_dateutil', 'locale_babel'") "")
-               (("sys.stderr.write(\"### Disabled test '%s', dependency not found\n\" % name)") ""))
-             #t)))))
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "setup.py" "compile_catalog")
+               (invoke "coverage" "run" "tests/runtests.py" "--with-pep8")))))))
     (native-inputs
-     `(("unzip" ,unzip)))
+     `(("python-coverage" ,python-coverage)
+       ("python-dateutil" ,python-dateutil)
+       ("python-pep8" ,python-pep8)
+       ("python-sqlalchemy" ,python-sqlalchemy)))
+    (propagated-inputs
+     `(("python-babel" ,python-babel)
+       ("python-email-validator" ,python-email-validator)
+       ("python-markupsafe" ,python-markupsafe)))
     (home-page "http://wtforms.simplecodes.com/")
     (synopsis
      "Form validation and rendering library for Python web development")
-- 
2.33.0





^ permalink raw reply related	[relevance 66%]

* [bug#50018] [PATCH v3 08/21] gnu: awscli: Update to 1.20.42.
    2021-09-16 16:20 67% ` [bug#50018] [PATCH v3 04/21] gnu: python-cfn-lint: Respect #:tests? Vinicius Monego
  2021-09-16 16:20 70% ` [bug#50018] [PATCH v3 06/21] gnu: python-s3transfer: Update to 0.5.0 Vinicius Monego
@ 2021-09-16 16:20 70% ` Vinicius Monego
  2021-09-16 16:21 62% ` [bug#50018] [PATCH v3 09/21] gnu: python-aws-sam-translator: Change source for tests Vinicius Monego
  3 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-09-16 16:20 UTC (permalink / raw)
  To: 50018; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (awscli): Update to 1.20.42.
[arguments]<#:phases>: Don't return #t.
---
 gnu/packages/python-web.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bb42c3b136..5449911f3f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2854,14 +2854,14 @@ supports url redirection and retries, and also gzip and deflate decoding.")
   (package
     ;; Note: updating awscli typically requires updating botocore as well.
     (name "awscli")
-    (version "1.18.203")
+    (version "1.20.42")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri name version))
        (sha256
         (base32
-         "128zg24961j8nmnq2dxqg6a7zwh3qgv87cmvclsdqwwih9nigxv9"))))
+         "0fzlf42by4xxl23higfcgdjpcpi7fp9mrxpwkwn13wxhki4p7x96"))))
     (build-system python-build-system)
     (arguments
      ;; FIXME: The 'pypi' release does not contain tests.
@@ -2874,8 +2874,7 @@ supports url redirection and retries, and also gzip and deflate decoding.")
                (("if not self._exists_on_path\\('groff'\\):") "")
                (("raise ExecutableNotFoundError\\('groff'\\)") "")
                (("cmdline = \\['groff'")
-                (string-append "cmdline = ['" (which "groff") "'")))
-             #t)))))
+                (string-append "cmdline = ['" (which "groff") "'"))))))))
     (propagated-inputs
      `(("python-colorama" ,python-colorama)
        ("python-botocore" ,python-botocore)
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#50018] [PATCH v3 06/21] gnu: python-s3transfer: Update to 0.5.0.
    2021-09-16 16:20 67% ` [bug#50018] [PATCH v3 04/21] gnu: python-cfn-lint: Respect #:tests? Vinicius Monego
@ 2021-09-16 16:20 70% ` Vinicius Monego
  2021-09-16 16:20 70% ` [bug#50018] [PATCH v3 08/21] gnu: awscli: Update to 1.20.42 Vinicius Monego
  2021-09-16 16:21 62% ` [bug#50018] [PATCH v3 09/21] gnu: python-aws-sam-translator: Change source for tests Vinicius Monego
  3 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-09-16 16:20 UTC (permalink / raw)
  To: 50018; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-s3transfer): Update to 0.5.0.
[arguments]<#:phases>: Remove 'patch phase because the issue was fixed
upstream. Don't return #t in custom 'check phase.
---
 gnu/packages/python-web.scm | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8e0f768087..bb42c3b136 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3392,32 +3392,22 @@ Betamax that may possibly end up in the main package.")
 (define-public python-s3transfer
   (package
     (name "python-s3transfer")
-    (version "0.3.3")
+    (version "0.5.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "s3transfer" version))
               (sha256
                (base32
-                "1nzp5kwmy9669334shcz9ipg89jgpdqhrmbkgdg18r7wmvi3f6lj"))))
+                "0k6sc956yrrv9b4laa0r79jhxajpyxr21jcd1ka8m1n53lz85vah"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'patch
-           (lambda _
-             ;; There's a small issue with one test with Python 3.8, this
-             ;; change has been suggested upstream:
-             ;; https://github.com/boto/s3transfer/pull/164
-             (substitute* "tests/unit/test_s3transfer.py"
-               (("super\\(FailedDownloadParts, self\\)\\.submit\\(function\\)")
-                "futures.Future()"))
-             #t))
          (replace 'check
            (lambda _
              ;; Some of the 'integration' tests require network access or
              ;; login credentials.
-             (invoke "nosetests" "--exclude=integration")
-             #t)))))
+             (invoke "nosetests" "--exclude=integration"))))))
     (native-inputs
      `(("python-docutils" ,python-docutils)
        ("python-mock" ,python-mock)
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#50018] [PATCH v3 04/21] gnu: python-cfn-lint: Respect #:tests?.
  @ 2021-09-16 16:20 67% ` Vinicius Monego
  2021-09-16 16:20 70% ` [bug#50018] [PATCH v3 06/21] gnu: python-s3transfer: Update to 0.5.0 Vinicius Monego
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-09-16 16:20 UTC (permalink / raw)
  To: 50018; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-cfn-lint)[arguments]: Make some cosmetic
changes. Respect #:tests? in the custom 'check phase.
---
 gnu/packages/python-web.scm | 36 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e1742cf71b..8e0f768087 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -492,23 +492,25 @@ emit information from within their applications to the AWS X-Ray service.")
                 "161mzzlpbi85q43kwzrj39qb32l6wg6xhnbbd4z860yrfbymsn87"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda* (#:key outputs #:allow-other-keys)
-                      (let ((out (assoc-ref outputs "out")))
-                        ;; Remove test for the documentation update scripts
-                        ;; to avoid a dependency on 'git'.
-                        (delete-file
-                         "test/unit/module/maintenance/test_update_documentation.py")
-                        (delete-file
-                         "test/unit/module/maintenance/test_update_resource_specs.py")
-                        (setenv "PYTHONPATH"
-                                (string-append "./build/lib:"
-                                               (getenv "PYTHONPATH")))
-                        (setenv "PATH" (string-append out "/bin:"
-                                                      (getenv "PATH")))
-                        (invoke "python" "-m" "unittest" "discover" "-v"
-                                "-s" "test")))))))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key outputs tests? #:allow-other-keys)
+             (when tests?
+               (let ((out (assoc-ref outputs "out")))
+                 ;; Remove test for the documentation update scripts
+                 ;; to avoid a dependency on 'git'.
+                 (delete-file
+                  "test/unit/module/maintenance/test_update_documentation.py")
+                 (delete-file
+                  "test/unit/module/maintenance/test_update_resource_specs.py")
+                 (setenv "PYTHONPATH"
+                         (string-append "./build/lib:"
+                                        (getenv "PYTHONPATH")))
+                 (setenv "PATH" (string-append out "/bin:"
+                                               (getenv "PATH")))
+                 (invoke "python" "-m" "unittest" "discover"
+                         "-s" "test"))))))))
     (native-inputs
      `(("python-pydot" ,python-pydot)
        ("python-mock" ,python-mock)))
-- 
2.30.2





^ permalink raw reply related	[relevance 67%]

* [bug#50018] [PATCH v3 09/21] gnu: python-aws-sam-translator: Change source for tests.
                     ` (2 preceding siblings ...)
  2021-09-16 16:20 70% ` [bug#50018] [PATCH v3 08/21] gnu: awscli: Update to 1.20.42 Vinicius Monego
@ 2021-09-16 16:21 62% ` Vinicius Monego
  3 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-09-16 16:21 UTC (permalink / raw)
  To: 50018; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-aws-sam-translator)[source]: Fetch from
GitHub. Make some cosmetic changes.
[arguments]: Change explanation on why tests are disabled. Make some cosmetic
changes.
[native-inputs]: Add python-black, python-click, python-coverage,
python-dateparser, python-docopt, python-flake8, python-mock,
python-parameterized, python-pathlib2, python-pylint, python-pytest,
python-pytest-cov, python-pyyaml, python-requests.
---
 gnu/packages/python-web.scm | 57 +++++++++++++++++++++++++------------
 1 file changed, 39 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5449911f3f..fc3f1473af 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -377,26 +377,47 @@ WSGI.  This package includes libraries for implementing ASGI servers.")
   (package
     (name "python-aws-sam-translator")
     (version "1.38.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "aws-sam-translator" version))
-              (sha256
-               (base32
-                "1djwlsjpbh13m4biglimrm9lq7hmla0k29giay7k3cjsrylxvjhf"))))
+    (source
+     (origin
+       ;; PyPI tarball does not include tests.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/aws/serverless-application-model")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0nn9jfqz13kzmxm0r9vy24p8sqxv3mrm5d3lx7ah6rc581q8nv1k"))))
     (build-system python-build-system)
     (arguments
-     `(;; XXX: Tests are not distributed with the PyPI archive, and would
-       ;; introduce a circular dependency on python-cfn-lint.
-       #:tests? #f
-       #:phases (modify-phases %standard-phases
-                  (add-after 'unpack 'loosen-requirements
-                    (lambda _
-                      ;; The package needlessly specifies exact versions
-                      ;; of dependencies, when it works fine with others.
-                      (substitute* "requirements/base.txt"
-                        (("(.*)(~=[0-9\\.]+)" all package version)
-                         package))
-                      #t)))))
+     ;; FIXME: 25 test failures divided in the following two errors:
+     ;; 'botocore.exceptions.NoRegionError: You must specify a region.'
+     ;; AttributeError: 'TestDeploymentPreferenceCollection' object has
+     ;; no attribute 'function_logical_id'.
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'loosen-requirements
+           (lambda _
+             ;; The package needlessly specifies exact versions
+             ;; of dependencies, when it works fine with others.
+             (substitute* "requirements/base.txt"
+               (("(.*)(~=[0-9\\.]+)" all package version)
+                package)))))))
+    (native-inputs
+     `(("python-black" ,python-black)
+       ("python-click" ,python-click)
+       ("python-coverage" ,python-coverage)
+       ("python-dateparser" ,python-dateparser)
+       ("python-docopt" ,python-docopt)
+       ("python-flake8" ,python-flake8)
+       ("python-mock" ,python-mock)
+       ("python-parameterized" ,python-parameterized)
+       ("python-pathlib2" ,python-pathlib2)
+       ("python-pylint" ,python-pylint)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pyyaml" ,python-pyyaml)
+       ("python-requests" ,python-requests)))
     (propagated-inputs
      `(("python-boto3" ,python-boto3)
        ("python-jsonschema" ,python-jsonschema)
-- 
2.30.2





^ permalink raw reply related	[relevance 62%]

* [bug#50724] [PATCH 3/3] gnu: Add python-zeep.
  @ 2021-09-21 19:22 67% ` Hartmut Goebel
  0 siblings, 0 replies; 200+ results
From: Hartmut Goebel @ 2021-09-21 19:22 UTC (permalink / raw)
  To: 50724

* gnu/packages/python-web.scm (python-zeep): New variable.
---
 gnu/packages/python-web.scm | 42 +++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 302e5d6459..10507240e1 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6234,3 +6234,45 @@ communicate with Microsoft Azure Storage services.")
 or tags from HTML snippets, extract base url from HTML snippets, translate entites
 on HTML strings, among other things.")
     (license license:bsd-3)))
+
+(define-public python-zeep
+  (package
+    (name "python-zeep")
+    (version "4.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "zeep" version))
+       (sha256
+        (base32 "1ranr4hkjd2kbbhxa3is1qlgkankj3sml5gla6bqs0kbvpmg4rsq"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-attrs" ,python-attrs)
+       ("python-cached-property" ,python-cached-property)
+       ("python-isodate" ,python-isodate)
+       ("python-lxml" ,python-lxml)
+       ("python-platformdirs" ,python-platformdirs)
+       ("python-pytz" ,python-pytz)
+       ("python-requests" ,python-requests)
+       ("python-requests-file" ,python-requests-file)
+       ("python-requests-toolbelt" ,python-requests-toolbelt)))
+    (native-inputs
+     `(("python-coverage" ,python-coverage)
+       ;;("python-flake8" ,python-flake8)
+       ;; ("python-flake8-blind-except" ,python-flake8-blind-except)
+       ;; ("python-flake8-debugger" ,python-flake8-debugger)
+       ;; ("python-flake8-imports" ,python-flake8-imports)
+       ("python-freezegun" ,python-freezegun)
+       ;;("python-isort" ,python-isort)
+       ("python-mock" ,python-mock)
+       ("python-pretend" ,python-pretend)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-asyncio" ,python-pytest-asyncio)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-httpx" ,python-pytest-httpx)
+       ("python-requests-mock" ,python-requests-mock)))
+    (home-page "http://docs.python-zeep.org")
+    (synopsis "Fast and modern Python SOAP client")
+    (description "This package provides a fast and modern Python SOAP client
+based on lxml and requests.")
+    (license license:expat)))
-- 
2.30.2





^ permalink raw reply related	[relevance 67%]

* [bug#51174] [PATCH] gnu: Add python-giturlparse.
@ 2021-10-13  4:36 70% jgart via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-10-13  4:36 UTC (permalink / raw)
  To: 51174; +Cc: jgart

* gnu/packages/python-web.scm (python-giturlparse): New variable.
---
 gnu/packages/python-web.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b99e358e26..9e5697b050 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6030,6 +6030,24 @@ over IMAP:
 @end itemize")
     (license license:asl2.0)))
 
+(define-public python-giturlparse
+  (package
+    (name "python-giturlparse")
+    (version "0.10.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "giturlparse" version))
+        (sha256
+          (base32 "0dxk7sqy8ibaqdl6jzxd0ac1p7shzp4p9f3lhkd7qw9h3llsp595"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/nephila/giturlparse")
+    (synopsis "Git URL parsing module")
+    (description 
+"Parse git URLs for GitHub, Bitbucket, FriendCode, Assembla, Gitlab, and
+more.")
+    (license license:asl2.0)))
+
 (define-public python-hstspreload
   (package
     (name "python-hstspreload")
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#51222] [PATCH 04/25] gnu: python-aiohttp-socks: Update to 0.6.0.
  @ 2021-10-15  2:40 70% ` Sébastien Lerique
  2021-10-15  2:40 70% ` [bug#51222] [PATCH 05/25] gnu: python-hyperframe: Update to 6.0.1 Sébastien Lerique
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 200+ results
From: Sébastien Lerique @ 2021-10-15  2:40 UTC (permalink / raw)
  To: 51222; +Cc: Sébastien Lerique

* gnu/packages/python-web.scm (python-aiohttp-socks): Update to 0.6.0.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b99e358e26..b1fd5f7379 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -240,14 +240,14 @@ Callback Hell.
 (define-public python-aiohttp-socks
   (package
     (name "python-aiohttp-socks")
-    (version "0.5.5")
+    (version "0.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiohttp_socks" version))
        (sha256
         (base32
-         "0jmhb0l1w8k1nishij3awd9zv8zbyb5l35a2pdalrqxxasbhbcif"))))
+         "04w010bvi719ifpc3sshav95k10hf9nq8czn9yglkj206yxcypdr"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-aiohttp" ,python-aiohttp)
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#51222] [PATCH 05/25] gnu: python-hyperframe: Update to 6.0.1.
    2021-10-15  2:40 70% ` [bug#51222] [PATCH 04/25] gnu: python-aiohttp-socks: Update to 0.6.0 Sébastien Lerique
@ 2021-10-15  2:40 70% ` Sébastien Lerique
  2021-10-15  2:40 70% ` [bug#51222] [PATCH 06/25] gnu: python-h11: Update to 0.12.0 Sébastien Lerique
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 200+ results
From: Sébastien Lerique @ 2021-10-15  2:40 UTC (permalink / raw)
  To: 51222; +Cc: Sébastien Lerique

* gnu/packages/python-web.scm (python-hyperframe): Update to 6.0.1.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b1fd5f7379..f58b03d8f9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -845,13 +845,13 @@ follow links and submit forms.  It doesn’t do JavaScript.")
 (define-public python-hyperframe
   (package
     (name "python-hyperframe")
-    (version "5.2.0")
+    (version "6.0.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "hyperframe" version))
        (sha256
-        (base32 "07xlf44l1cw0ghxx46sbmkgzil8vqv8kxwy42ywikiy35izw3xd9"))))
+        (base32 "055951gyhnjqpa2al52rj34g8yrls9inyn56n7nfkj0x4d300ldf"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#51222] [PATCH 06/25] gnu: python-h11: Update to 0.12.0.
    2021-10-15  2:40 70% ` [bug#51222] [PATCH 04/25] gnu: python-aiohttp-socks: Update to 0.6.0 Sébastien Lerique
  2021-10-15  2:40 70% ` [bug#51222] [PATCH 05/25] gnu: python-hyperframe: Update to 6.0.1 Sébastien Lerique
@ 2021-10-15  2:40 70% ` Sébastien Lerique
  2021-10-15  2:40 70% ` [bug#51222] [PATCH 07/25] gnu: python-socks: Update to 1.2.4 Sébastien Lerique
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 200+ results
From: Sébastien Lerique @ 2021-10-15  2:40 UTC (permalink / raw)
  To: 51222; +Cc: Sébastien Lerique

* gnu/packages/python-web.scm (python-h11): Update to 0.12.0.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f58b03d8f9..ea03eb64ee 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -909,13 +909,13 @@ for use in Python programs that implement HTTP/2.")
 (define-public python-h11
   (package
     (name "python-h11")
-    (version "0.9.0")
+    (version "0.12.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "h11" version))
        (sha256
-        (base32 "1qfad70h59hya21vrzz8dqyyaiqhac0anl2dx3s3k80gpskvrm1k"))))
+        (base32 "0hk0nll6qazsambp3kl8cxxsbl4gv5y9252qadyk0jky0sv2q8j7"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#51222] [PATCH 08/25] gnu: python-hpack: Update to 4.0.0.
                     ` (3 preceding siblings ...)
  2021-10-15  2:40 70% ` [bug#51222] [PATCH 07/25] gnu: python-socks: Update to 1.2.4 Sébastien Lerique
@ 2021-10-15  2:40 70% ` Sébastien Lerique
  2021-10-15  2:40 69% ` [bug#51222] [PATCH 09/25] gnu: python-h2: Update to 4.1.0 Sébastien Lerique
  2021-10-15  2:40 70% ` [bug#51222] [PATCH 23/25] gnu: python-socks: Fix indentation Sébastien Lerique
  6 siblings, 0 replies; 200+ results
From: Sébastien Lerique @ 2021-10-15  2:40 UTC (permalink / raw)
  To: 51222; +Cc: Sébastien Lerique

* gnu/packages/python-web.scm (python-hpack): Update to 4.0.0
[arguments]: Reactivate skipped test in 'check phase.
---
 gnu/packages/python-web.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c1fe1f1a63..bd5fca2013 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -874,7 +874,7 @@ into HTTP/2 frames.")
 (define-public python-hpack
   (package
     (name "python-hpack")
-    (version "3.0.0")
+    (version "4.0.0")
     (source
      (origin
        ;; PyPI tarball is missing some files necessary for the tests.
@@ -884,7 +884,7 @@ into HTTP/2 frames.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0w8hkz50a6lzkmgi41ryicm0mh9ca9cx29pm3s0xlpn0vs29xrmd"))))
+        (base32 "11qdayvz5a8zlzdcdm37f2z1fgnl67pz6j8xj2dz5rfa5lds29yq"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -893,10 +893,7 @@ into HTTP/2 frames.")
            (lambda* (#:key tests? inputs outputs #:allow-other-keys)
              (when tests?
                (add-installed-pythonpath inputs outputs)
-               (invoke "pytest" "-vv" "test" "-k"
-                       ;; This test will be fixed in the next version. See:
-                       ;; https://github.com/python-hyper/hpack/issues/168.
-                       "not test_get_by_index_out_of_range")))))))
+               (invoke "pytest" "-vv" "test")))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (home-page "https://hyper.rtfd.org")
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#51222] [PATCH 07/25] gnu: python-socks: Update to 1.2.4.
                     ` (2 preceding siblings ...)
  2021-10-15  2:40 70% ` [bug#51222] [PATCH 06/25] gnu: python-h11: Update to 0.12.0 Sébastien Lerique
@ 2021-10-15  2:40 70% ` Sébastien Lerique
  2021-10-15  2:40 70% ` [bug#51222] [PATCH 08/25] gnu: python-hpack: Update to 4.0.0 Sébastien Lerique
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 200+ results
From: Sébastien Lerique @ 2021-10-15  2:40 UTC (permalink / raw)
  To: 51222; +Cc: Sébastien Lerique

* gnu/packages/python-web.scm (python-socks): Update to 1.2.4.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ea03eb64ee..c1fe1f1a63 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6140,14 +6140,14 @@ your code non-blocking and speedy.")
 (define-public python-socks
   (package
     (name "python-socks")
-    (version "1.1.2")
+    (version "1.2.4")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "python-socks" version))
         (sha256
          (base32
-          "06mgv3icsyglv50w3sb71x6cpbskza20pqd93l5xk59x574i6xgs"))))
+          "1n6xb18jy41ybgkmamakg6psp3qididd45qknxiggngaiibz43kx"))))
     (build-system python-build-system)
     (arguments
      `(#:tests? #f  ; tests not included
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#51222] [PATCH 09/25] gnu: python-h2: Update to 4.1.0.
                     ` (4 preceding siblings ...)
  2021-10-15  2:40 70% ` [bug#51222] [PATCH 08/25] gnu: python-hpack: Update to 4.0.0 Sébastien Lerique
@ 2021-10-15  2:40 69% ` Sébastien Lerique
  2021-10-15  2:40 70% ` [bug#51222] [PATCH 23/25] gnu: python-socks: Fix indentation Sébastien Lerique
  6 siblings, 0 replies; 200+ results
From: Sébastien Lerique @ 2021-10-15  2:40 UTC (permalink / raw)
  To: 51222; +Cc: Sébastien Lerique

* gnu/packages/python-web.scm (python-h2): Update to 4.1.0.
[native-inputs]: Add python-hypothesis-6.23.
[arguments]: Invoke pytest through `python -m` so it finds the newer
python-hypothesis-6.23.
[home-page]: Update to current url.
---
 gnu/packages/python-web.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bd5fca2013..37cde8336a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -935,13 +935,13 @@ and that could be anything you want.")
 (define-public python-h2
   (package
     (name "python-h2")
-    (version "3.2.0")
+    (version "4.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "h2" version))
        (sha256
-        (base32 "051gg30aca26rdxsmr9svwqm06pdz9bv21ch4n0lgi7jsvml2pw7"))))
+        (base32 "1fraip114fm1ha5w37pdc0sk8dn9pb0ck267zrwwpap7zc4clfm8"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -950,13 +950,14 @@ and that could be anything you want.")
            (lambda* (#:key tests? inputs outputs #:allow-other-keys)
              (when tests?
                (add-installed-pythonpath inputs outputs)
-               (invoke "pytest" "-vv" "test")))))))
+               (invoke "python" "-m" "pytest" "-vv" "test")))))))
     (native-inputs
-     `(("python-pytest" ,python-pytest)))
+     `(("python-hypothesis" ,python-hypothesis-6.23)
+       ("python-pytest" ,python-pytest)))
     (propagated-inputs
      `(("python-hpack" ,python-hpack)
        ("python-hyperframe" ,python-hyperframe)))
-    (home-page "https://github.com/python-hyper/hyper-h2")
+    (home-page "https://github.com/python-hyper/h2")
     (synopsis "HTTP/2 State-Machine based protocol implementation")
     (description
      "This module contains a pure-Python implementation of a HTTP/2 protocol
-- 
2.33.0





^ permalink raw reply related	[relevance 69%]

* [bug#51222] [PATCH 23/25] gnu: python-socks: Fix indentation.
                     ` (5 preceding siblings ...)
  2021-10-15  2:40 69% ` [bug#51222] [PATCH 09/25] gnu: python-h2: Update to 4.1.0 Sébastien Lerique
@ 2021-10-15  2:40 70% ` Sébastien Lerique
  6 siblings, 0 replies; 200+ results
From: Sébastien Lerique @ 2021-10-15  2:40 UTC (permalink / raw)
  To: 51222; +Cc: Sébastien Lerique

* gnu/packages/python-web.scm (python-socks): Fix indentation.
---
 gnu/packages/python-web.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 37cde8336a..38dd8e2bad 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6140,15 +6140,15 @@ your code non-blocking and speedy.")
     (name "python-socks")
     (version "1.2.4")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "python-socks" version))
-        (sha256
-         (base32
-          "1n6xb18jy41ybgkmamakg6psp3qididd45qknxiggngaiibz43kx"))))
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "python-socks" version))
+       (sha256
+        (base32
+         "1n6xb18jy41ybgkmamakg6psp3qididd45qknxiggngaiibz43kx"))))
     (build-system python-build-system)
     (arguments
-     `(#:tests? #f  ; tests not included
+     `(#:tests? #f                      ; tests not included
        #:phases
        (modify-phases %standard-phases
          (replace 'check
-- 
2.33.0





^ permalink raw reply related	[relevance 70%]

* [bug#51222] [PATCH 0/25] Package python-pantalaimon
  @ 2021-10-16 15:42 77% ` Lars-Dominik Braun
  0 siblings, 0 replies; 200+ results
From: Lars-Dominik Braun @ 2021-10-16 15:42 UTC (permalink / raw)
  To: Sébastien Lerique; +Cc: 51222

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

Hi Sébastien,

thanks for your contribution!

> This patchset packages the pantalaimon E2EE proxy for Matrix clients.
> It's the first time I'm sending a full-fledged patchset, and all
> comments are super welcome!
I was going to package python-matrix-nio anyway, so I picked up this
patchset and made some modifications:

- Removed python2-atomicwrites-1.4 (we’re trying to get rid of Python 2).
- Moved some matrix-related packages to gnu/packages/matrix.scm, which seems more appropriate. YMMV.
- Renamed python-pantalaimon to pantalaimon, because it’s an application, not a library.
- Upgraded python-olm to inherit from libolm.
- Updated the hash for python-pycryptodomex, because it inherits from python-pycryptodome and fails to build otherwise.

See attachments for a v2. Does this look good to you?

Cheers,
Lars

PS: Could you please add new packages at the bottom of a file? I feel
adding them at the top makes rebasing very difficult. 

[-- Attachment #2: 0001-gnu-Add-python-hypothesis-6.23.patch --]
[-- Type: text/x-diff, Size: 1285 bytes --]

From 873a54cd6239f1ca2227c0edd3888baae241e755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:12 +0900
Subject: [PATCH v2 01/26] gnu: Add python-hypothesis-6.23.

* gnu/packages/check.scm (python-hypothesis-6.23): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/check.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 4701d61a9e..1f9cc26913 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2154,6 +2154,17 @@ (define-public python-hypothesis-5.23
                 "0sy1v6nyxg4rjcf3rlr8nalb7wqd9nccpb2lzkchbj5an13ysf1h"))))
     (home-page "https://github.com/HypothesisWorks/hypothesis")))
 
+(define-public python-hypothesis-6.23
+  (package
+    (inherit python-hypothesis)
+    (version "6.23.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "hypothesis" version))
+              (sha256
+               (base32
+                "0lqhfrqsd81apchz93pdqfn85kx0p790w8hhd9qq85692rwja6xp"))))))
+
 ;; This is the last version of Hypothesis that supports Python 2.
 (define-public python2-hypothesis
   (let ((hypothesis (package-with-python2
-- 
2.32.0


[-- Attachment #3: 0002-gnu-python-peewee-Update-to-3.14.4.patch --]
[-- Type: text/x-diff, Size: 1176 bytes --]

From aa0c48ec37eb1fd09d0a5f4506e51ba45972ded5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:13 +0900
Subject: [PATCH v2 02/26] gnu: python-peewee: Update to 3.14.4.

* gnu/packages/databases.scm (python-peewee): Update to 3.14.4.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/databases.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 4869e1ced3..0da6c2d1be 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2586,13 +2586,13 @@ (define-public libpqxx
 (define-public python-peewee
   (package
     (name "python-peewee")
-    (version "3.14.0")
+    (version "3.14.4")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "peewee" version))
        (sha256
-        (base32 "1yl49gxrg0c2x3n3r60z3lixw9am8b61s0477l9vjabhhx1yziar"))))
+        (base32 "18jidir2wid0cp8a61m9vf9mf0pdvm6nzspc8bfwdbifghr6ndcy"))))
     (build-system python-build-system)
     (arguments
      `(#:tests? #f))                    ; fails to import test data
-- 
2.32.0


[-- Attachment #4: 0003-gnu-python-pycryptodome-Update-to-3.11.0.patch --]
[-- Type: text/x-diff, Size: 1767 bytes --]

From 7f37a52092915060d840cf37777d1707634635ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:14 +0900
Subject: [PATCH v2 03/26] gnu: python-pycryptodome: Update to 3.11.0.

* gnu/packages/python-crypto.scm (python-pycryptodome): Update to 3.11.0.
(python-pycryptodomex)[source]: Update hash since it inherits from
python-pycryptodome.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-crypto.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 1cddc56f1b..e62fc04c0f 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -924,14 +924,14 @@ (define pycryptodome-unbundle-tomcrypt-snippet
 (define-public python-pycryptodome
   (package
     (name "python-pycryptodome")
-    (version "3.9.9")
+    (version "3.11.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pycryptodome" version))
        (sha256
         (base32
-         "1i4m74f88qj9ci8rpyzrbk2slmsdj5ipmwdkq6qk24byalm203li"))
+         "1l3a80z3lxcj1q0hzj1d3plavy2d51y4vzcd85zj0zm7yyxrd022"))
        (modules '((guix build utils)))
        (snippet pycryptodome-unbundle-tomcrypt-snippet)))
     (build-system python-build-system)
@@ -990,7 +990,7 @@ (define-public python-pycryptodomex
        (method url-fetch)
        (uri (pypi-uri "pycryptodomex" version))
        (sha256
-        (base32 "0lbx4qk3xmwqiidhmkj8qa7bh2lf8bwzg0xjpsh2w5zqjrc7qnvv"))
+        (base32 "0vcd65ylri2a4pdqcc1897jasj7wfmqklj8x3pdynmdvark3d603"))
        (modules '((guix build utils)))
        (snippet pycryptodome-unbundle-tomcrypt-snippet)))
     (description
-- 
2.32.0


[-- Attachment #5: 0004-gnu-python-aiohttp-socks-Update-to-0.6.0.patch --]
[-- Type: text/x-diff, Size: 1203 bytes --]

From f92dd6601b12dd0909cdefd7728ea6a4cd2de0d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:15 +0900
Subject: [PATCH v2 04/26] gnu: python-aiohttp-socks: Update to 0.6.0.

* gnu/packages/python-web.scm (python-aiohttp-socks): Update to 0.6.0.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index dcb84d0b67..8e723b02fd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -239,14 +239,14 @@ (define-public python-aiohttp
 (define-public python-aiohttp-socks
   (package
     (name "python-aiohttp-socks")
-    (version "0.5.5")
+    (version "0.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiohttp_socks" version))
        (sha256
         (base32
-         "0jmhb0l1w8k1nishij3awd9zv8zbyb5l35a2pdalrqxxasbhbcif"))))
+         "04w010bvi719ifpc3sshav95k10hf9nq8czn9yglkj206yxcypdr"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-aiohttp" ,python-aiohttp)
-- 
2.32.0


[-- Attachment #6: 0005-gnu-python-hyperframe-Update-to-6.0.1.patch --]
[-- Type: text/x-diff, Size: 1158 bytes --]

From 818d354be7b9fb87955f1aff8995bf6c46df8ef4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:16 +0900
Subject: [PATCH v2 05/26] gnu: python-hyperframe: Update to 6.0.1.

* gnu/packages/python-web.scm (python-hyperframe): Update to 6.0.1.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8e723b02fd..f61509986c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -844,13 +844,13 @@ (define-public python-mechanicalsoup
 (define-public python-hyperframe
   (package
     (name "python-hyperframe")
-    (version "5.2.0")
+    (version "6.0.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "hyperframe" version))
        (sha256
-        (base32 "07xlf44l1cw0ghxx46sbmkgzil8vqv8kxwy42ywikiy35izw3xd9"))))
+        (base32 "055951gyhnjqpa2al52rj34g8yrls9inyn56n7nfkj0x4d300ldf"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.32.0


[-- Attachment #7: 0006-gnu-python-h11-Update-to-0.12.0.patch --]
[-- Type: text/x-diff, Size: 1117 bytes --]

From d83d79f8b61bcef1d0fecaba870aa6e202aa9ccf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:17 +0900
Subject: [PATCH v2 06/26] gnu: python-h11: Update to 0.12.0.

* gnu/packages/python-web.scm (python-h11): Update to 0.12.0.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f61509986c..3439b9339f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -908,13 +908,13 @@ (define-public python-hpack
 (define-public python-h11
   (package
     (name "python-h11")
-    (version "0.9.0")
+    (version "0.12.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "h11" version))
        (sha256
-        (base32 "1qfad70h59hya21vrzz8dqyyaiqhac0anl2dx3s3k80gpskvrm1k"))))
+        (base32 "0hk0nll6qazsambp3kl8cxxsbl4gv5y9252qadyk0jky0sv2q8j7"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.32.0


[-- Attachment #8: 0007-gnu-python-socks-Update-to-1.2.4.patch --]
[-- Type: text/x-diff, Size: 1171 bytes --]

From 97dc500ab921fcb590044562149c8e2f9ca564d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:18 +0900
Subject: [PATCH v2 07/26] gnu: python-socks: Update to 1.2.4.

* gnu/packages/python-web.scm (python-socks): Update to 1.2.4.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3439b9339f..eec554a182 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6139,14 +6139,14 @@ (define-public python-socketio
 (define-public python-socks
   (package
     (name "python-socks")
-    (version "1.1.2")
+    (version "1.2.4")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "python-socks" version))
         (sha256
          (base32
-          "06mgv3icsyglv50w3sb71x6cpbskza20pqd93l5xk59x574i6xgs"))))
+          "1n6xb18jy41ybgkmamakg6psp3qididd45qknxiggngaiibz43kx"))))
     (build-system python-build-system)
     (arguments
      `(#:tests? #f  ; tests not included
-- 
2.32.0


[-- Attachment #9: 0008-gnu-python-hpack-Update-to-4.0.0.patch --]
[-- Type: text/x-diff, Size: 1973 bytes --]

From 14df51e1c1d169cdb4f4dd8da3a616fe8cb1f239 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:19 +0900
Subject: [PATCH v2 08/26] gnu: python-hpack: Update to 4.0.0.

* gnu/packages/python-web.scm (python-hpack): Update to 4.0.0
[arguments]: Reactivate skipped test in 'check phase.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-web.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index eec554a182..11bb834ef9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -873,7 +873,7 @@ (define-public python-hyperframe
 (define-public python-hpack
   (package
     (name "python-hpack")
-    (version "3.0.0")
+    (version "4.0.0")
     (source
      (origin
        ;; PyPI tarball is missing some files necessary for the tests.
@@ -883,7 +883,7 @@ (define-public python-hpack
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0w8hkz50a6lzkmgi41ryicm0mh9ca9cx29pm3s0xlpn0vs29xrmd"))))
+        (base32 "11qdayvz5a8zlzdcdm37f2z1fgnl67pz6j8xj2dz5rfa5lds29yq"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -892,10 +892,7 @@ (define-public python-hpack
            (lambda* (#:key tests? inputs outputs #:allow-other-keys)
              (when tests?
                (add-installed-pythonpath inputs outputs)
-               (invoke "pytest" "-vv" "test" "-k"
-                       ;; This test will be fixed in the next version. See:
-                       ;; https://github.com/python-hyper/hpack/issues/168.
-                       "not test_get_by_index_out_of_range")))))))
+               (invoke "pytest" "-vv" "test")))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (home-page "https://hyper.rtfd.org")
-- 
2.32.0


[-- Attachment #10: 0009-gnu-python-h2-Update-to-4.1.0.patch --]
[-- Type: text/x-diff, Size: 2164 bytes --]

From 5b6d8c1e35160d1635f8984b8c50e84e60bd6c0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:20 +0900
Subject: [PATCH v2 09/26] gnu: python-h2: Update to 4.1.0.

* gnu/packages/python-web.scm (python-h2): Update to 4.1.0.
[native-inputs]: Add python-hypothesis-6.23.
[arguments]: Invoke pytest through `python -m` so it finds the newer
python-hypothesis-6.23.
[home-page]: Update to current url.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-web.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 11bb834ef9..f3f7afd80c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -934,13 +934,13 @@ (define-public python-h11
 (define-public python-h2
   (package
     (name "python-h2")
-    (version "3.2.0")
+    (version "4.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "h2" version))
        (sha256
-        (base32 "051gg30aca26rdxsmr9svwqm06pdz9bv21ch4n0lgi7jsvml2pw7"))))
+        (base32 "1fraip114fm1ha5w37pdc0sk8dn9pb0ck267zrwwpap7zc4clfm8"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -949,13 +949,14 @@ (define-public python-h2
            (lambda* (#:key tests? inputs outputs #:allow-other-keys)
              (when tests?
                (add-installed-pythonpath inputs outputs)
-               (invoke "pytest" "-vv" "test")))))))
+               (invoke "python" "-m" "pytest" "-vv" "test")))))))
     (native-inputs
-     `(("python-pytest" ,python-pytest)))
+     `(("python-hypothesis" ,python-hypothesis-6.23)
+       ("python-pytest" ,python-pytest)))
     (propagated-inputs
      `(("python-hpack" ,python-hpack)
        ("python-hyperframe" ,python-hyperframe)))
-    (home-page "https://github.com/python-hyper/hyper-h2")
+    (home-page "https://github.com/python-hyper/h2")
     (synopsis "HTTP/2 State-Machine based protocol implementation")
     (description
      "This module contains a pure-Python implementation of a HTTP/2 protocol
-- 
2.32.0


[-- Attachment #11: 0010-gnu-python-future-Update-to-0.18.2.patch --]
[-- Type: text/x-diff, Size: 1244 bytes --]

From 982238c26fbcbdf13cbb5ded7d821a8ea2350182 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:21 +0900
Subject: [PATCH v2 10/26] gnu: python-future: Update to 0.18.2.

* gnu/packages/python-xyz.scm (python-future): Update to 0.18.2.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3abedc6ead..6e8a0c2b36 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14495,14 +14495,14 @@ (define-public python2-bz2file
 (define-public python-future
   (package
     (name "python-future")
-    (version "0.17.1")
+    (version "0.18.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "future" version))
        (sha256
         (base32
-         "1f2rlqn9rh7adgir52dlbqz69gsab44x0mlm8gf1cs7xvhv54137"))))
+         "0zakvfj87gy6mn1nba06sdha63rn4njm7bhh0wzyrxhcny8avgmi"))))
     (build-system python-build-system)
     ;; Many tests connect to the network or are otherwise flawed.
     ;; https://github.com/PythonCharmers/python-future/issues/210
-- 
2.32.0


[-- Attachment #12: 0011-gnu-python-curio-Update-to-1.5.patch --]
[-- Type: text/x-diff, Size: 1127 bytes --]

From 1f8b375750d223a74325f57796b06ee94d9d2a34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:22 +0900
Subject: [PATCH v2 11/26] gnu: python-curio: Update to 1.5.

* gnu/packages/python-xyz.scm (python-curio): Update to 1.5.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6e8a0c2b36..5128fca007 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10723,13 +10723,13 @@ (define-public python2-prettytable
 (define-public python-curio
   (package
     (name "python-curio")
-    (version "1.2")
+    (version "1.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "curio" version))
        (sha256
-        (base32 "16wkww6kh511b9bzsfhpvrv0766cc6ssgbzz4lgpjnrzzgx21wwh"))))
+        (base32 "045wwg16qadsalhicbv21p14sj8i4w0l57639j7dmdqbb4p2225g"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.32.0


[-- Attachment #13: 0012-gnu-python-faker-Update-to-9.3.1.patch --]
[-- Type: text/x-diff, Size: 1558 bytes --]

From 966f9b863530db4c8cee0741e54bbbdfa657d0da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:23 +0900
Subject: [PATCH v2 12/26] gnu: python-faker: Update to 9.3.1.

* gnu/packages/python-xyz.scm (python-faker): Update to 9.3.1.
[native-inputs]: Use python-pytest-6.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 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 5128fca007..60e0556438 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15696,13 +15696,13 @@ (define-public python2-ukpostcodeparser
 (define-public python-faker
   (package
   (name "python-faker")
-  (version "4.0.2")
+  (version "9.3.1")
   (source (origin
             (method url-fetch)
             (uri (pypi-uri "Faker" version))
             (sha256
              (base32
-              "13qq485ydxmdnqn3xbfv1xfyqbf9qfnfw33v1vw5l6jyy9p8cgrd"))))
+              "0lpfdc4ndvk7chgqrfd2b1my4n54pccq9b645vp9cp5s5ypyknfd"))))
   (build-system python-build-system)
   (arguments
    '(#:phases
@@ -15712,7 +15712,7 @@ (define-public python-faker
   (native-inputs
    `(;; For testing
      ("python-freezegun" ,python-freezegun)
-     ("python-pytest" ,python-pytest)
+     ("python-pytest" ,python-pytest-6)
      ("python-random2" ,python-random2)
      ("python-ukpostcodeparser" ,python-ukpostcodeparser)
      ("python-validators" ,python-validators)))
-- 
2.32.0


[-- Attachment #14: 0013-gnu-python-ukpostcodeparser-Update-to-1.1.2.patch --]
[-- Type: text/x-diff, Size: 2151 bytes --]

From e7d627458c593da68fa1a0e5e1f366c5b617029d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:24 +0900
Subject: [PATCH v2 13/26] gnu: python-ukpostcodeparser: Update to 1.1.2.

* gnu/packages/python-xyz.scm (python-ukpostcodeparser): Update to
1.1.2.
[arguments]: Replace 'check phase to run tests with pytest, ignoring
failing lowercase tests.
[native-inputs]: Add python-pytest.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 60e0556438..7191d9e220 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15675,14 +15675,29 @@ (define-public python2-email-validator
 (define-public python-ukpostcodeparser
   (package
     (name "python-ukpostcodeparser")
-    (version "1.0.3")
+    (version "1.1.2")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "UkPostcodeParser" version))
               (sha256
                (base32
-                "1jwg9z4rz51mcka1821rwgycsd0mcicyp1kiwjfa2kvg8bm9p2qd"))))
+                "03jkf1ygbwq3akzbcjyjk1akc1hv2sfgx90306pq1nwklbpn80lk"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               ;; Tests for lowercase postcodes fail.
+               (invoke "pytest" "-vv" "ukpostcodeparser/test/parser.py" "-k"
+                       (string-append "not test_091 "
+                                      "and not test_097 "
+                                      "and not test_098 "
+                                      "and not test_125 "
+                                      "and not test_131"))))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
     (home-page "https://github.com/hamstah/ukpostcodeparser")
     (synopsis "UK Postcode parser for Python")
     (description
-- 
2.32.0


[-- Attachment #15: 0014-gnu-python-unpaddedbase64-Update-to-2.1.0.patch --]
[-- Type: text/x-diff, Size: 2994 bytes --]

From f93992ffcaec5ed607008dddb77ee0b5fb0b5375 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:25 +0900
Subject: [PATCH v2 14/26] gnu: python-unpaddedbase64: Update to 2.1.0.

* gnu/packages/python-xyz.scm (python-unpaddedbase64): Update to 2.1.0.
[source]: Fetch from PyPi.
[arguments]: Replace 'check phase to run tests fetched upstream from
GitHub.
[native-inputs]: Add `python-pytest` and `tests` for fetching upstream
tests.
[home-page]: Update to GitHub project home.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++++++++++---------
 1 file changed, 30 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7191d9e220..3633a4fa66 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24601,19 +24601,40 @@ (define-public python-frozendict
 (define-public python-unpaddedbase64
   (package
     (name "python-unpaddedbase64")
-    (version "1.1.0")
+    (version "2.1.0")
     (source
      (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/matrix-org/python-unpaddedbase64")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
+       (method url-fetch)
+       (uri (pypi-uri "unpaddedbase64" version))
        (sha256
-        (base32
-         "0if3fjfxga0bwdq47v77fs9hrcqpmwdxry2i2a7pdqsp95258nxd"))))
+        (base32 "01ghlmw63fgslwj8j74vkpf1kqvr7a4agm6nyn89vqwx106ccwvj"))))
     (build-system python-build-system)
-    (home-page "https://pypi.org/project/unpaddedbase64/")
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs tests? #:allow-other-keys)
+             (when tests?
+               (copy-recursively (string-append
+                                  (assoc-ref inputs "tests") "/tests")
+                                 "tests")
+               (invoke "python" "-m" "pytest" "-vv")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("tests"
+        ;; The release on pypi comes without tests.  We can't build from this
+        ;; checkout, though, because installation requires an invocation of
+        ;; poetry.
+        ,(origin
+           (method git-fetch)
+           (uri (git-reference
+                 (url "https://github.com/matrix-org/python-unpaddedbase64")
+                 (commit (string-append "v" version))))
+           (file-name (git-file-name name version))
+           (sha256
+            (base32
+             "1n6har8pxv0mqb96lanzihp1xf76aa17jw3977drb1fgz947pnmz"))))))
+    (home-page "https://github.com/matrix-org/python-unpaddedbase64")
     (synopsis "Encode and decode Base64 without “=” padding")
     (description
      "RFC 4648 specifies that Base64 should be padded to a multiple of 4 bytes
-- 
2.32.0


[-- Attachment #16: 0015-gnu-Add-python-atomicwrites-1.4.patch --]
[-- Type: text/x-diff, Size: 1192 bytes --]

From 947b0b1e4257a59f63766ff83ea886c924e218f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:26 +0900
Subject: [PATCH v2 15/26] gnu: Add python-atomicwrites-1.4.

* gnu/packages/python-xyz.scm (python-atomicwrites-1.4): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-xyz.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3633a4fa66..4c638e35bc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12371,6 +12371,17 @@ (define-public python-atomicwrites
 (define-public python2-atomicwrites
   (package-with-python2 python-atomicwrites))
 
+(define-public python-atomicwrites-1.4
+  (package
+    (inherit python-atomicwrites)
+    (version "1.4.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "atomicwrites" version))
+              (sha256
+               (base32
+                "0yla2svfhfqrcj8qbyqzx7wi4jy0dwcxvlkg0k3zjd54s5m3jw5f"))))))
+
 (define-public python-qstylizer
   (package
     (name "python-qstylizer")
-- 
2.32.0


[-- Attachment #17: 0016-gnu-Add-python-aioresponses.patch --]
[-- Type: text/x-diff, Size: 2468 bytes --]

From 18d2993c4d0f2e7fe0c078dc1b22f1a6da17341a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:28 +0900
Subject: [PATCH v2 16/26] gnu: Add python-aioresponses.

* gnu/packages/python-check.scm (python-aioresponses): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-check.scm | 40 +++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 8252f02182..7a61a73dd6 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1680,3 +1680,43 @@ (define-public python-pytest-mp
 tedious system under test configuration that can benefit from running several
 tests at one time.")
     (license license:expat)))
+
+(define-public python-aioresponses
+  (package
+    (name "python-aioresponses")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "aioresponses" version))
+       (sha256
+        (base32 "16p8mdyfirddrsay62ji7rwcrqmmzxzf2isdbfm9cj5p338rbr42"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke
+                "pytest" "-vv" "tests" "-k"
+                (string-append
+                 ;; These tests require network access.
+                 "not test_address_as_instance_of_url_combined_with_pass_through "
+                 "and not test_pass_through_with_origin_params"))))))))
+    (native-inputs
+     `(("python-pbr" ,python-pbr)
+       ("python-ddt" ,python-ddt)
+       ("python-pytest" ,python-pytest)))
+    (propagated-inputs
+     `(("python-aiohttp" ,python-aiohttp)))
+    (home-page "https://github.com/pnuckowski/aioresponses")
+    (synopsis "Mock out requests made by ClientSession from aiohttp package")
+    (description
+     "Aioresponses is a helper to mock/fake web requests in python aiohttp
+package.  For requests module there are a lot of packages that help us with
+testing (eg. httpretty, responses, requests-mock).  When it comes to testing
+asynchronous HTTP requests it is a bit harder (at least at the beginning).
+The purpose of this package is to provide an easy way to test asynchronous
+HTTP requests.")
+    (license license:expat)))
-- 
2.32.0


[-- Attachment #18: 0017-gnu-Add-python-janus.patch --]
[-- Type: text/x-diff, Size: 2420 bytes --]

From e636953b69baf669c596f723ba2e89669cc0d649 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:29 +0900
Subject: [PATCH v2 17/26] gnu: Add python-janus.

* gnu/packages/python-xyz.scm (python-janus): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4c638e35bc..309924ac7b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -230,6 +230,45 @@ (define-module (gnu packages python-xyz)
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
 
+(define-public python-janus
+  (package
+    (name "python-janus")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "janus" version))
+       (sha256
+        (base32 "030xvl2vghi5ispfalhvch1rl6i2jsy5bf1dgjafa7vifppy04j7"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "pytest" "--cov=janus" "--cov=tests")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-asyncio" ,python-pytest-asyncio)))
+    (home-page "https://github.com/aio-libs/janus/")
+    (synopsis
+     "Sync-async queue to interoperate between asyncio tasks and classic threads")
+    (description
+     "Mixed sync-async queue, supposed to be used for communicating between
+classic synchronous (threaded) code and asynchronous (in terms of
+@url{https://docs.python.org/3/library/asyncio.html,asyncio}) one.  Like
+@url{https://en.wikipedia.org/wiki/Janus,Janus god} the queue object from the
+library has two faces: synchronous and asynchronous interface.  Synchronous is
+fully compatible with
+@url{https://docs.python.org/3/library/queue.html,standard queue},
+asynchronous one follows
+@url{https://docs.python.org/3/library/asyncio-queue.html,asyncio queue
+design}.")
+    (license license:asl2.0)))
+
 (define-public python-ueberzug
   (package
     (name "python-ueberzug")
-- 
2.32.0


[-- Attachment #19: 0018-gnu-Add-python-logbook.patch --]
[-- Type: text/x-diff, Size: 2257 bytes --]

From 279089894261a84e88208fb1b9ffbf036fc0b1f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:30 +0900
Subject: [PATCH v2 18/26] gnu: Add python-logbook.

* gnu/packages/python-xyz.scm (python-logbook): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 309924ac7b..70636b62db 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -269,6 +269,44 @@ (define-public python-janus
 design}.")
     (license license:asl2.0)))
 
+(define-public python-logbook
+  (package
+    (name "python-logbook")
+    (version "1.5.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Logbook" version))
+       (sha256
+        (base32 "1s1gyfw621vid7qqvhddq6c3z2895ci4lq3g0r1swvpml2nm9x36"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'cythonize-sources
+           (lambda _
+             (with-directory-excursion "logbook"
+               (invoke "cython" "_speedups.pyx"))))
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               ;; Check cython build also
+               (setenv "CYBUILD" "True")
+               (invoke "pytest" "--cov=logbook" "-r" "s" "tests")))))))
+    (native-inputs
+     `(("python-cython" ,python-cython)
+       ("python-mock" ,python-mock)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-google-brotli" ,python-google-brotli)))
+    (home-page "https://github.com/getlogbook/logbook")
+    (synopsis "Logbook is a logging replacement for Python")
+    (description
+     "Logbook is a logging system for Python that replaces the standard
+library’s logging module.  It was designed with both complex and simple
+applications in mind and the idea to make logging fun.")
+    (license license:bsd-3)))
+
 (define-public python-ueberzug
   (package
     (name "python-ueberzug")
-- 
2.32.0


[-- Attachment #20: 0019-gnu-Add-python-fields.patch --]
[-- Type: text/x-diff, Size: 1309 bytes --]

From c8ccc86374d54a29a38d8453c176de28f9a901e2 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Sat, 16 Oct 2021 11:01:38 +0200
Subject: [PATCH v2 19/26] gnu: Add python-fields.

* gnu/packages/python-xyz.scm (python-fields): New variable.
---
 gnu/packages/python-xyz.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 70636b62db..268c35eb58 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27447,3 +27447,19 @@ (define-public python-box
      "This package provides the @code{python-box} Python module.
 It implements advanced Python dictionaries with dot notation access.")
     (license license:expat)))
+
+(define-public python-fields
+  (package
+    (name "python-fields")
+    (version "5.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "fields" version))
+        (sha256
+          (base32 "09sppvhhkhkv9zc9g994m53z15v92csxwcf42ggkaknlv01smm1i"))))
+    (build-system python-build-system)
+    (home-page "https://python-fields.readthedocs.io/")
+    (synopsis "Python container class boilerplate killer")
+    (description "Avoid repetetive boilerplate code in Python classes.")
+    (license license:bsd-3)))
-- 
2.32.0


[-- Attachment #21: 0020-gnu-Add-python-aspectlib.patch --]
[-- Type: text/x-diff, Size: 1619 bytes --]

From 832b6e7da353c53fd0a6ae6ebf8329123b8ca993 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Sat, 16 Oct 2021 11:02:14 +0200
Subject: [PATCH v2 20/26] gnu: Add python-aspectlib.

* gnu/packages/python-xyz.scm (python-aspectlib): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 268c35eb58..1f04519f35 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27463,3 +27463,25 @@ (define-public python-fields
     (synopsis "Python container class boilerplate killer")
     (description "Avoid repetetive boilerplate code in Python classes.")
     (license license:bsd-3)))
+
+(define-public python-aspectlib
+  (package
+    (name "python-aspectlib")
+    (version "1.5.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "aspectlib" version))
+        (sha256
+          (base32 "1am4ycf292zbmgz791z393v63w7qrynf8q5p9db2wwf2qj1fqxfj"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-fields" ,python-fields)))
+    (home-page "https://github.com/ionelmc/python-aspectlib")
+    (synopsis
+      "Python monkey-patching and decorators")
+    (description
+      "This package provides an aspect-oriented programming, monkey-patch
+and decorators library.  It is useful when changing behavior in existing
+code is desired.  It includes tools for debugging and testing:
+simple mock/record and a complete capture/replay framework.")
+    (license license:bsd-2)))
-- 
2.32.0


[-- Attachment #22: 0021-gnu-Add-python-olm.patch --]
[-- Type: text/x-diff, Size: 2720 bytes --]

From b7935c9d32d652144b48dafb1445782696f870fc Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Sat, 16 Oct 2021 10:56:48 +0200
Subject: [PATCH v2 21/26] gnu: Add python-olm.

* gnu/packages/crypto.scm (python-olm): New variable.
---
 gnu/packages/crypto.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 64cdf48d5d..823b888b82 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -72,6 +72,7 @@ (define-module (gnu packages crypto)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages python-check)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages search)
   #:use-module (gnu packages serialization)
@@ -91,6 +92,7 @@ (define-module (gnu packages crypto)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system perl)
+  #:use-module (guix build-system python)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
@@ -1280,6 +1282,39 @@ (define-public libolm
     (home-page "https://matrix.org/docs/projects/other/olm/")
     (license license:asl2.0)))
 
+(define-public python-olm
+  (package
+    ;; python-olm is part of libolm and must be updated at the same time.
+    (inherit libolm)
+    (name "python-olm")
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'chdir
+           (lambda _
+             (chdir "python")))
+         (add-before 'build 'set-preprocessor
+           (lambda* (#:key inputs #:allow-other-keys)
+             (setenv "CPP" "gcc -E")))
+         (replace 'check
+           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "pytest")))))))
+    (inputs `(("libolm" ,libolm)))
+    (propagated-inputs
+     `(("python-cffi" ,python-cffi)
+       ("python-future" ,python-future)))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-benchmark" ,python-pytest-benchmark)
+       ("python-aspectlib" ,python-aspectlib)))
+    (synopsis "Python bindings for libolm")
+    (description "The libolm library implements the Double Ratchet
+cryptographic ratchet.  It is written in C and C++11, and exposed as a C
+API.  This package contains its Python bindings.")))
+
 (define-public hash-extender
   (let ((commit "cb8aaee49f93e9c0d2f03eb3cafb429c9eed723d")
         (revision "2"))
-- 
2.32.0


[-- Attachment #23: 0022-gnu-Add-python-matrix-nio.patch --]
[-- Type: text/x-diff, Size: 4769 bytes --]

From c700d802504ac1ac9268388661129d2559188ccd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:32 +0900
Subject: [PATCH v2 22/26] gnu: Add python-matrix-nio.

* gnu/packages/matrix.scm (python-matrix-nio): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/matrix.scm | 80 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 80 insertions(+)

diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index 5c2b194d07..4fa276930f 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -22,14 +22,18 @@
 (define-module (gnu packages matrix)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages crypto)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages monitoring)
+  #:use-module (gnu packages python-build)
+  #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages xml)
   #:use-module (guix build-system python)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix packages))
 
 (define-public python-matrix-client
@@ -149,3 +153,79 @@ (define-public synapse
 folks see the spec in the context of a codebase and let you run your own
 homeserver and generally help bootstrap the ecosystem.")
     (license license:asl2.0)))
+
+(define-public python-matrix-nio
+  (package
+    (name "python-matrix-nio")
+    (version "0.18.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "matrix-nio" version))
+       (sha256
+        (base32 "0cw4y6dx8n8hynxqlzzkj8p34nfbc2xryvmkr5yhmja31y4rks4k"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'install-tests
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (copy-recursively (string-append
+                                (assoc-ref inputs "tests") "/tests")
+                               "tests")
+             #t))
+         (replace 'check
+           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               ;; FIXME: two tests fail, for unknown reasons
+               (invoke "python" "-m" "pytest" "-vv" "tests" "-k"
+                       (string-append
+                        "not test_upload_binary_file_object "
+                        "and not test_connect_wrapper"))))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest-6)
+       ("python-hyperframe" ,python-hyperframe)
+       ("python-hypothesis" ,python-hypothesis-6.23)
+       ("python-hpack" ,python-hpack)
+       ("python-faker" ,python-faker)
+       ("python-pytest-aiohttp" ,python-pytest-aiohttp)
+       ("python-aioresponses" ,python-aioresponses)
+       ("python-pytest-benchmark" ,python-pytest-benchmark)
+       ("python-toml" ,python-toml)
+       ("tests"
+        ;; The release on pypi comes without tests.  We can't build from this
+        ;; checkout, though, because installation requires an invocation of
+        ;; poetry.
+        ,(origin
+           (method git-fetch)
+           (uri (git-reference
+                 (url "https://github.com/poljar/matrix-nio.git")
+                 (commit version)))
+           (file-name (git-file-name name version))
+           (sha256
+            (base32
+             "152prkndk53pfxm4in4xak4hwzyaxlbp6wv2zbk2xpzgyy9bvn3s"))))))
+    (propagated-inputs
+     `(("python-aiofiles" ,python-aiofiles)
+       ("python-aiohttp" ,python-aiohttp)
+       ("python-aiohttp-socks" ,python-aiohttp-socks)
+       ("python-atomicwrites" ,python-atomicwrites-1.4)
+       ("python-cachetools" ,python-cachetools)
+       ("python-future" ,python-future)
+       ("python-h11" ,python-h11)
+       ("python-h2" ,python-h2)
+       ("python-jsonschema" ,python-jsonschema)
+       ("python-logbook" ,python-logbook)
+       ("python-olm" ,python-olm)
+       ("python-peewee" ,python-peewee)
+       ("python-pycryptodome" ,python-pycryptodome)
+       ("python-unpaddedbase64" ,python-unpaddedbase64)))
+    (home-page "https://github.com/poljar/matrix-nio")
+    (synopsis
+     "Python Matrix client library, designed according to sans I/O principles")
+    (description
+     "Matrix nio is a multilayered Matrix client library.  The underlying base
+layer doesn't do any network IO on its own, but on top of that is a full
+fledged batteries-included asyncio layer using aiohttp.")
+    (license license:isc)))
-- 
2.32.0


[-- Attachment #24: 0023-gnu-Add-pantalaimon.patch --]
[-- Type: text/x-diff, Size: 3152 bytes --]

From fd58b7942a7e1bdf0247efac930e3a3be8567fd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:33 +0900
Subject: [PATCH v2 23/26] gnu: Add pantalaimon.

* gnu/packages/matrix.scm (pantalaimon): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/matrix.scm | 56 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index 4fa276930f..5300185b67 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -229,3 +229,59 @@ (define-public python-matrix-nio
 layer doesn't do any network IO on its own, but on top of that is a full
 fledged batteries-included asyncio layer using aiohttp.")
     (license license:isc)))
+
+(define-public pantalaimon
+  (package
+    (name "pantalaimon")
+    (version "0.10.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/matrix-org/pantalaimon")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "153d8083lj3qqirbv5q1d3igzd61a5kyzfk7xmv29sd3jbs8ysm9"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'downgrade-appdirs-requirement
+           (lambda _
+             (substitute* "setup.py"
+               ;; FIXME: Remove this once appdirs is updated.
+               ;; Upgrading python-appdirs requires rebuilting 3000+ packages,
+               ;; when 1.4.4 is a simple maintenance fix from 1.4.3.
+               (("appdirs >= 1.4.4") "appdirs >= 1.4.3"))))
+         (replace 'check
+           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "pytest" "-vv" "tests")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-faker" ,python-faker)
+       ("python-pytest-aiohttp" ,python-pytest-aiohttp)
+       ("python-aioresponses" ,python-aioresponses)))
+    (propagated-inputs
+     `(("python-aiohttp" ,python-aiohttp)
+       ("python-appdirs" ,python-appdirs)
+       ("python-attrs" ,python-attrs)
+       ("python-cachetools" ,python-cachetools)
+       ("python-click" ,python-click)
+       ("python-janus" ,python-janus)
+       ("python-keyring" ,python-keyring)
+       ("python-logbook" ,python-logbook)
+       ("python-matrix-nio" ,python-matrix-nio)
+       ("python-peewee" ,python-peewee)
+       ("python-prompt-toolkit" ,python-prompt-toolkit)))
+    (home-page "https://github.com/matrix-org/pantalaimon")
+    (synopsis "Matrix proxy daemon that adds E2E encryption capabilities")
+    (description
+     "Pantalaimon is an end-to-end encryption aware Matrix reverse proxy
+daemon.  Pantalaimon acts as a good man in the middle that handles the
+encryption for you.  Messages are transparently encrypted and decrypted for
+clients inside of pantalaimon.")
+    (license license:asl2.0)))
-- 
2.32.0


[-- Attachment #25: 0024-gnu-python-socks-Fix-indentation.patch --]
[-- Type: text/x-diff, Size: 1381 bytes --]

From c650fc0df39b926ec561c73a7d6cecafd33bbaa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:34 +0900
Subject: [PATCH v2 24/26] gnu: python-socks: Fix indentation.

* gnu/packages/python-web.scm (python-socks): Fix indentation.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-web.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f3f7afd80c..2b5379950d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6139,15 +6139,15 @@ (define-public python-socks
     (name "python-socks")
     (version "1.2.4")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "python-socks" version))
-        (sha256
-         (base32
-          "1n6xb18jy41ybgkmamakg6psp3qididd45qknxiggngaiibz43kx"))))
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "python-socks" version))
+       (sha256
+        (base32
+         "1n6xb18jy41ybgkmamakg6psp3qididd45qknxiggngaiibz43kx"))))
     (build-system python-build-system)
     (arguments
-     `(#:tests? #f  ; tests not included
+     `(#:tests? #f                      ; tests not included
        #:phases
        (modify-phases %standard-phases
          (replace 'check
-- 
2.32.0


[-- Attachment #26: 0025-gnu-python-faker-Fix-indentation.patch --]
[-- Type: text/x-diff, Size: 3237 bytes --]

From 96826ba8f3af7c3e5554f7ae217c60d1b7e331d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:35 +0900
Subject: [PATCH v2 25/26] gnu: python-faker: Fix indentation.

* gnu/packages/python-xyz.scm (python-faker): Fix indentation.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-xyz.scm | 60 ++++++++++++++++++-------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1f04519f35..55c9218c5a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15798,37 +15798,37 @@ (define-public python2-ukpostcodeparser
 
 (define-public python-faker
   (package
-  (name "python-faker")
-  (version "9.3.1")
-  (source (origin
-            (method url-fetch)
-            (uri (pypi-uri "Faker" version))
-            (sha256
-             (base32
-              "0lpfdc4ndvk7chgqrfd2b1my4n54pccq9b645vp9cp5s5ypyknfd"))))
-  (build-system python-build-system)
-  (arguments
-   '(#:phases
-     (modify-phases %standard-phases
-       (replace 'check
-         (lambda _ (invoke "python" "-m" "pytest" "-v"))))))
-  (native-inputs
-   `(;; For testing
-     ("python-freezegun" ,python-freezegun)
-     ("python-pytest" ,python-pytest-6)
-     ("python-random2" ,python-random2)
-     ("python-ukpostcodeparser" ,python-ukpostcodeparser)
-     ("python-validators" ,python-validators)))
-  (propagated-inputs
-   `(("python-dateutil" ,python-dateutil)
-     ("python-text-unidecode" ,python-text-unidecode)))
-  (home-page "https://github.com/joke2k/faker")
-  (synopsis "Python package that generates fake data")
-  (description
-   "Faker is a Python package that generates fake data such as names,
+    (name "python-faker")
+    (version "9.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "Faker" version))
+              (sha256
+               (base32
+                "0lpfdc4ndvk7chgqrfd2b1my4n54pccq9b645vp9cp5s5ypyknfd"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _ (invoke "python" "-m" "pytest" "-v"))))))
+    (native-inputs
+     `( ;; For testing
+       ("python-freezegun" ,python-freezegun)
+       ("python-pytest" ,python-pytest-6)
+       ("python-random2" ,python-random2)
+       ("python-ukpostcodeparser" ,python-ukpostcodeparser)
+       ("python-validators" ,python-validators)))
+    (propagated-inputs
+     `(("python-dateutil" ,python-dateutil)
+       ("python-text-unidecode" ,python-text-unidecode)))
+    (home-page "https://github.com/joke2k/faker")
+    (synopsis "Python package that generates fake data")
+    (description
+     "Faker is a Python package that generates fake data such as names,
 addresses, and phone numbers.")
-  (license license:expat)
-  (properties `((python2-variant . ,(delay python2-faker))))))
+    (license license:expat)
+    (properties `((python2-variant . ,(delay python2-faker))))))
 
 ;; Faker 4.0 dropped Python 2 support, so we stick with this older version here.
 (define-public python2-faker
-- 
2.32.0


[-- Attachment #27: 0026-gnu-python-xyz.scm-Add-copyright-line.patch --]
[-- Type: text/x-diff, Size: 1025 bytes --]

From 3ad946ceb8fb2fb9eb39b98eb49c912ed5475768 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= <sl@eauchat.org>
Date: Fri, 15 Oct 2021 11:40:36 +0900
Subject: [PATCH v2 26/26] gnu: python-xyz.scm: Add copyright line.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/python-xyz.scm: Add copyright line for Sébastien
Lerique.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-xyz.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 55c9218c5a..1a2a6932ec 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -109,6 +109,7 @@
 ;;; Copyright © 2021 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
 ;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
 ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
-- 
2.32.0


^ permalink raw reply related	[relevance 77%]

* [bug#51314] [PATCH 09/29] gnu: Add python-pyscss.
    2021-10-21  4:01 70% ` [bug#51314] [PATCH 07/29] gnu: python-flask: Update to 1.1.4 Vinicius Monego
  2021-10-21  4:01 70% ` [bug#51314] [PATCH 08/29] gnu: python-flask: Respect #:tests? Vinicius Monego
@ 2021-10-21  4:01 67% ` Vinicius Monego
  2021-10-21  4:01 70% ` [bug#51314] [PATCH 10/29] gnu: Add python-flask-assets Vinicius Monego
  2021-10-21  4:01 69% ` [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-pyscss): New variable.
---
 gnu/packages/python-web.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8dd3345daf..f9401cceb3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -77,6 +77,7 @@
   #:use-module (gnu packages groff)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libffi)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
@@ -773,6 +774,40 @@ JSON Web Algorithms (JWA) - collectively can be used to encrypt and/or sign
 content using a variety of algorithms.")
     (license license:expat)))
 
+(define-public python-pyscss
+  (package
+    (name "python-pyscss")
+    (version "1.3.7")
+    (source
+     (origin
+       ;; No tests in the PyPI tarball.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Kronuz/pyScss")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "--pyargs" "scss")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)))
+    (inputs
+     `(("pcre" ,pcre)))
+    (home-page "https://github.com/Kronuz/pyScss")
+    (synopsis "Scss compiler for Python")
+    (description "@code{pyScss} is a compiler for Sass, a superset language of
+CSS3 that adds programming capabilities and some other syntactic sugar.")
+    (license license:expat)))
+
 (define-public python-jsonpickle
   (package
     (name "python-jsonpickle")
-- 
2.30.2





^ permalink raw reply related	[relevance 67%]

* [bug#51314] [PATCH 08/29] gnu: python-flask: Respect #:tests?.
    2021-10-21  4:01 70% ` [bug#51314] [PATCH 07/29] gnu: python-flask: Update to 1.1.4 Vinicius Monego
@ 2021-10-21  4:01 70% ` Vinicius Monego
  2021-10-21  4:01 67% ` [bug#51314] [PATCH 09/29] gnu: Add python-pyscss Vinicius Monego
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask)[arguments]<#:phases>: Respect
#:tests? in the custom 'check phase and simplify it.
---
 gnu/packages/python-web.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 67128d1b18..8dd3345daf 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2981,13 +2981,13 @@ minimum of WSGI.")
                 "15ni4xlm57a15f5hipp8w0c9zba20179bvfns2392fiq1lcbdghg"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
+     `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             (setenv "PYTHONPATH" (string-append "./build/lib:"
-                                                 (getenv "PYTHONPATH")))
-             (invoke "pytest" "-vv" "tests"))))))
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (propagated-inputs
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51314] [PATCH 07/29] gnu: python-flask: Update to 1.1.4.
  @ 2021-10-21  4:01 70% ` Vinicius Monego
  2021-10-21  4:01 70% ` [bug#51314] [PATCH 08/29] gnu: python-flask: Respect #:tests? Vinicius Monego
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask): Update to 1.1.4.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2b5379950d..67128d1b18 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2972,13 +2972,13 @@ minimum of WSGI.")
 (define-public python-flask
   (package
     (name "python-flask")
-    (version "1.1.2")
+    (version "1.1.4")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Flask" version))
               (sha256
                (base32
-                "0q3h295izcil7lswkzfnyg3k5gq4hpmqmpl6i7s5m1n9szi1myjf"))))
+                "15ni4xlm57a15f5hipp8w0c9zba20179bvfns2392fiq1lcbdghg"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51314] [PATCH 10/29] gnu: Add python-flask-assets.
                     ` (2 preceding siblings ...)
  2021-10-21  4:01 67% ` [bug#51314] [PATCH 09/29] gnu: Add python-pyscss Vinicius Monego
@ 2021-10-21  4:01 70% ` Vinicius Monego
  2021-10-21  4:01 69% ` [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask-assets): New variable.
---
 gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f9401cceb3..24e6bc063e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1033,6 +1033,35 @@ between a web browser and web server.")
 (define-public python2-sockjs-tornado
   (package-with-python2 python-sockjs-tornado))
 
+(define-public python-flask-assets
+  (package
+    (name "python-flask-assets")
+    (version "2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Flask-Assets" version))
+       (sha256
+        (base32 "1hmqldxc7zciksmcl35jx0wbyrrxc7vk2a57mmmd8i07whsymz8x"))))
+    (build-system python-build-system)
+    (arguments
+     ;; FIXME: 8 tests are failing with:
+     ;; TypeError: __init__() got an unexpected keyword argument 'static_path'
+     `(#:tests? #f))
+    (native-inputs
+     `(("python-flask-script" ,python-flask-script)
+       ("python-nose" ,python-nose)
+       ("python-pyscss" ,python-pyscss)
+       ("python-pyyaml" ,python-pyyaml)))
+    (propagated-inputs
+     `(("python-flask" ,python-flask)
+       ("python-webassets" ,python-webassets)))
+    (home-page "https://github.com/miracle2k/flask-assets")
+    (synopsis "Asset management for Flask")
+    (description "This package integrates @code{webassets} with Flask, adding
+support for merging, minifying and compiling CSS and Javascript files.")
+    (license license:bsd-2)))
+
 (define-public python-flask-babel
   (package
     (name "python-flask-babel")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0.
                     ` (3 preceding siblings ...)
  2021-10-21  4:01 70% ` [bug#51314] [PATCH 10/29] gnu: Add python-flask-assets Vinicius Monego
@ 2021-10-21  4:01 69% ` Vinicius Monego
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-websocket-client): Update to 0.59.0.
[source]: Update PyPI URI.
[arguments]<#:phases>: Add new phase after 'unpack to skip a network test.
[native-inputs]: Add python-pysocks.
[home-page]: Follow redirect.
---
 gnu/packages/python-web.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 24e6bc063e..5d2464bbef 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2469,18 +2469,28 @@ verification of the SSL peer.")
 (define-public python-websocket-client
   (package
     (name "python-websocket-client")
-    (version "0.54.0")
+    (version "0.59.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "websocket_client" version))
+       (uri (pypi-uri "websocket-client" version))
        (sha256
         (base32
-         "0j88zmikaypf38lvpkf4aaxrjp9j07dmy5ghj7kli0fv3p4n45g5"))))
+         "0p0cz2mdissq7iw1n7jrmsfir0jfmgs1dvnpnrx477ffx9hbsxnk"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'skip-network-test
+           (lambda _
+             ;; This test requires networking.
+             (substitute* "websocket/tests/test_http.py"
+               (("def testConnect") "def _testConnect")))))))
+    (native-inputs
+     `(("python-pysocks" ,python-pysocks)))
     (propagated-inputs
      `(("python-six" ,python-six)))
-    (home-page "https://github.com/liris/websocket-client")
+    (home-page "https://github.com/websocket-client/websocket-client")
     (synopsis "WebSocket client for Python")
     (description "The Websocket-client module provides the low level APIs for
 WebSocket usage in Python programs.")
-- 
2.30.2





^ permalink raw reply related	[relevance 69%]

* [bug#51328] [PATCH] gnu: python-slugify: Update to 5.0.2.
@ 2021-10-22  8:06 70% jgart via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-10-22  8:06 UTC (permalink / raw)
  To: 51328; +Cc: jgart

* gnu/packages/python-web.scm (python-slugify): Update to 5.0.2.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2b5379950d..f0a69dbed8 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4562,13 +4562,13 @@ (define-public python-ws4py
 (define-public python-slugify
   (package
     (name "python-slugify")
-    (version "4.0.1")
+    (version "5.0.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "python-slugify" version))
        (sha256
-        (base32 "0w22fapghmzk3xdasc4dn7h8sl58l08d1h5zbf72dh80drv1g9b9"))))
+        (base32 "1aww2ncglyii4jkbfjxqhinivawf9zmwifcj32d69gpwp6h86czi"))))
     (propagated-inputs
      `(("python-unidecode" ,python-unidecode)))
     (arguments
-- 
2.33.1





^ permalink raw reply related	[relevance 70%]

* [bug#51396] [PATCH 2/7] gnu: python-cfn-lint: Update to 0.54.3.
  2021-10-25 19:49 70% ` [bug#51396] [PATCH 1/7] gnu: python-aws-sam-translator: Update to 1.39.0 Vinicius Monego
@ 2021-10-25 19:50 70%   ` Vinicius Monego
  2021-10-25 19:50 67%   ` [bug#51396] [PATCH 3/7] gnu: python-cfn-lint: Respect #:tests? Vinicius Monego
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-10-25 19:50 UTC (permalink / raw)
  To: 51396; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-cfn-lint): Update to 0.54.3.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2a3ca36e1e..af6443795e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -478,7 +478,7 @@ emit information from within their applications to the AWS X-Ray service.")
 (define-public python-cfn-lint
   (package
     (name "python-cfn-lint")
-    (version "0.54.1")
+    (version "0.54.3")
     (home-page "https://github.com/aws-cloudformation/cfn-python-lint")
     (source (origin
               (method git-fetch)
@@ -488,7 +488,7 @@ emit information from within their applications to the AWS X-Ray service.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "161mzzlpbi85q43kwzrj39qb32l6wg6xhnbbd4z860yrfbymsn87"))))
+                "106qf19n2k6sdjkb4006aidibd24qqiw901c1613xgjpnyw4dyl6"))))
     (build-system python-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51396] [PATCH 3/7] gnu: python-cfn-lint: Respect #:tests?.
  2021-10-25 19:49 70% ` [bug#51396] [PATCH 1/7] gnu: python-aws-sam-translator: Update to 1.39.0 Vinicius Monego
  2021-10-25 19:50 70%   ` [bug#51396] [PATCH 2/7] gnu: python-cfn-lint: Update to 0.54.3 Vinicius Monego
@ 2021-10-25 19:50 67%   ` Vinicius Monego
  2021-10-25 19:50 70%   ` [bug#51396] [PATCH 4/7] gnu: python-s3transfer: Update to 0.5.0 Vinicius Monego
  2021-10-25 19:50 74%   ` [bug#51396] [PATCH 5/7] gnu: Update awscli, python-boto3 and python-botocore Vinicius Monego
  3 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-10-25 19:50 UTC (permalink / raw)
  To: 51396; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-cfn-lint)[arguments]: Make some cosmetic
changes. Respect #:tests? in the custom 'check phase and simplify it.
---
 gnu/packages/python-web.scm | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index af6443795e..451a6d3652 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -491,23 +491,23 @@ emit information from within their applications to the AWS X-Ray service.")
                 "106qf19n2k6sdjkb4006aidibd24qqiw901c1613xgjpnyw4dyl6"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda* (#:key outputs #:allow-other-keys)
-                      (let ((out (assoc-ref outputs "out")))
-                        ;; Remove test for the documentation update scripts
-                        ;; to avoid a dependency on 'git'.
-                        (delete-file
-                         "test/unit/module/maintenance/test_update_documentation.py")
-                        (delete-file
-                         "test/unit/module/maintenance/test_update_resource_specs.py")
-                        (setenv "PYTHONPATH"
-                                (string-append "./build/lib:"
-                                               (getenv "PYTHONPATH")))
-                        (setenv "PATH" (string-append out "/bin:"
-                                                      (getenv "PATH")))
-                        (invoke "python" "-m" "unittest" "discover" "-v"
-                                "-s" "test")))))))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (let ((out (assoc-ref outputs "out")))
+                 ;; Remove test for the documentation update scripts
+                 ;; to avoid a dependency on 'git'.
+                 (delete-file
+                  "test/unit/module/maintenance/test_update_documentation.py")
+                 (delete-file
+                  "test/unit/module/maintenance/test_update_resource_specs.py")
+                 (add-installed-pythonpath inputs outputs)
+                 (setenv "PATH" (string-append out "/bin:"
+                                               (getenv "PATH")))
+                 (invoke "python" "-m" "unittest" "discover"
+                         "-s" "test"))))))))
     (native-inputs
      `(("python-pydot" ,python-pydot)
        ("python-mock" ,python-mock)))
-- 
2.30.2





^ permalink raw reply related	[relevance 67%]

* [bug#51396] [PATCH 5/7] gnu: Update awscli, python-boto3 and python-botocore.
  2021-10-25 19:49 70% ` [bug#51396] [PATCH 1/7] gnu: python-aws-sam-translator: Update to 1.39.0 Vinicius Monego
                     ` (2 preceding siblings ...)
  2021-10-25 19:50 70%   ` [bug#51396] [PATCH 4/7] gnu: python-s3transfer: Update to 0.5.0 Vinicius Monego
@ 2021-10-25 19:50 74%   ` Vinicius Monego
  3 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-10-25 19:50 UTC (permalink / raw)
  To: 51396; +Cc: Vinicius Monego

awscli, botocore and boto3 work together and typically require matching
versions.

* gnu/packages/python-xyz.scm (python-botocore): Update to 1.22.2.
(python-boto3): Update to 1.19.2.
[native-inputs]: Add python-pytest.
* gnu/packages/python-web.scm (awscli): Update to 1.21.2.
---
 gnu/packages/python-web.scm |  4 ++--
 gnu/packages/python-xyz.scm | 14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d1665b1de3..fed7a388df 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2848,14 +2848,14 @@ supports url redirection and retries, and also gzip and deflate decoding.")
   (package
     ;; Note: updating awscli typically requires updating botocore as well.
     (name "awscli")
-    (version "1.18.203")
+    (version "1.21.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri name version))
        (sha256
         (base32
-         "128zg24961j8nmnq2dxqg6a7zwh3qgv87cmvclsdqwwih9nigxv9"))))
+         "13mnz414li0l5ph3wf160frfx46cynq8ws5ddmmlppc6rld6im02"))))
     (build-system python-build-system)
     (arguments
      ;; FIXME: The 'pypi' release does not contain tests.
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index eb9fcc310d..3ad05effaf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13471,14 +13471,14 @@ This software is unmaintained, and new projects should use @code{boto3} instead.
   ;; are compatible.
   (package
     (name "python-botocore")
-    (version "1.19.22")
+    (version "1.22.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "botocore" version))
        (sha256
         (base32
-         "0iim86x7c6hqmvd61ygz6x6x9glnsfbnyzv2y67qjdcdx8jpkmw7"))))
+         "14qia74g5dx2p7yivaxdj6dwkpcf3skcywqmb6k3m12bkbkn04q1"))))
     (build-system python-build-system)
     (arguments
      ;; FIXME: Many tests are failing.
@@ -13499,7 +13499,7 @@ interface to the Amazon Web Services (AWS) API.")
 (define-public python-boto3
   (package
     (name "python-boto3")
-    (version "1.16.22")
+    (version "1.19.2")
     (home-page "https://github.com/boto/boto3")
     (source (origin
               (method git-fetch)
@@ -13507,19 +13507,19 @@ interface to the Amazon Web Services (AWS) API.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0h20hgl4yfl58g75qhb6ibrdmzn47md3srgar7hask14cjmfhfy3"))))
+                "1mms4hazh0pcg104nqhclllh8lphd5igi1plz8x9v0y7jj4skjdp"))))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'delete-network-tests
            ;; Deleting integration tests because they are trying to connect to AWS.
 	   (lambda _
-	     (delete-file-recursively "tests/integration")
-	     #t)))))
+	     (delete-file-recursively "tests/integration"))))))
     (build-system python-build-system)
     (native-inputs
      `(("python-nose" ,python-nose)
-       ("python-mock" ,python-mock)))
+       ("python-mock" ,python-mock)
+       ("python-pytest" ,python-pytest)))
     (propagated-inputs
      `(("python-botocore" ,python-botocore)
        ("python-jmespath" ,python-jmespath)
-- 
2.30.2





^ permalink raw reply related	[relevance 74%]

* [bug#51396] [PATCH 1/7] gnu: python-aws-sam-translator: Update to 1.39.0.
  @ 2021-10-25 19:49 70% ` Vinicius Monego
  2021-10-25 19:50 70%   ` [bug#51396] [PATCH 2/7] gnu: python-cfn-lint: Update to 0.54.3 Vinicius Monego
                     ` (3 more replies)
  2021-11-05  1:58 69% ` [bug#51396] [PATCH v2 1/8] gnu: python-aws-sam-translator: Update to 1.40.0 Vinicius Monego
  1 sibling, 4 replies; 200+ results
From: Vinicius Monego @ 2021-10-25 19:49 UTC (permalink / raw)
  To: 51396; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-aws-sam-translator): Update to 1.39.0.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2b5379950d..2a3ca36e1e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -375,13 +375,13 @@ WSGI.  This package includes libraries for implementing ASGI servers.")
 (define-public python-aws-sam-translator
   (package
     (name "python-aws-sam-translator")
-    (version "1.38.0")
+    (version "1.39.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "aws-sam-translator" version))
               (sha256
                (base32
-                "1djwlsjpbh13m4biglimrm9lq7hmla0k29giay7k3cjsrylxvjhf"))))
+                "021jpqa6ksd6f4753dxdaprgq6f2chdmh1510cdqcjgn9r1syww9"))))
     (build-system python-build-system)
     (arguments
      `(;; XXX: Tests are not distributed with the PyPI archive, and would
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51396] [PATCH 4/7] gnu: python-s3transfer: Update to 0.5.0.
  2021-10-25 19:49 70% ` [bug#51396] [PATCH 1/7] gnu: python-aws-sam-translator: Update to 1.39.0 Vinicius Monego
  2021-10-25 19:50 70%   ` [bug#51396] [PATCH 2/7] gnu: python-cfn-lint: Update to 0.54.3 Vinicius Monego
  2021-10-25 19:50 67%   ` [bug#51396] [PATCH 3/7] gnu: python-cfn-lint: Respect #:tests? Vinicius Monego
@ 2021-10-25 19:50 70%   ` Vinicius Monego
  2021-10-25 19:50 74%   ` [bug#51396] [PATCH 5/7] gnu: Update awscli, python-boto3 and python-botocore Vinicius Monego
  3 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-10-25 19:50 UTC (permalink / raw)
  To: 51396; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-s3transfer): Update to 0.5.0.
[arguments]<#:phases>: Remove 'patch phase because the issue was fixed
upstream. Don't return #t in custom 'check phase.
---
 gnu/packages/python-web.scm | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 451a6d3652..d1665b1de3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3386,32 +3386,22 @@ Betamax that may possibly end up in the main package.")
 (define-public python-s3transfer
   (package
     (name "python-s3transfer")
-    (version "0.3.3")
+    (version "0.5.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "s3transfer" version))
               (sha256
                (base32
-                "1nzp5kwmy9669334shcz9ipg89jgpdqhrmbkgdg18r7wmvi3f6lj"))))
+                "0k6sc956yrrv9b4laa0r79jhxajpyxr21jcd1ka8m1n53lz85vah"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'patch
-           (lambda _
-             ;; There's a small issue with one test with Python 3.8, this
-             ;; change has been suggested upstream:
-             ;; https://github.com/boto/s3transfer/pull/164
-             (substitute* "tests/unit/test_s3transfer.py"
-               (("super\\(FailedDownloadParts, self\\)\\.submit\\(function\\)")
-                "futures.Future()"))
-             #t))
          (replace 'check
            (lambda _
              ;; Some of the 'integration' tests require network access or
              ;; login credentials.
-             (invoke "nosetests" "--exclude=integration")
-             #t)))))
+             (invoke "nosetests" "--exclude=integration"))))))
     (native-inputs
      `(("python-docutils" ,python-docutils)
        ("python-mock" ,python-mock)
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51432] [PATCH 4/4] gnu: Add flask-combo-jsonapi
  @ 2021-10-27 11:02 65% ` david larsson
  2021-10-27 18:44 66%   ` david larsson
  0 siblings, 1 reply; 200+ results
From: david larsson @ 2021-10-27 11:02 UTC (permalink / raw)
  To: 51432; +Cc: Guix-patches

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]

On 2021-10-27 12:52, david larsson wrote:
> Hi!
> This patch series is to add python-flask-combo-jsonapi and necessary
> dependencies.
> 
> Best regards,
> David

Finally, adds the package flask-combo-jsonapi.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0004-gnu-Add-flask-combo-jsonapi.patch --]
[-- Type: text/x-diff; name=0004-gnu-Add-flask-combo-jsonapi.patch, Size: 2420 bytes --]

From 6fbec5bdd04c5661b805cf958f36478cfc7883f8 Mon Sep 17 00:00:00 2001
From: David Larsson <david.larsson@selfhosted.xyz>
Date: Wed, 27 Oct 2021 09:04:40 +0200
Subject: [PATCH 4/4] gnu: Add flask-combo-jsonapi.

* gnu/packages/python-web.scm (python-flask-combo-jsonapi): New variable.
---
 gnu/packages/python-web.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a38ed5c268..0d173aa09d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6249,3 +6249,37 @@ communicate with Microsoft Azure Storage services.")
 comments, or tags from HTML snippets, extract base url from HTML snippets,
 translate entities on HTML strings, among other things.")
     (license license:bsd-3)))
+
+(define-public python-flask-combo-jsonapi
+  (package
+    (name "python-flask-combo-jsonapi")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/AdCombo/flask-combo-jsonapi/archive/"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1sygp9rx7zb1dbjxhb11mpas0c0px4md7mvi9pwbh1s1rr1glm3m"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-flask" ,python-flask)
+        ("python-marshmallow" ,python-marshmallow-3.2)
+        ("python-marshmallow-jsonapi" ,python-marshmallow-jsonapi)
+        ("python-simplejson" ,python-simplejson)
+        ("python-sqlalchemy" ,python-sqlalchemy-1.3)
+        ("python-apispec" ,python-apispec)
+        ("python-simplejson" ,python-simplejson)
+        ("python-six" ,python-six)))
+    (native-inputs `(("python-coverage" ,python-coverage)
+                     ("python-coveralls" ,python-coveralls)
+                     ("python-pytest" ,python-pytest)
+                     ("python-pytest-runner" ,python-pytest-runner)))
+    (home-page "https://github.com/AdCombo/flask-combo-jsonapi")
+    (synopsis
+      "Flask extension to create REST web api according to JSON:API 1.0 specification with Flask, Marshmallow and data provider of your choice (SQLAlchemy, MongoDB, ...)")
+    (description
+      "Flask extension to create REST web api according to JSON:API 1.0 specification with Flask, Marshmallow and data provider of your choice (SQLAlchemy, MongoDB, ...)")
+    (license license:expat)))
-- 
2.31.0


^ permalink raw reply related	[relevance 65%]

* [bug#51432] [PATCH 4/4] gnu: Add flask-combo-jsonapi
  2021-10-27 11:02 65% ` [bug#51432] [PATCH 4/4] " david larsson
@ 2021-10-27 18:44 66%   ` david larsson
  0 siblings, 0 replies; 200+ results
From: david larsson @ 2021-10-27 18:44 UTC (permalink / raw)
  To: 51432

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

On 2021-10-27 13:02, david larsson wrote:
> On 2021-10-27 12:52, david larsson wrote:
>> Hi!
>> This patch series is to add python-flask-combo-jsonapi and necessary
>> dependencies.
>> 
>> Best regards,
>> David
> 
> Finally, adds the package flask-combo-jsonapi.

Version 2 of this patch, fixing the synopsis according to coding 
standards max 80 chars.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0004-gnu-Add-flask-combo-jsonapi.patch --]
[-- Type: text/x-diff; name=0004-gnu-Add-flask-combo-jsonapi.patch, Size: 2324 bytes --]

From 4397008d2bdc559a072bbb98c99ba8d6d6cf4b87 Mon Sep 17 00:00:00 2001
From: David Larsson <david.larsson@selfhosted.xyz>
Date: Wed, 27 Oct 2021 09:04:40 +0200
Subject: [PATCH 4/4] gnu: Add flask-combo-jsonapi.

* gnu/packages/python-web.scm (python-flask-combo-jsonapi): New variable.
---
 gnu/packages/python-web.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a38ed5c268..55561f7b47 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6249,3 +6249,39 @@ communicate with Microsoft Azure Storage services.")
 comments, or tags from HTML snippets, extract base url from HTML snippets,
 translate entities on HTML strings, among other things.")
     (license license:bsd-3)))
+
+(define-public python-flask-combo-jsonapi
+  (package
+    (name "python-flask-combo-jsonapi")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/AdCombo/flask-combo-jsonapi/archive/"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1sygp9rx7zb1dbjxhb11mpas0c0px4md7mvi9pwbh1s1rr1glm3m"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-flask" ,python-flask)
+       ("python-marshmallow" ,python-marshmallow-3.2)
+       ("python-marshmallow-jsonapi" ,python-marshmallow-jsonapi)
+       ("python-simplejson" ,python-simplejson)
+       ("python-sqlalchemy" ,python-sqlalchemy-1.3)
+       ("python-apispec" ,python-apispec)
+       ("python-simplejson" ,python-simplejson)
+       ("python-six" ,python-six)))
+    (native-inputs `(("python-coverage" ,python-coverage)
+                     ("python-coveralls" ,python-coveralls)
+                     ("python-pytest" ,python-pytest)
+                     ("python-pytest-runner" ,python-pytest-runner)))
+    (home-page "https://github.com/AdCombo/flask-combo-jsonapi")
+    (synopsis
+     "Flask extension to quickly create a REST web api using JSON:API 1.0 spec")
+    (description
+     "Flask extension to create REST web api according to JSON:API 1.0
+specification with Flask, Marshmallow and data provider of your
+choice (SQLAlchemy, MongoDB, ...)")
+    (license license:expat)))
-- 
2.31.0


^ permalink raw reply related	[relevance 66%]

* [bug#48263] [PATCH v2 1/3] gnu: python-hypercorn: Remove "python-" prefix from name.
  @ 2021-10-30 17:30 69% ` Vinicius Monego
  2021-10-30 17:30 70%   ` [bug#48263] [PATCH v2 2/3] gnu: hypercorn: Update to 0.11.2 Vinicius Monego
  2021-10-30 17:30 70%   ` [bug#48263] [PATCH v2 3/3] gnu: hypercorn: Honor #:tests? in 'check' phase Vinicius Monego
  0 siblings, 2 replies; 200+ results
From: Vinicius Monego @ 2021-10-30 17:30 UTC (permalink / raw)
  To: 48263; +Cc: Vinicius Monego

Hypercorn is mainly a CLI application but also supports a module interface.

* gnu/packages/python-web.scm (python-hypercorn): New deprecated variable.
(hypercorn): Renamed from the respective above.
---
 gnu/packages/python-web.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2b5379950d..7a4e62ddf6 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1615,9 +1615,9 @@ choose to use, ensuring that you can communicate via WebSockets, as defined in
 RFC6455, regardless of your programming paradigm.")
     (license license:expat)))
 
-(define-public python-hypercorn
+(define-public hypercorn
   (package
-    (name "python-hypercorn")
+    (name "hypercorn")
     (version "0.10.2")
     (source
      (origin
@@ -1633,6 +1633,7 @@ RFC6455, regardless of your programming paradigm.")
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (add-installed-pythonpath inputs outputs)
              (invoke "pytest" "-vv"))))))
+    ;; Propagate because Hypercorn also exposes functionality over a module.
     (propagated-inputs
      `(("python-h11" ,python-h11)
        ("python-h2" ,python-h2)
@@ -1657,6 +1658,9 @@ WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications.  It can
 utilise asyncio, uvloop, or trio worker types.")
     (license license:expat)))
 
+(define-public python-hypercorn
+  (deprecated-package "python-hypercorn" hypercorn))
+
 (define-public python-querystring-parser
   (package
     (name "python-querystring-parser")

base-commit: e1261ddd38cf02a0f046f3a5360502d659b4e7d4
-- 
2.30.2





^ permalink raw reply related	[relevance 69%]

* [bug#48263] [PATCH v2 2/3] gnu: hypercorn: Update to 0.11.2.
  2021-10-30 17:30 69% ` [bug#48263] [PATCH v2 1/3] gnu: python-hypercorn: Remove "python-" prefix from name Vinicius Monego
@ 2021-10-30 17:30 70%   ` Vinicius Monego
  2021-10-30 17:30 70%   ` [bug#48263] [PATCH v2 3/3] gnu: hypercorn: Honor #:tests? in 'check' phase Vinicius Monego
  1 sibling, 0 replies; 200+ results
From: Vinicius Monego @ 2021-10-30 17:30 UTC (permalink / raw)
  To: 48263; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (hypercorn): Update to 0.11.2.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7a4e62ddf6..287574301d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1618,13 +1618,13 @@ RFC6455, regardless of your programming paradigm.")
 (define-public hypercorn
   (package
     (name "hypercorn")
-    (version "0.10.2")
+    (version "0.11.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Hypercorn" version))
        (sha256
-        (base32 "15dgy47a18w2ls3hwykra1cyf7yzxmfjqnsqml482p12cxr2xwqr"))))
+        (base32 "16kai5d12f05jr89mj611zslxqri4cd7ixcgd6yhl211qlcyg8av"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#48263] [PATCH v2 3/3] gnu: hypercorn: Honor #:tests? in 'check' phase.
  2021-10-30 17:30 69% ` [bug#48263] [PATCH v2 1/3] gnu: python-hypercorn: Remove "python-" prefix from name Vinicius Monego
  2021-10-30 17:30 70%   ` [bug#48263] [PATCH v2 2/3] gnu: hypercorn: Update to 0.11.2 Vinicius Monego
@ 2021-10-30 17:30 70%   ` Vinicius Monego
  1 sibling, 0 replies; 200+ results
From: Vinicius Monego @ 2021-10-30 17:30 UTC (permalink / raw)
  To: 48263; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (hypercorn)[arguments]: Honor #:tests? in
'check' phase.
---
 gnu/packages/python-web.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 287574301d..204059a08a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1630,9 +1630,10 @@ RFC6455, regardless of your programming paradigm.")
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (add-installed-pythonpath inputs outputs)
-             (invoke "pytest" "-vv"))))))
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
     ;; Propagate because Hypercorn also exposes functionality over a module.
     (propagated-inputs
      `(("python-h11" ,python-h11)
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51520] [PATCH 1/3] gnu: Add python-webcolors.
  @ 2021-10-30 20:25 67% ` Arun Isaac
  0 siblings, 0 replies; 200+ results
From: Arun Isaac @ 2021-10-30 20:25 UTC (permalink / raw)
  To: 51520; +Cc: Arun Isaac

* gnu/packages/python-web.scm (python-webcolors): New variable.
---
 gnu/packages/python-web.scm | 40 +++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 62de043e70..08e2006a3e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -44,6 +44,7 @@
 ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
+;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6250,3 +6251,42 @@ (define-public python-w3lib
 comments, or tags from HTML snippets, extract base url from HTML snippets,
 translate entities on HTML strings, among other things.")
     (license license:bsd-3)))
+
+(define-public python-webcolors
+  (package
+    (name "python-webcolors")
+    (version "1.11.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "webcolors" version))
+       (sha256
+        (base32 "1rkda75h2p65zx6r84c9mjavn4xpviqvqrklvdvcklapd5in1wvn"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "pytest")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/ubernostrum/webcolors")
+    (synopsis "HTML/CSS color definitions library")
+    (description "@code{python-webcolors} is a module for working with
+HTML/CSS color definitions.  Normalizing and converting between the following
+formats is supported.
+
+@itemize
+@item Specification-defined color names
+@item Six-digit hexadecimal
+@item Three-digit hexadecimal
+@item Integer rgb() triplet
+@item Percentage rgb() triplet
+@end itemize
+
+Only the RGB colorspace is supported.  Conversion to/from the HSL colorspace
+can be handled by the @code{colorsys} module in the Python standard library.")
+    (license license:bsd-3)))
-- 
2.33.0





^ permalink raw reply related	[relevance 67%]

* [bug#51396] [PATCH v2 1/8] gnu: python-aws-sam-translator: Update to 1.40.0.
    2021-10-25 19:49 70% ` [bug#51396] [PATCH 1/7] gnu: python-aws-sam-translator: Update to 1.39.0 Vinicius Monego
@ 2021-11-05  1:58 69% ` Vinicius Monego
  2021-11-05  1:58 70%   ` [bug#51396] [PATCH v2 2/8] gnu: python-cfn-lint: Update to 0.54.3 Vinicius Monego
                     ` (4 more replies)
  1 sibling, 5 replies; 200+ results
From: Vinicius Monego @ 2021-11-05  1:58 UTC (permalink / raw)
  To: 51396; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-aws-sam-translator): Update to 1.40.0.
[arguments]<#:phases>: Don't return #t.
[home-page]: Follow redirect.
---
 gnu/packages/python-web.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 62de043e70..29c0b7e15e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -394,13 +394,13 @@ WSGI.  This package includes libraries for implementing ASGI servers.")
 (define-public python-aws-sam-translator
   (package
     (name "python-aws-sam-translator")
-    (version "1.38.0")
+    (version "1.40.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "aws-sam-translator" version))
               (sha256
                (base32
-                "1djwlsjpbh13m4biglimrm9lq7hmla0k29giay7k3cjsrylxvjhf"))))
+                "1hq5ggbzcq4k3ks439hki493w4sasgaxns6j5x57xsj822acalmf"))))
     (build-system python-build-system)
     (arguments
      `(;; XXX: Tests are not distributed with the PyPI archive, and would
@@ -413,13 +413,12 @@ WSGI.  This package includes libraries for implementing ASGI servers.")
                       ;; of dependencies, when it works fine with others.
                       (substitute* "requirements/base.txt"
                         (("(.*)(~=[0-9\\.]+)" all package version)
-                         package))
-                      #t)))))
+                         package)))))))
     (propagated-inputs
      `(("python-boto3" ,python-boto3)
        ("python-jsonschema" ,python-jsonschema)
        ("python-six" ,python-six)))
-    (home-page "https://github.com/awslabs/serverless-application-model")
+    (home-page "https://github.com/aws/serverless-application-model")
     (synopsis "Transform AWS SAM templates into AWS CloudFormation templates")
     (description
      "AWS SAM Translator is a library that transform @dfn{Serverless Application

base-commit: 142344b6efa42e1a4d57a4bdf14dfb3ca1cba25a
-- 
2.30.2





^ permalink raw reply related	[relevance 69%]

* [bug#51396] [PATCH v2 2/8] gnu: python-cfn-lint: Update to 0.54.3.
  2021-11-05  1:58 69% ` [bug#51396] [PATCH v2 1/8] gnu: python-aws-sam-translator: Update to 1.40.0 Vinicius Monego
@ 2021-11-05  1:58 70%   ` Vinicius Monego
  2021-11-05  1:58 67%   ` [bug#51396] [PATCH v2 3/8] gnu: python-cfn-lint: Honor #:tests? flag Vinicius Monego
                     ` (3 subsequent siblings)
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-11-05  1:58 UTC (permalink / raw)
  To: 51396; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-cfn-lint): Update to 0.54.3.
[home-page]: Follow redirect.
---
 gnu/packages/python-web.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 29c0b7e15e..4ffdb0ad7f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -496,8 +496,8 @@ emit information from within their applications to the AWS X-Ray service.")
 (define-public python-cfn-lint
   (package
     (name "python-cfn-lint")
-    (version "0.54.1")
-    (home-page "https://github.com/aws-cloudformation/cfn-python-lint")
+    (version "0.54.3")
+    (home-page "https://github.com/aws-cloudformation/cfn-lint")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -506,7 +506,7 @@ emit information from within their applications to the AWS X-Ray service.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "161mzzlpbi85q43kwzrj39qb32l6wg6xhnbbd4z860yrfbymsn87"))))
+                "106qf19n2k6sdjkb4006aidibd24qqiw901c1613xgjpnyw4dyl6"))))
     (build-system python-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51396] [PATCH v2 4/8] gnu: python-s3transfer: Update to 0.5.0.
  2021-11-05  1:58 69% ` [bug#51396] [PATCH v2 1/8] gnu: python-aws-sam-translator: Update to 1.40.0 Vinicius Monego
  2021-11-05  1:58 70%   ` [bug#51396] [PATCH v2 2/8] gnu: python-cfn-lint: Update to 0.54.3 Vinicius Monego
  2021-11-05  1:58 67%   ` [bug#51396] [PATCH v2 3/8] gnu: python-cfn-lint: Honor #:tests? flag Vinicius Monego
@ 2021-11-05  1:58 70%   ` Vinicius Monego
  2021-11-05  1:58 70%   ` [bug#51396] [PATCH v2 5/8] gnu: python-s3transfer: Honor #:tests? flag Vinicius Monego
  2021-11-05  1:58 74%   ` [bug#51396] [PATCH v2 6/8] gnu: Update awscli, python-boto3 and python-botocore Vinicius Monego
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-11-05  1:58 UTC (permalink / raw)
  To: 51396; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-s3transfer): Update to 0.5.0.
[arguments]<#:phases>: Remove 'patch phase because the issue was fixed
upstream. Don't return #t in custom 'check phase.
---
 gnu/packages/python-web.scm | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 66411173d0..2953198a08 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3404,32 +3404,22 @@ Betamax that may possibly end up in the main package.")
 (define-public python-s3transfer
   (package
     (name "python-s3transfer")
-    (version "0.3.3")
+    (version "0.5.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "s3transfer" version))
               (sha256
                (base32
-                "1nzp5kwmy9669334shcz9ipg89jgpdqhrmbkgdg18r7wmvi3f6lj"))))
+                "0k6sc956yrrv9b4laa0r79jhxajpyxr21jcd1ka8m1n53lz85vah"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'patch
-           (lambda _
-             ;; There's a small issue with one test with Python 3.8, this
-             ;; change has been suggested upstream:
-             ;; https://github.com/boto/s3transfer/pull/164
-             (substitute* "tests/unit/test_s3transfer.py"
-               (("super\\(FailedDownloadParts, self\\)\\.submit\\(function\\)")
-                "futures.Future()"))
-             #t))
          (replace 'check
            (lambda _
              ;; Some of the 'integration' tests require network access or
              ;; login credentials.
-             (invoke "nosetests" "--exclude=integration")
-             #t)))))
+             (invoke "nosetests" "--exclude=integration"))))))
     (native-inputs
      `(("python-docutils" ,python-docutils)
        ("python-mock" ,python-mock)
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51396] [PATCH v2 3/8] gnu: python-cfn-lint: Honor #:tests? flag.
  2021-11-05  1:58 69% ` [bug#51396] [PATCH v2 1/8] gnu: python-aws-sam-translator: Update to 1.40.0 Vinicius Monego
  2021-11-05  1:58 70%   ` [bug#51396] [PATCH v2 2/8] gnu: python-cfn-lint: Update to 0.54.3 Vinicius Monego
@ 2021-11-05  1:58 67%   ` Vinicius Monego
  2021-11-05  1:58 70%   ` [bug#51396] [PATCH v2 4/8] gnu: python-s3transfer: Update to 0.5.0 Vinicius Monego
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-11-05  1:58 UTC (permalink / raw)
  To: 51396; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-cfn-lint)[arguments]: Make some cosmetic
changes. Adjust custom 'check phase to honor the #:tests? flag.
---
 gnu/packages/python-web.scm | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4ffdb0ad7f..66411173d0 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -509,23 +509,23 @@ emit information from within their applications to the AWS X-Ray service.")
                 "106qf19n2k6sdjkb4006aidibd24qqiw901c1613xgjpnyw4dyl6"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda* (#:key outputs #:allow-other-keys)
-                      (let ((out (assoc-ref outputs "out")))
-                        ;; Remove test for the documentation update scripts
-                        ;; to avoid a dependency on 'git'.
-                        (delete-file
-                         "test/unit/module/maintenance/test_update_documentation.py")
-                        (delete-file
-                         "test/unit/module/maintenance/test_update_resource_specs.py")
-                        (setenv "PYTHONPATH"
-                                (string-append "./build/lib:"
-                                               (getenv "PYTHONPATH")))
-                        (setenv "PATH" (string-append out "/bin:"
-                                                      (getenv "PATH")))
-                        (invoke "python" "-m" "unittest" "discover" "-v"
-                                "-s" "test")))))))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (let ((out (assoc-ref outputs "out")))
+                 ;; Remove test for the documentation update scripts
+                 ;; to avoid a dependency on 'git'.
+                 (delete-file
+                  "test/unit/module/maintenance/test_update_documentation.py")
+                 (delete-file
+                  "test/unit/module/maintenance/test_update_resource_specs.py")
+                 (add-installed-pythonpath inputs outputs)
+                 (setenv "PATH" (string-append out "/bin:"
+                                               (getenv "PATH")))
+                 (invoke "python" "-m" "unittest" "discover"
+                         "-s" "test"))))))))
     (native-inputs
      `(("python-pydot" ,python-pydot)
        ("python-mock" ,python-mock)))
-- 
2.30.2





^ permalink raw reply related	[relevance 67%]

* [bug#51396] [PATCH v2 6/8] gnu: Update awscli, python-boto3 and python-botocore.
  2021-11-05  1:58 69% ` [bug#51396] [PATCH v2 1/8] gnu: python-aws-sam-translator: Update to 1.40.0 Vinicius Monego
                     ` (3 preceding siblings ...)
  2021-11-05  1:58 70%   ` [bug#51396] [PATCH v2 5/8] gnu: python-s3transfer: Honor #:tests? flag Vinicius Monego
@ 2021-11-05  1:58 74%   ` Vinicius Monego
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-11-05  1:58 UTC (permalink / raw)
  To: 51396; +Cc: Vinicius Monego

awscli, botocore and boto3 work together and typically require matching
versions.

* gnu/packages/python-xyz.scm (python-botocore): Update to 1.22.11.
(python-boto3): Update to 1.19.11.
[native-inputs]: Add python-pytest.
* gnu/packages/python-web.scm (awscli): Update to 1.21.11.
---
 gnu/packages/python-web.scm |  4 ++--
 gnu/packages/python-xyz.scm | 16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9d1ae458d3..a2d82f03cd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2866,14 +2866,14 @@ supports url redirection and retries, and also gzip and deflate decoding.")
   (package
     ;; Note: updating awscli typically requires updating botocore as well.
     (name "awscli")
-    (version "1.18.203")
+    (version "1.21.11")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri name version))
        (sha256
         (base32
-         "128zg24961j8nmnq2dxqg6a7zwh3qgv87cmvclsdqwwih9nigxv9"))))
+         "0fkivwbx4nind5b7l4jhqm5bb9drgqsclcslrg4aggf9rcs4g4s0"))))
     (build-system python-build-system)
     (arguments
      ;; FIXME: The 'pypi' release does not contain tests.
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f12cca9757..24aa9d95a7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13473,14 +13473,14 @@ This software is unmaintained, and new projects should use @code{boto3} instead.
   ;; are compatible.
   (package
     (name "python-botocore")
-    (version "1.19.22")
+    (version "1.22.11")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "botocore" version))
        (sha256
         (base32
-         "0iim86x7c6hqmvd61ygz6x6x9glnsfbnyzv2y67qjdcdx8jpkmw7"))))
+         "1z7g2scyzvfq4yj9b4w911k7802ry1v6lqfnwq12l0ak7ywmsvrh"))))
     (build-system python-build-system)
     (arguments
      ;; FIXME: Many tests are failing.
@@ -13501,7 +13501,7 @@ interface to the Amazon Web Services (AWS) API.")
 (define-public python-boto3
   (package
     (name "python-boto3")
-    (version "1.16.22")
+    (version "1.19.11")
     (home-page "https://github.com/boto/boto3")
     (source (origin
               (method git-fetch)
@@ -13509,19 +13509,19 @@ interface to the Amazon Web Services (AWS) API.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0h20hgl4yfl58g75qhb6ibrdmzn47md3srgar7hask14cjmfhfy3"))))
+                "1wv0ci2z5ywvm63dh4mp64vqyyvkm4qxc8dxv8ncrqiiphpgr9aq"))))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'delete-network-tests
            ;; Deleting integration tests because they are trying to connect to AWS.
-	   (lambda _
-	     (delete-file-recursively "tests/integration")
-	     #t)))))
+           (lambda _
+             (delete-file-recursively "tests/integration"))))))
     (build-system python-build-system)
     (native-inputs
      `(("python-nose" ,python-nose)
-       ("python-mock" ,python-mock)))
+       ("python-mock" ,python-mock)
+       ("python-pytest" ,python-pytest)))
     (propagated-inputs
      `(("python-botocore" ,python-botocore)
        ("python-jmespath" ,python-jmespath)
-- 
2.30.2





^ permalink raw reply related	[relevance 74%]

* [bug#51396] [PATCH v2 5/8] gnu: python-s3transfer: Honor #:tests? flag.
  2021-11-05  1:58 69% ` [bug#51396] [PATCH v2 1/8] gnu: python-aws-sam-translator: Update to 1.40.0 Vinicius Monego
                     ` (2 preceding siblings ...)
  2021-11-05  1:58 70%   ` [bug#51396] [PATCH v2 4/8] gnu: python-s3transfer: Update to 0.5.0 Vinicius Monego
@ 2021-11-05  1:58 70%   ` Vinicius Monego
  2021-11-05  1:58 74%   ` [bug#51396] [PATCH v2 6/8] gnu: Update awscli, python-boto3 and python-botocore Vinicius Monego
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-11-05  1:58 UTC (permalink / raw)
  To: 51396; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-s3transfer)[arguments]: Adjust custom
'check phase to honor the #:tests? flag.
---
 gnu/packages/python-web.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2953198a08..9d1ae458d3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3416,10 +3416,11 @@ Betamax that may possibly end up in the main package.")
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             ;; Some of the 'integration' tests require network access or
-             ;; login credentials.
-             (invoke "nosetests" "--exclude=integration"))))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               ;; Some of the 'integration' tests require network access or
+               ;; login credentials.
+               (invoke "nosetests" "--exclude=integration")))))))
     (native-inputs
      `(("python-docutils" ,python-docutils)
        ("python-mock" ,python-mock)
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51630] [PATCH 1/2] gnu: python-furl: Update to 2.1.2.
@ 2021-11-06  8:58 70% jgart via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-11-06  8:58 UTC (permalink / raw)
  To: 51630; +Cc: jgart

* gnu/packages/python-web.scm (python-furl): Update to 2.1.2.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a37681dab4..2b0b16ea9b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -639,14 +639,14 @@ (define-public python-falcon-cors
 (define-public python-furl
   (package
     (name "python-furl")
-    (version "2.0.0")
+    (version "2.1.2")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "furl" version))
         (sha256
           (base32
-            "1v2lakx03d5w8954a39ki44xv5mllnq0a0avhxykv9hrzg0yvjpx"))))
+            "061rjdicrgv0xs8k3icask76r09gwwjlnlv3774dprxymwza7nzp"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-six" ,python-six)
-- 
2.33.1





^ permalink raw reply related	[relevance 70%]

* [bug#51630] [PATCH 3/3] gnu: python-furl: Update to 2.1.2.
  @ 2021-11-10  6:05 70% ` jgart via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-11-10  6:05 UTC (permalink / raw)
  To: 51630; +Cc: jgart

* gnu/packages/python-web.scm (python-furl): Update to 2.1.2.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 608276325f..3575a36a28 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -640,14 +640,14 @@ (define-public python-falcon-cors
 (define-public python-furl
   (package
     (name "python-furl")
-    (version "2.0.0")
+    (version "2.1.2")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "furl" version))
         (sha256
           (base32
-            "1v2lakx03d5w8954a39ki44xv5mllnq0a0avhxykv9hrzg0yvjpx"))))
+            "061rjdicrgv0xs8k3icask76r09gwwjlnlv3774dprxymwza7nzp"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-six" ,python-six)
-- 
2.33.1





^ permalink raw reply related	[relevance 70%]

* [bug#51630] [PATCH 3/3] gnu: python-furl: Update to 2.1.3.
  @ 2021-11-10 17:32 70% ` jgart via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-11-10 17:32 UTC (permalink / raw)
  To: 51630; +Cc: jgart

* gnu/packages/python-web.scm (python-furl): Update to 2.1.3.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 608276325f..5b46fea726 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -640,14 +640,14 @@ (define-public python-falcon-cors
 (define-public python-furl
   (package
     (name "python-furl")
-    (version "2.0.0")
+    (version "2.1.3")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "furl" version))
         (sha256
           (base32
-            "1v2lakx03d5w8954a39ki44xv5mllnq0a0avhxykv9hrzg0yvjpx"))))
+            "0knc76pm8pzigs3bpx9fccfsfxqrgblqphar46hq9i364vz8hqas"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-six" ,python-six)
-- 
2.33.1





^ permalink raw reply related	[relevance 70%]

* [bug#51314] [PATCH v2 03/24] gnu: python-flask: Update to 1.1.4.
  @ 2021-11-13 20:02 70% ` Vinicius Monego
  2021-11-13 20:02 70% ` [bug#51314] [PATCH v2 04/24] gnu: python-flask: Respect #:tests? Vinicius Monego
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask): Update to 1.1.4.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 608276325f..0beaa78d0e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2997,13 +2997,13 @@ minimum of WSGI.")
 (define-public python-flask
   (package
     (name "python-flask")
-    (version "1.1.2")
+    (version "1.1.4")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Flask" version))
               (sha256
                (base32
-                "0q3h295izcil7lswkzfnyg3k5gq4hpmqmpl6i7s5m1n9szi1myjf"))))
+                "15ni4xlm57a15f5hipp8w0c9zba20179bvfns2392fiq1lcbdghg"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51314] [PATCH v2 05/24] gnu: Add python-pyscss.
    2021-11-13 20:02 70% ` [bug#51314] [PATCH v2 03/24] gnu: python-flask: Update to 1.1.4 Vinicius Monego
  2021-11-13 20:02 70% ` [bug#51314] [PATCH v2 04/24] gnu: python-flask: Respect #:tests? Vinicius Monego
@ 2021-11-13 20:02 67% ` Vinicius Monego
  2021-11-13 20:02 70% ` [bug#51314] [PATCH v2 06/24] gnu: Add python-flask-assets Vinicius Monego
  2021-11-13 20:02 69% ` [bug#51314] [PATCH v2 14/24] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-pyscss): New variable.
---
 gnu/packages/python-web.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8dd73c003f..80ba4bd07e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -78,6 +78,7 @@
   #:use-module (gnu packages groff)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libffi)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
@@ -793,6 +794,40 @@ JSON Web Algorithms (JWA) - collectively can be used to encrypt and/or sign
 content using a variety of algorithms.")
     (license license:expat)))
 
+(define-public python-pyscss
+  (package
+    (name "python-pyscss")
+    (version "1.3.7")
+    (source
+     (origin
+       ;; No tests in the PyPI tarball.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Kronuz/pyScss")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "--pyargs" "scss")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)))
+    (inputs
+     `(("pcre" ,pcre)))
+    (home-page "https://github.com/Kronuz/pyScss")
+    (synopsis "Scss compiler for Python")
+    (description "@code{pyScss} is a compiler for Sass, a superset language of
+CSS3 that adds programming capabilities and some other syntactic sugar.")
+    (license license:expat)))
+
 (define-public python-jsonpickle
   (package
     (name "python-jsonpickle")
-- 
2.30.2





^ permalink raw reply related	[relevance 67%]

* [bug#51314] [PATCH v2 04/24] gnu: python-flask: Respect #:tests?.
    2021-11-13 20:02 70% ` [bug#51314] [PATCH v2 03/24] gnu: python-flask: Update to 1.1.4 Vinicius Monego
@ 2021-11-13 20:02 70% ` Vinicius Monego
  2021-11-13 20:02 67% ` [bug#51314] [PATCH v2 05/24] gnu: Add python-pyscss Vinicius Monego
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask)[arguments]<#:phases>: Respect
 #:tests? and simplify the test command in the custom 'check phase.
---
 gnu/packages/python-web.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 0beaa78d0e..8dd73c003f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3006,13 +3006,13 @@ minimum of WSGI.")
                 "15ni4xlm57a15f5hipp8w0c9zba20179bvfns2392fiq1lcbdghg"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
+     `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             (setenv "PYTHONPATH" (string-append "./build/lib:"
-                                                 (getenv "PYTHONPATH")))
-             (invoke "pytest" "-vv" "tests"))))))
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (propagated-inputs
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51314] [PATCH v2 06/24] gnu: Add python-flask-assets.
                     ` (2 preceding siblings ...)
  2021-11-13 20:02 67% ` [bug#51314] [PATCH v2 05/24] gnu: Add python-pyscss Vinicius Monego
@ 2021-11-13 20:02 70% ` Vinicius Monego
  2021-11-13 20:02 69% ` [bug#51314] [PATCH v2 14/24] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask-assets): New variable.
---
 gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 80ba4bd07e..11e6caa8d5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1053,6 +1053,35 @@ between a web browser and web server.")
 (define-public python2-sockjs-tornado
   (package-with-python2 python-sockjs-tornado))
 
+(define-public python-flask-assets
+  (package
+    (name "python-flask-assets")
+    (version "2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Flask-Assets" version))
+       (sha256
+        (base32 "1hmqldxc7zciksmcl35jx0wbyrrxc7vk2a57mmmd8i07whsymz8x"))))
+    (build-system python-build-system)
+    (arguments
+     ;; FIXME: 8 tests are failing with:
+     ;; TypeError: __init__() got an unexpected keyword argument 'static_path'
+     `(#:tests? #f))
+    (native-inputs
+     `(("python-flask-script" ,python-flask-script)
+       ("python-nose" ,python-nose)
+       ("python-pyscss" ,python-pyscss)
+       ("python-pyyaml" ,python-pyyaml)))
+    (propagated-inputs
+     `(("python-flask" ,python-flask)
+       ("python-webassets" ,python-webassets)))
+    (home-page "https://github.com/miracle2k/flask-assets")
+    (synopsis "Asset management for Flask")
+    (description "This package integrates @code{webassets} with Flask, adding
+support for merging, minifying and compiling CSS and Javascript files.")
+    (license license:bsd-2)))
+
 (define-public python-flask-babel
   (package
     (name "python-flask-babel")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51314] [PATCH v2 14/24] gnu: python-websocket-client: Update to 0.59.0.
                     ` (3 preceding siblings ...)
  2021-11-13 20:02 70% ` [bug#51314] [PATCH v2 06/24] gnu: Add python-flask-assets Vinicius Monego
@ 2021-11-13 20:02 69% ` Vinicius Monego
  4 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-websocket-client): Update to 0.59.0.
[source]: Update PyPI URI.
[arguments]<#:phases>: Add new phase after 'unpack to skip a network test.
[native-inputs]: Add python-pysocks.
[home-page]: Follow redirection.
---
 gnu/packages/python-web.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 11e6caa8d5..5db1f8b730 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2494,18 +2494,28 @@ verification of the SSL peer.")
 (define-public python-websocket-client
   (package
     (name "python-websocket-client")
-    (version "0.54.0")
+    (version "0.59.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "websocket_client" version))
+       (uri (pypi-uri "websocket-client" version))
        (sha256
         (base32
-         "0j88zmikaypf38lvpkf4aaxrjp9j07dmy5ghj7kli0fv3p4n45g5"))))
+         "0p0cz2mdissq7iw1n7jrmsfir0jfmgs1dvnpnrx477ffx9hbsxnk"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'skip-network-test
+           (lambda _
+             ;; This test requires networking.
+             (substitute* "websocket/tests/test_http.py"
+               (("def testConnect") "def _testConnect")))))))
+    (native-inputs
+     `(("python-pysocks" ,python-pysocks)))
     (propagated-inputs
      `(("python-six" ,python-six)))
-    (home-page "https://github.com/liris/websocket-client")
+    (home-page "https://github.com/websocket-client/websocket-client")
     (synopsis "WebSocket client for Python")
     (description "The Websocket-client module provides the low level APIs for
 WebSocket usage in Python programs.")
-- 
2.30.2





^ permalink raw reply related	[relevance 69%]

* [bug#51895] [PATCH] gnu: Add python-mwparserfromhell
@ 2021-11-16 15:16 86% Alice BRENON
  0 siblings, 0 replies; 200+ results
From: Alice BRENON @ 2021-11-16 15:16 UTC (permalink / raw)
  To: 51895

[-- Attachment #1: Type: text/plain, Size: 110 bytes --]

Hi list,

Here's a patch to add a guix package for the mwparserfromhell python
library.

Best regards,

Alice

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-mwparserfromhell.patch --]
[-- Type: text/x-patch, Size: 2267 bytes --]

From c256fc3aed7fe38acb7d2490f0adc8854ea3d6ed Mon Sep 17 00:00:00 2001
From: Alice BRENON <alice.brenon@ens-lyon.fr>
Date: Tue, 16 Nov 2021 16:04:02 +0100
Subject: [PATCH] gnu: Add python-mwparserfromhell.

* gnu/packages/python-web.scm (python-mwparserfromhell): New variable.
---
 gnu/packages/python-web.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4ddf89c207..785889200f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -46,6 +46,7 @@
 ;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
 ;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6348,3 +6349,32 @@ (define-public python-flask-combo-jsonapi
 Flask-RESTful to quickly build APIs that fit the complexity of existing
 real-life projects with legacy data and diverse storage providers.")
     (license license:expat)))
+
+(define-public python-mwparserfromhell
+  (package
+    (name "python-mwparserfromhell")
+    (version "0.6.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "mwparserfromhell" version))
+        (sha256
+          (base32 "0zh9zaqbac18s7mivqk8am9xw97lfkgcj9hhxj0d4208pkqpkmqs"))))
+    (build-system python-build-system)
+    (native-inputs
+      `(("python-pytest" ,python-pytest)
+        ("python-pytest-runner" ,python-pytest-runner)))
+    (home-page "https://github.com/earwig/mwparserfromhell")
+    (synopsis "Python parser for MediaWiki wikicode")
+    (description
+     "The MediaWiki Parser From Hell is a python library package that provides a
+parser for MediaWiki.
+
+It exposes parses as normal string objects with additional methods giving
+access to the special Wikicode features it contains (hyperlinks, tags,
+templates…).  The parser doesn't interpolate strings at all, it remains at a
+purely formal level.
+
+Full documentation may be found at
+@uref{https://mwparserfromhell.readthedocs.io, ReadTheDocs}")
+    (license license:expat)))
-- 
2.33.1


^ permalink raw reply related	[relevance 86%]

* [bug#52064] [PATCH] gnu: Add python-sodapy.
@ 2021-11-23 19:22 64% Luis Felipe via Guix-patches via
  2021-11-24 16:20 68% ` Luis Felipe via Guix-patches via
  2021-11-25 18:14 65% ` Luis Felipe via Guix-patches via
  0 siblings, 2 replies; 200+ results
From: Luis Felipe via Guix-patches via @ 2021-11-23 19:22 UTC (permalink / raw)
  To: 52064


[-- Attachment #1.1: Type: text/plain, Size: 666 bytes --]

Hi, this is a new package pretty much imported by Guix from Pypi. I installed it, tried it out with the following code in a Python interpreter, and it worked.

~~~
from sodapy import Socrata

client = Socrata("www.datos.gov.co", None)

# First 100 results, returned as JSON from API / converted to Python list of
# dictionaries by sodapy.
results = client.get("gt2j-8ykr", limit=100)

results
~~~

I then generated the attached patch by following the packaging videos (https://guix.gnu.org/en/videos/2020/packaging-part-one/).

I hope it works (but I can make changes if it doesn't),

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-python-sodapy.patch --]
[-- Type: text/x-patch; filename="0001-gnu-Add-python-sodapy.patch"; name="0001-gnu-Add-python-sodapy.patch", Size: 1696 bytes --]

From 8f605da8ac3157b467cc2fcc6b5ec83cfa436daf Mon Sep 17 00:00:00 2001
From: Luis Felipe <luis.felipe.la@protonmail.com>
Date: Tue, 23 Nov 2021 13:30:04 -0500
Subject: [PATCH] gnu: Add python-sodapy.

* gnu/packages/python-web.scm (python-sodapy): New variable.
---
 gnu/packages/python-web.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4ddf89c207..71fc0549aa 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -46,6 +46,7 @@
 ;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
 ;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2021 Luis Felipe López Acevedo <luis-felipe@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6348,3 +6349,20 @@ (define-public python-flask-combo-jsonapi
 Flask-RESTful to quickly build APIs that fit the complexity of existing
 real-life projects with legacy data and diverse storage providers.")
     (license license:expat)))
+
+(define-public python-sodapy
+  (package
+    (name "python-sodapy")
+    (version "2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sodapy" version))
+       (sha256
+        (base32 "03ywf14fplgrz15ci6lvj1kmbrd0sghvcmjbnarx4036q7ph3rs4"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-requests" ,python-requests)))
+    (home-page "https://github.com/xmunoz/sodapy")
+    (synopsis "Python library for the Socrata Open Data API")
+    (description "Python library for the Socrata Open Data API.")
+    (license license:expat)))
-- 
2.33.0


[-- Attachment #1.3: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

^ permalink raw reply related	[relevance 64%]

* [bug#52064] [PATCH] gnu: Add python-sodapy.
  2021-11-23 19:22 64% [bug#52064] [PATCH] gnu: Add python-sodapy Luis Felipe via Guix-patches via
@ 2021-11-24 16:20 68% ` Luis Felipe via Guix-patches via
  2021-11-25 18:14 65% ` Luis Felipe via Guix-patches via
  1 sibling, 0 replies; 200+ results
From: Luis Felipe via Guix-patches via @ 2021-11-24 16:20 UTC (permalink / raw)
  To: 52064@debbugs.gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 112 bytes --]

I wrote my email incorrectly in the initial patch. This new patch fixes that.

---
Luis Felipe López Acevedo

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-python-sodapy.patch --]
[-- Type: text/x-patch; filename="0001-gnu-Add-python-sodapy.patch"; name="0001-gnu-Add-python-sodapy.patch", Size: 1699 bytes --]

From b2fbb0f91fe4bcddb50ebd7accdd9c239b03a3b1 Mon Sep 17 00:00:00 2001
From: Luis Felipe <luis.felipe.la@protonmail.com>
Date: Tue, 23 Nov 2021 13:30:04 -0500
Subject: [PATCH] gnu: Add python-sodapy.

* gnu/packages/python-web.scm (python-sodapy): New variable.
---
 gnu/packages/python-web.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4ddf89c207..867a00a1bb 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -46,6 +46,7 @@
 ;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
 ;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2021 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6348,3 +6349,20 @@ (define-public python-flask-combo-jsonapi
 Flask-RESTful to quickly build APIs that fit the complexity of existing
 real-life projects with legacy data and diverse storage providers.")
     (license license:expat)))
+
+(define-public python-sodapy
+  (package
+    (name "python-sodapy")
+    (version "2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sodapy" version))
+       (sha256
+        (base32 "03ywf14fplgrz15ci6lvj1kmbrd0sghvcmjbnarx4036q7ph3rs4"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-requests" ,python-requests)))
+    (home-page "https://github.com/xmunoz/sodapy")
+    (synopsis "Python library for the Socrata Open Data API")
+    (description "Python library for the Socrata Open Data API.")
+    (license license:expat)))
-- 
2.33.0


[-- Attachment #1.3: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

^ permalink raw reply related	[relevance 68%]

* [bug#52064] [PATCH] gnu: Add python-sodapy.
  2021-11-23 19:22 64% [bug#52064] [PATCH] gnu: Add python-sodapy Luis Felipe via Guix-patches via
  2021-11-24 16:20 68% ` Luis Felipe via Guix-patches via
@ 2021-11-25 18:14 65% ` Luis Felipe via Guix-patches via
  1 sibling, 0 replies; 200+ results
From: Luis Felipe via Guix-patches via @ 2021-11-25 18:14 UTC (permalink / raw)
  To: 52064@debbugs.gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 98 bytes --]

Hi. Here's the new package definition with check phase enabled.

---
Luis Felipe López Acevedo

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-python-sodapy.patch --]
[-- Type: text/x-patch; filename="0001-gnu-Add-python-sodapy.patch"; name="0001-gnu-Add-python-sodapy.patch", Size: 2472 bytes --]

From d7daf5771d02378606437c3b725e1229d405eeaa Mon Sep 17 00:00:00 2001
From: Luis Felipe <luis.felipe.la@protonmail.com>
Date: Tue, 23 Nov 2021 13:30:04 -0500
Subject: [PATCH] gnu: Add python-sodapy.

* gnu/packages/python-web.scm (python-sodapy): New variable.
---
 gnu/packages/python-web.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4ddf89c207..d82edfa525 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -46,6 +46,7 @@
 ;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
 ;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2021 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6348,3 +6349,38 @@ (define-public python-flask-combo-jsonapi
 Flask-RESTful to quickly build APIs that fit the complexity of existing
 real-life projects with legacy data and diverse storage providers.")
     (license license:expat)))
+
+(define-public python-sodapy
+  (package
+    (name "python-sodapy")
+    (version "2.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/xmunoz/sodapy")
+             (commit (string-append version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "011gmxrnzipa9s6h2m9n9z60l2xb4bnsc983ixylffw8482j3qcx"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             ;; Add current working directory to PYTHONPATH so that
+             ;; the tests can find the sodapy package.
+             (setenv "PYTHONPATH"
+                     (string-append (getcwd) ":"
+                                    (getenv "PYTHONPATH")))
+             (when tests?
+               (invoke "pytest" "-vv")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-requests-mock" ,python-requests-mock)))
+    (propagated-inputs `(("python-requests" ,python-requests)))
+    (home-page "https://github.com/xmunoz/sodapy")
+    (synopsis "Python library for the Socrata Open Data API")
+    (description "Python library for the Socrata Open Data API.")
+    (license license:expat)))
-- 
2.33.0


[-- Attachment #1.3: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

^ permalink raw reply related	[relevance 65%]

* [bug#52359] [PATCH] gnu: python2-bottle: Remove package.
@ 2021-12-07 21:00 70% jgart via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2021-12-07 21:00 UTC (permalink / raw)
  To: 52359; +Cc: jgart

* gnu/packages/python-web.scm (python2-bottle): Delete variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d4a785b2fc..fb23054489 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4170,9 +4170,6 @@ (define-public python-bottle
     (description "@code{python-bottle} is a WSGI framework for small web-applications.")
     (license license:expat)))
 
-(define-public python2-bottle
-  (package-with-python2 python-bottle))
-
 (define-public python-wtforms
   (package
     (name "python-wtforms")
-- 
2.34.0





^ permalink raw reply related	[relevance 70%]

* [bug#52780] [PATCH] gnu: Add python-canvasapi.
@ 2021-12-24 15:44 68% John Kehayias via Guix-patches via
  2022-01-11 21:40 68% ` [bug#52780] [PATCH v2] " John Kehayias via Guix-patches via
  0 siblings, 1 reply; 200+ results
From: John Kehayias via Guix-patches via @ 2021-12-24 15:44 UTC (permalink / raw)
  To: 52780

[-- Attachment #1: Type: text/plain, Size: 195 bytes --]

This is a patch to add the canvasapi python package, that lets you communicate with Instructure's Canvas platform (used at universities for course materials). I've tested it builds and works.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-canvasapi.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-python-canvasapi.patch, Size: 1774 bytes --]

From 4aa7894d3786c1fe490d97b4b05c267956302d83 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Fri, 24 Dec 2021 10:34:21 -0500
Subject: [PATCH] gnu: Add python-canvasapi.

* gnu/packages/python-web.scm (python-canvasapi): New variable.
---
 gnu/packages/python-web.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 61a34bfc63..d2026af2c6 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -47,6 +47,7 @@
 ;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
+;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4198,6 +4199,25 @@ (define-public python-yarl
 for URL parsing and changing.")
     (license license:asl2.0)))
 
+(define-public python-canvasapi
+  (package
+    (name "python-canvasapi")
+    (version "2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "canvasapi" version))
+       (sha256
+        (base32 "0qizqj5l6bgfmw41hhh1d1iypv5y1lb3r6v0yks957dc7ivxp1sh"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-pytz python-requests))
+    (home-page "https://github.com/ucfopen/canvasapi")
+    (synopsis "API wrapper for the Canvas LMS")
+    (description "CanvasAPI is a Python library for accessing
+Instructure’s Canvas LMS API.  The library enables developers to
+programmatically manage Canvas courses, users, gradebooks, and more.")
+    (license license:expat)))
+
 (define-public python-google
   (package
     (name "python-google")
-- 
2.34.1


^ permalink raw reply related	[relevance 68%]

* [bug#51314] [PATCH v3 04/21] gnu: Add python-flask-assets.
    2021-12-27 23:30 67% ` [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss Vinicius Monego
@ 2021-12-27 23:30 70% ` Vinicius Monego
  2021-12-27 23:30 69% ` [bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
  2 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask-assets): New variable.
---
 gnu/packages/python-web.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 13504061ca..39cdbafc73 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1027,6 +1027,28 @@ between a web browser and web server.")
 (define-public python2-sockjs-tornado
   (package-with-python2 python-sockjs-tornado))
 
+(define-public python-flask-assets
+  (package
+    (name "python-flask-assets")
+    (version "2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Flask-Assets" version))
+       (sha256
+        (base32 "1hmqldxc7zciksmcl35jx0wbyrrxc7vk2a57mmmd8i07whsymz8x"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Tests require python-flask-script which is incompatible with Flask2.
+     `(#:tests? #f))
+    (propagated-inputs
+     (list python-flask python-webassets))
+    (home-page "https://github.com/miracle2k/flask-assets")
+    (synopsis "Asset management for Flask")
+    (description "This package integrates @code{webassets} with Flask, adding
+support for merging, minifying and compiling CSS and Javascript files.")
+    (license license:bsd-2)))
+
 (define-public python-flask-babel
   (package
     (name "python-flask-babel")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss.
  @ 2021-12-27 23:30 67% ` Vinicius Monego
  2021-12-27 23:30 70% ` [bug#51314] [PATCH v3 04/21] gnu: Add python-flask-assets Vinicius Monego
  2021-12-27 23:30 69% ` [bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
  2 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-pyscss): New variable.
---
 gnu/packages/python-web.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 61a34bfc63..13504061ca 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -82,6 +82,7 @@
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages node)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
@@ -775,6 +776,40 @@ JSON Web Algorithms (JWA) - collectively can be used to encrypt and/or sign
 content using a variety of algorithms.")
     (license license:expat)))
 
+(define-public python-pyscss
+  (package
+    (name "python-pyscss")
+    (version "1.3.7")
+    (source
+     (origin
+       (method git-fetch)               ; no tests in PyPI release
+       (uri (git-reference
+             (url "https://github.com/Kronuz/pyScss")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))))
+    (build-system python-build-system)
+    (arguments
+     ;; XXX: error in test collection, possible incompatibility with Pytest 6.
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "--pyargs" "scss")))))))
+    (native-inputs
+     (list python-pytest python-pytest-cov))
+    (inputs
+     (list pcre))
+    (home-page "https://github.com/Kronuz/pyScss")
+    (synopsis "Scss compiler for Python")
+    (description "@code{pyScss} is a compiler for Sass, a superset language of
+CSS3 that adds programming capabilities and some other syntactic sugar.")
+    (license license:expat)))
+
 (define-public python-jsonpickle
   (package
     (name "python-jsonpickle")
-- 
2.30.2





^ permalink raw reply related	[relevance 67%]

* [bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0.
    2021-12-27 23:30 67% ` [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss Vinicius Monego
  2021-12-27 23:30 70% ` [bug#51314] [PATCH v3 04/21] gnu: Add python-flask-assets Vinicius Monego
@ 2021-12-27 23:30 69% ` Vinicius Monego
  2 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-websocket-client): Update to 0.59.0.
[source]: Update PyPI URI. Make some cosmetic changes.
[arguments]<#:phases>: Add phase 'skip-network-test.
[native-inputs]: Add python-pysocks.
[home-page]: Follow redirect.
---
 gnu/packages/python-web.scm | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 39cdbafc73..8cfc4b4cb4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2413,18 +2413,27 @@ verification of the SSL peer.")
 (define-public python-websocket-client
   (package
     (name "python-websocket-client")
-    (version "0.54.0")
+    (version "0.59.0")                  ; tests hang on newer versions
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "websocket_client" version))
+       (uri (pypi-uri "websocket-client" version))
        (sha256
-        (base32
-         "0j88zmikaypf38lvpkf4aaxrjp9j07dmy5ghj7kli0fv3p4n45g5"))))
+        (base32 "0p0cz2mdissq7iw1n7jrmsfir0jfmgs1dvnpnrx477ffx9hbsxnk"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'skip-network-test
+           (lambda _
+             ;; This test requires networking.
+             (substitute* "websocket/tests/test_http.py"
+               (("def testConnect") "def _testConnect")))))))
+    (native-inputs
+     (list python-pysocks))
     (propagated-inputs
      (list python-six))
-    (home-page "https://github.com/liris/websocket-client")
+    (home-page "https://github.com/websocket-client/websocket-client")
     (synopsis "WebSocket client for Python")
     (description "The Websocket-client module provides the low level APIs for
 WebSocket usage in Python programs.")
-- 
2.30.2





^ permalink raw reply related	[relevance 69%]

* [bug#52861] [PATCH] gnu: python-cssselect2: Fix build.
@ 2021-12-28 21:37 70% Morgan.J.Smith
  0 siblings, 0 replies; 200+ results
From: Morgan.J.Smith @ 2021-12-28 21:37 UTC (permalink / raw)
  To: 52861; +Cc: Morgan Smith

From: Morgan Smith <Morgan.J.Smith@outlook.com>

* gnu/packages/python-web.scm (python-cssselect2)
[phases]: Add disable-linters phase.  Make check phase respect #:tests?
[native-inputs]: Remove python-pytest-flake8 and python-pytest-isort
---
 gnu/packages/python-web.scm | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 61a34bfc63..f424c6a103 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4582,13 +4582,22 @@ (define-public python-cssselect2
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'disable-linters
+           ;; Their check fails; none of our business.
+           (lambda _
+             (substitute* '("setup.py" "pyproject.toml")
+               (("'pytest-flake8',") "")
+               (("'pytest-isort',") "")
+               (("--flake8") "")
+               (("--isort") ""))))
          (replace 'check
-           (lambda _ (invoke "pytest"))))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (lambda _ (invoke "pytest"))))))))
     (propagated-inputs
      (list python-tinycss2))
     (native-inputs
-     (list python-pytest-cov python-pytest-flake8 python-pytest-isort
-           python-pytest-runner))
+     (list python-pytest-cov python-pytest-runner))
     (home-page "https://cssselect2.readthedocs.io/")
     (synopsis "CSS selectors for Python ElementTree")
     (description "@code{cssselect2} is a straightforward implementation of
-- 
2.34.0





^ permalink raw reply related	[relevance 70%]

* [bug#52995] [PATCH] gnu: Add python-tweepy.
@ 2022-01-04  0:12 67% Giacomo Leidi via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: Giacomo Leidi via Guix-patches via @ 2022-01-04  0:12 UTC (permalink / raw)
  To: 52995; +Cc: Giacomo Leidi

* gnu/packages/python-web.scm (python-tweepy): New variable.
---
 gnu/packages/python-web.scm | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bc7e21ca85..00598e8307 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -39,7 +39,7 @@
 ;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
 ;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
-;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2020, 2022 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
 ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
@@ -6264,3 +6264,36 @@ (define-public python-mwparserfromhell
 Full documentation may be found at
 @uref{https://mwparserfromhell.readthedocs.io, ReadTheDocs}")
     (license license:expat)))
+
+(define-public python-tweepy
+  (package
+    (name "python-tweepy")
+    (version "4.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/tweepy/tweepy")
+         (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0jl3j20iqvzqqw5q5ldval5wrc2pdx94zff3b6b87j51yjx3qjhr"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "python" "-m" "unittest" "discover" "tests")))))))
+    (propagated-inputs
+     (list python-aiohttp python-requests python-requests-oauthlib))
+    (native-inputs
+     (list python-vcrpy))
+    (home-page "https://www.tweepy.org/")
+    (synopsis "Twitter library for Python")
+    (description "This package provides @code{Tweepy}, an easy-to-use Python
+library for accessing the Twitter API.")
+    (license license:expat)))

base-commit: 01ec5efff7cf95cae69493bd4ccfdd21a38770ae
-- 
2.34.0





^ permalink raw reply related	[relevance 67%]

* [bug#52997] [PATCH] gnu: Add python-facebook-sdk.
@ 2022-01-04  0:30 70% Giacomo Leidi via Guix-patches via
  2022-03-05 23:28 70% ` Giacomo Leidi via Guix-patches via
  2022-07-01 21:43 70% ` Giacomo Leidi via Guix-patches via
  0 siblings, 2 replies; 200+ results
From: Giacomo Leidi via Guix-patches via @ 2022-01-04  0:30 UTC (permalink / raw)
  To: 52997; +Cc: Giacomo Leidi

* gnu/packages/python-web.scm (python-facebook-sdk): New variable.
---
 gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bc7e21ca85..90193590dd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6264,3 +6264,32 @@ (define-public python-mwparserfromhell
 Full documentation may be found at
 @uref{https://mwparserfromhell.readthedocs.io, ReadTheDocs}")
     (license license:expat)))
+
+(define-public python-facebook-sdk
+  (package
+    (name "python-facebook-sdk")
+    (version "3.1.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri
+         (git-reference
+          (url "https://github.com/mobolic/facebook-sdk")
+          (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "0p7p0wvcspd9p8d6r25bgjbf0ihdw5g1jw3dylwngrazdmc3g36b"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Tests require network access.
+     `(#:tests? #f))
+    (propagated-inputs `(("python-requests" ,python-requests)))
+    (home-page "https://facebook-sdk.readthedocs.io")
+    (synopsis
+      "Facebook Graph API client in Python")
+    (description
+      "This client library is designed to support the Facebook Graph API and
+the official Facebook JavaScript SDK, which is the canonical way to implement
+Facebook authentication.")
+    (license license:asl2.0)))

base-commit: 0c5a58e34d894b95d94c61aae0525a01fa18ecd2
-- 
2.34.0





^ permalink raw reply related	[relevance 70%]

* [bug#53179] [PATCH 1/3] gnu: python-httpcore: Update to 0.13.7.
  @ 2022-01-11  5:24 68% ` Vinicius Monego
  2022-01-11  5:24 68%   ` [bug#53179] [PATCH 2/3] gnu: python-httpx: Update to 0.19.0 Vinicius Monego
  2022-01-14 21:08 66% ` [bug#53179] [PATCH v2 1/3] gnu: python-httpcore: Update to 0.13.7 Vinicius Monego
  1 sibling, 1 reply; 200+ results
From: Vinicius Monego @ 2022-01-11  5:24 UTC (permalink / raw)
  To: 53179; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-httpcore): Update to 0.13.7.
[native-inputs]: Order alphabetically.
[propagated-inputs]: Add python-anyio.
---
 gnu/packages/ebook.scm      |  2 +-
 gnu/packages/python-web.scm | 17 ++++++++---------
 2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 03671ee902..5a02e79d1a 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
-;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
 ;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 253b68e02c..ccce679933 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5030,20 +5030,19 @@ and serve updated contents upon changes to the directory.")
 (define-public python-httpcore
   (package
     (name "python-httpcore")
-    (version "0.12.2")
+    (version "0.13.7")
     (source
      (origin
-       ;; PyPI tarball does not contain tests.
-       (method git-fetch)
+       (method git-fetch)               ; no tests in PyPI
        (uri (git-reference
              (url "https://github.com/encode/httpcore")
-             (commit  version)))
+             (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1nrwwfdqjfc2a1k3j41cdwkprwvplf95fwmypdl2aq2qgp3209q0"))))
+        (base32 "1qf1kdscqs566qjzkxz9jxn0g30rx3s6jmxvizvc8q44m8rbs4gn"))))
     (build-system python-build-system)
     (arguments
-     `(#:tests? #f ; Tests hang at 98%
+     `(#:tests? #f                      ; Tests hang at 99%
        #:phases
        (modify-phases %standard-phases
          (replace 'check
@@ -5064,10 +5063,10 @@ and serve updated contents upon changes to the directory.")
            python-pytest-asyncio
            python-pytest-cov
            python-pytest-trio
-           python-uvicorn
-           python-trustme))
+           python-trustme
+           python-uvicorn))
     (propagated-inputs
-     (list python-h11 python-h2 python-sniffio python-trio
+     (list python-anyio python-h11 python-h2 python-sniffio python-trio
            python-trio-typing))
     (home-page "https://github.com/encode/httpcore")
     (synopsis "Minimal, low-level HTTP client")

base-commit: 9d613c36de1ea52e745d30bad841b6cdeaca65f4
-- 
2.30.2





^ permalink raw reply related	[relevance 68%]

* [bug#53179] [PATCH 2/3] gnu: python-httpx: Update to 0.19.0.
  2022-01-11  5:24 68% ` [bug#53179] [PATCH 1/3] gnu: python-httpcore: Update to 0.13.7 Vinicius Monego
@ 2022-01-11  5:24 68%   ` Vinicius Monego
  0 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-11  5:24 UTC (permalink / raw)
  To: 53179; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-httpx): Update to 0.19.0.
[arguments]: Adjust skipped tests in the custom 'check phase.
[propagated-inputs]: Add python-async-generator,
python-charset-normalizer. Remove python-chardet.
---
 gnu/packages/python-web.scm | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ccce679933..c41860f4c9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5089,17 +5089,16 @@ Some things HTTP Core does do:
 (define-public python-httpx
   (package
     (name "python-httpx")
-    (version "0.16.1")
+    (version "0.19.0")
     (source
      (origin
-       ;; PyPI tarball does not contain tests.
-       (method git-fetch)
+       (method git-fetch)               ; no tests in PyPI
        (uri (git-reference
              (url "https://github.com/encode/httpx")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "00gmq45fckcqkj910bvd7pyqz1mvgsdvz4s0k7dzbnc5czzq1f4a"))))
+        (base32 "1w2wk6f07s6liyhsrq0qjj9vm2khp40kv85x91k70f1a8rwp2k3d"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -5107,16 +5106,10 @@ Some things HTTP Core does do:
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
-               (invoke "pytest" "-vv" "-k"
-                       ;; These tests try to open an outgoing connection.
+               (invoke "python" "-m" "pytest" "-k"
                        (string-append
-                        "not test_connect_timeout"
-                        " and not test_that_send_cause_async_client_to_be_not_"
-                        "closed"
-                        " and not test_that_async_client_caused_warning_when_"
-                        "being_deleted"
-                        " and not test_that_send_cause_client_to_be_not_closed"
-                        " and not test_async_proxy_close"
+                        ;; These tests open outgoing connections.
+                        "not test_async_proxy_close"
                         " and not test_sync_proxy_close"))))))))
     (native-inputs
      (list python-autoflake
@@ -5136,9 +5129,10 @@ Some things HTTP Core does do:
            python-trustme
            python-uvicorn))
     (propagated-inputs
-     (list python-brotli
+     (list python-async-generator
+           python-brotli
            python-certifi
-           python-chardet
+           python-charset-normalizer
            python-httpcore
            python-idna
            python-rfc3986
-- 
2.30.2





^ permalink raw reply related	[relevance 68%]

* [bug#53185] [PATCH 1/3] gnu: Add python-geojson.
@ 2022-01-11 10:45 69% phodina via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: phodina via Guix-patches via @ 2022-01-11 10:45 UTC (permalink / raw)
  To: 53185


[-- Attachment #1.1: Type: text/plain, Size: 100 bytes --]

Hi,

this patch series adds command line tool to show weather in your preferred location.

----
Petr

[-- Attachment #1.2: Type: text/html, Size: 320 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-python-pyowm.patch --]
[-- Type: text/x-patch; name=0002-gnu-Add-python-pyowm.patch, Size: 1282 bytes --]

From e7995f7904fa6c51c8ef24e19cd5bb8396abe13d Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 11 Jan 2022 11:28:57 +0100
Subject: [PATCH 2/3] gnu: Add python-pyowm.

* gnu/packages/python-web.scm (python-pyowm): New variable.

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 253b68e02c..e98c07ab59 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5493,6 +5493,24 @@ (define-public python-hupper
 changed the process is restarted.")
     (license license:expat)))
 
+(define-public python-pyowm
+  (package
+    (name "python-pyowm")
+    (version "3.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyowm" version))
+       (sha256
+        (base32 "1pm8w6phr4m3xayndfndid366vhf1fpvdgjsp2zicxarmgc0pm53"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-geojson python-pysocks python-requests))
+    (home-page "https://github.com/csparpa/pyowm")
+    (synopsis "Python wrapper around OpenWeatherMap web APIs")
+    (description
+     "This package provides a Python wrapper around OpenWeatherMap web APIs.")
+    (license license:expat)))
+
 (define-public python-pyramid
   (package
     (name "python-pyramid")
-- 
2.34.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0001-gnu-Add-python-geojson.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-python-geojson.patch, Size: 1287 bytes --]

From d3287c48bb665ac08e95b9e65bc21c79c4207894 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 11 Jan 2022 11:28:17 +0100
Subject: [PATCH 1/3] gnu: Add python-geojson.

* gnu/packages/python-xyz.scm (python-geojson): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 302a81b4f5..2f7616bbe5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11155,6 +11155,25 @@ (define-public python-pytest-black
 Python code formatter \"black\".")
     (license license:expat)))
 
+(define-public python-geojson
+  (package
+    (name "python-geojson")
+    (version "2.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "geojson" version))
+       (sha256
+        (base32 "12k5bzqskvq3gqzkryarhdjl0df47y5k9cf8r3clasi2wjnbfjvf"))))
+    (build-system python-build-system)
+    (arguments
+     ;; https://github.com/jazzband/geojson/issues/175
+     `(#:tests? #f))
+    (home-page "https://github.com/jazzband/geojson")
+    (synopsis "Python bindings and utilities for GeoJSON")
+    (description "Python bindings and utilities for GeoJSON")
+    (license license:bsd-3)))
+
 (define-public python-get-version
   (package
     (name "python-get-version")
-- 
2.34.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: 0003-gnu-Add-wfetch.patch --]
[-- Type: text/x-patch; name=0003-gnu-Add-wfetch.patch, Size: 2366 bytes --]

From 1cb1ea2208e1575b3cdf5539644c9e4e435c0fab Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 11 Jan 2022 11:29:23 +0100
Subject: [PATCH 3/3] gnu: Add wfetch.

* gnu/packages/admin.scm (wfetch): New variable.

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 918a07f014..f64e9f6530 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1859,6 +1859,45 @@ (define-public opendoas
     (license (list license:bsd-3        ; libbsd/*
                    license:isc))))      ; everything else
 
+(define-public wfetch
+  (let ((commit "e1cfa37814aebc9eb56ce994ebe877b6a6f9a715")
+        (revision "1"))
+    (package
+      (name "wfetch")
+      (version (git-version "0.1-pre" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Gcat101/Wfetch")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1dmr85plx8zr6s14ym3r32g6crwxghkval5a24ah90ijx4dbn5q5"))))
+      (build-system python-build-system)
+      (arguments
+       `(#:use-setuptools? #f           ; no setup.py
+         #:tests? #f                    ; no test suite
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'build)
+           (replace 'install
+             (lambda* (#:key outputs #:allow-other-keys)
+               (let* ((out (assoc-ref outputs "out"))
+                      (bin (string-append out "/bin"))
+                      (share (string-append out "/share")))
+                 (mkdir-p share)
+                 (substitute* "wfetch/wfetch.py"
+                   (("os.sep, 'opt', 'wfetch'") (string-append "'" share "'")))
+                 (install-file "wfetch/wfetch.py" bin)
+                 (copy-recursively "wfetch/icons" share)))))))
+      (inputs (list python-pyowm python-fire python-termcolor python-requests))
+      (home-page "https://github.com/zJairO/wfetch")
+      (synopsis "Neofetch/pfetch, but for weather")
+      (description "This package provides Neofetch/pfetch, but for weather.
+In order to use you must export WEATHER_CLI_API=<your OWM api key>.")
+      (license license:gpl3+))))
+
 (define-public wpa-supplicant-minimal
   (package
     (name "wpa-supplicant-minimal")
-- 
2.34.0


^ permalink raw reply related	[relevance 69%]

* [bug#53190] [PATCH 5/5] gnu: Add python-zeep.
  @ 2022-01-11 16:25 64% ` Vinicius Monego
  0 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-11 16:25 UTC (permalink / raw)
  To: 53190; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-zeep): New variable.
---
 gnu/packages/python-web.scm | 69 +++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c41860f4c9..98826d5e1f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5176,6 +5176,75 @@ Plus all the standard features of requests:
 @end itemize")
     (license license:bsd-3)))
 
+(define-public python-zeep
+  (package
+    (name "python-zeep")
+    (version "4.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "zeep" version))
+       (sha256
+        (base32 "1ranr4hkjd2kbbhxa3is1qlgkankj3sml5gla6bqs0kbvpmg4rsq"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; There is a bug somewhere that makes platformdirs appear as verison
+         ;; 0.0.0 to setup.py.  Remove it from the requirements.
+         (add-after 'unpack 'remove-requirement
+           (lambda _
+             (substitute* "setup.py"
+               ((".*platformdirs.*") ""))))
+         (add-before 'check 'set-home
+           (lambda _
+             (setenv "HOME" (getcwd)))) ; one test requires write access
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
+    (propagated-inputs
+     (list python-attrs
+           python-cached-property
+           python-isodate
+           python-lxml
+           python-platformdirs
+           python-pytz
+           python-requests
+           python-requests-file
+           python-requests-toolbelt))
+    (native-inputs
+     (list python-aiohttp
+           python-aioresponses
+           python-coverage
+           python-flake8
+           python-flake8-blind-except
+           python-flake8-debugger
+           python-flake8-imports
+           python-freezegun
+           python-isort
+           python-mock
+           python-pretend
+           python-pytest
+           python-pytest-asyncio
+           python-pytest-cov
+           python-pytest-httpx
+           python-requests-mock))
+    (home-page "https://docs.python-zeep.org/en/stable/")
+    (synopsis "Python SOAP client based on lxml / requests")
+    (description "Zeep is a Python SOAP client.  Highlights:
+
+@itemize
+@item Build on top of @code{lxml} and @code{requests}.
+@item Support for Soap 1.1, Soap 1.2 and HTTP bindings.
+@item Support for WS-Addressing headers.
+@item Support for WSSE (UserNameToken / x.509 signing).
+@item Support for @code{asyncio} via @code{httpx}.
+@item Experimental support for XOP messages.
+@end itemize")
+    (license license:expat)))
+
 (define-public python-wsgiprox
   (package
     (name "python-wsgiprox")
-- 
2.30.2





^ permalink raw reply related	[relevance 64%]

* [bug#52780] [PATCH v2] gnu: Add python-canvasapi.
  2021-12-24 15:44 68% [bug#52780] [PATCH] gnu: Add python-canvasapi John Kehayias via Guix-patches via
@ 2022-01-11 21:40 68% ` John Kehayias via Guix-patches via
  2022-01-11 21:43 67%   ` [bug#52780] [PATCH v3] " John Kehayias via Guix-patches via
  0 siblings, 1 reply; 200+ results
From: John Kehayias via Guix-patches via @ 2022-01-11 21:40 UTC (permalink / raw)
  To: 52780@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 125 bytes --]

Updated after discussion on IRC to use the GitHub source which includes tests. native-input added to run the tests, all pass.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-canvasapi.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-python-canvasapi.patch, Size: 1730 bytes --]

From efae6b303534bd43ab8f7f260efbe17448cc677c Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Tue, 11 Jan 2022 16:37:59 -0500
Subject: [PATCH] gnu: Add python-canvasapi.

* gnu/packages/python-web.scm (python-canvasapi): New variable.
---
 gnu/packages/python-web.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index aaf8a57f6f..416703c143 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4264,6 +4264,30 @@ (define-public python-yarl
 for URL parsing and changing.")
     (license license:asl2.0)))
 
+(define-public python-canvasapi
+  (package
+    (name "python-canvasapi")
+    (version "2.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ucfopen/canvasapi")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0i13wrq2czcaz3h98pvnsl237104v611y9636jf32b1nn76sbp0p"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-pytz python-requests))
+    (native-inputs (list python-requests-mock))
+    (home-page "https://github.com/ucfopen/canvasapi")
+    (synopsis "API wrapper for the Canvas LMS")
+    (description
+     "CanvasAPI is a Python library for accessing Instructure’s Canvas LMS API.
+The library enables developers to programmatically manage Canvas courses,
+users, gradebooks, and more.")
+    (license license:expat)))
+
 (define-public python-google
   (package
     (name "python-google")
-- 
2.34.0


^ permalink raw reply related	[relevance 68%]

* [bug#52780] [PATCH v3] gnu: Add python-canvasapi.
  2022-01-11 21:40 68% ` [bug#52780] [PATCH v2] " John Kehayias via Guix-patches via
@ 2022-01-11 21:43 67%   ` John Kehayias via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: John Kehayias via Guix-patches via @ 2022-01-11 21:43 UTC (permalink / raw)
  To: 52780@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

> Updated after discussion on IRC to use the GitHub source which includes tests. native-input added to run the tests, all pass.

And of course left off the copyright line from earlier, added back.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-canvasapi.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-python-canvasapi.patch, Size: 2037 bytes --]

From 69c1f68741ca7be3650e87001869b82c7f2acd17 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Tue, 11 Jan 2022 16:37:59 -0500
Subject: [PATCH] gnu: Add python-canvasapi.

* gnu/packages/python-web.scm (python-canvasapi): New variable.
---
 gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index aaf8a57f6f..951ab10903 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -47,6 +47,7 @@
 ;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
+;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4264,6 +4265,30 @@ (define-public python-yarl
 for URL parsing and changing.")
     (license license:asl2.0)))
 
+(define-public python-canvasapi
+  (package
+    (name "python-canvasapi")
+    (version "2.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ucfopen/canvasapi")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0i13wrq2czcaz3h98pvnsl237104v611y9636jf32b1nn76sbp0p"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-pytz python-requests))
+    (native-inputs (list python-requests-mock))
+    (home-page "https://github.com/ucfopen/canvasapi")
+    (synopsis "API wrapper for the Canvas LMS")
+    (description
+     "CanvasAPI is a Python library for accessing Instructure’s Canvas LMS API.
+The library enables developers to programmatically manage Canvas courses,
+users, gradebooks, and more.")
+    (license license:expat)))
+
 (define-public python-google
   (package
     (name "python-google")
-- 
2.34.0


^ permalink raw reply related	[relevance 67%]

* [bug#53179] [PATCH v2 1/3] gnu: python-httpcore: Update to 0.13.7.
    2022-01-11  5:24 68% ` [bug#53179] [PATCH 1/3] gnu: python-httpcore: Update to 0.13.7 Vinicius Monego
@ 2022-01-14 21:08 66% ` Vinicius Monego
  2022-01-14 21:08 67%   ` [bug#53179] [PATCH v2 2/3] gnu: python-httpx: Update to 0.19.0 Vinicius Monego
  1 sibling, 1 reply; 200+ results
From: Vinicius Monego @ 2022-01-14 21:08 UTC (permalink / raw)
  To: 53179; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-httpcore): Update to 0.13.7.
[native-inputs]: Order alphabetically.
[propagated-inputs]: Add python-anyio.
---
Fixed the copyright being added in the wrong file.

 gnu/packages/python-web.scm | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 708528983c..639470d7d4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -37,7 +37,7 @@
 ;;; Copyright © 2020 Holger Peters <holger.peters@posteo.de>
 ;;; Copyright © 2020 Noisytoot <noisytoot@gmail.com>
 ;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
-;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
@@ -5124,20 +5124,19 @@ and serve updated contents upon changes to the directory.")
 (define-public python-httpcore
   (package
     (name "python-httpcore")
-    (version "0.12.2")
+    (version "0.13.7")
     (source
      (origin
-       ;; PyPI tarball does not contain tests.
-       (method git-fetch)
+       (method git-fetch)               ; no tests in PyPI
        (uri (git-reference
              (url "https://github.com/encode/httpcore")
-             (commit  version)))
+             (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1nrwwfdqjfc2a1k3j41cdwkprwvplf95fwmypdl2aq2qgp3209q0"))))
+        (base32 "1qf1kdscqs566qjzkxz9jxn0g30rx3s6jmxvizvc8q44m8rbs4gn"))))
     (build-system python-build-system)
     (arguments
-     `(#:tests? #f ; Tests hang at 98%
+     `(#:tests? #f                      ; Tests hang at 99%
        #:phases
        (modify-phases %standard-phases
          (replace 'check
@@ -5158,10 +5157,10 @@ and serve updated contents upon changes to the directory.")
            python-pytest-asyncio
            python-pytest-cov
            python-pytest-trio
-           python-uvicorn
-           python-trustme))
+           python-trustme
+           python-uvicorn))
     (propagated-inputs
-     (list python-h11 python-h2 python-sniffio python-trio
+     (list python-anyio python-h11 python-h2 python-sniffio python-trio
            python-trio-typing))
     (home-page "https://github.com/encode/httpcore")
     (synopsis "Minimal, low-level HTTP client")

base-commit: 36f4745dc10e5d0e8b2a62cd2c8439629debae4f
-- 
2.30.2





^ permalink raw reply related	[relevance 66%]

* [bug#53179] [PATCH v2 2/3] gnu: python-httpx: Update to 0.19.0.
  2022-01-14 21:08 66% ` [bug#53179] [PATCH v2 1/3] gnu: python-httpcore: Update to 0.13.7 Vinicius Monego
@ 2022-01-14 21:08 67%   ` Vinicius Monego
  0 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-14 21:08 UTC (permalink / raw)
  To: 53179; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-httpx): Update to 0.19.0.
[arguments]: Adjust skipped tests in the custom 'check phase.
[propagated-inputs]: Add python-async-generator,
python-charset-normalizer. Remove python-chardet.
---
 gnu/packages/python-web.scm | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 639470d7d4..0a1d6d3d29 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5183,17 +5183,16 @@ Some things HTTP Core does do:
 (define-public python-httpx
   (package
     (name "python-httpx")
-    (version "0.16.1")
+    (version "0.19.0")
     (source
      (origin
-       ;; PyPI tarball does not contain tests.
-       (method git-fetch)
+       (method git-fetch)               ; no tests in PyPI
        (uri (git-reference
              (url "https://github.com/encode/httpx")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "00gmq45fckcqkj910bvd7pyqz1mvgsdvz4s0k7dzbnc5czzq1f4a"))))
+        (base32 "1w2wk6f07s6liyhsrq0qjj9vm2khp40kv85x91k70f1a8rwp2k3d"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -5201,16 +5200,10 @@ Some things HTTP Core does do:
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
-               (invoke "pytest" "-vv" "-k"
-                       ;; These tests try to open an outgoing connection.
+               (invoke "python" "-m" "pytest" "-k"
                        (string-append
-                        "not test_connect_timeout"
-                        " and not test_that_send_cause_async_client_to_be_not_"
-                        "closed"
-                        " and not test_that_async_client_caused_warning_when_"
-                        "being_deleted"
-                        " and not test_that_send_cause_client_to_be_not_closed"
-                        " and not test_async_proxy_close"
+                        ;; These tests open outgoing connections.
+                        "not test_async_proxy_close"
                         " and not test_sync_proxy_close"))))))))
     (native-inputs
      (list python-autoflake
@@ -5230,9 +5223,10 @@ Some things HTTP Core does do:
            python-trustme
            python-uvicorn))
     (propagated-inputs
-     (list python-brotli
+     (list python-async-generator
+           python-brotli
            python-certifi
-           python-chardet
+           python-charset-normalizer
            python-httpcore
            python-idna
            python-rfc3986
-- 
2.30.2





^ permalink raw reply related	[relevance 67%]

* [bug#53364] [PATCH 16/28] gnu: Remove python2-webtest.
                     ` (8 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 15/28] gnu: Remove python2-ndg-httpsclient Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 17/28] gnu: Remove python2-url Vinicius Monego
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-webtest): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 473be0e785..79bee975c8 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2871,9 +2871,6 @@ without starting an HTTP server.  It supports anything that supports the
 minimum of WSGI.")
     (license license:expat)))
 
-(define-public python2-webtest
-  (package-with-python2 python-webtest))
-
 (define-public python-flask
   (package
     (name "python-flask")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 18/28] gnu: Remove python2-betamax-matchers.
                     ` (10 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 17/28] gnu: Remove python2-url Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 19/28] gnu: Remove python2-s3transfer Vinicius Monego
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-betamax-matchers): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 0a49887b78..e4c01d53d6 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3232,9 +3232,6 @@ replay them during future tests.  It is designed to work with python-requests.")
 Betamax.")
     (license license:asl2.0)))
 
-(define-public python2-betamax-matchers
-  (package-with-python2 python-betamax-matchers))
-
 (define-public python-betamax-serializers
   (package
     (name "python-betamax-serializers")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 21/28] gnu: Remove python2-cssmin.
                     ` (13 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 20/28] gnu: Remove python2-htmlmin Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 22/28] gnu: Remove python2-elasticsearch Vinicius Monego
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-cssmin): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 446af4db2e..bf4e151229 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3659,9 +3659,6 @@ CSS tidy.  Also supports URL rewriting in CSS files.")
     (description "Python port of the YUI CSS Compressor.")
     (license (list license:expat license:bsd-3))))
 
-(define-public python2-cssmin
-  (package-with-python2 python-cssmin))
-
 (define-public python-elasticsearch
   (package
     (name "python-elasticsearch")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 28/28] gnu: Remove python2-urlgrabber.
                     ` (20 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 27/28] gnu: Add python-urlgrabber Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-urlgrabber): Remove variable.
---
 gnu/packages/python-web.scm | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 36c77f35ef..502a91a04e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4109,26 +4109,6 @@ the web, FTP or locally.  It supports HTTP, FTP and file:// protocols, it
 supports features like HTTP keep-alive, reget, throttling and more.")
     (license license:lgpl2.1+)))
 
-(define-public python2-urlgrabber
-  (package
-    (name "python2-urlgrabber")
-    (version "3.10.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "urlgrabber" version))
-       (sha256
-        (base32 "0w1h7hlsq406bxfy2pn4i9bd003bwl0q9b7p03z3g6yl0d21ddq5"))))
-    (build-system python-build-system)
-    (arguments `(#:python ,python-2)) ; urlgrabber supports python2 only
-    (home-page "http://urlgrabber.baseurl.org")
-    (synopsis "High-level cross protocol url-grabber")
-    (description "@code{urlgrabber} is Python2 library that unifies access to
-files available on web, FTP or locally.  It supports HTTP, FTP and file://
-protocols, it supports features like HTTP keep-alive, reget, throttling and
-more.")
-    (license license:lgpl2.1+)))
-
 (define-public python-pycares
   (package
     (name "python-pycares")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 13/28] gnu: Remove python2-openid-cla.
                     ` (5 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 12/28] gnu: Remove python2-cssselect Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 14/28] gnu: Remove python2-openid-teams Vinicius Monego
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-openid-cla): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 19a9e28c45..07fcd513fe 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1501,9 +1501,6 @@ Databricks REST APIs.")
 contributor license agreement extension for python-openid.")
     (license license:bsd-3)))
 
-(define-public python2-openid-cla
-  (package-with-python2 python-openid-cla))
-
 (define-public python-openid-teams
   (package
     (name "python-openid-teams")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 19/28] gnu: Remove python2-s3transfer.
                     ` (11 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 18/28] gnu: Remove python2-betamax-matchers Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 20/28] gnu: Remove python2-htmlmin Vinicius Monego
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-s3transfer): Remove variable.
* gnu/packages/python-web.scm (python-s3transfer)[properties]: Remove field.
---
 gnu/packages/python-web.scm | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e4c01d53d6..8232c1d5e2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3279,15 +3279,7 @@ Betamax that may possibly end up in the main package.")
     (description "S3transfer is a Python library for managing Amazon S3
 transfers.")
     (home-page "https://github.com/boto/s3transfer")
-    (license license:asl2.0)
-    (properties `((python2-variant . ,(delay python2-s3transfer))))))
-
-(define-public python2-s3transfer
-  (let ((base (package-with-python2 (strip-python2-variant python-s3transfer))))
-    (package/inherit base
-      (native-inputs
-       `(("python2-futures" ,python2-futures)
-         ,@(package-native-inputs base))))))
+    (license license:asl2.0)))
 
 (define-public python-slimit
   (package
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 08/28] gnu: Remove python2-html5-parser.
    2022-01-19 14:08 70% ` [bug#53364] [PATCH 07/28] gnu: Remove python2-html2text Vinicius Monego
@ 2022-01-19 14:08 70% ` Vinicius Monego
  2022-01-19 14:08 70% ` [bug#53364] [PATCH 09/28] gnu: Remove python2-openid Vinicius Monego
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:08 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-html5-parser): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b46e6e0bd1..8f1b16f9f1 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1231,9 +1231,6 @@ C, yielding parse times that can be a thirtieth of the html5lib parse times.")
     ;; indicate ASL2.0, including the LICENSE file for the whole project.
     (license (list license:asl2.0 license:gpl3))))
 
-(define-public python2-html5-parser
-  (package-with-python2 python-html5-parser))
-
 (define-public python-minio
   (package
     (name "python-minio")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 27/28] gnu: Add python-urlgrabber.
                     ` (19 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 26/28] gnu: Remove python2-paste Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 28/28] gnu: Remove python2-urlgrabber Vinicius Monego
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-urlgrabber): New variable.
---
 gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b29be2dc5a..36c77f35ef 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4080,6 +4080,35 @@ variety of features, from launching web applications to bootstrapping project
 layouts.")
     (license license:expat)))
 
+(define-public python-urlgrabber
+  (package
+    (name "python-urlgrabber")
+    (version "4.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "urlgrabber" version))
+       (sha256
+        (base32 "0fg16zlw49cw7pjq9dhpc5vd35d5zz1mlki55m464qxfmfpzhnh7"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "test/runtests.py")))))))
+    (propagated-inputs
+     (list python-pycurl python-setuptools python-six))
+    (home-page "http://urlgrabber.baseurl.org/") ; no HTTPS
+    (synopsis "High-level cross protocol url-grabber")
+    (description
+     "@code{urlgrabber} is a library that unifies access to files available on
+the web, FTP or locally.  It supports HTTP, FTP and file:// protocols, it
+supports features like HTTP keep-alive, reget, throttling and more.")
+    (license license:lgpl2.1+)))
+
 (define-public python2-urlgrabber
   (package
     (name "python2-urlgrabber")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 24/28] gnu: Remove python2-publicsuffix2.
                     ` (16 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 23/28] gnu: Remove python2-publicsuffix Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 25/28] gnu: Remove python2-pastescript Vinicius Monego
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-publicsuffix2): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 05590be8b1..807394273a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3898,9 +3898,6 @@ List.")
 List.  Forked from and using the same API as the publicsuffix package.")
     (license (list license:expat license:mpl2.0))))
 
-(define-public python2-publicsuffix2
-  (package-with-python2 python-publicsuffix2))
-
 (define-public python-werkzeug
   (package
     (name "python-werkzeug")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 09/28] gnu: Remove python2-openid.
    2022-01-19 14:08 70% ` [bug#53364] [PATCH 07/28] gnu: Remove python2-html2text Vinicius Monego
  2022-01-19 14:08 70% ` [bug#53364] [PATCH 08/28] gnu: Remove python2-html5-parser Vinicius Monego
@ 2022-01-19 14:08 70% ` Vinicius Monego
  2022-01-19 14:08 70% ` [bug#53364] [PATCH 10/28] gnu: Remove python2-cssutils Vinicius Monego
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:08 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-openid): Remove variable.
---
 gnu/packages/python-web.scm | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8f1b16f9f1..93e1bc31a5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1371,29 +1371,6 @@ is Python’s.")
 for clients and servers.")
     (license license:asl2.0)))
 
-(define-public python2-openid
-  (package
-    (name "python2-openid")
-    (version "2.2.5")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "python-openid" version))
-       (sha256
-        (base32
-         "1vvhxlghjan01snfdc4k7ykd80vkyjgizwgg9bncnin8rqz1ricj"))))
-    (build-system python-build-system)
-    (arguments
-     ;; Python 3 support is in `python3-openid`, a separate package.
-     `(#:python ,python-2
-       ;; Tests aren't initialized correctly.
-       #:tests? #f))
-    (home-page "https://github.com/openid/python-openid")
-    (synopsis "OpenID support for servers and consumers")
-    (description "This library provides OpenID authentication for Python, both
-for clients and servers.")
-    (license license:asl2.0)))
-
 (define-public python-cssutils
   (package
     (name "python-cssutils")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 07/28] gnu: Remove python2-html2text.
  @ 2022-01-19 14:08 70% ` Vinicius Monego
  2022-01-19 14:08 70% ` [bug#53364] [PATCH 08/28] gnu: Remove python2-html5-parser Vinicius Monego
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:08 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-html2text): Remove variable.
---
 gnu/packages/python-web.scm | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 708528983c..b46e6e0bd1 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -37,7 +37,7 @@
 ;;; Copyright © 2020 Holger Peters <holger.peters@posteo.de>
 ;;; Copyright © 2020 Noisytoot <noisytoot@gmail.com>
 ;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
-;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
@@ -728,19 +728,6 @@ which is also valid markdown.  html2text was originally written by Aaron
 Swartz.")
     (license license:gpl3+)))
 
-(define-public python2-html2text
-  (let ((base (package-with-python2 python-html2text)))
-    (package
-      (inherit base)
-      ;; This is the last version with support for Python 2.
-      (version "2019.8.11")
-      (source (origin
-                (method url-fetch)
-                (uri (pypi-uri "html2text" version))
-                (sha256
-                 (base32
-                  "0ppgjplg06kmv9sj0x8p7acczcq2mcfgk1jdjwm4w5w40b0vj5pm")))))))
-
 (define-public python-jose
   (package
     (name "python-jose")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 14/28] gnu: Remove python2-openid-teams.
                     ` (6 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 13/28] gnu: Remove python2-openid-cla Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 15/28] gnu: Remove python2-ndg-httpsclient Vinicius Monego
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-openid-teams): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 07fcd513fe..b6048bfd32 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1521,9 +1521,6 @@ contributor license agreement extension for python-openid.")
 teams extension for python-openid.")
     (license license:bsd-3)))
 
-(define-public python2-openid-teams
-  (package-with-python2 python-openid-teams))
-
 (define-public python-priority
   (package
     (name "python-priority")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 10/28] gnu: Remove python2-cssutils.
                     ` (2 preceding siblings ...)
  2022-01-19 14:08 70% ` [bug#53364] [PATCH 09/28] gnu: Remove python2-openid Vinicius Monego
@ 2022-01-19 14:08 70% ` Vinicius Monego
  2022-01-19 14:08 70% ` [bug#53364] [PATCH 11/28] gnu: Remove python2-css-parser Vinicius Monego
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:08 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-cssutils): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 93e1bc31a5..5d8c2d8737 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1396,9 +1396,6 @@ Cascading Style Sheets.  Currently it provides a DOM only and no rendering
 options.")
     (license license:lgpl3+)))
 
-(define-public python2-cssutils
-  (package-with-python2 python-cssutils))
-
 (define-public python-css-parser
   (package
     (inherit python-cssutils)
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 12/28] gnu: Remove python2-cssselect.
                     ` (4 preceding siblings ...)
  2022-01-19 14:08 70% ` [bug#53364] [PATCH 11/28] gnu: Remove python2-css-parser Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 13/28] gnu: Remove python2-openid-cla Vinicius Monego
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-cssselect): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4154701753..19a9e28c45 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1448,9 +1448,6 @@ them to XPath 1.0 expressions.  Such expressions can be used in lxml or
 another XPath engine to find the matching elements in an XML or HTML document.")
     (license license:bsd-3)))
 
-(define-public python2-cssselect
-  (package-with-python2 python-cssselect))
-
 (define-public python-databricks-cli
   (package
     (name "python-databricks-cli")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 17/28] gnu: Remove python2-url.
                     ` (9 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 16/28] gnu: Remove python2-webtest Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 18/28] gnu: Remove python2-betamax-matchers Vinicius Monego
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-url): Remove variable.
* gnu/packages/python-web.scm (python2-url)[properties]: Remove field.
---
 gnu/packages/python-web.scm | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 79bee975c8..0a49887b78 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3143,14 +3143,7 @@ provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients."
     (home-page "https://github.com/seomoz/url-py")
     (synopsis "URL Parsing")
     (description "Library for parsing urls.")
-    (license license:expat)
-    (properties `((python2-variant . ,(delay python2-url))))))
-
-(define-public python2-url
-  (let ((base (package-with-python2 (strip-python2-variant python-url))))
-    (package/inherit base
-      (propagated-inputs
-       `(("python2-publicsuffix" ,python2-publicsuffix))))))
+    (license license:expat)))
 
 (define-public python-cachecontrol
   (package
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 20/28] gnu: Remove python2-htmlmin.
                     ` (12 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 19/28] gnu: Remove python2-s3transfer Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 21/28] gnu: Remove python2-cssmin Vinicius Monego
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-htmlmin): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8232c1d5e2..446af4db2e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3485,9 +3485,6 @@ specs from your Flask-Restful projects.")
 It comes with safe defaults and easily configurable options.")
     (license license:bsd-3)))
 
-(define-public python2-htmlmin
-  (package-with-python2 python-htmlmin))
-
 (define-public python-flask-htmlmin
   (package
     (name "python-flask-htmlmin")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 23/28] gnu: Remove python2-publicsuffix.
                     ` (15 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 22/28] gnu: Remove python2-elasticsearch Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 24/28] gnu: Remove python2-publicsuffix2 Vinicius Monego
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-publicsuffix): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index cb36e0d686..05590be8b1 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3869,9 +3869,6 @@ Templates.")
 List.")
     (license license:expat)))
 
-(define-public python2-publicsuffix
-  (package-with-python2 python-publicsuffix))
-
 (define-public python-publicsuffix2
   (package
     (name "python-publicsuffix2")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 22/28] gnu: Remove python2-elasticsearch.
                     ` (14 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 21/28] gnu: Remove python2-cssmin Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 23/28] gnu: Remove python2-publicsuffix Vinicius Monego
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-elasticsearch): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bf4e151229..cb36e0d686 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3683,9 +3683,6 @@ provide common ground for all Elasticsearch-related code in Python; because of
 this it tries to be opinion-free and very extendable.")
     (license license:expat)))
 
-(define-public python2-elasticsearch
-  (package-with-python2 python-elasticsearch))
-
 (define-public python-engineio
   (package
     (name "python-engineio")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 26/28] gnu: Remove python2-paste.
                     ` (18 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 25/28] gnu: Remove python2-pastescript Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 27/28] gnu: Add python-urlgrabber Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 28/28] gnu: Remove python2-urlgrabber Vinicius Monego
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-paste): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d6dc11ccd2..b29be2dc5a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4047,9 +4047,6 @@ can be nested together to build web applications.  Paste's design closely
 follows ideas flowing from WSGI (Web Standard Gateway Interface).")
     (license license:expat)))
 
-(define-public python2-paste
-  (package-with-python2 python-paste))
-
 (define-public python-pastescript
   (package
     (name "python-pastescript")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 15/28] gnu: Remove python2-ndg-httpsclient.
                     ` (7 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 14/28] gnu: Remove python2-openid-teams Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 16/28] gnu: Remove python2-webtest Vinicius Monego
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-ndg-httpsclient): Remove variable.
---
 gnu/packages/python-web.scm | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b6048bfd32..473be0e785 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2346,17 +2346,6 @@ verification of the SSL peer.")
     (home-page "https://github.com/cedadev/ndg_httpsclient/")
     (license license:bsd-3)))
 
-;; python2-openssl requires special care, so package-with-python2 is
-;; insufficient.
-(define-public python2-ndg-httpsclient
-  (package/inherit python-ndg-httpsclient
-    (name "python2-ndg-httpsclient")
-    (arguments
-     (substitute-keyword-arguments (package-arguments python-ndg-httpsclient)
-       ((#:python _) python-2)))
-    (propagated-inputs
-     `(("python2-pyopenssl" ,python2-pyopenssl)))))
-
 (define-public python-websocket-client
   (package
     (name "python-websocket-client")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 11/28] gnu: Remove python2-css-parser.
                     ` (3 preceding siblings ...)
  2022-01-19 14:08 70% ` [bug#53364] [PATCH 10/28] gnu: Remove python2-cssutils Vinicius Monego
@ 2022-01-19 14:08 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 12/28] gnu: Remove python2-cssselect Vinicius Monego
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:08 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-css-parser): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5d8c2d8737..4154701753 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1418,9 +1418,6 @@ It's a fork of cssutils 1.0.2, updated and modified for parsing ebooks, due to
 cssutils not receiving updates as of 1.0.2.")
     (license license:lgpl3+)))
 
-(define-public python2-css-parser
-  (package-with-python2 python-css-parser))
-
 (define-public python-cssselect
   (package
     (name "python-cssselect")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53364] [PATCH 25/28] gnu: Remove python2-pastescript.
                     ` (17 preceding siblings ...)
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 24/28] gnu: Remove python2-publicsuffix2 Vinicius Monego
@ 2022-01-19 14:09 70% ` Vinicius Monego
  2022-01-19 14:09 70% ` [bug#53364] [PATCH 26/28] gnu: Remove python2-paste Vinicius Monego
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-01-19 14:09 UTC (permalink / raw)
  To: 53364; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python2-pastescript): Remove variable.
---
 gnu/packages/python-web.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 807394273a..d6dc11ccd2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4083,9 +4083,6 @@ variety of features, from launching web applications to bootstrapping project
 layouts.")
     (license license:expat)))
 
-(define-public python2-pastescript
-  (package-with-python2 python-pastescript))
-
 (define-public python2-urlgrabber
   (package
     (name "python2-urlgrabber")
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#53552] [PATCH] gnu: python-uvloop: Skip failing test on PowerPC.
@ 2022-01-26 17:48 70% Lars-Dominik Braun
  0 siblings, 0 replies; 200+ results
From: Lars-Dominik Braun @ 2022-01-26 17:48 UTC (permalink / raw)
  To: 53552

* gnu/packages/python-web.scm (python-uvloop)[arguments]: Conditionally
skip test on target-powerpc?.
---
 gnu/packages/python-web.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


Hi,

can someone using a PowerPC machine please verify this fixes the build
failure here: https://ci.guix.gnu.org/build/424653/details

Thanks,
Lars

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 406c6cb51b..1c90fde331 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4644,7 +4644,11 @@ (define-public python-uvloop
                               ;; It looks like pytest is preventing
                               ;; custom stdout/stderr redirection,
                               ;; even with -s.
-                              "and not test_process_streams_redirect "))))))))
+                              "and not test_process_streams_redirect "
+                              ;; Fails for unknown reasons.
+                              (if target-powerpc?
+                                  "and not test_write_buffer_full "
+                                  "")))))))))
     (native-inputs
      (list python-aiohttp
            python-cython
-- 
2.34.1





^ permalink raw reply related	[relevance 70%]

* [bug#53567] [PATCH] gnu: httpie: Update to 3.0.2.
@ 2022-01-27  4:15 70% kiasoc5--- via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: kiasoc5--- via Guix-patches via @ 2022-01-27  4:15 UTC (permalink / raw)
  To: 53567

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0001-gnu-httpie-Update-to-3.0.2.patch --]
[-- Type: text/x-patch, Size: 1649 bytes --]

From 5770a42996530e431c5d88f24df296a05f33dffe Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@tutanota.com>
Date: Wed, 26 Jan 2022 22:43:44 -0500
Subject: [PATCH] gnu: httpie: Update to 3.0.2.

* gnu/packages/python-web.scm (httpie): Update to 3.0.2.
---
 gnu/packages/python-web.scm | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 406c6cb51b..6a3fc27353 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -741,21 +741,27 @@ (define-public python2-httplib2
 (define-public httpie
   (package
     (name "httpie")
-    (version "2.3.0")
+    (version "3.0.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "httpie" version))
        (sha256
         (base32
-         "15ngl3yc186gkgqdx8iav9bpj8gxjpzz26y32z92jwyhj4cmfh6m"))))
+         "16ay8mx2v1z3rywsszy055l5k50qjiwyc3pds5wxxzd1n9a79w97"))))
     (build-system python-build-system)
     (arguments
      ;; The tests attempt to access external web servers, so we cannot run them.
      '(#:tests? #f))
     (propagated-inputs
-     (list python-colorama python-pygments python-requests
-           python-requests-toolbelt))
+     (list python-colorama
+           python-pygments
+           python-requests
+           python-requests-toolbelt
+           python-pysocks
+           python-charset-normalizer
+           python-defusedxml
+           python-multidict))
     (home-page "https://httpie.io")
     (synopsis "cURL-like tool for humans")
     (description

base-commit: 90a41fe388102d448b3f91a070e38a7680d2d568
-- 
2.35.0


^ permalink raw reply related	[relevance 70%]

* [bug#53836] [PATCH 2/6] gnu: python-html5-parser: Update to 0.4.10.
  @ 2022-02-07  2:05 70% ` Brendan Tildesley
  2022-02-07  2:05 70% ` [bug#53836] [PATCH 4/6] gnu: python-css-parser: Update to 1.0.7 Brendan Tildesley
  1 sibling, 0 replies; 200+ results
From: Brendan Tildesley @ 2022-02-07  2:05 UTC (permalink / raw)
  To: 53836

* gnu/packages/python-web.scm (python-html5-parser): Update to 0.4.10.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 408d7f6571..3bcacdb19f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1279,13 +1279,13 @@ (define-public python2-html5lib-0.9
 (define-public python-html5-parser
   (package
     (name "python-html5-parser")
-    (version "0.4.9")
+    (version "0.4.10")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "html5-parser" version))
               (sha256
                (base32
-                "13yl3vnf3sxl05m0nhpngnrz3g1jvyahd33lys3m3hfb91l8zzi5"))))
+                "195wgxls3df7djry9cz3p2k9644l6bfd66fczbaw55fsq0c48agr"))))
     (build-system python-build-system)
     (native-inputs
      (list pkg-config))
-- 
2.34.0





^ permalink raw reply related	[relevance 70%]

* [bug#53836] [PATCH 4/6] gnu: python-css-parser: Update to 1.0.7.
    2022-02-07  2:05 70% ` [bug#53836] [PATCH 2/6] gnu: python-html5-parser: Update to 0.4.10 Brendan Tildesley
@ 2022-02-07  2:05 70% ` Brendan Tildesley
  1 sibling, 0 replies; 200+ results
From: Brendan Tildesley @ 2022-02-07  2:05 UTC (permalink / raw)
  To: 53836

* gnu/packages/python-web.scm (python-css-parser): Update to 1.0.7.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3bcacdb19f..81fb931189 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1472,13 +1472,13 @@ (define-public python-css-parser
   (package
     (inherit python-cssutils)
     (name "python-css-parser")
-    (version "1.0.6")
+    (version "1.0.7")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "css-parser" version ".tar.gz"))
        (sha256
-        (base32 "0bmg4kiiir6pj9x3sd12x4dz2c1xpp2bn5nn60fxnbk2lnl4im2f"))))
+        (base32 "1ldv9s3an4pgk7b5x6z07rw9b5fdrasdldnf22829pb26b39dq15"))))
     (home-page "https://github.com/ebook-utils/css-parser")
     (synopsis "Fork of cssutils modified for parsing ebooks")
     (description
-- 
2.34.0





^ permalink raw reply related	[relevance 70%]

* [bug#53867] [PATCH] update python-flask-babel and fix searx build
@ 2022-02-08  4:16 66% kiasoc5--- via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: kiasoc5--- via Guix-patches via @ 2022-02-08  4:16 UTC (permalink / raw)
  To: 53867

[-- Attachment #1: Type: text/plain, Size: 42 bytes --]

Patch 2 fixes the sanity check for searx.

[-- Attachment #2: 0001-gnu-python-flask-babel-Update-to-2.0.0.patch --]
[-- Type: text/x-patch, Size: 1529 bytes --]

From 1faf5693b773d1ebff9566cc7e17613a370ff0e8 Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@tutanota.com>
Date: Mon, 7 Feb 2022 10:15:06 -0500
Subject: [PATCH 1/2] gnu: python-flask-babel: Update to 2.0.0.

* gnu/packages/python-web.scm (python-flask-babel): Update to 2.0.0.
---
 gnu/packages/python-web.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 408d7f6571..8c638ce439 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1112,21 +1112,15 @@ (define-public python-flask-assets
 (define-public python-flask-babel
   (package
     (name "python-flask-babel")
-    (version "1.0.0")
+    (version "2.0.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "Flask-Babel" version))
         (sha256
           (base32
-            "0gmb165vkwv5v7dxsxa2i3zhafns0fh938m2zdcrv4d8z5l099yn"))))
+            "0z95v77vib5il8hphyh16n7i15a2gmc06i615vm346ifvdfg9ypr"))))
     (build-system python-build-system)
-    (arguments
-     '(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda _
-                      (with-directory-excursion "tests"
-                        (invoke "python" "tests.py")))))))
     (propagated-inputs
      (list python-flask python-babel python-jinja2 python-pytz))
     (home-page "https://github.com/python-babel/flask-babel")

base-commit: 4396fef04717eebb061b2c808087ca638f87a826
-- 
2.35.1


[-- Attachment #3: 0002-gnu-searx-Fix-build.patch --]
[-- Type: text/x-patch, Size: 1776 bytes --]

From 92627bdf98793cd0195c3dcacb822cd70bb53bb3 Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@tutanota.com>
Date: Mon, 7 Feb 2022 10:31:13 -0500
Subject: [PATCH 2/2] gnu: searx: Fix build.

* gnu/packages/search.scm (searx)[arguments]<#:phases>: Simplify relax-requirements phase for updated dependencies. Add phase to allow sanity check to pass.
---
 gnu/packages/search.scm | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index ea1c555201..12879900dd 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -243,16 +243,15 @@ (define-public searx
        (modify-phases %standard-phases
          (add-after 'unpack 'relax-requirements
            (lambda _
-             ;; These packages are outdated in Guix at the time of packaging.
-             ;; When they are updated, remove corresponding substitutions.
              ;; Tests can run after build with 'searx-checker' tool in /bin.
+             ;; allow using a higher dependency version
              (substitute* "requirements.txt"
-               (("flask-babel==2.0.0") "flask-babel>=1.0.0")
-               (("jinja2==2.11.3") "jinja2>=2.11.2")
-               (("lxml==4.6.3") "lxml>=4.4.2")
-               (("pygments==2.8.0") "pygments>=2.7.3")
-               (("requests\\[socks\\]==2.25.1") "requests>=2.25")
-               (("==") ">=")))))))
+               (("==") ">="))))
+         (add-before 'sanity-check 'set-debug
+           (lambda _
+             ;; the user will need to change the secret key
+             ;; https://github.com/searx/searx/issues/2278
+             (setenv "SEARX_DEBUG" "1"))))))
     (propagated-inputs
      (list python-babel
            python-certifi
-- 
2.35.1


^ permalink raw reply related	[relevance 66%]

* [bug#52997] [PATCH] gnu: Add python-facebook-sdk.
  2022-01-04  0:30 70% [bug#52997] [PATCH] gnu: Add python-facebook-sdk Giacomo Leidi via Guix-patches via
@ 2022-03-05 23:28 70% ` Giacomo Leidi via Guix-patches via
  2022-07-01 21:43 70% ` Giacomo Leidi via Guix-patches via
  1 sibling, 0 replies; 200+ results
From: Giacomo Leidi via Guix-patches via @ 2022-03-05 23:28 UTC (permalink / raw)
  To: 52997; +Cc: Giacomo Leidi

* gnu/packages/python-web.scm (python-facebook-sdk): New variable.
---
 gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 240c58b665..e787c20d7e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6390,3 +6390,32 @@ (define-public python-tweepy
     (description "This package provides @code{Tweepy}, an easy-to-use Python
 library for accessing the Twitter API.")
     (license license:expat)))
+
+(define-public python-facebook-sdk
+  (package
+    (name "python-facebook-sdk")
+    (version "3.1.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri
+         (git-reference
+          (url "https://github.com/mobolic/facebook-sdk")
+          (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "0p7p0wvcspd9p8d6r25bgjbf0ihdw5g1jw3dylwngrazdmc3g36b"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Tests require network access.
+     `(#:tests? #f))
+    (propagated-inputs `(("python-requests" ,python-requests)))
+    (home-page "https://facebook-sdk.readthedocs.io")
+    (synopsis
+      "Facebook Graph API client in Python")
+    (description
+      "This client library is designed to support the Facebook Graph API and
+the official Facebook JavaScript SDK, which is the canonical way to implement
+Facebook authentication.")
+    (license license:asl2.0)))

base-commit: 0c6bf910efd090f0aa0479ba727e5e68655e9b68
-- 
2.34.0





^ permalink raw reply related	[relevance 70%]

* [bug#54334] [PATCH] gnu: python-gitlab: update to 3.2.0
@ 2022-03-11  0:15 68% Denis 'GNUtoo' Carikli
  0 siblings, 0 replies; 200+ results
From: Denis 'GNUtoo' Carikli @ 2022-03-11  0:15 UTC (permalink / raw)
  To: 54334; +Cc: Denis 'GNUtoo' Carikli

* gnu/packages/python-web.scm (python-gitlab): Update to 3.2.0

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
 gnu/packages/python-web.scm | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 240c58b665..69dbd87acd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -48,6 +48,7 @@
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
 ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4910,21 +4911,19 @@ (define-public python-translation-finder
 (define-public python-gitlab
   (package
     (name "python-gitlab")
-    (version "1.15.0")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "python-gitlab" version))
-        (sha256
-         (base32
-          "0zl6kz8v8cg1bcy2r78b2snb0lpw0b573gdx2x1ps0nhsh75l4j5"))))
+    (version "3.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "python-gitlab" version))
+              (sha256
+               (base32
+                "1gi4lp2g4k99zqcx2bgqx940bpmpbc1w9qkl5gy33hpy148yhvlg"))))
     (build-system python-build-system)
-    (propagated-inputs
-     (list python-requests python-six))
-    (native-inputs
-     (list python-httmock python-mock))
-    (home-page
-      "https://github.com/python-gitlab/python-gitlab")
+    (arguments
+     `( ;Tests require network access
+        #:tests? #f))
+    (propagated-inputs (list python-requests python-requests-toolbelt))
+    (home-page "https://github.com/python-gitlab/python-gitlab")
     (synopsis "Interact with GitLab API")
     (description "This package provides an extended library for interacting
 with GitLab instances through their API.")

base-commit: 5397c18157f12e9127b5a9a59b0aa5a4eb058839
-- 
2.35.1





^ permalink raw reply related	[relevance 68%]

* [bug#54403] PATCH] gnu: httpie: Update to 3.1.0 [security fixes].
@ 2022-03-15 17:51 70% kiasoc5--- via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: kiasoc5--- via Guix-patches via @ 2022-03-15 17:51 UTC (permalink / raw)
  To: 54403

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0001-gnu-httpie-Update-to-3.1.0-security-fixes.patch --]
[-- Type: text/x-patch, Size: 1204 bytes --]

From 5a95a464fa185998f0298474c8b5bbc058539552 Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@tutanota.com>
Date: Tue, 15 Mar 2022 13:20:00 -0400
Subject: [PATCH] gnu: httpie: Update to 3.1.0 [security fixes].

Fixes CVE-2022-24737 and CVE-2022-0430.

* gnu/packages/python-web.scm (httpie): Update to 3.1.0.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 240c58b665..466d9782ca 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -748,14 +748,14 @@ (define-public python2-httplib2
 (define-public httpie
   (package
     (name "httpie")
-    (version "3.0.2")
+    (version "3.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "httpie" version))
        (sha256
         (base32
-         "16ay8mx2v1z3rywsszy055l5k50qjiwyc3pds5wxxzd1n9a79w97"))))
+         "1npyfvrq0l56bil8rnpj78mav378mxx4zcqzq1jjx4aap1020jif"))))
     (build-system python-build-system)
     (arguments
      ;; The tests attempt to access external web servers, so we cannot run them.

base-commit: 2543cb485479d29700ac14762875db084b90ed54
-- 
2.35.1


^ permalink raw reply related	[relevance 70%]

* [bug#54465] [PATCH] gnu: Added patch to python-w3lib for broken test.
@ 2022-03-19 13:56 74% Pradana Adrinusa AUMARS via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: Pradana Adrinusa AUMARS via Guix-patches via @ 2022-03-19 13:56 UTC (permalink / raw)
  To: 54465

From 8aaddbdd5b5c51043b3ddfa4aefb72361f0f763f Mon Sep 17 00:00:00 2001
From: Pradana AUMARS <paumars@courrier.dev>
Date: Sat, 19 Mar 2022 14:51:22 +0100
Subject: [PATCH] gnu: Added patch to python-w3lib for broken test.

* gnu/packages/python-web.scm (python-w3lib): Added a patch for the broken test.
* gnu/packages/patches/python-w3lib-broken-test.patch: New file.
---
 .../patches/python-w3lib-broken-test.patch    | 31 +++++++++++++++++++
 gnu/packages/python-web.scm                   |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 gnu/packages/patches/python-w3lib-broken-test.patch

diff --git a/gnu/packages/patches/python-w3lib-broken-test.patch b/gnu/packages/patches/python-w3lib-broken-test.patch
new file mode 100644
index 0000000000..5b4a628268
--- /dev/null
+++ b/gnu/packages/patches/python-w3lib-broken-test.patch
@@ -0,0 +1,31 @@
+From 78054f19bfe20555792b0f336b423921fe88b994 Mon Sep 17 00:00:00 2001
+From: Anders Kaseorg <andersk@mit.edu>
+Date: Mon, 1 Mar 2021 11:34:23 -0800
+Subject: [PATCH] Remove test broken by Python CVE-2021-23336 fix
+
+In Python 3.6.13, 3.7.10, 3.8.8, and 3.9.2, urllib.parse.parse_qsl no
+longer treats ; as a separator by default
+(https://bugs.python.org/issue42967).
+
+Fixes #164.
+
+Signed-off-by: Anders Kaseorg <andersk@mit.edu>
+---
+ tests/test_url.py | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/tests/test_url.py b/tests/test_url.py
+index 3ff544e..e90065c 100644
+--- a/tests/test_url.py
++++ b/tests/test_url.py
+@@ -299,10 +299,6 @@ def test_add_or_replace_parameter(self):
+         self.assertEqual(add_or_replace_parameter(url, 'arg3', 'nv3'),
+                          'http://domain/test?arg1=v1&arg2=v2&arg3=nv3')
+ 
+-        url = 'http://domain/test?arg1=v1;arg2=v2'
+-        self.assertEqual(add_or_replace_parameter(url, 'arg1', 'v3'),
+-                         'http://domain/test?arg1=v3&arg2=v2')
+-
+         self.assertEqual(add_or_replace_parameter("http://domain/moreInfo.asp?prodID=", 'prodID', '20'),
+                          'http://domain/moreInfo.asp?prodID=20')
+         url = 'http://rmc-offers.co.uk/productlist.asp?BCat=2%2C60&CatID=60'
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9c2a48166a..8b460075c0 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6189,6 +6189,7 @@ (define-public python-w3lib
      (origin
        (method url-fetch)
        (uri (pypi-uri "w3lib" version))
+       (patches (search-patches "python-w3lib-broken-test.patch"))
        (sha256
         (base32
          "1pv02lvvmgz2qb61vz1jkjc04fgm4hpfvaj5zm4i3mjp64hd1mha"))))
-- 
2.34.0






^ permalink raw reply related	[relevance 74%]

* [bug#54530] [PATCH] gnu: python-port-for: Remove trailing boolean.
@ 2022-03-22 23:14 70% jgart via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2022-03-22 23:14 UTC (permalink / raw)
  To: 54530; +Cc: jgart

* gnu/packages/python-web.scm (python-port-for)[arguments]: Remove trailing
boolean from lambda function.
---
 gnu/packages/python-web.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9c2a48166a..741d4044ed 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5023,8 +5023,7 @@ (define-public python-port-for
          (add-after 'unpack 'use-urllib3
            (lambda _
              (substitute* "port_for/_download_ranges.py"
-               (("urllib2") "urllib3"))
-             #t)))))
+               (("urllib2") "urllib3")))))))
     (propagated-inputs
      (list python-urllib3))
     (native-inputs
-- 
2.34.0





^ permalink raw reply related	[relevance 70%]

* [bug#54531] [PATCH] gnu: python-livereload: Update to 2.6.3.
@ 2022-03-22 23:15 70% jgart via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2022-03-22 23:15 UTC (permalink / raw)
  To: 54531; +Cc: jgart

* gnu/packages/python-web.scm (python-livereload): Update to 2.6.3.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 741d4044ed..41e0d1c3d6 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5039,14 +5039,14 @@ (define-public python-port-for
 (define-public python-livereload
   (package
     (name "python-livereload")
-    (version "2.6.1")
+    (version "2.6.3")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "livereload" version))
        (sha256
         (base32
-         "0rhggz185bxc3zjnfpmhcvibyzi86i624za1lfh7x7ajsxw4y9c9"))))
+         "0scqjnhg3ap81v36ghp0pik774dnfdkwqsx5j1jfbzarbs32yvvp"))))
     (build-system python-build-system)
     (propagated-inputs
      (list python-six python-tornado))
-- 
2.34.0





^ permalink raw reply related	[relevance 70%]

* [bug#54601] Add python-flask-compress and python-flask-seasurf
@ 2022-03-27 19:43 83% kiasoc5--- via Guix-patches via
    0 siblings, 1 reply; 200+ results
From: kiasoc5--- via Guix-patches via @ 2022-03-27 19:43 UTC (permalink / raw)
  To: 54601

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0001-gnu-Add-python-flask-compress.patch --]
[-- Type: text/x-patch, Size: 1619 bytes --]

From 0d09e7fb5d68f30995663d9ff9621a234678c546 Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@tutanota.com>
Date: Sun, 27 Mar 2022 15:27:43 -0400
Subject: [PATCH 1/2] gnu: Add python-flask-compress.

* gnu/packages/python-web.scm (python-flask-compress): New variable.
---
 gnu/packages/python-web.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9c2a48166a..3de2629b29 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6388,3 +6388,23 @@ (define-public python-tweepy
     (description "This package provides @code{Tweepy}, an easy-to-use Python
 library for accessing the Twitter API.")
     (license license:expat)))
+
+(define-public python-flask-compress
+  (package
+    (name "python-flask-compress")
+    (version "1.11")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "Flask-Compress" version))
+        (sha256
+          (base32 "0762n6g1rz1n01dh0y16fgpi262kl01m0z9liv52asvd8hng6sgm"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-brotli python-flask))
+    (native-inputs (list python-setuptools-scm))
+    (home-page "https://github.com/colour-science/flask-compress")
+    (synopsis
+      "Compress responses in your Flask app with gzip, deflate or brotli.")
+    (description
+      "Compress responses in your Flask app with gzip, deflate or brotli.")
+    (license license:expat)))

base-commit: 2344fb10972a4cefead8e7aa3e0b807da4cf4570
prerequisite-patch-id: 7bac83669fb48a2cf3bf087016093da017ba7ec5
-- 
2.35.1


[-- Attachment #3: 0002-gnu-Add-python-flask-seasurf.patch --]
[-- Type: text/x-patch, Size: 1615 bytes --]

From 7664077a8444286755cf82168d7dc2ad7efb06c1 Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@tutanota.com>
Date: Sun, 27 Mar 2022 15:27:59 -0400
Subject: [PATCH 2/2] gnu: Add python-flask-seasurf.

* gnu/packages/python-web.scm (python-flask-seasurf): New variable.
---
 gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3de2629b29..931d1500b7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6408,3 +6408,28 @@ (define-public python-flask-compress
     (description
       "Compress responses in your Flask app with gzip, deflate or brotli.")
     (license license:expat)))
+
+(define-public python-flask-seasurf
+  (package
+  (name "python-flask-seasurf")
+  (version "0.3.1")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "Flask-SeaSurf" version))
+      (sha256
+        (base32 "04yfwln40iji7vn517mmkflnzxy7wa11yfhs124rch4s7pqhvygz"))))
+  (build-system python-build-system)
+    (arguments
+         `(#:phases
+           (modify-phases %standard-phases
+             (replace 'check
+               (lambda* (#:key tests? #:allow-other-keys)
+                 (when tests?
+                   (invoke "python" "-m" "unittest")))))))
+  (propagated-inputs (list python-flask))
+  (native-inputs (list python-tox))
+  (home-page "https://github.com/maxcountryman/flask-seasurf/")
+  (synopsis "An updated CSRF extension for Flask.")
+  (description "An updated CSRF extension for Flask.")
+  (license license:bsd-3)))
-- 
2.35.1


^ permalink raw reply related	[relevance 83%]

* [bug#54601] Add python-flask-compress and python-flask-seasurf
  @ 2022-03-27 20:49 78%   ` kiasoc5--- via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: kiasoc5--- via Guix-patches via @ 2022-03-27 20:49 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 54601

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

Mar 27, 2022, 19:47 by maximedevos@telenet.be:

> kiasoc5--- via Guix-patches via schreef op zo 27-03-2022 om 21:43
> [+0200]:
>
>> +    (synopsis
>> +      "Compress responses in your Flask app with gzip, deflate or
>> brotli.")
>> +    (description
>> +      "Compress responses in your Flask app with gzip, deflate or
>> brotli.")
>>
>
> The description is missing, and ‘do foo in your Brand(TM) app’ reads
> like marketing.  ’(guix)Synopses and Descriptions’ recommends longer,
> and more descriptive, descriptions.  E.g., what do ‘responses’ mean
> here?  Is it Flask-exclusive, or can it also be used outside a Flask
> context?
>
Forgot to check that. Please see updated patches. Also removed unneeded python-tox input.

> Greetings,
> Maxime.
>


[-- Attachment #2: 0001-gnu-Add-python-flask-compress.patch --]
[-- Type: text/x-patch, Size: 2048 bytes --]

From 35aa7b6052b1096ec1d4279cda31b0cdb8484ba0 Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@tutanota.com>
Date: Sun, 27 Mar 2022 15:27:43 -0400
Subject: [PATCH 1/2] gnu: Add python-flask-compress.

* gnu/packages/python-web.scm (python-flask-compress): New variable.
---
 gnu/packages/python-web.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9c2a48166a..38164d8243 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6388,3 +6388,26 @@ (define-public python-tweepy
     (description "This package provides @code{Tweepy}, an easy-to-use Python
 library for accessing the Twitter API.")
     (license license:expat)))
+
+(define-public python-flask-compress
+  (package
+    (name "python-flask-compress")
+    (version "1.11")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "Flask-Compress" version))
+              (sha256
+               (base32
+                "0762n6g1rz1n01dh0y16fgpi262kl01m0z9liv52asvd8hng6sgm"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-brotli python-flask))
+    (native-inputs (list python-setuptools-scm))
+    (home-page "https://github.com/colour-science/flask-compress")
+    (synopsis "Compress Flask application responses and static files.")
+    (description
+     "Compress Flask application responses and static files with gzip, deflate and brotli without
+a server (like Nginx). Flask-Compress both adds the various headers required for a compressed response
+and compresses the response data. Internally, every time a request is made the extension will check
+if it matches one of the compressible MIME types and whether the client and the server use some common
+compression algorithm, and will automatically attach the appropriate headers.")
+    (license license:expat)))

base-commit: 2344fb10972a4cefead8e7aa3e0b807da4cf4570
prerequisite-patch-id: 7bac83669fb48a2cf3bf087016093da017ba7ec5
-- 
2.35.1


[-- Attachment #3: 0002-gnu-Add-python-flask-seasurf.patch --]
[-- Type: text/x-patch, Size: 2027 bytes --]

From 7406000b099aca3dfaa2cf152e2b4fa1581e60f6 Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@tutanota.com>
Date: Sun, 27 Mar 2022 15:27:59 -0400
Subject: [PATCH 2/2] gnu: Add python-flask-seasurf.

* gnu/packages/python-web.scm (python-flask-seasurf): New variable.
---
 gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 38164d8243..3b70ea7843 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6411,3 +6411,30 @@ (define-public python-flask-compress
 if it matches one of the compressible MIME types and whether the client and the server use some common
 compression algorithm, and will automatically attach the appropriate headers.")
     (license license:expat)))
+
+(define-public python-flask-seasurf
+  (package
+    (name "python-flask-seasurf")
+    (version "0.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "Flask-SeaSurf" version))
+              (sha256
+               (base32
+                "04yfwln40iji7vn517mmkflnzxy7wa11yfhs124rch4s7pqhvygz"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda* (#:key tests? #:allow-other-keys)
+                      (when tests?
+                        (invoke "python" "-m" "unittest")))))))
+    (propagated-inputs (list python-flask))
+    (home-page "https://github.com/maxcountryman/flask-seasurf")
+    (synopsis "Cross-site request forgery (CSRF) extension for Flask.")
+    (description
+     "SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF).
+CSRF attacks are problematic because the mechanism they use is relatively easy to exploit. This
+extension attempts to aid you in securing your application from such attacks. This extension is
+based on the Django middleware.")
+    (license license:bsd-3)))
-- 
2.35.1


^ permalink raw reply related	[relevance 78%]

* [bug#54697] [PATCH] gnu: python-w3lib: Fix build.
@ 2022-04-03 18:36 66% Felix Gruber
  0 siblings, 0 replies; 200+ results
From: Felix Gruber @ 2022-04-03 18:36 UTC (permalink / raw)
  To: 54697; +Cc: Felix Gruber

* gnu/packages/python-web.scm (python-w3lib): Fix build.
  [source]: Add python-w3lib-fix-test-failure.patch.
  [arguments]: Use pytest in the 'check phase.
  [native-inputs]: Add python-pytest.
* gnu/packages/patches/python-w3lib-fix-test-failure.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
---
 gnu/local.mk                                  |  1 +
 .../python-w3lib-fix-test-failure.patch       | 60 +++++++++++++++++++
 gnu/packages/python-web.scm                   | 11 +++-
 3 files changed, 71 insertions(+), 1 deletion(-)
 create mode 100644 gnu/packages/patches/python-w3lib-fix-test-failure.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index aac7362475..6ac1ceb147 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1592,6 +1592,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/python-chai-drop-python2.patch		\
   %D%/packages/patches/python-random2-getrandbits-test.patch		\
   %D%/packages/patches/python-poppler-qt5-fix-build.patch	\
+  %D%/packages/patches/python-w3lib-fix-test-failure.patch	\
   %D%/packages/patches/sdcc-disable-non-free-code.patch		\
   %D%/packages/patches/sdl-pango-api_additions.patch		\
   %D%/packages/patches/sdl-pango-blit_overflow.patch		\
diff --git a/gnu/packages/patches/python-w3lib-fix-test-failure.patch b/gnu/packages/patches/python-w3lib-fix-test-failure.patch
new file mode 100644
index 0000000000..f38fc749df
--- /dev/null
+++ b/gnu/packages/patches/python-w3lib-fix-test-failure.patch
@@ -0,0 +1,60 @@
+From fae6cc40e112cd13697cb0e8d79976f32c72491d Mon Sep 17 00:00:00 2001
+From: Eugenio Lacuesta <eugenio.lacuesta@gmail.com>
+Date: Wed, 10 Mar 2021 12:31:05 -0300
+Subject: [PATCH] [CI] Mark single add_or_replace_parameter test as xfail
+
+---
+This patch is based on upstream commit
+fae6cc40e112cd13697cb0e8d79976f32c72491d which is part of
+https://github.com/scrapy/w3lib/pull/166.
+
+ .gitignore        |  3 ++-
+ tests/test_url.py | 25 ++++++++++++++-----------
+ 2 files changed, 16 insertions(+), 12 deletions(-)
+
+diff --git a/tests/test_url.py b/tests/test_url.py
+index 8b07c00..0f7458e 100644
+--- a/tests/test_url.py
++++ b/tests/test_url.py
+@@ -1,12 +1,14 @@
+-# -*- coding: utf-8 -*-
+ from __future__ import absolute_import
+ import os
+ import unittest
++
++import pytest
++from six.moves.urllib.parse import urlparse
++
+ from w3lib.url import (is_url, safe_url_string, safe_download_url,
+     url_query_parameter, add_or_replace_parameter, url_query_cleaner,
+     file_uri_to_path, parse_data_uri, path_to_file_uri, any_to_uri,
+     urljoin_rfc, canonicalize_url, parse_url, add_or_replace_parameters)
+-from six.moves.urllib.parse import urlparse
+ 
+ 
+ class UrlTests(unittest.TestCase):
+@@ -310,10 +311,6 @@ def test_add_or_replace_parameter(self):
+         self.assertEqual(add_or_replace_parameter(url, 'arg3', 'nv3'),
+                          'http://domain/test?arg1=v1&arg2=v2&arg3=nv3')
+ 
+-        url = 'http://domain/test?arg1=v1;arg2=v2'
+-        self.assertEqual(add_or_replace_parameter(url, 'arg1', 'v3'),
+-                         'http://domain/test?arg1=v3&arg2=v2')
+-
+         self.assertEqual(add_or_replace_parameter("http://domain/moreInfo.asp?prodID=", 'prodID', '20'),
+                          'http://domain/moreInfo.asp?prodID=20')
+         url = 'http://rmc-offers.co.uk/productlist.asp?BCat=2%2C60&CatID=60'
+@@ -338,6 +335,13 @@ def test_add_or_replace_parameter(self):
+         self.assertEqual(add_or_replace_parameter(url, 'arg1', 'v3'),
+                          'http://domain/test?arg1=v3&arg2=v2')
+ 
++    @pytest.mark.xfail(reason="https://github.com/scrapy/w3lib/issues/164")
++    def test_add_or_replace_parameter_fail(self):
++        self.assertEqual(
++            add_or_replace_parameter('http://domain/test?arg1=v1;arg2=v2', 'arg1', 'v3'),
++            'http://domain/test?arg1=v3&arg2=v2'
++        )
++
+     def test_add_or_replace_parameters(self):
+         url = 'http://domain/test'
+         self.assertEqual(add_or_replace_parameters(url, {'arg': 'v'}),
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 41e0d1c3d6..f77d163833 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -49,6 +49,7 @@
 ;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
 ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6188,12 +6189,20 @@ communicate with Microsoft Azure Storage services.")
      (origin
        (method url-fetch)
        (uri (pypi-uri "w3lib" version))
+       (patches (search-patches "python-w3lib-fix-test-failure.patch"))
        (sha256
         (base32
          "1pv02lvvmgz2qb61vz1jkjc04fgm4hpfvaj5zm4i3mjp64hd1mha"))))
     (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-six))
+     (list python-pytest python-six))
     (home-page "https://github.com/scrapy/w3lib")
     (synopsis "Python library of web-related functions")
     (description
-- 
2.30.2





^ permalink raw reply related	[relevance 66%]

* [bug#54735] gnu: Add python-ajsonrpc.
@ 2022-04-05 19:00 86% Peter Polidoro
  0 siblings, 0 replies; 200+ results
From: Peter Polidoro @ 2022-04-05 19:00 UTC (permalink / raw)
  To: 54735

[-- Attachment #1: 0001-gnu-Add-python-ajsonrpc.patch --]
[-- Type: text/x-diff, Size: 2688 bytes --]

From 67805b99176ddac138046dbf0f6ebac0c2dbf866 Mon Sep 17 00:00:00 2001
From: Peter Polidoro <peter@polidoro.io>
Date: Tue, 5 Apr 2022 14:57:16 -0400
Subject: [PATCH] gnu: Add python-ajsonrpc.

* gnu/packages/python-web.scm (python-ajsonrpc): New variable.
---
 gnu/packages/python-web.scm | 50 +++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 41e0d1c3d6..432ff6a97a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -49,6 +49,7 @@
 ;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
 ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6387,3 +6388,52 @@ (define-public python-tweepy
     (description "This package provides @code{Tweepy}, an easy-to-use Python
 library for accessing the Twitter API.")
     (license license:expat)))
+
+(define-public python-quart
+  (package
+    (name "python-quart")
+    (version "0.17.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Quart" version))
+       (sha256
+        (base32 "0h4n2dwzmqifya1razp9s7ppr4ra23ljac9v7sl039rzp3c17wic"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list hypercorn
+           python-aiofiles
+           python-blinker
+           python-click
+           python-itsdangerous
+           python-jinja2
+           python-markupsafe
+           python-toml
+           python-werkzeug))
+    (home-page "https://gitlab.com/pgjones/quart/")
+    (synopsis "Python ASGI web microframework with the same API as Flask")
+    (description
+     "This package provides a Python ASGI web microframework with the same API as
+Flask")
+    (license license:expat)))
+
+(define-public python-ajsonrpc
+  (package
+   (name "python-ajsonrpc")
+   (version "1.2.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (pypi-uri "ajsonrpc" version))
+     (sha256
+      (base32 "17x1a4r4l428mhwn53abki9gzdzq3halyr4lj48fw3dzy0caq6vr"))))
+   (build-system python-build-system)
+   (propagated-inputs
+    (list python-quart
+          python-sanic
+          python-tornado
+          ))
+   (home-page "https://github.com/pavlov99/ajsonrpc")
+   (synopsis "Async JSON-RPC 2.0 protocol + server powered by asyncio")
+   (description "Async JSON-RPC 2.0 protocol + server powered by asyncio")
+   (license license:expat)))
-- 
2.35.1





^ permalink raw reply related	[relevance 86%]

* [bug#54798] [PATCH 4/5] gnu: awscli: Update to 1.22.89.
  @ 2022-04-08 18:37 65% ` Felix Gruber
  0 siblings, 0 replies; 200+ results
From: Felix Gruber @ 2022-04-08 18:37 UTC (permalink / raw)
  To: 54798; +Cc: Felix Gruber

* gnu/packages/python-web.scm (awscli): Update to 1.22.89.
  [source]: Add patch for compatibility with pyyaml 6.0.
* gnu/packages/patches/awscli-support-pyyaml-6.0.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
---
 gnu/local.mk                                  |  1 +
 .../patches/awscli-support-pyyaml-6.0.patch   | 38 +++++++++++++++++++
 gnu/packages/python-web.scm                   |  5 ++-
 3 files changed, 42 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/awscli-support-pyyaml-6.0.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index a44815bdbb..d196764763 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -887,6 +887,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/awesome-reproducible-png.patch		\
   %D%/packages/patches/awesome-4.3-fno-common.patch		\
   %D%/packages/patches/aws-c-auth-install-private-headers.patch	\
+  %D%/packages/patches/awscli-support-pyyaml-6.0.patch		\
   %D%/packages/patches/azr3.patch				\
   %D%/packages/patches/bash-completion-directories.patch	\
   %D%/packages/patches/bash-linux-pgrp-pipe.patch		\
diff --git a/gnu/packages/patches/awscli-support-pyyaml-6.0.patch b/gnu/packages/patches/awscli-support-pyyaml-6.0.patch
new file mode 100644
index 0000000000..a7bb377ba2
--- /dev/null
+++ b/gnu/packages/patches/awscli-support-pyyaml-6.0.patch
@@ -0,0 +1,38 @@
+From ae78bf3a052a06e9433351509baa06bc09c2680f Mon Sep 17 00:00:00 2001
+From: Cyrille <cyrille@bayesimpact.org>
+Date: Mon, 10 Jan 2022 10:57:42 +0100
+Subject: [PATCH] Update supported PyYAML range.
+
+---
+Based on https://github.com/aws/aws-cli/pull/6648.
+
+ setup.cfg | 2 +-
+ setup.py  | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index 59a2f81cc8..0db2418d67 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -6,7 +6,7 @@ requires_dist =
+ 	botocore==1.24.34
+ 	docutils>=0.10,<0.16
+ 	s3transfer>=0.5.0,<0.6.0
+-	PyYAML>=3.10,<5.5
++	PyYAML>=3.10,<6.1
+ 	colorama>=0.2.5,<0.4.4
+ 	rsa>=3.1.2,<4.8
+ 
+diff --git a/setup.py b/setup.py
+index 937e34c075..2925b251ce 100644
+--- a/setup.py
++++ b/setup.py
+@@ -27,7 +27,7 @@ def find_version(*file_paths):
+     'botocore==1.24.34',
+     'docutils>=0.10,<0.16',
+     's3transfer>=0.5.0,<0.6.0',
+-    'PyYAML>=3.10,<5.5',
++    'PyYAML>=3.10,<6.1',
+     'colorama>=0.2.5,<0.4.4',
+     'rsa>=3.1.2,<4.8',
+ ]
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f77d163833..a017e04659 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2858,14 +2858,15 @@ supports url redirection and retries, and also gzip and deflate decoding.")
   (package
     ;; Note: updating awscli typically requires updating botocore as well.
     (name "awscli")
-    (version "1.21.11")
+    (version "1.22.89")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri name version))
        (sha256
         (base32
-         "0fkivwbx4nind5b7l4jhqm5bb9drgqsclcslrg4aggf9rcs4g4s0"))))
+         "0sarg9dbgwg29b8x3cwp54y3kwmv5kjx1wga46c9rwi4f6xi9m2a"))
+       (patches (search-patches "awscli-support-pyyaml-6.0.patch"))))
     (build-system python-build-system)
     (arguments
      ;; FIXME: The 'pypi' release does not contain tests.
-- 
2.30.2





^ permalink raw reply related	[relevance 65%]

* [bug#54798] [PATCH v2 2/4] gnu: awscli: Update to 1.22.90.
  @ 2022-04-17 20:04 70%   ` Felix Gruber
  0 siblings, 0 replies; 200+ results
From: Felix Gruber @ 2022-04-17 20:04 UTC (permalink / raw)
  To: 54798, Ludovic Courtès; +Cc: Felix Gruber

* gnu/packages/python-web.scm (awscli): Update to 1.22.90.
[inputs]: Replace python-botocore-for-awscli with python-botocore.
---
 gnu/packages/python-web.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 28c934e896..b048778932 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2870,14 +2870,14 @@ (define-public awscli
   (package
     ;; Note: updating awscli typically requires updating botocore as well.
     (name "awscli")
-    (version "1.21.11")
+    (version "1.22.90")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri name version))
        (sha256
         (base32
-         "0fkivwbx4nind5b7l4jhqm5bb9drgqsclcslrg4aggf9rcs4g4s0"))))
+         "0ky4ax4xh7s8w1l0hwc7w9ii8afvh9nib3kz09qhiqdinxzrlv54"))))
     (build-system python-build-system)
     (arguments
      ;; FIXME: The 'pypi' release does not contain tests.
@@ -2899,7 +2899,7 @@ (define-public awscli
                 (string-append "cmdline = ['" (which "groff") "'"))))))))
     (inputs
      (list python-colorama-for-awscli
-           python-botocore-for-awscli
+           python-botocore
            python-s3transfer
            python-docutils-0.15
            python-pyyaml
-- 
2.35.1





^ permalink raw reply related	[relevance 70%]

* [bug#54798] [PATCH v3 2/4] gnu: awscli: Update to 1.22.90.
  @ 2022-04-18 11:43 68% ` Felix Gruber
  0 siblings, 0 replies; 200+ results
From: Felix Gruber @ 2022-04-18 11:43 UTC (permalink / raw)
  To: 54798, Ludovic Courtès, Maxime Devos; +Cc: Felix Gruber

* gnu/packages/python-web.scm (awscli): Update to 1.22.90.
[arguments] Use search-input-file to find groff.
[inputs]: Replace python-botocore-for-awscli with python-botocore.
Add groff.
[native-inputs]: Remove groff.
---
 gnu/packages/python-web.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 28c934e896..5fcfd27914 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2870,14 +2870,14 @@ (define-public awscli
   (package
     ;; Note: updating awscli typically requires updating botocore as well.
     (name "awscli")
-    (version "1.21.11")
+    (version "1.22.90")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri name version))
        (sha256
         (base32
-         "0fkivwbx4nind5b7l4jhqm5bb9drgqsclcslrg4aggf9rcs4g4s0"))))
+         "0ky4ax4xh7s8w1l0hwc7w9ii8afvh9nib3kz09qhiqdinxzrlv54"))))
     (build-system python-build-system)
     (arguments
      ;; FIXME: The 'pypi' release does not contain tests.
@@ -2891,21 +2891,22 @@ (define-public awscli
                             "setup.py")
                (("<5.5") "<=6"))))
          (add-after 'unpack 'fix-reference-to-groff
-           (lambda _
+           (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "awscli/help.py"
                (("if not self._exists_on_path\\('groff'\\):") "")
                (("raise ExecutableNotFoundError\\('groff'\\)") "")
                (("cmdline = \\['groff'")
-                (string-append "cmdline = ['" (which "groff") "'"))))))))
+                (string-append "cmdline = ['"
+                               (search-input-file inputs "bin/groff")
+                               "'"))))))))
     (inputs
-     (list python-colorama-for-awscli
-           python-botocore-for-awscli
+     (list groff
+           python-colorama-for-awscli
+           python-botocore
            python-s3transfer
            python-docutils-0.15
            python-pyyaml
            python-rsa))
-    (native-inputs
-     (list groff))
     (home-page "https://aws.amazon.com/cli/")
     (synopsis "Command line client for AWS")
     (description "AWS CLI provides a unified command line interface to the
-- 
2.35.1





^ permalink raw reply related	[relevance 68%]

* [bug#55044] [PATCH 6/8] gnu: Add python-parsel.
    2022-04-20 17:28 70% ` [bug#55044] [PATCH 5/8] gnu: Add python-protego Felix Gruber
@ 2022-04-20 17:28 70% ` Felix Gruber
  2022-04-20 17:28 67% ` [bug#55044] [PATCH 8/8] gnu: Add python-scrapy Felix Gruber
  2 siblings, 0 replies; 200+ results
From: Felix Gruber @ 2022-04-20 17:28 UTC (permalink / raw)
  To: 55044; +Cc: Felix Gruber

* gnu/packages/python-web.scm (python-parsel): New variable.
---
 gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 05104f8fe2..da3f9cf980 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6493,3 +6493,29 @@ by asyncio.")
     (description
       "Pure-Python robots.txt parser with support for modern conventions.")
     (license license:bsd-3)))
+
+(define-public python-parsel
+  (package
+    (name "python-parsel")
+    (version "1.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "parsel" version))
+        (sha256
+          (base32 "0yawf9r3r863lwxj0n89i7h3n8xjbsl5b7n6xg76r68scl5yzvvh"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      (list python-cssselect
+            python-lxml
+            python-six
+            python-w3lib))
+    (native-inputs
+      (list python-pytest python-pytest-runner))
+    (home-page "https://github.com/scrapy/parsel")
+    (synopsis
+      "Parsel is a library to extract data from HTML and XML using XPath and CSS selectors")
+    (description "Parsel is a library to extract and remove data from
+HTML and XML using XPath and CSS selectors, optionally combined with
+regular expressions.")
+    (license license:bsd-3)))
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#55044] [PATCH 8/8] gnu: Add python-scrapy.
    2022-04-20 17:28 70% ` [bug#55044] [PATCH 5/8] gnu: Add python-protego Felix Gruber
  2022-04-20 17:28 70% ` [bug#55044] [PATCH 6/8] gnu: Add python-parsel Felix Gruber
@ 2022-04-20 17:28 67% ` Felix Gruber
  2 siblings, 0 replies; 200+ results
From: Felix Gruber @ 2022-04-20 17:28 UTC (permalink / raw)
  To: 55044; +Cc: Felix Gruber

* gnu/packages/python-web.scm (python-scrapy): New variable.
---
 gnu/packages/python-web.scm | 60 +++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index da3f9cf980..f4ff4f494c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6519,3 +6519,63 @@ by asyncio.")
 HTML and XML using XPath and CSS selectors, optionally combined with
 regular expressions.")
     (license license:bsd-3)))
+
+(define-public python-scrapy
+  (package
+    (name "python-scrapy")
+    (version "2.6.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "Scrapy" version))
+        (sha256
+          (base32 "09rqalbwcz9ix8h0992mzjs50sssxsmmh8w9abkrqchgknjmbzan"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+        (modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "pytest"
+                        ;; requires network access
+                        "--ignore" "tests/test_command_check.py"
+                        "-k"
+                        (string-append
+                         ;; Failing for unknown reasons
+                         "not test_server_set_cookie_domain_suffix_public_private"
+                         " and not test_user_set_cookie_domain_suffix_public_private"
+                         " and not test_pformat")
+                        "tests")))))))
+    (propagated-inputs
+      (list python-botocore ; Optional: For S3FeedStorage class.
+            python-cryptography
+            python-cssselect
+            python-itemadapter
+            python-itemloaders
+            python-lxml
+            python-parsel
+            python-protego
+            python-pydispatcher
+            python-pyopenssl
+            python-queuelib
+            python-service-identity
+            python-setuptools
+            python-tldextract
+            python-twisted
+            python-w3lib
+            python-zope-interface))
+    (native-inputs
+      (list python-pytest
+            python-pyftpdlib
+            python-sybil
+            python-testfixtures
+            python-uvloop
+            ))
+    (home-page "https://scrapy.org")
+    (synopsis "A high-level Web Crawling and Web Scraping framework")
+    (description "Scrapy is a fast high-level web crawling and web
+scraping framework, used to crawl websites and extract structured data
+from their pages. It can be used for a wide range of purposes, from data
+mining to monitoring and automated testing.")
+    (license license:bsd-3)))
-- 
2.30.2





^ permalink raw reply related	[relevance 67%]

* [bug#55044] [PATCH 5/8] gnu: Add python-protego.
  @ 2022-04-20 17:28 70% ` Felix Gruber
  2022-04-20 17:28 70% ` [bug#55044] [PATCH 6/8] gnu: Add python-parsel Felix Gruber
  2022-04-20 17:28 67% ` [bug#55044] [PATCH 8/8] gnu: Add python-scrapy Felix Gruber
  2 siblings, 0 replies; 200+ results
From: Felix Gruber @ 2022-04-20 17:28 UTC (permalink / raw)
  To: 55044; +Cc: Felix Gruber

* gnu/packages/python-web.scm (python-protego): New variable.
---
 gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7e333916b6..05104f8fe2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6466,3 +6466,30 @@ as Flask.")
      "This package provides a Python JSON-RPC 2.0 protocol and server powered
 by asyncio.")
     (license license:expat)))
+
+(define-public python-protego
+  (package
+    (name "python-protego")
+    (version "0.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "Protego" version))
+        (sha256
+          (base32 "1wigcjyhz8zbk562zhgfbkm733dcn65j1swzvki79dys0i1nsrnz"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+        (modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "pytest")))))))
+    (propagated-inputs (list python-six))
+    (native-inputs (list python-pytest))
+    (home-page "https://github.com/scrapy/protego")
+    (synopsis
+      "Pure-Python robots.txt parser with support for modern conventions")
+    (description
+      "Pure-Python robots.txt parser with support for modern conventions.")
+    (license license:bsd-3)))
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#55104] [PATCH 091/232] gnu: python-flask: Update to 2.1.1.
  @ 2022-04-25  3:56 70% ` Maxim Cournoyer
  0 siblings, 0 replies; 200+ results
From: Maxim Cournoyer @ 2022-04-25  3:56 UTC (permalink / raw)
  To: 55104; +Cc: Maxim Cournoyer

* gnu/packages/python-web.scm (python-flask): Update to 2.1.1.
[propagated-inputs]: Add python-asgiref and python-importlib-metadata.
[home-page]: Update.
---
 gnu/packages/python-web.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7e333916b6..161b50b1b6 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2991,13 +2991,13 @@ (define-public python-webtest
 (define-public python-flask
   (package
     (name "python-flask")
-    (version "2.0.2")
+    (version "2.1.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Flask" version))
               (sha256
                (base32
-                "1qilnrdakhbw5k951kczdy8ia0wczh0dpp1vi4qhgmfx6klvhbvv"))))
+                "1j0rjly2yhbm566lq2s8543fs7fz86f77abps539djcfalzbvjd8"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
@@ -3009,8 +3009,13 @@ (define-public python-flask
     (native-inputs
      (list python-pytest))
     (propagated-inputs
-     (list python-itsdangerous python-jinja2 python-click python-werkzeug))
-    (home-page "https://www.palletsprojects.com/p/flask/")
+     (list python-asgiref               ;async extra
+           python-click
+           python-importlib-metadata
+           python-itsdangerous
+           python-jinja2
+           python-werkzeug))
+    (home-page "https://palletsprojects.com/p/flask/")
     (synopsis "Microframework based on Werkzeug, Jinja2 and good intentions")
     (description "Flask is a micro web framework based on the Werkzeug toolkit
 and Jinja2 template engine.  It is called a micro framework because it does not
-- 
2.34.0





^ permalink raw reply related	[relevance 70%]

* [bug#55104] [PATCH 000/232] Update IPython to latest, fix texlive-polyglossia, add more
  @ 2022-04-27 11:50 88%         ` Lars-Dominik Braun
  0 siblings, 0 replies; 200+ results
From: Lars-Dominik Braun @ 2022-04-27 11:50 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 55104

[-- Attachment #1: Type: text/plain, Size: 62 bytes --]

Hi Maxim,

> OK, thanks!
see patches attached.

Cheers,
Lars


[-- Attachment #2: 0001-gnu-python-pytest-sanic-Update-to-1.9.1.patch --]
[-- Type: text/plain, Size: 1165 bytes --]

From 7f4cef6d4446284af90965515bd5a89fa2829c25 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Wed, 27 Apr 2022 09:44:34 +0200
Subject: [PATCH 1/6] gnu: python-pytest-sanic: Update to 1.9.1.

* gnu/packages/python-check.scm (python-pytest-sanic): Update to 1.9.1.
---
 gnu/packages/python-check.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 5fec85b1ba..ef70d9c3d8 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1984,13 +1984,13 @@ (define-public python-stestr
 (define-public python-pytest-sanic
   (package
     (name "python-pytest-sanic")
-    (version "1.7.0")
+    (version "1.9.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "pytest-sanic" version))
               (sha256
                 (base32
-                  "0hm7im77dgqfk8k34qbbfhimg8hifl4zwpa2s3mgbknrjvyw5qpx"))))
+                  "0shq1bqnydj0l3ipb73j1qh5kqcjvzkps30zk8grq3dwmh3wmnkr"))))
     (build-system python-build-system)
     (arguments
      ;; Tests depend on python-sanic.
-- 
2.35.1


[-- Attachment #3: 0006-gnu-python-sanic-Update-to-21.12.1.patch --]
[-- Type: text/plain, Size: 4448 bytes --]

From eefa6b2658122bf320de610b911fcbdfa6bf835d Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Wed, 27 Apr 2022 09:51:09 +0200
Subject: [PATCH 6/6] gnu: python-sanic: Update to 21.12.1.

* gnu/packages/python-web.scm (python-sanic): Update to 21.12.1.
[arguments]<#:phases>: Remove 'use-recent-pytest, update skipped tests in
'check.
[propagated-inputs]: Remove python-httpx, replace python-multidict with
python-multidict-5, add python-sanic-routing.
[native-inputs]: Add python-bandit, python-chardet, python-isort and
python-sanic-testing. Remove python-hstspreload, python-httpcore,
python-pytest-cov and python-urllib3.
---
 gnu/packages/python-web.scm | 53 ++++++++++++++++++++-----------------
 1 file changed, 28 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b2769306be..0d6118ed0d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -86,6 +86,7 @@ (define-module (gnu packages python-web)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages node)
+  #:use-module (gnu packages openstack)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
@@ -6386,53 +6387,55 @@ (define-public python-sanic-testing
 (define-public python-sanic
   (package
     (name "python-sanic")
-    (version "20.12.4")
+    ;; We provide the latest LTS version of python-sanic.
+    (version "21.12.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "sanic" version))
        (sha256
         (base32
-         "0axfc151s7nrykzypzciyvkxxrs5ayx8kxv4r620hjb9w3jjhfnp"))))
+         "0b8mcd1q9qkwcv2qz8nlyaacs0bp7a1l31sdq2m8hhkxykzfq5bg"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'use-recent-pytest
-           ;; Allow using recent dependencies.
-           (lambda* (#:key inputs #:allow-other-keys)
-             (substitute* "setup.py"
-               (("pytest==5.2.1") "pytest")
-               (("multidict>=5.0,<6.0") "multidict")
-               (("httpx==0\\.15\\.4") "httpx"))
-             #t))
-         (replace 'check
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (add-installed-pythonpath inputs outputs)
-             (invoke "pytest" "-vv" "./tests" "-k"
-                     (string-append "not test_zero_downtime "
-                                    "and not test_gunicorn_worker "
-                                    "and not test_logo_")))))))
+      (list
+       #:phases
+         #~(modify-phases %standard-phases
+           (replace 'check
+             (lambda* (#:key tests? #:allow-other-keys)
+               (when tests?
+                 (invoke "pytest" "-vv" "./tests" "-k"
+                         (string-append
+                           ;; PyPi sources lack examples module.
+                           "not test_gunicorn_"
+                           ;; Does not expect brotli and reordered headers.
+                           " and not test_raw_headers"
+                           ;; These look like buggy testcases.
+                           " and not test_zero_downtime"
+                           " and not test_non_default_uvloop_config_raises_warning"
+                           " and not test_listeners_triggered"
+                           " and not test_keep_alive_connection_context"
+                           " and not test_keep_alive_client_timeout"))))))))
     (propagated-inputs
      (list python-aiofiles
            python-httptools
-           python-httpx
-           python-multidict
+           python-multidict-5
+           python-sanic-routing
            python-ujson
            python-uvloop
            python-websockets))
     (native-inputs
      (list gunicorn
+           python-bandit
            python-beautifulsoup4
-           python-hstspreload
-           python-httpcore
+           python-chardet
+           python-isort
            python-pytest
-           python-pytest-cov
            python-pytest-benchmark
            python-pytest-sanic
            python-pytest-sugar
            python-pytest-asyncio
-           python-urllib3
+           python-sanic-testing
            python-uvicorn))
     (home-page
      "https://github.com/sanic-org/sanic/")
-- 
2.35.1


[-- Attachment #4: 0005-gnu-Add-python-sanic-testing.patch --]
[-- Type: text/plain, Size: 1595 bytes --]

From b8373146955fca9fb6925af10bd2541f5745f795 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Wed, 27 Apr 2022 09:50:22 +0200
Subject: [PATCH 5/6] gnu: Add python-sanic-testing.

* gnu/packages/python-web.scm (python-sanic-testing): New variable.
---
 gnu/packages/python-web.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 83be0176f4..b2769306be 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6361,6 +6361,28 @@ (define-public python-sanic-routing
 the @code{BasicRouter}.")
     (license license:expat)))
 
+(define-public python-sanic-testing
+  (package
+    (name "python-sanic-testing")
+    (version "22.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "sanic-testing" version))
+        (sha256
+          (base32 "1vkgi9d3xyik507j4jy9s74mkl81hgx3c2d5y3aa1av9h6wjjivp"))))
+    (build-system python-build-system)
+    (arguments
+      ;; PyPi sources does not contain tests, recursive dependency on python-sanic.
+      (list #:tests? #f))
+    (propagated-inputs (list python-httpx python-sanic-bootstrap python-websockets))
+    (home-page "https://github.com/sanic-org/sanic-testing/")
+    (synopsis "Test clients for Sanic")
+    (description "Internal package for @code{python-sanic}, which is
+meant to be the core testing utility and clients for testing Sanic
+applications.")
+    (license license:expat)))
+
 (define-public python-sanic
   (package
     (name "python-sanic")
-- 
2.35.1


[-- Attachment #5: 0003-gnu-Add-python-sanic-routing.patch --]
[-- Type: text/plain, Size: 1454 bytes --]

From 47997c9f641e8ab85a39167e91810243106dab30 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Wed, 27 Apr 2022 09:48:24 +0200
Subject: [PATCH 3/6] gnu: Add python-sanic-routing.

* gnu/packages/python-web.scm (python-sanic-routing): New variable.
---
 gnu/packages/python-web.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bf31b9dc74..6ffec0d91b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6341,6 +6341,26 @@ (define-public python-hstspreload
 as a Python package.")
     (license license:bsd-3)))
 
+(define-public python-sanic-routing
+  (package
+    (name "python-sanic-routing")
+    (version "0.7.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "sanic-routing" version))
+        (sha256
+          (base32 "0k9paln0jd4sc2bklp977c82n29pk12wiv726siplkh57y5yi70k"))))
+    (build-system python-build-system)
+    (arguments
+      ;; PyPi sources does not contain tests, recursive dependency on python-sanic.
+      (list #:tests? #f))
+    (home-page "https://github.com/sanic-org/sanic-routing/")
+    (synopsis "Routing component for Sanic")
+    (description "Internal package for @code{python-sanic}, which provides
+the @code{BasicRouter}.")
+    (license license:expat)))
+
 (define-public python-sanic
   (package
     (name "python-sanic")
-- 
2.35.1


[-- Attachment #6: 0002-gnu-Add-python-multidict-5.patch --]
[-- Type: text/plain, Size: 1119 bytes --]

From 0d8a6d6405217af07a7ca28e8a7c8aea1e3d08dc Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Wed, 27 Apr 2022 09:45:48 +0200
Subject: [PATCH 2/6] gnu: Add python-multidict-5.

Incompatible with version 4.

* gnu/packages/python-xyz.scm (python-multidict-5): New variable.
---
 gnu/packages/python-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2898b0da6e..a79cc7ea1d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7068,6 +7068,18 @@ (define-public python-multidict
 where key might be occurred more than once in the container.")
     (license license:asl2.0)))
 
+(define-public python-multidict-5
+  (package
+    (inherit python-multidict)
+    (version "5.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "multidict" version))
+       (sha256
+        (base32
+         "1kjrxav572j45xvr1iy60zb2g8zqvrinzdkl4ax36js4vczckl8d"))))))
+
 (define-public python-orderedmultidict
   (package
     (name "python-orderedmultidict")
-- 
2.35.1


[-- Attachment #7: 0004-gnu-Add-python-sanic-bootstrap.patch --]
[-- Type: text/plain, Size: 921 bytes --]

From 51b618907c0ed986dfcd396c52c949b0b6f89d20 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Wed, 27 Apr 2022 09:49:13 +0200
Subject: [PATCH 4/6] gnu: Add python-sanic-bootstrap.

* gnu/packages/python-web.scm (python-sanic-bootstrap): New variable.
---
 gnu/packages/python-web.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6ffec0d91b..83be0176f4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6423,6 +6423,13 @@ (define-public python-sanic
 your code non-blocking and speedy.")
     (license license:expat)))
 
+(define-public python-sanic-bootstrap
+  (package
+     (inherit python-sanic)
+     (name "python-sanic-bootstrap")
+     (arguments (list #:tests? #f))
+     (native-inputs '())))
+
 (define-public python-socketio
   (package
     (name "python-socketio")
-- 
2.35.1


^ permalink raw reply related	[relevance 88%]

* [bug#55424] [PATCH 063/602] gnu: Remove python2-html5lib.
  @ 2022-05-15  4:37 70% ` Maxim Cournoyer
  0 siblings, 0 replies; 200+ results
From: Maxim Cournoyer @ 2022-05-15  4:37 UTC (permalink / raw)
  To: 55424; +Cc: Maxim Cournoyer

* gnu/packages/python-web.scm (python2-html5lib): Delete variable.
(python-html5lib-0.9, python2-html5lib-0.9): Likewise.
---
 gnu/packages/python-web.scm | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7636931091..60970cd386 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1324,25 +1324,6 @@ (define-public python-html5lib
 and written in Python.")
     (license license:expat)))
 
-(define-public python2-html5lib
-  (package-with-python2 python-html5lib))
-
-;; Needed for python-bleach, a dependency of python-notebook
-(define-public python-html5lib-0.9
-  (package
-    (inherit python-html5lib)
-    (version "0.999")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "html5lib" version))
-       (sha256
-        (base32
-         "17n4zfsj6ynmbwdwviywmj8r6nzr3xvfx2zs0xhndmvm51z7z263"))))))
-
-(define-public python2-html5lib-0.9
-  (package-with-python2 python-html5lib-0.9))
-
 (define-public python-html5-parser
   (package
     (name "python-html5-parser")
-- 
2.36.0





^ permalink raw reply related	[relevance 70%]

* [bug#51314] [PATCH v4 10/14] gnu: Add python-flask-login-0.5.
  @ 2022-05-29 18:27 69% ` Vinicius Monego
  0 siblings, 0 replies; 200+ results
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask-login-0.5): New variable.
---
 gnu/packages/python-web.scm | 39 +++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b4a2bc365b..294060c3f6 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3875,6 +3875,45 @@ (define-public python-flask-login
 users' sessions over extended periods of time.")
     (license license:expat)))
 
+(define-public python-flask-login-0.5
+  (package
+    (inherit python-flask-login)
+    (name "python-flask-login")
+    (version "0.5.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/maxcountryman/flask-login")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11ac924w0y4m0kf3mxnxdlidy88jfa7njw5yyrq16dvnx4iwd8gg"))))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "pytest" "-vv" "-c" "/dev/null" "-k"
+                        ;; All the tests below fail with an AssertionError
+                        ;; because of a missing address, e.g.:
+                        ;; E           - /login?next=%2Fsecret
+                        ;; E           + http://foo.com/login?next=%2Fsecret
+                        (string-append
+                         "not test_redirects_to_refresh_view"
+                         " and not test_refresh_with_next_in_session"
+                         " and not test_set_login_view_without_blueprints"
+                         " and not test_unauthorized_redirects_to_login_view"
+                         " and not test_unauthorized_uses_blueprint_login_view"
+                         " and not test_unauthorized_with_next_in_session"
+                         " and not test_unauthorized_with_next_in_strong_session"
+                         " and not test_unauthorized_ignores_host_from_x_forwarded_for_header"
+                         " and not test_unauthorized_uses_host_from_config_when_available"
+                         " and not test_unauthorized_uses_host_from_next_url"
+                         " and not test_unauthorized_uses_host_from_x_forwarded_for_header"))))))))))
+
 (define-public python-oauth2client
   (package
     (name "python-oauth2client")
-- 
2.34.1





^ permalink raw reply related	[relevance 69%]

* [bug#55831] [PATCH] gnu: Add python-starlette.
  @ 2022-06-07 14:35 70% ` peter
  2022-06-07 16:45 70% ` [bug#55831] [PATCH] Add extra dependencies to python-starlette peter
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 200+ results
From: peter @ 2022-06-07 14:35 UTC (permalink / raw)
  To: 55831; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (python-starlette): New variable.
---
 gnu/packages/python-web.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 06a0d2593b..874ef73093 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1200,6 +1200,24 @@ (define-public python-h2
 Python HTTP implementation.")
     (license license:expat)))
 
+(define-public python-starlette
+  (package
+    (name "python-starlette")
+    (version "0.20.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "starlette" version))
+              (sha256
+               (base32
+                "1si8plb5lgwkcaqzccrrisiksdrxldq94kij73i0mizn7l42g0nx"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-anyio python-typing-extensions))
+    (home-page "https://github.com/encode/starlette")
+    (synopsis "Lightweight ASGI framework for building async web services in Python")
+    (description "This package is a lightweight Asynchronous Server Gateway Interface for
+building async web services in Python.")
+    (license license:bsd-3)))
+
 (define-public python-sockjs-tornado
   (package
     (name "python-sockjs-tornado")
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#55831] [PATCH] Add extra dependencies to python-starlette
    2022-06-07 14:35 70% ` [bug#55831] [PATCH] gnu: Add python-starlette peter
@ 2022-06-07 16:45 70% ` peter
  2022-06-07 17:08 70% ` [bug#55831] [PATCH] gnu: python-h11: Update to 0.13.0 peter
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 200+ results
From: peter @ 2022-06-07 16:45 UTC (permalink / raw)
  To: 55831; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

---
 gnu/packages/python-web.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 874ef73093..9a3a11c7d1 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1211,7 +1211,13 @@ (define-public python-starlette
                (base32
                 "1si8plb5lgwkcaqzccrrisiksdrxldq94kij73i0mizn7l42g0nx"))))
     (build-system python-build-system)
-    (propagated-inputs (list python-anyio python-typing-extensions))
+    (propagated-inputs (list python-anyio
+                             python-typing-extensions
+                             python-itsdangerous
+                             python-jinja2
+                             python-multipart
+                             python-pyyaml
+                             python-requests))
     (home-page "https://github.com/encode/starlette")
     (synopsis "Lightweight ASGI framework for building async web services in Python")
     (description "This package is a lightweight Asynchronous Server Gateway Interface for
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#55831] [PATCH] gnu: python-h11: Update to 0.13.0.
    2022-06-07 14:35 70% ` [bug#55831] [PATCH] gnu: Add python-starlette peter
  2022-06-07 16:45 70% ` [bug#55831] [PATCH] Add extra dependencies to python-starlette peter
@ 2022-06-07 17:08 70% ` peter
  2022-06-07 17:13 70% ` [bug#55831] [PATCH] gnu: python-wsproto: Update to 1.1.0 peter
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 200+ results
From: peter @ 2022-06-07 17:08 UTC (permalink / raw)
  To: 55831; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (python-h11): Update to 0.13.0.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9a3a11c7d1..7486d6d08c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1141,13 +1141,13 @@ (define-public python-hpack
 (define-public python-h11
   (package
     (name "python-h11")
-    (version "0.12.0")
+    (version "0.13.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "h11" version))
        (sha256
-        (base32 "0hk0nll6qazsambp3kl8cxxsbl4gv5y9252qadyk0jky0sv2q8j7"))))
+        (base32 "01pzawwhr537ypm966hli0hspzw104d0xk1q9n528yh86l8kr0bh"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#55831] [PATCH] gnu: python-wsproto: Update to 1.1.0.
                     ` (2 preceding siblings ...)
  2022-06-07 17:08 70% ` [bug#55831] [PATCH] gnu: python-h11: Update to 0.13.0 peter
@ 2022-06-07 17:13 70% ` peter
  2022-06-07 20:09 65% ` [bug#55831] [PATCH] gnu: python-httpcore and python-httpx: Update to 0.15.0 and 0.23.0 peter
  2022-06-07 20:26 70% ` [bug#55831] [PATCH] gnu: python-sanic-testing: Update requirements peter
  5 siblings, 0 replies; 200+ results
From: peter @ 2022-06-07 17:13 UTC (permalink / raw)
  To: 55831; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (python-wsproto): Update to 1.1.0.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7486d6d08c..58bdac622a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1935,13 +1935,13 @@ (define-public python-priority
 (define-public python-wsproto
   (package
     (name "python-wsproto")
-    (version "0.15.0")
+    (version "1.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "wsproto" version))
        (sha256
-        (base32 "17gsxlli4w8am1wwwl3k90hpdfa213ax40ycbbvb7hjx1v1rhiv1"))))
+        (base32 "1a5x27qyrq0n4vk6ca47fj5pjdvdrpn5yfyqd49krn3wbkynprd2"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#55831] [PATCH] gnu: python-httpcore and python-httpx: Update to 0.15.0 and 0.23.0
                     ` (3 preceding siblings ...)
  2022-06-07 17:13 70% ` [bug#55831] [PATCH] gnu: python-wsproto: Update to 1.1.0 peter
@ 2022-06-07 20:09 65% ` peter
  2022-06-07 20:26 70% ` [bug#55831] [PATCH] gnu: python-sanic-testing: Update requirements peter
  5 siblings, 0 replies; 200+ results
From: peter @ 2022-06-07 20:09 UTC (permalink / raw)
  To: 55831; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

These packages seem to have cyclic dependencies on each other so they may need
to be updated together.

* gnu/packages/python-web.scm (python-httpcore): Update to 0.15.0.
---
 gnu/packages/python-web.scm | 27 ++++++++++++++++++++-------
 1 file changed, 20 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 58bdac622a..22c09af1ed 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5317,7 +5317,7 @@ (define-public python-vf-1
 (define-public python-httpcore
   (package
     (name "python-httpcore")
-    (version "0.14.7")
+    (version "0.15.0")
     (source
      (origin
        ;; PyPI tarball does not contain tests.
@@ -5327,15 +5327,20 @@ (define-public python-httpcore
              (commit  version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0wdr28vf03l6yxhk8nrvhh7y7x18rqdcfzv1sb6jgzk9zmycrvc7"))))
+        (base32 "0skj8f85l52gl6x449wzaixcwsyayvn59iwn0df4b7ixlz6xhp8l"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'patch-requirements
+           (lambda _
+             (substitute* "setup.py"
+               (("h11>=0\\.11,<0\\.13") "h11"))))
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
-               (invoke "pytest" "-vv" "tests")))))))
+               (invoke "pytest" "-vv" "tests"
+                       "-o""asyncio_mode=auto")))))))
     (native-inputs
      (list python-pytest
            python-pytest-asyncio
@@ -5376,13 +5381,17 @@ (define-public python-httpcore-bootstrap
   (hidden-package
    (package/inherit python-httpcore
      (name "python-httpcore-bootstrap")
-     (arguments (list #:tests? #f))
+     (arguments
+      '(#:tests? #f
+        ;; sanity check fails when arguments overridden
+        #:phases (modify-phases %standard-phases
+                   (delete 'sanity-check))))
      (native-inputs '()))))
 
 (define-public python-httpx
   (package
     (name "python-httpx")
-    (version "0.22.0")
+    (version "0.23.0")
     (source
      (origin
        ;; PyPI tarball does not contain tests.
@@ -5392,7 +5401,7 @@ (define-public python-httpx
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1awr56488b66zyl3cx1f03lq2n07xdg5kb4l46vnsm59s6hr02c5"))))
+        (base32 "0bihm7ylq9ajxz8qyba0xp9qkwm7n06hk01ywkq2vpz65ix5hpdk"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -5478,7 +5487,11 @@ (define-public python-httpx-bootstrap
   (hidden-package
    (package/inherit python-httpx
      (name "python-httpx-bootstrap")
-     (arguments (list #:tests? #f))
+     (arguments
+      '(#:tests? #f
+        ;; sanity check fails when arguments overridden
+        #:phases (modify-phases %standard-phases
+                   (delete 'sanity-check))))
      (native-inputs '())
      (propagated-inputs
       (modify-inputs (package-propagated-inputs python-httpx)
-- 
2.36.1





^ permalink raw reply related	[relevance 65%]

* [bug#55831] [PATCH] gnu: python-sanic-testing: Update requirements.
                     ` (4 preceding siblings ...)
  2022-06-07 20:09 65% ` [bug#55831] [PATCH] gnu: python-httpcore and python-httpx: Update to 0.15.0 and 0.23.0 peter
@ 2022-06-07 20:26 70% ` peter
  5 siblings, 0 replies; 200+ results
From: peter @ 2022-06-07 20:26 UTC (permalink / raw)
  To: 55831; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (): Update to .
---
 gnu/packages/python-web.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 22c09af1ed..afa5473969 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6362,7 +6362,13 @@ (define-public python-sanic-testing
     (arguments
      ;; PyPi sources does not contain tests, recursive dependency on
      ;; python-sanic.
-     (list #:tests? #f))
+     '(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-requirements
+           (lambda _
+             (substitute* "setup.py"
+               (("httpx>=0\\.18,<0\\.23") "httpx")))))))
     (propagated-inputs (list python-httpx python-sanic-bootstrap
                              python-websockets))
     (home-page "https://github.com/sanic-org/sanic-testing/")
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#55831] [PATCH 2/8] gnu: python-h11: Update to 0.13.0.
    2022-06-08 20:55 70% ` [bug#55831] [PATCH 1/8] gnu: Add python-starlette peter
@ 2022-06-08 20:55 70% ` peter
  2022-06-08 20:55 70% ` [bug#55831] [PATCH 3/8] gnu: python-wsproto: Update to 1.1.0 peter
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 200+ results
From: peter @ 2022-06-08 20:55 UTC (permalink / raw)
  To: 55831; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (python-h11): Update to 0.13.0.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9a3a11c7d1..7486d6d08c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1141,13 +1141,13 @@ (define-public python-hpack
 (define-public python-h11
   (package
     (name "python-h11")
-    (version "0.12.0")
+    (version "0.13.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "h11" version))
        (sha256
-        (base32 "0hk0nll6qazsambp3kl8cxxsbl4gv5y9252qadyk0jky0sv2q8j7"))))
+        (base32 "01pzawwhr537ypm966hli0hspzw104d0xk1q9n528yh86l8kr0bh"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#55831] [PATCH 4/8] gnu: python-httpcore and python-httpx: Update to 0.15.0 and 0.23.0
                     ` (2 preceding siblings ...)
  2022-06-08 20:55 70% ` [bug#55831] [PATCH 3/8] gnu: python-wsproto: Update to 1.1.0 peter
@ 2022-06-08 20:55 65% ` peter
  2022-06-08 20:55 70% ` [bug#55831] [PATCH 5/8] gnu: python-sanic-testing: Update requirements peter
  4 siblings, 0 replies; 200+ results
From: peter @ 2022-06-08 20:55 UTC (permalink / raw)
  To: 55831; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

These packages seem to have cyclic dependencies on each other so they may need
to be updated together.

* gnu/packages/python-web.scm (python-httpcore): Update to 0.15.0.
---
 gnu/packages/python-web.scm | 27 ++++++++++++++++++++-------
 1 file changed, 20 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 58bdac622a..22c09af1ed 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5317,7 +5317,7 @@ (define-public python-vf-1
 (define-public python-httpcore
   (package
     (name "python-httpcore")
-    (version "0.14.7")
+    (version "0.15.0")
     (source
      (origin
        ;; PyPI tarball does not contain tests.
@@ -5327,15 +5327,20 @@ (define-public python-httpcore
              (commit  version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0wdr28vf03l6yxhk8nrvhh7y7x18rqdcfzv1sb6jgzk9zmycrvc7"))))
+        (base32 "0skj8f85l52gl6x449wzaixcwsyayvn59iwn0df4b7ixlz6xhp8l"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'patch-requirements
+           (lambda _
+             (substitute* "setup.py"
+               (("h11>=0\\.11,<0\\.13") "h11"))))
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
-               (invoke "pytest" "-vv" "tests")))))))
+               (invoke "pytest" "-vv" "tests"
+                       "-o""asyncio_mode=auto")))))))
     (native-inputs
      (list python-pytest
            python-pytest-asyncio
@@ -5376,13 +5381,17 @@ (define-public python-httpcore-bootstrap
   (hidden-package
    (package/inherit python-httpcore
      (name "python-httpcore-bootstrap")
-     (arguments (list #:tests? #f))
+     (arguments
+      '(#:tests? #f
+        ;; sanity check fails when arguments overridden
+        #:phases (modify-phases %standard-phases
+                   (delete 'sanity-check))))
      (native-inputs '()))))
 
 (define-public python-httpx
   (package
     (name "python-httpx")
-    (version "0.22.0")
+    (version "0.23.0")
     (source
      (origin
        ;; PyPI tarball does not contain tests.
@@ -5392,7 +5401,7 @@ (define-public python-httpx
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1awr56488b66zyl3cx1f03lq2n07xdg5kb4l46vnsm59s6hr02c5"))))
+        (base32 "0bihm7ylq9ajxz8qyba0xp9qkwm7n06hk01ywkq2vpz65ix5hpdk"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -5478,7 +5487,11 @@ (define-public python-httpx-bootstrap
   (hidden-package
    (package/inherit python-httpx
      (name "python-httpx-bootstrap")
-     (arguments (list #:tests? #f))
+     (arguments
+      '(#:tests? #f
+        ;; sanity check fails when arguments overridden
+        #:phases (modify-phases %standard-phases
+                   (delete 'sanity-check))))
      (native-inputs '())
      (propagated-inputs
       (modify-inputs (package-propagated-inputs python-httpx)
-- 
2.36.1





^ permalink raw reply related	[relevance 65%]

* [bug#55831] [PATCH 5/8] gnu: python-sanic-testing: Update requirements.
                     ` (3 preceding siblings ...)
  2022-06-08 20:55 65% ` [bug#55831] [PATCH 4/8] gnu: python-httpcore and python-httpx: Update to 0.15.0 and 0.23.0 peter
@ 2022-06-08 20:55 70% ` peter
  4 siblings, 0 replies; 200+ results
From: peter @ 2022-06-08 20:55 UTC (permalink / raw)
  To: 55831; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (): Update to .
---
 gnu/packages/python-web.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 22c09af1ed..afa5473969 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6362,7 +6362,13 @@ (define-public python-sanic-testing
     (arguments
      ;; PyPi sources does not contain tests, recursive dependency on
      ;; python-sanic.
-     (list #:tests? #f))
+     '(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-requirements
+           (lambda _
+             (substitute* "setup.py"
+               (("httpx>=0\\.18,<0\\.23") "httpx")))))))
     (propagated-inputs (list python-httpx python-sanic-bootstrap
                              python-websockets))
     (home-page "https://github.com/sanic-org/sanic-testing/")
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#55831] [PATCH 3/8] gnu: python-wsproto: Update to 1.1.0.
    2022-06-08 20:55 70% ` [bug#55831] [PATCH 1/8] gnu: Add python-starlette peter
  2022-06-08 20:55 70% ` [bug#55831] [PATCH 2/8] gnu: python-h11: Update to 0.13.0 peter
@ 2022-06-08 20:55 70% ` peter
  2022-06-08 20:55 65% ` [bug#55831] [PATCH 4/8] gnu: python-httpcore and python-httpx: Update to 0.15.0 and 0.23.0 peter
  2022-06-08 20:55 70% ` [bug#55831] [PATCH 5/8] gnu: python-sanic-testing: Update requirements peter
  4 siblings, 0 replies; 200+ results
From: peter @ 2022-06-08 20:55 UTC (permalink / raw)
  To: 55831; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (python-wsproto): Update to 1.1.0.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7486d6d08c..58bdac622a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1935,13 +1935,13 @@ (define-public python-priority
 (define-public python-wsproto
   (package
     (name "python-wsproto")
-    (version "0.15.0")
+    (version "1.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "wsproto" version))
        (sha256
-        (base32 "17gsxlli4w8am1wwwl3k90hpdfa213ax40ycbbvb7hjx1v1rhiv1"))))
+        (base32 "1a5x27qyrq0n4vk6ca47fj5pjdvdrpn5yfyqd49krn3wbkynprd2"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#55831] [PATCH 1/8] gnu: Add python-starlette.
  @ 2022-06-08 20:55 70% ` peter
  2022-06-08 20:55 70% ` [bug#55831] [PATCH 2/8] gnu: python-h11: Update to 0.13.0 peter
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 200+ results
From: peter @ 2022-06-08 20:55 UTC (permalink / raw)
  To: 55831; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (python-starlette): New variable.
---
 gnu/packages/python-web.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 06a0d2593b..9a3a11c7d1 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1200,6 +1200,30 @@ (define-public python-h2
 Python HTTP implementation.")
     (license license:expat)))
 
+(define-public python-starlette
+  (package
+    (name "python-starlette")
+    (version "0.20.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "starlette" version))
+              (sha256
+               (base32
+                "1si8plb5lgwkcaqzccrrisiksdrxldq94kij73i0mizn7l42g0nx"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-anyio
+                             python-typing-extensions
+                             python-itsdangerous
+                             python-jinja2
+                             python-multipart
+                             python-pyyaml
+                             python-requests))
+    (home-page "https://github.com/encode/starlette")
+    (synopsis "Lightweight ASGI framework for building async web services in Python")
+    (description "This package is a lightweight Asynchronous Server Gateway Interface for
+building async web services in Python.")
+    (license license:bsd-3)))
+
 (define-public python-sockjs-tornado
   (package
     (name "python-sockjs-tornado")
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#56015] [PATCH] gnu: python-bottle: Update to 0.12.21.
@ 2022-06-16  6:34 70% jgart via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2022-06-16  6:34 UTC (permalink / raw)
  To: 56015; +Cc: jgart

* gnu/packages/python-web.scm (python-bottle): Update to 0.12.21.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 30c461f247..9bf67c8286 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4196,13 +4196,13 @@ (define-public python-werkzeug-1.0
 (define-public python-bottle
   (package
     (name "python-bottle")
-    (version "0.12.19")
+    (version "0.12.21")
     (source
      (origin
       (method url-fetch)
       (uri (pypi-uri "bottle" version))
       (sha256
-        (base32 "0b6s50vc4iad97b6bb3xnyrgajb3nj6n6jbr5p54a4vapky3zmx9"))))
+        (base32 "0zl8sy4dhafyxqpavy7pjz0qzpakmhgh2qr6pwlw5f82rjv62z3q"))))
     (build-system python-build-system)
     (home-page "https://bottlepy.org/")
     (synopsis "WSGI framework for small web-applications")
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#56043] [PATCH] gnu: grip: Update to 4.6.1 and use gexps.
@ 2022-06-17 20:33 60% Luis Henrique Gomes Higino
  2022-06-18 20:11 59% ` [bug#56043] [PATCH v2] " Luis Henrique Gomes Higino
  0 siblings, 1 reply; 200+ results
From: Luis Henrique Gomes Higino @ 2022-06-17 20:33 UTC (permalink / raw)
  To: 56043; +Cc: Luis Henrique Gomes Higino

* gnu/packages/python-web.scm (grip): Update to 4.6.1 and use gexps.
---
Hi guix,

this patch fixes the build of the grip package by updating it and also rewrites its arguments using gexps.

 gnu/packages/python-web.scm | 76 ++++++++++++++++++-------------------
 1 file changed, 36 insertions(+), 40 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b4500c6d2f..7b07cb72d6 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5176,50 +5176,46 @@ (define-public python-path-and-address
     (license license:expat)))
 
 (define-public grip
-  ;; No release by upstream for quite some time, some bugs fixed since. See:
-  ;; https://github.com/joeyespo/grip/issues/304
-  (let ((commit "27a4d6d87ea1d0ea7f7f120de55baabee3de73e3"))
-    (package
-      (name "grip")
-      (version (git-version "4.5.2" "1" commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/joeyespo/grip")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "0kx5hgb3q19i4l18a4vqdq9af390xgpk88lp2ay75qi96k0dc68w"))))
-      (build-system python-build-system)
-      (propagated-inputs
-       (list python-docopt
-             python-flask
-             python-markdown
-             python-path-and-address
-             python-pygments
-             python-requests))
-      (native-inputs
-       (list python-pytest python-responses))
-      (arguments
-       `(#:phases
-         (modify-phases %standard-phases
-           (replace 'check
-             (lambda* (#:key inputs outputs #:allow-other-keys)
-               (add-installed-pythonpath inputs outputs)
-               (setenv "PATH" (string-append
-                                (getenv "PATH") ":"
-                                (assoc-ref %outputs "out") "/bin"))
-               (invoke "py.test" "-m" "not assumption"))))))
-      (home-page "https://github.com/joeyespo/grip")
-      (synopsis "Preview Markdown files using the GitHub API")
-      (description "Grip is a command-line server application written in Python
+  (package
+    (name "grip")
+    (version "4.6.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/joeyespo/grip")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0vhimd99zw7s1fihwr6yfij6ywahv9gdrfcf5qljvzh75mvzcwh8"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-docopt
+                             python-flask
+                             python-markdown
+                             python-path-and-address
+                             python-pygments
+                             python-requests))
+    (native-inputs (list python-pytest python-responses))
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (replace 'check
+                 (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+                   (when tests?
+                     (add-installed-pythonpath inputs outputs)
+                     (setenv "PATH"
+                             (string-append (getenv "PATH") ":"
+                                            #$output "/bin"))
+                     (invoke "py.test" "-m" "not assumption")))))))
+    (home-page "https://github.com/joeyespo/grip")
+    (synopsis "Preview Markdown files using the GitHub API")
+    (description
+     "Grip is a command-line server application written in Python
 that uses the GitHub Markdown API to render a local Markdown file.  The styles
 and rendering come directly from GitHub, so you'll know exactly how it will
 appear.  Changes you make to the file will be instantly reflected in the browser
 without requiring a page refresh.")
-      (license license:expat))))
+    (license license:expat)))
 
 (define-public python-port-for
   (package
-- 
2.36.1





^ permalink raw reply related	[relevance 60%]

* [bug#56043] [PATCH v2] gnu: grip: Update to 4.6.1 and use gexps.
  2022-06-17 20:33 60% [bug#56043] [PATCH] gnu: grip: Update to 4.6.1 and use gexps Luis Henrique Gomes Higino
@ 2022-06-18 20:11 59% ` Luis Henrique Gomes Higino
  0 siblings, 0 replies; 200+ results
From: Luis Henrique Gomes Higino @ 2022-06-18 20:11 UTC (permalink / raw)
  To: 56043; +Cc: Luis Henrique Gomes Higino

* gnu/packages/python-web.scm (grip): Update to 4.6.1 and use gexps.
---
I had forgot to add a copyright line in the previous version 😓.
 gnu/packages/python-web.scm | 77 ++++++++++++++++++-------------------
 1 file changed, 37 insertions(+), 40 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b4500c6d2f..9284c4dc42 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -51,6 +51,7 @@
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
 ;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
+;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5176,50 +5177,46 @@ (define-public python-path-and-address
     (license license:expat)))
 
 (define-public grip
-  ;; No release by upstream for quite some time, some bugs fixed since. See:
-  ;; https://github.com/joeyespo/grip/issues/304
-  (let ((commit "27a4d6d87ea1d0ea7f7f120de55baabee3de73e3"))
-    (package
-      (name "grip")
-      (version (git-version "4.5.2" "1" commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/joeyespo/grip")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "0kx5hgb3q19i4l18a4vqdq9af390xgpk88lp2ay75qi96k0dc68w"))))
-      (build-system python-build-system)
-      (propagated-inputs
-       (list python-docopt
-             python-flask
-             python-markdown
-             python-path-and-address
-             python-pygments
-             python-requests))
-      (native-inputs
-       (list python-pytest python-responses))
-      (arguments
-       `(#:phases
-         (modify-phases %standard-phases
-           (replace 'check
-             (lambda* (#:key inputs outputs #:allow-other-keys)
-               (add-installed-pythonpath inputs outputs)
-               (setenv "PATH" (string-append
-                                (getenv "PATH") ":"
-                                (assoc-ref %outputs "out") "/bin"))
-               (invoke "py.test" "-m" "not assumption"))))))
-      (home-page "https://github.com/joeyespo/grip")
-      (synopsis "Preview Markdown files using the GitHub API")
-      (description "Grip is a command-line server application written in Python
+  (package
+    (name "grip")
+    (version "4.6.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/joeyespo/grip")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0vhimd99zw7s1fihwr6yfij6ywahv9gdrfcf5qljvzh75mvzcwh8"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-docopt
+                             python-flask
+                             python-markdown
+                             python-path-and-address
+                             python-pygments
+                             python-requests))
+    (native-inputs (list python-pytest python-responses))
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (replace 'check
+                 (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+                   (when tests?
+                     (add-installed-pythonpath inputs outputs)
+                     (setenv "PATH"
+                             (string-append (getenv "PATH") ":"
+                                            #$output "/bin"))
+                     (invoke "py.test" "-m" "not assumption")))))))
+    (home-page "https://github.com/joeyespo/grip")
+    (synopsis "Preview Markdown files using the GitHub API")
+    (description
+     "Grip is a command-line server application written in Python
 that uses the GitHub Markdown API to render a local Markdown file.  The styles
 and rendering come directly from GitHub, so you'll know exactly how it will
 appear.  Changes you make to the file will be instantly reflected in the browser
 without requiring a page refresh.")
-      (license license:expat))))
+    (license license:expat)))
 
 (define-public python-port-for
   (package
-- 
2.36.1





^ permalink raw reply related	[relevance 59%]

* [bug#56196] [PATCH] gnu: Add python-http-client.
@ 2022-06-24 15:27 70% Antero Mejr via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: Antero Mejr via Guix-patches via @ 2022-06-24 15:27 UTC (permalink / raw)
  To: 56196

* gnu/packages/python-web.scm (python-http-client): New variable.
---
 gnu/packages/python-web.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6c121907e6..05fb5ab304 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -51,6 +51,7 @@
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
 ;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
+;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -7546,3 +7547,25 @@ (define-public python-zeep
 @end itemize")
     (license license:expat)))
 
+(define-public python-http-client
+  (package
+    (name "python-http-client")
+    (version "3.3.7")
+    (home-page "https://github.com/sendgrid/python-http-client")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0z0ziw3f4zw5fj4spiwhhs2x8qs3i5999ry2p6a5sc8b1lkkj2zi"))
+              (snippet #~(begin
+                           (use-modules ((guix build utils)))
+                           (delete-file "tests/profile.py")))))
+    (build-system python-build-system)
+    (synopsis "HTTP REST client for Python")
+    (description
+     "This package provides access to any RESTful or RESTful-like API.")
+    (license license:expat)))
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#56208] [PATCH] gnu: Add python-sendgrid.
@ 2022-06-25  4:25 70% Antero Mejr via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: Antero Mejr via Guix-patches via @ 2022-06-25  4:25 UTC (permalink / raw)
  To: 56208

Depends on patch #56196 (python-http-client) and #56207 (python-starkbank-ecdsa).
https://issues.guix.gnu.org/56196
https://issues.guix.gnu.org/56207

* gnu/packages/python-web.scm (python-sendgrid): New variable.
---
 gnu/packages/python-web.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6c121907e6..1afa0ef487 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7546,3 +7546,27 @@ (define-public python-zeep
 @end itemize")
     (license license:expat)))
 
+(define-public python-sendgrid
+  (package
+    (name "python-sendgrid")
+    (version "6.9.7")
+    (home-page "https://github.com/sendgrid/sendgrid-python/")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0kvp4gm3bpcsj2mkv05pgvlcv1jlsfhcljcv61wz5kq9d273h7rg"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:tests? #f)) ;241/340 tests fail due to attempted web access
+    (propagated-inputs (list python-http-client python-starkbank-ecdsa))
+    (synopsis "SendGrid API library for Python")
+    (description
+     "The @code{sendgrid} Python library allows access to the
+SendGrid Web API v3.  Version 3+ of the library provides full support for all
+SendGrid Web API v3 endpoints, including the new v3 /mail/send.")
+    (license license:expat)))
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#52997] [PATCH] gnu: Add python-facebook-sdk.
  2022-01-04  0:30 70% [bug#52997] [PATCH] gnu: Add python-facebook-sdk Giacomo Leidi via Guix-patches via
  2022-03-05 23:28 70% ` Giacomo Leidi via Guix-patches via
@ 2022-07-01 21:43 70% ` Giacomo Leidi via Guix-patches via
  1 sibling, 0 replies; 200+ results
From: Giacomo Leidi via Guix-patches via @ 2022-07-01 21:43 UTC (permalink / raw)
  To: 52997; +Cc: Giacomo Leidi

* gnu/packages/python-web.scm (python-facebook-sdk): New variable.
---
 gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6f951595c8..fc61951b3c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7183,6 +7183,35 @@ (define-public python-tweepy
 library for accessing the Twitter API.")
     (license license:expat)))
 
+(define-public python-facebook-sdk
+  (package
+    (name "python-facebook-sdk")
+    (version "3.1.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri
+         (git-reference
+          (url "https://github.com/mobolic/facebook-sdk")
+          (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "0p7p0wvcspd9p8d6r25bgjbf0ihdw5g1jw3dylwngrazdmc3g36b"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Tests require network access.
+     `(#:tests? #f))
+    (propagated-inputs `(("python-requests" ,python-requests)))
+    (home-page "https://facebook-sdk.readthedocs.io")
+    (synopsis
+      "Facebook Graph API client in Python")
+    (description
+      "This client library is designed to support the Facebook Graph API and
+the official Facebook JavaScript SDK, which is the canonical way to implement
+Facebook authentication.")
+    (license license:asl2.0)))
+
 (define-public python-quart
   (package
     (name "python-quart")

base-commit: aba1ee5553099d45eb22d9ca1f685502146a49d0
-- 
2.36.1





^ permalink raw reply related	[relevance 70%]

* [bug#56404] [PATCH 1/2] gnu: Add python-msal.
  @ 2022-07-05 17:24 66% ` John Kehayias via Guix-patches via
  2022-07-05 17:25 63% ` [bug#56404] [PATCH 2/2] gnu: Add oauth2ms John Kehayias via Guix-patches via
  1 sibling, 0 replies; 200+ results
From: John Kehayias via Guix-patches via @ 2022-07-05 17:24 UTC (permalink / raw)
  To: 56404@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-msal.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-python-msal.patch, Size: 2219 bytes --]

From 4667c19525d5a2e602e13fde46120d4dcac0d6b9 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Tue, 5 Jul 2022 13:12:43 -0400
Subject: [PATCH 1/2] gnu: Add python-msal.

* gnu/packages/python-web.scm (python-msal): New variable.
---
 gnu/packages/python-web.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6f951595c8..a2dcf49569 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2954,6 +2954,38 @@ (define-public python-requests-ftp
 adapter for use with the Requests library.")
     (license license:asl2.0)))
 
+(define-public python-msal
+  (package
+    (name "python-msal")
+    (version "1.18.0")
+    (home-page
+     "https://github.com/AzureAD/microsoft-authentication-library-for-python")
+    (source (origin
+              (method git-fetch)
+              ;; Pypi does not have tests.
+              (uri (git-reference (url home-page) (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "02d9vlvp08q1yffgn7a0y19451py1jly67q5ld6m2d9xidbrvac1"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Tests (all?) rely on network access and only some can be disabled by
+     ;; setting the environment variable TRAVIS_TAG.
+     (list #:tests? #f))
+    (native-inputs (list python-mock))
+    (propagated-inputs (list python-cryptography python-pyjwt python-requests))
+    (synopsis "Microsoft Authentication Library (MSAL) for Python")
+    (description
+     "The Microsoft Authentication Library for Python enables applications to
+integrate with the Microsoft identity platform.  It allows you to sign in
+users or apps with Microsoft identities (Azure AD, Microsoft Accounts and
+Azure AD B2C accounts) and obtain tokens to call Microsoft APIs such as
+Microsoft Graph or your own APIs registered with the Microsoft identity
+platform.  It is built using industry standard OAuth2 and OpenID Connect
+protocols.")
+    (license license:expat)))
+
 (define-public python-oauthlib
   (package
     (name "python-oauthlib")
-- 
2.36.1


^ permalink raw reply related	[relevance 66%]

* [bug#56404] [PATCH 2/2] gnu: Add oauth2ms.
    2022-07-05 17:24 66% ` [bug#56404] [PATCH 1/2] gnu: Add python-msal John Kehayias via Guix-patches via
@ 2022-07-05 17:25 63% ` John Kehayias via Guix-patches via
  1 sibling, 0 replies; 200+ results
From: John Kehayias via Guix-patches via @ 2022-07-05 17:25 UTC (permalink / raw)
  To: 56404@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-oauth2ms.patch --]
[-- Type: text/x-patch; name=0002-gnu-Add-oauth2ms.patch, Size: 3470 bytes --]

From 316c05e7519c0d9fc3ccefbb89dbfcc19104d3c1 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Tue, 5 Jul 2022 13:13:07 -0400
Subject: [PATCH 2/2] gnu: Add oauth2ms.

* gnu/packages/python-web.scm (oauth2ms): New variable.
---
 gnu/packages/python-web.scm | 41 +++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a2dcf49569..834b40fc58 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -73,16 +73,20 @@ (define-module (gnu packages python-web)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix build-system copy)
   #:use-module (guix build-system python)
   #:use-module (guix gexp)
   #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages base)
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages django)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gnupg)
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages libevent)
@@ -2986,6 +2990,43 @@ (define-public python-msal
 protocols.")
     (license license:expat)))
 
+(define-public oauth2ms
+  (let ((commit "a1ef0cabfdea57e9309095954b90134604e21c08") (revision "0"))
+    (package
+      (name "oauth2ms")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/harishkrupo/oauth2ms")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0dqi6n4npdrvb42r672n4sl1jl8z5lsk554fwiiihpj0faa9dx64"))))
+      (build-system copy-build-system)
+      (arguments
+       (list #:install-plan #~`(("oauth2ms" "bin/oauth2ms")
+                                ("."
+                                 #$(string-append "share/doc/" name "-" version "/")
+                                 #:include-regexp ("\\.org$")))
+             #:phases #~(modify-phases %standard-phases
+                          (add-after 'install 'wrap-pythonpath
+                            (lambda* (#:key inputs outputs #:allow-other-keys)
+                              (let ((path (getenv "GUIX_PYTHONPATH")))
+                                (wrap-program (string-append #$output
+                                                             "/bin/oauth2ms")
+                                              `("GUIX_PYTHONPATH" ":" prefix
+                                                (,path)))))))))
+      (inputs (list bash-minimal python python-gnupg python-msal python-pyxdg))
+      (home-page "https://github.com/harishkrupo/oauth2ms")
+      (synopsis "XOAUTH2 compatible Microsoft Office 365 token fetcher")
+      (description
+       "Oauth2ms can be used to fetch OAuth 2.0 tokens from the Microsoft Identity
+endpoint.  Additionally, it can encode the token in the XOAUTH2 format to be
+used as authentication in IMAP mail servers.")
+      (license license:asl2.0))))
+
 (define-public python-oauthlib
   (package
     (name "python-oauthlib")
-- 
2.36.1


^ permalink raw reply related	[relevance 63%]

* [bug#56701] [PATCH 02/19] gnu: Add python-requests-kerberos.
  @ 2022-07-22 14:02 69% ` Hartmut Goebel
  0 siblings, 0 replies; 200+ results
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	[relevance 69%]

* [bug#56706] [PATCH 15/17] gnu: Add python-pyactiveresource.
  @ 2022-07-22 15:48 68% ` Hartmut Goebel
  2022-07-22 15:48 70% ` [bug#56706] [PATCH 16/17] gnu: Add python-shopifyapi Hartmut Goebel
  1 sibling, 0 replies; 200+ results
From: Hartmut Goebel @ 2022-07-22 15:48 UTC (permalink / raw)
  To: 56706

* gnu/packages/python-web.scm (python-pyactiveresource): New variable.
---
 gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5e1bc8c7aa..07e6625964 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7611,3 +7611,30 @@ resources using Web Application Description Language (WADL) files as guides.")
 SendGrid Web API v3.  Version 3+ of the library provides full support for all
 SendGrid Web API v3 endpoints, including the new v3 /mail/send.")
     (license license:expat)))
+
+(define-public python-pyactiveresource
+  (package
+    (name "python-pyactiveresource")
+    (version "2.2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pyactiveresource" version))
+              (sha256
+               (base32
+                "1n7xvzh1j8fxal0gx9bgg1ayrp3q9mb1a2vb12d6s86wa93880rg"))))
+    (build-system python-build-system)
+    (native-inputs (list python-dateutil python-pyyaml))
+    (propagated-inputs (list python-six))
+    (home-page "https://github.com/Shopify/pyactiveresource/")
+    (synopsis "ActiveResource for Python")
+    (description "This package provides a Python port of the ActiveResource
+project.
+
+Active Resource attempts to provide a coherent wrapper object-relational
+mapping for REST web services.  It follows the same philosophy as Active
+Record, in that one of its prime aims is to reduce the amount of code needed
+to map to these resources.  This is made possible by relying on a number of
+code- and protocol-based conventions that make it easy for Active Resource to
+infer complex relations and structures.")
+    (license license:expat)))
+
-- 
2.30.4





^ permalink raw reply related	[relevance 68%]

* [bug#56706] [PATCH 16/17] gnu: Add python-shopifyapi.
    2022-07-22 15:48 68% ` [bug#56706] [PATCH 15/17] gnu: Add python-pyactiveresource Hartmut Goebel
@ 2022-07-22 15:48 70% ` Hartmut Goebel
  1 sibling, 0 replies; 200+ results
From: Hartmut Goebel @ 2022-07-22 15:48 UTC (permalink / raw)
  To: 56706

* gnu/packages/python-web.scm (python-shopifyapi): New variable.
---
 gnu/packages/python-web.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 07e6625964..ee722346b6 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7638,3 +7638,26 @@ code- and protocol-based conventions that make it easy for Active Resource to
 infer complex relations and structures.")
     (license license:expat)))
 
+(define-public python-shopifyapi
+  (package
+    (name "python-shopifyapi")
+    (version "12.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "ShopifyAPI" version))
+              (sha256
+               (base32
+                "03np9mkycqbw5l5vk0srmq353q3vmbycbbarzv0cg3z703p81gnb"))))
+    (build-system python-build-system)
+    (native-inputs (list python-mock))
+    (propagated-inputs (list python-pyactiveresource python-pyjwt
+                             python-pyyaml python-six))
+    (home-page "https://github.com/Shopify/shopify_python_api")
+    (synopsis "Shopify API for Python")
+    (description "This package provides the Shopify API for Python.
+
+The ShopifyAPI library allows Python developers to programmatically access the
+admin section of stores using an ActiveResource-like interface similar the
+ruby Shopify API gem.  The library makes HTTP requests to Shopify in order to
+list, create, update, or delete resources (e.g. Order, Product, Collection).")
+    (license license:expat)))
-- 
2.30.4





^ permalink raw reply related	[relevance 70%]

* [bug#56740] [PATCH 2/6] gnu: Add python-starlette.
  @ 2022-07-24 14:45 70% ` Hartmut Goebel
  0 siblings, 0 replies; 200+ results
From: Hartmut Goebel @ 2022-07-24 14:45 UTC (permalink / raw)
  To: 56740

* gnu/packages/python-web.scm (python-starlette): New variable.
---
 gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ee722346b6..80a36bd04c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7661,3 +7661,29 @@ admin section of stores using an ActiveResource-like interface similar the
 ruby Shopify API gem.  The library makes HTTP requests to Shopify in order to
 list, create, update, or delete resources (e.g. Order, Product, Collection).")
     (license license:expat)))
+
+(define-public python-starlette
+  (package
+    (name "python-starlette")
+    (version "0.20.4")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "starlette" version))
+              (sha256
+               (base32
+                "112hmwk4fh4dl21nlr2xd37h43xzxpjxfnic7v7fz3wr5w9g7z22"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-anyio
+                             python-typing-extensions
+                             ;; [all] extra dependencies:
+                             python-itsdangerous
+                             python-jinja2
+                             python-multipart
+                             python-pyyaml
+                             python-requests))
+    (home-page "https://github.com/encode/starlette")
+    (synopsis "Little ASGI library")
+    (description
+     "Starlette is a lightweight ASGI (Asynchronous Server Gateway
+Interface) framework/toolkit for building async web services in Python.")
+    (license license:bsd-3)))
-- 
2.30.4





^ permalink raw reply related	[relevance 70%]

* [bug#56803] [PATCH 5/6] gnu: Update python-cloudscraper.
  @ 2022-07-27 19:00 69% ` Tomasz Jeneralczyk
  0 siblings, 0 replies; 200+ results
From: Tomasz Jeneralczyk @ 2022-07-27 19:00 UTC (permalink / raw)
  To: 56803; +Cc: Tomasz Jeneralczyk

Neither 1.2.58 nor 1.2.60 version of python-cloudscraper requires
compatibility with python2 afaik.

This removes possible collisions with packages that depend on the mainstream
version of python-pyparsing.

* gnu/packages/python-web.scm (python-cloudscraper): Update to 1.2.60
* gnu/packages/python-web.scm (python-cloudscraper)[propagated-inputs]: Change
python-pyparsing to its mainstream version
---
 gnu/packages/python-web.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7c5e5651c8..42e501d3dd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -53,6 +53,7 @@
 ;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
 ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
 ;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
+;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6243,17 +6244,16 @@ (define-public python-http-ece
 (define-public python-cloudscraper
   (package
     (name "python-cloudscraper")
-    (version "1.2.58")
+    (version "1.2.60")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/VeNoMouS/cloudscraper")
-             ;; Corresponds to 1.2.58
-             (commit "f3a3d067ea8b5238e9a0948aed0c3fa0d9c29b96")))
+             (commit "1.2.60")))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "18fbp086imabjxly04rrchbf6n6m05bpd150zxbw7z2w3mjnpsqd"))
+        (base32 "00cmxgwdm0x1j4a4ipwvpzih735hdzidljbijk1b3laj3dgvnvsm"))
        (modules '((guix build utils)))
        (snippet
         '(with-directory-excursion "cloudscraper"
@@ -6293,7 +6293,7 @@ (define-public python-cloudscraper
            python-requests
            python-requests-toolbelt
            python-responses
-           python-pyparsing-2.4.7))
+           python-pyparsing))
     (native-inputs
      (list python-pytest))
     (home-page "https://github.com/venomous/cloudscraper")
-- 
2.37.1





^ permalink raw reply related	[relevance 69%]

* [bug#57056] [PATCH 1/3] gnu: Add python-whatthepatch.
  @ 2022-08-08 10:36 70% ` Nicolas Graves via Guix-patches via
  2022-08-12 11:00 70% ` [bug#57056] [PATCH v2 " Nicolas Graves via Guix-patches via
  2022-08-14 16:35 70% ` [bug#57056] [PATCH v3 " Nicolas Graves via Guix-patches via
  2 siblings, 0 replies; 200+ results
From: Nicolas Graves via Guix-patches via @ 2022-08-08 10:36 UTC (permalink / raw)
  To: 57056; +Cc: ngraves

* gnu/packages/python-web.scm (python-whatthepatch): New variable.
---
 gnu/packages/python-web.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7c5e5651c8..24ab022777 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7666,3 +7666,20 @@ (define-public python-sendgrid
 SendGrid Web API v3.  Version 3+ of the library provides full support for all
 SendGrid Web API v3 endpoints, including the new v3 /mail/send.")
     (license license:expat)))
+
+(define-public python-whatthepatch
+  (package
+    (name "python-whatthepatch")
+    (version "1.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "whatthepatch" version))
+              (sha256
+               (base32
+                "17zspm5sxhvggkdhwq4s0fzf4mkc825xshn734g2j2iy2xcylh65"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/cscorley/whatthepatch")
+    (synopsis "Patch parsing and application")
+    (description
+     "This package provides a library to parse and apply patches.")
+    (license license:expat)))
-- 
2.37.1





^ permalink raw reply related	[relevance 70%]

* [bug#57094] [PATCH 3/9] gnu: Add python-curlylint.
  @ 2022-08-09 22:43 69% ` Nicolas Graves via Guix-patches via
  2022-08-09 22:43 69% ` [bug#57094] [PATCH 8/9] gnu: Add python-djhtml Nicolas Graves via Guix-patches via
  1 sibling, 0 replies; 200+ results
From: Nicolas Graves via Guix-patches via @ 2022-08-09 22:43 UTC (permalink / raw)
  To: 57094; +Cc: ngraves

* gnu/packages/python-web.scm (python-curlylint): New variable.
---
 gnu/packages/python-web.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7c5e5651c8..0c02c4f889 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -550,6 +550,44 @@ (define-public python-css-html-js-minify
     ;; looks like the user can choose a license.
     (license (list license:gpl3+ license:lgpl3+ license:expat))))
 
+(define-public python-curlylint
+  (package
+    (name "python-curlylint")
+    (version "0.13.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "curlylint" version))
+       (sha256
+        (base32
+         "0li72vig9ibrdfazvaprfawrq84ylg00byrfq554081r1wb9v2q0"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (delete 'sanity-check)
+         (replace 'check
+           (lambda* (#:key tests? inputs #:allow-other-keys)
+             (if tests?
+                 (lambda _
+                   (substitute* "setup.py"
+                     (("parsy==1.1.0") "parsy>=1.1.0"))
+                   (invoke "pytest" "-vv"))
+                 (format #t "test suite not run~%")))))))
+    (propagated-inputs (list python-attrs
+                             python-click
+                             python-dataclasses
+                             python-parsy
+                             python-pathspec
+                             python-toml))
+    (home-page "https://github.com/thibaudcolas/curlylint")
+    (synopsis
+     "Experimental HTML templates linting")
+    (description
+     "This package provides experimental HTML templates linting for Jinja,
+Nunjucks, Django templates, Twig and Liquid.")
+    (license license:expat)))
+
 (define-public python-aws-sam-translator
   (package
     (name "python-aws-sam-translator")
-- 
2.37.1





^ permalink raw reply related	[relevance 69%]

* [bug#57094] [PATCH 8/9] gnu: Add python-djhtml.
    2022-08-09 22:43 69% ` [bug#57094] [PATCH 3/9] gnu: Add python-curlylint Nicolas Graves via Guix-patches via
@ 2022-08-09 22:43 69% ` Nicolas Graves via Guix-patches via
  1 sibling, 0 replies; 200+ results
From: Nicolas Graves via Guix-patches via @ 2022-08-09 22:43 UTC (permalink / raw)
  To: 57094; +Cc: ngraves

* gnu/packages/python-web.scm (python-djhtml): New variable.
---
 gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 0c02c4f889..d8ebca876f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1885,6 +1885,33 @@ (define-public python-databricks-cli
 Databricks REST APIs.")
     (license license:asl2.0)))
 
+(define-public python-djhtml
+  (package
+    (name "python-djhtml")
+    (version "1.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "djhtml" version))
+       (sha256
+        (base32 "1csyq47rpfdgigxd4kpil90vl6jrmq42agr04mhsbqj5kh70dffk"))))
+    (build-system python-build-system)
+    (native-inputs (list python-black python-flake8 python-isort python-nox
+                         python-pre-commit))
+    (home-page "https://github.com/rtts/djhtml")
+    (synopsis "Django/Jinja template indenter")
+    (description
+"This package provides a fully automatic template indenter that works with
+mixed HTML/CSS/Javascript templates that contain Django or Jinja template
+tags. It works similar to other code-formatting tools such as
+@code{python-black} and interoperates nicely with @code{pre-commit}.
+
+DjHTML is an indenter and not a formatter: it will only add/remove whitespace
+at the beginning of lines. It will not insert newlines or other
+characters. The goal is to correctly indent already well-structured templates,
+not to fix broken ones.")
+    (license license:gpl3)))
+
 (define-public python-openid-cla
   (package
     (name "python-openid-cla")
-- 
2.37.1





^ permalink raw reply related	[relevance 69%]

* [bug#57056] [PATCH v2 1/3] gnu: Add python-whatthepatch.
    2022-08-08 10:36 70% ` [bug#57056] [PATCH 1/3] gnu: Add python-whatthepatch Nicolas Graves via Guix-patches via
@ 2022-08-12 11:00 70% ` Nicolas Graves via Guix-patches via
  2022-08-14 16:35 70% ` [bug#57056] [PATCH v3 " Nicolas Graves via Guix-patches via
  2 siblings, 0 replies; 200+ results
From: Nicolas Graves via Guix-patches via @ 2022-08-12 11:00 UTC (permalink / raw)
  To: 57056; +Cc: ngraves

* gnu/packages/python-web.scm (python-whatthepatch): New variable.
---
 gnu/packages/python-web.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 896e60aba2..0f00a23747 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7761,3 +7761,20 @@ (define-public python-shopifyapi
 ruby Shopify API gem.  The library makes HTTP requests to Shopify in order to
 list, create, update, or delete resources (e.g. Order, Product, Collection).")
     (license license:expat)))
+
+(define-public python-whatthepatch
+  (package
+    (name "python-whatthepatch")
+    (version "1.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "whatthepatch" version))
+              (sha256
+               (base32
+                "17zspm5sxhvggkdhwq4s0fzf4mkc825xshn734g2j2iy2xcylh65"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/cscorley/whatthepatch")
+    (synopsis "Patch parsing and application")
+    (description
+     "This package provides a library to parse and apply patches.")
+    (license license:expat)))
-- 
2.37.1





^ permalink raw reply related	[relevance 70%]

* [bug#56803] [PATCH v2 5/6] gnu: Update python-cloudscraper.
  @ 2022-08-14 12:46 69% ` Tomasz Jeneralczyk
  0 siblings, 0 replies; 200+ results
From: Tomasz Jeneralczyk @ 2022-08-14 12:46 UTC (permalink / raw)
  To: 56803; +Cc: Tomasz Jeneralczyk

Neither 1.2.58 nor 1.2.60 version of python-cloudscraper requires
compatibility with python2 afaik.

This removes possible collisions with packages that depend on the mainstream
version of python-pyparsing.

* gnu/packages/python-web.scm (python-cloudscraper): Update to 1.2.60
* gnu/packages/python-web.scm (python-cloudscraper)[propagated-inputs]: Change
python-pyparsing to its mainstream version
---
 gnu/packages/python-web.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 896e60aba2..298c1e09de 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -53,6 +53,7 @@
 ;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
 ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
 ;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
+;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6262,17 +6263,16 @@ (define-public python-http-ece
 (define-public python-cloudscraper
   (package
     (name "python-cloudscraper")
-    (version "1.2.58")
+    (version "1.2.60")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/VeNoMouS/cloudscraper")
-             ;; Corresponds to 1.2.58
-             (commit "f3a3d067ea8b5238e9a0948aed0c3fa0d9c29b96")))
+             (commit "1.2.60")))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "18fbp086imabjxly04rrchbf6n6m05bpd150zxbw7z2w3mjnpsqd"))
+        (base32 "00cmxgwdm0x1j4a4ipwvpzih735hdzidljbijk1b3laj3dgvnvsm"))
        (modules '((guix build utils)))
        (snippet
         '(with-directory-excursion "cloudscraper"
@@ -6312,7 +6312,7 @@ (define-public python-cloudscraper
            python-requests
            python-requests-toolbelt
            python-responses
-           python-pyparsing-2.4.7))
+           python-pyparsing))
     (native-inputs
      (list python-pytest))
     (home-page "https://github.com/venomous/cloudscraper")
-- 
2.37.1





^ permalink raw reply related	[relevance 69%]

* [bug#57056] [PATCH v3 1/3] gnu: Add python-whatthepatch.
    2022-08-08 10:36 70% ` [bug#57056] [PATCH 1/3] gnu: Add python-whatthepatch Nicolas Graves via Guix-patches via
  2022-08-12 11:00 70% ` [bug#57056] [PATCH v2 " Nicolas Graves via Guix-patches via
@ 2022-08-14 16:35 70% ` Nicolas Graves via Guix-patches via
  2 siblings, 0 replies; 200+ results
From: Nicolas Graves via Guix-patches via @ 2022-08-14 16:35 UTC (permalink / raw)
  To: 57056; +Cc: Nicolas Graves

* gnu/packages/python-web.scm (python-whatthepatch): New variable.
---
 gnu/packages/python-web.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 896e60aba2..0f00a23747 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7761,3 +7761,20 @@ (define-public python-shopifyapi
 ruby Shopify API gem.  The library makes HTTP requests to Shopify in order to
 list, create, update, or delete resources (e.g. Order, Product, Collection).")
     (license license:expat)))
+
+(define-public python-whatthepatch
+  (package
+    (name "python-whatthepatch")
+    (version "1.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "whatthepatch" version))
+              (sha256
+               (base32
+                "17zspm5sxhvggkdhwq4s0fzf4mkc825xshn734g2j2iy2xcylh65"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/cscorley/whatthepatch")
+    (synopsis "Patch parsing and application")
+    (description
+     "This package provides a library to parse and apply patches.")
+    (license license:expat)))
-- 
2.37.1





^ permalink raw reply related	[relevance 70%]

* [bug#57419] [PATCH] gnu: add python-grid5000
@ 2022-08-25 20:30 70% matthieu.simonin
  2022-08-30  9:00 69% ` matthieu.simonin
  0 siblings, 1 reply; 200+ results
From: matthieu.simonin @ 2022-08-25 20:30 UTC (permalink / raw)
  To: 57419; +Cc: msimonin

From: msimonin <matthieu.simonin@inria.fr>

---
 gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d060d5b27c..2fea8cfcb0 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7786,3 +7786,28 @@ (define-public python-whatthepatch
     (description
      "This package provides a library to parse and apply patches.")
     (license license:expat)))
+
+(define-public python-grid5000
+  (package
+    (name "python-grid5000")
+    (version "1.2.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.inria.fr/msimonin/python-grid5000")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               "097pm8b68ihk29xz9zv29b1x0bhgjb4lfj8zxk2grbsh7wr9dipg")))
+    (build-system python-build-system)
+    (native-inputs (list python-wheel))
+    (propagated-inputs (list python-requests python-ipython python-pyyaml))
+    (arguments
+     (list #:tests? #f))
+    (home-page "https://pypi.org/project/python-grid5000/")
+    (synopsis "Grid5000 python client")
+    (description
+     "python-grid5000 is a python package wrapping the Grid5000 REST API.
+    You can use it as a library in your python project or you can
+    explore the Grid5000 resources interactively using the embedded shell.")
+    (license license:gpl3)))

base-commit: 26ff8a4b733c06b4f38aa1fb1ec6705bf30eae4a
-- 
2.30.2





^ permalink raw reply related	[relevance 70%]

* [bug#57431] [PATCH]: Add PyQt 6.
@ 2022-08-26 14:50 61% Zhu Zihao
  0 siblings, 0 replies; 200+ results
From: Zhu Zihao @ 2022-08-26 14:50 UTC (permalink / raw)
  To: 57431

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-python-pyqt6-sip.patch --]
[-- Type: text/x-patch, Size: 1148 bytes --]

From f14e4b2e32240ef169514127d61da775b641f97d Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Thu, 25 Aug 2022 14:58:57 +0800
Subject: [PATCH 1/9] gnu: Add python-pyqt6-sip.

* gnu/packages/qt.scm (python-pyqt6-sip): New variable.
---
 gnu/packages/qt.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 25d56acdc3..1f8e51c667 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -3088,6 +3088,21 @@ (define-public python-pyqt5-sip
     (description "Sip module support for PyQt5")
     (license license:lgpl2.1+)))
 
+(define-public python-pyqt6-sip
+  (package
+    (inherit python-pyqt5-sip)
+    (name "python-pyqt6-sip")
+    (version "13.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PyQt6_sip" version))
+       (sha256
+        (base32
+         "0yfra2rk4072kqfs0hks7fpjqd8946inhzcmfqdm3mvjb3pa71vd"))))
+    (synopsis "Sip module support for PyQt6")
+    (description "Sip module support for PyQt6")))
+
 (define-public python-pyqtwebengine
   (package
     (name "python-pyqtwebengine")
-- 
2.37.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-python-pyqtwebengine-Rename-to-python-pyqtwebeng.patch --]
[-- Type: text/x-patch, Size: 5055 bytes --]

From 6cdce14bb88eebfc7da1a5aa3f59eab663550589 Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Thu, 25 Aug 2022 18:19:51 +0800
Subject: [PATCH 2/9] gnu: python-pyqtwebengine: Rename to
 python-pyqtwebengine-5.

Automated via the follownig commands:

  git grep -l '\bpython-pyqtwebengine\b' | xargs sed -E 's/python-pyqtwebengine/\0-5/g' -i
---
 gnu/packages/ebook.scm        | 2 +-
 gnu/packages/education.scm    | 4 ++--
 gnu/packages/orange.scm       | 2 +-
 gnu/packages/qt.scm           | 6 +++---
 gnu/packages/vpn.scm          | 2 +-
 gnu/packages/web-browsers.scm | 6 +++---
 6 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index c3a27cb113..edcf7b486f 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -198,7 +198,7 @@ (define-public calibre
            python-pychm
            python-pygments
            python-pyqt-without-qtwebkit
-           python-pyqtwebengine
+           python-pyqtwebengine-5
            python-regex
            speech-dispatcher
            python-zeroconf
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index c5666fb02e..3c574b4176 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -801,8 +801,8 @@ (define-public anki
        ("python-jsonschema" ,python-jsonschema)
        ("python-markdown" ,python-markdown)
        ("python-pyaudio" ,python-pyaudio)
-       ;; `python-pyqtwebengine' must precede `python-pyqt' in PYTHONPATH.
-       ("python-pyqtwebengine" ,python-pyqtwebengine)
+       ;; `python-pyqtwebengine-5' must precede `python-pyqt' in PYTHONPATH.
+       ("python-pyqtwebengine-5" ,python-pyqtwebengine-5)
        ("python-pyqt" ,python-pyqt-without-qtwebkit)
        ("python-requests" ,python-requests)
        ("python-send2trash" ,python-send2trash)
diff --git a/gnu/packages/orange.scm b/gnu/packages/orange.scm
index 367c9cc288..ef6f36d8a8 100644
--- a/gnu/packages/orange.scm
+++ b/gnu/packages/orange.scm
@@ -162,7 +162,7 @@ (define-public orange
            python-pygments
            python-pyqt-without-qtwebkit
            python-pyqtgraph
-           python-pyqtwebengine
+           python-pyqtwebengine-5
            python-pyyaml
            python-qtconsole
            python-requests
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 1f8e51c667..e6779e333a 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -3025,7 +3025,7 @@ (define-public python-pyqt
                            ,@%gnu-build-system-modules)
        #:phases
        (modify-phases %standard-phases
-         ;; When building python-pyqtwebengine, <qprinter.h> can not be
+         ;; When building python-pyqtwebengine-5, <qprinter.h> can not be
          ;; included.  Here we substitute the full path to the header in the
          ;; store.
          (add-before 'configure 'substitute-source
@@ -3103,7 +3103,7 @@ (define-public python-pyqt6-sip
     (synopsis "Sip module support for PyQt6")
     (description "Sip module support for PyQt6")))
 
-(define-public python-pyqtwebengine
+(define-public python-pyqtwebengine-5
   (package
     (name "python-pyqtwebengine")
     (version "5.15.2")
@@ -3187,7 +3187,7 @@ (define-public python-pyqtwebengine
     (license license:gpl3)))
 
 ;; XXX: This is useful for removing qtwebkit from other packages' dependency
-;; graphs, as well as for preventing python-pyqtwebengine from transitively
+;; graphs, as well as for preventing python-pyqtwebengine-5 from transitively
 ;; depending on qtwebkit.
 ;; Ultimately, it would be nicer to have a more modular set of python-pyqt-*
 ;; packages that could be used together.
diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 1ec619b0c2..eeb5991303 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -751,7 +751,7 @@ (define-public openconnect-sso
            python-prompt-toolkit
            python-requests
            python-pyqt-without-qtwebkit
-           python-pyqtwebengine
+           python-pyqtwebengine-5
            python-pysocks
            python-pyxdg
            python-structlog
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 68d27a838b..8708efdb56 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -488,11 +488,11 @@ (define-public qutebrowser
            python-pygments
            python-pynacl
            python-pyyaml
-           ;; FIXME: python-pyqtwebengine needs to come before python-pyqt so
+           ;; FIXME: python-pyqtwebengine-5 needs to come before python-pyqt so
            ;; that it's __init__.py is used first.
-           python-pyqtwebengine
+           python-pyqtwebengine-5
            python-pyqt-without-qtwebkit
-           ;; While qtwebengine-5 is provided by python-pyqtwebengine, it's
+           ;; While qtwebengine-5 is provided by python-pyqtwebengine-5, it's
            ;; included here so we can wrap QTWEBENGINEPROCESS_PATH.
            qtwebengine-5))
     (arguments
-- 
2.37.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0003-gnu-python-pyqt-without-qtwebkit-Rename-to-python-py.patch --]
[-- Type: text/x-patch, Size: 6960 bytes --]

From 5890b5be7cc4ceaa6efad623eb56300dfc1a3e15 Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Thu, 25 Aug 2022 19:05:17 +0800
Subject: [PATCH 3/9] gnu: python-pyqt-without-qtwebkit: Rename to
 python-pyqt-5-without-qtwebkit.

Automated by following script:

  git grep -l '\bpython-pyqt-without-qtwebkit' | \
    xargs sed -E 's/python-pyqt-without-qtwebkit/python-pyqt-5-without-qtwebkit/g' -i
---
 gnu/packages/backup.scm       | 2 +-
 gnu/packages/ebook.scm        | 4 ++--
 gnu/packages/education.scm    | 2 +-
 gnu/packages/orange.scm       | 2 +-
 gnu/packages/python-check.scm | 2 +-
 gnu/packages/python-xyz.scm   | 2 +-
 gnu/packages/qt.scm           | 4 ++--
 gnu/packages/radio.scm        | 2 +-
 gnu/packages/vpn.scm          | 2 +-
 gnu/packages/web-browsers.scm | 2 +-
 10 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 0d03d2e87f..f673e16a4a 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -1336,7 +1336,7 @@ (define-public vorta
            python-paramiko
            python-peewee
            python-psutil
-           python-pyqt-without-qtwebkit
+           python-pyqt-5-without-qtwebkit
            python-secretstorage
            ;; This is included so that the qt-wrap phase picks it up.
            qtsvg-5))
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index edcf7b486f..f105d43754 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -197,7 +197,7 @@ (define-public calibre
            python-py7zr
            python-pychm
            python-pygments
-           python-pyqt-without-qtwebkit
+           python-pyqt-5-without-qtwebkit
            python-pyqtwebengine-5
            python-regex
            speech-dispatcher
@@ -243,7 +243,7 @@ (define-public calibre
                  (string-append "[tool.sip.project]
 sip-include-dirs = [\""
                                 #$(this-package-input
-                                   "python-pyqt-without-qtwebkit")
+                                   "python-pyqt-5-without-qtwebkit")
                                 "/share/sip\"]")))
               (substitute* "src/calibre/ebooks/pdf/pdftohtml.py"
                 (("PDFTOHTML = 'pdftohtml'")
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 3c574b4176..b2e8eb4568 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -803,7 +803,7 @@ (define-public anki
        ("python-pyaudio" ,python-pyaudio)
        ;; `python-pyqtwebengine-5' must precede `python-pyqt' in PYTHONPATH.
        ("python-pyqtwebengine-5" ,python-pyqtwebengine-5)
-       ("python-pyqt" ,python-pyqt-without-qtwebkit)
+       ("python-pyqt" ,python-pyqt-5-without-qtwebkit)
        ("python-requests" ,python-requests)
        ("python-send2trash" ,python-send2trash)
        ("python-sip" ,python-sip)
diff --git a/gnu/packages/orange.scm b/gnu/packages/orange.scm
index ef6f36d8a8..0da1f28692 100644
--- a/gnu/packages/orange.scm
+++ b/gnu/packages/orange.scm
@@ -160,7 +160,7 @@ (define-public orange
            python-orange-widget-base
            python-pandas
            python-pygments
-           python-pyqt-without-qtwebkit
+           python-pyqt-5-without-qtwebkit
            python-pyqtgraph
            python-pyqtwebengine-5
            python-pyyaml
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 7cc266fbce..e866de2212 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1624,7 +1624,7 @@ (define-public python-pytest-qt
              (setenv "QT_QPA_PLATFORM" "offscreen")
              #t)))))
     (propagated-inputs
-     (list python-pyqt-without-qtwebkit))
+     (list python-pyqt-5-without-qtwebkit))
     (native-inputs
      (list python-pytest python-pytest-runner python-setuptools-scm))
     (home-page "https://github.com/pytest-dev/pytest-qt")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f7971b75fa..d362850466 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15562,7 +15562,7 @@ (define-public python-pyqtgraph
      (list qtbase-5))
     (propagated-inputs
      (list python-h5py python-numpy python-pyopengl python-scipy
-           python-pyqt-without-qtwebkit))
+           python-pyqt-5-without-qtwebkit))
     (home-page "http://www.pyqtgraph.org")
     (synopsis "Scientific graphics and GUI library for Python")
     (description
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index e6779e333a..df12c37964 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -3127,7 +3127,7 @@ (define-public python-pyqtwebengine-5
     (inputs
      `(("python" ,python-wrapper)
        ("python-sip" ,python-sip)
-       ("python-pyqt" ,python-pyqt-without-qtwebkit)
+       ("python-pyqt" ,python-pyqt-5-without-qtwebkit)
        ("qtbase" ,qtbase-5)
        ("qtsvg-5" ,qtsvg-5)
        ("qtdeclarative-5" ,qtdeclarative-5)
@@ -3191,7 +3191,7 @@ (define-public python-pyqtwebengine-5
 ;; depending on qtwebkit.
 ;; Ultimately, it would be nicer to have a more modular set of python-pyqt-*
 ;; packages that could be used together.
-(define-public python-pyqt-without-qtwebkit
+(define-public python-pyqt-5-without-qtwebkit
   (package/inherit python-pyqt
     (name "python-pyqt-without-qtwebkit")
     (inputs
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index bc2c13b847..7d1d9da0b1 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -597,7 +597,7 @@ (define-public gnuradio
            python-numpy
            python-pycairo
            python-pygobject
-           python-pyqt-without-qtwebkit
+           python-pyqt-5-without-qtwebkit
            python-pyqtgraph
            python-pyyaml
            qtbase-5
diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index eeb5991303..a0fd20d246 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -750,7 +750,7 @@ (define-public openconnect-sso
            python-lxml
            python-prompt-toolkit
            python-requests
-           python-pyqt-without-qtwebkit
+           python-pyqt-5-without-qtwebkit
            python-pyqtwebengine-5
            python-pysocks
            python-pyxdg
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 8708efdb56..634d9ea0bf 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -491,7 +491,7 @@ (define-public qutebrowser
            ;; FIXME: python-pyqtwebengine-5 needs to come before python-pyqt so
            ;; that it's __init__.py is used first.
            python-pyqtwebengine-5
-           python-pyqt-without-qtwebkit
+           python-pyqt-5-without-qtwebkit
            ;; While qtwebengine-5 is provided by python-pyqtwebengine-5, it's
            ;; included here so we can wrap QTWEBENGINEPROCESS_PATH.
            qtwebengine-5))
-- 
2.37.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: 0004-gnu-python-pyqt-Rename-to-python-pyqt-5.patch --]
[-- Type: text/x-patch, Size: 16166 bytes --]

From 5614cc205c8ef9dc10f24726ea959f13220fac13 Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Thu, 25 Aug 2022 19:17:54 +0800
Subject: [PATCH 4/9] gnu: python-pyqt: Rename to python-pyqt-5.

Automated by following scripts and some manually fix:

  git grep -l '\bpython-pyqt\b' | xargs sed -E \
    -e 's/,python-pyqt/\0-5/g' \
    -e 's/pyqt$/\0-5/g' \
    -e 's/pyqt /pyqt-5 /g' \
    -e 's/pyqt\)/pyqt-5)/g' -i
---
 gnu/packages/audio.scm        |  4 ++--
 gnu/packages/chemistry.scm    |  2 +-
 gnu/packages/cups.scm         |  2 +-
 gnu/packages/education.scm    |  2 +-
 gnu/packages/engineering.scm  |  2 +-
 gnu/packages/finance.scm      |  6 +++---
 gnu/packages/games.scm        |  2 +-
 gnu/packages/maths.scm        |  2 +-
 gnu/packages/music.scm        |  4 ++--
 gnu/packages/pdf.scm          |  4 ++--
 gnu/packages/photo.scm        |  2 +-
 gnu/packages/plotutils.scm    |  2 +-
 gnu/packages/python-web.scm   |  2 +-
 gnu/packages/python-xyz.scm   |  8 ++++----
 gnu/packages/qt.scm           | 14 +++++++-------
 gnu/packages/radio.scm        |  6 +++---
 gnu/packages/stenography.scm  |  2 +-
 gnu/packages/text-editors.scm |  2 +-
 gnu/packages/video.scm        |  2 +-
 gnu/packages/web-browsers.scm |  2 +-
 20 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index c0bfb3b9d8..083b9ca971 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -5104,9 +5104,9 @@ (define-public carla
            gtk+-2              ;needed for bridging GTK2 plugins in GTK3 hosts
            gtk+
            python-pyliblo
-           python-pyqt
+           python-pyqt-5
            python-rdflib
-           ;; python-pyqt shows the following error without python-wrapper:
+           ;; python-pyqt-5 shows the following error without python-wrapper:
            ;; Error while finding module specification for 'PyQt5.uic.pyuic'
            ;; (ModuleNotFoundError: No module named 'PyQt5')
            python-wrapper
diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index 735d599d2d..f00e96bdc2 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -555,7 +555,7 @@ (define-public python-pymol
            libxml2
            mmtf-cpp
            msgpack
-           python-pyqt
+           python-pyqt-5
            glm
            netcdf))
     (native-inputs
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 3de9ddbf22..7e5ddaa7e3 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -689,7 +689,7 @@ (define-public hplip
        ("python" ,python)
        ("python-dbus" ,python-dbus)
        ("python-pygobject" ,python-pygobject)
-       ("python-pyqt" ,python-pyqt)
+       ("python-pyqt" ,python-pyqt-5)
        ("python-wrapper" ,python-wrapper)
        ("sane-backends" ,sane-backends-minimal)
        ("zlib" ,zlib)))
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index b2e8eb4568..d11f4e956e 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -434,7 +434,7 @@ (define-public toutenclic
     (native-inputs
      (list unzip))
     (inputs
-     (list python-pyqt))
+     (list python-pyqt-5))
     (synopsis "School tools for physically disabled children")
     (description "ToutEnClic is intended to facilitate the schooling
 of physically disabled children in ordinary schools.  It is both
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index f195179413..947047fd11 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3418,7 +3418,7 @@ (define-public uranium
            python
            python-cryptography
            python-numpy
-           python-pyqt
+           python-pyqt-5
            python-scipy
            python-shapely
            python-trimesh
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 849f9aba99..79f00e3738 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -581,7 +581,7 @@ (define-public electrum
            python-hidapi
            python-ledgerblue
            python-protobuf
-           python-pyqt
+           python-pyqt-5
            python-qdarkstyle
            python-qrcode
            zbar))
@@ -680,7 +680,7 @@ (define-public electron-cash
            python-pathvalidate
            python-protobuf
            python-pyaes
-           python-pyqt
+           python-pyqt-5
            python-pysocks
            python-qdarkstyle
            python-qrcode
@@ -1100,7 +1100,7 @@ (define-public python-trezor
            python-black
            python-isort
            python-protobuf
-           python-pyqt
+           python-pyqt-5
            python-pytest))
     (home-page "https://github.com/trezor/python-trezor")
     (synopsis "Python library for communicating with TREZOR Hardware Wallet")
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 5dc7298acb..b40fde45a4 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10503,7 +10503,7 @@ (define-public kajongg
            libkmahjongg
            python
            python-twisted
-           python-pyqt
+           python-pyqt-5
            python-zope-interface
            qtbase-5
            qtsvg-5))
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 72d5e9a83a..947578c038 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3150,7 +3150,7 @@ (define-public veusz
      (list ghostscript ;optional, for EPS/PS output
            python-dbus
            python-h5py ;optional, for HDF5 data
-           python-pyqt
+           python-pyqt-5
            qtbase-5
            qtsvg-5))
     (propagated-inputs
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index e1de632dda..cedfb4fee7 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2890,7 +2890,7 @@ (define-public frescobaldi
            python-ly
            python-poppler-qt5
            python-pyportmidi
-           python-pyqt
+           python-pyqt-5
            python-sip))
     (home-page "https://www.frescobaldi.org/")
     (synopsis "LilyPond sheet music text editor")
@@ -3553,7 +3553,7 @@ (define-public picard
      `(("gettext" ,gettext-minimal)
        ("python-dateutil" ,python-dateutil)))
     (inputs
-     (list chromaprint python-discid python-pyqt python-mutagen))
+     (list chromaprint python-discid python-pyqt-5 python-mutagen))
     (home-page "https://picard.musicbrainz.org/")
     (synopsis "Graphical music tagging application")
     (description
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 39266a2822..d94c2e2f75 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -180,7 +180,7 @@ (define-public flyer-composer
                    (,(string-append qtbase "/lib/qt5/plugins/platforms"))))
                #t))))))
     (inputs
-     (list python-pypdf2 python-pyqt python-poppler-qt5 qtbase-5))
+     (list python-pypdf2 python-pyqt-5 python-poppler-qt5 qtbase-5))
     (home-page "http://crazy-compilers.com/flyer-composer")
     (synopsis "Rearrange PDF pages to print as flyers on one sheet")
     (description "@command{flyer-composer} can be used to prepare one- or
@@ -351,7 +351,7 @@ (define-public python-poppler-qt5
     (native-inputs
      (list pkg-config))
     (inputs
-     (list python-sip-4 python-pyqt poppler-qt5 qtbase-5))
+     (list python-sip-4 python-pyqt-5 poppler-qt5 qtbase-5))
     (home-page "https://pypi.org/project/python-poppler-qt5/")
     (synopsis "Python bindings for Poppler-Qt5")
     (description
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index 19c171a9bb..56806ad014 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -118,7 +118,7 @@ (define-public rapid-photo-downloader
        ("libnotify" ,libnotify)
        ("libmediainfo" ,libmediainfo)
        ("usdisks" ,udisks)
-       ("python-pyqt" ,python-pyqt)
+       ("python-pyqt" ,python-pyqt-5)
        ("python-pygobject" ,python-pygobject)
        ("python-gphoto2" ,python-gphoto2)
        ("python-pyzmq" ,python-pyzmq)
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index a5e1a1ad55..83a869137c 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -327,7 +327,7 @@ (define-public asymptote
            python
            python-cson
            python-numpy
-           python-pyqt
+           python-pyqt-5
            readline
            zlib))
     (arguments
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d060d5b27c..9c57aaa25e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7153,7 +7153,7 @@ (define-public python-woob
            python-lxml
            python-pillow
            python-prettytable
-           python-pyqt
+           python-pyqt-5
            python-pyyaml
            python-requests
            python-six
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d362850466..67d1128b88 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13584,7 +13584,7 @@ (define-public python-qtconsole
                (("def test_other_output") "def _test_other_output")))))))
     (propagated-inputs
      (list python-ipykernel python-ipython-genutils python-jupyter-client
-           python-jupyter-core python-pygments python-pyqt python-pyzmq
+           python-jupyter-core python-pygments python-pyqt-5 python-pyzmq
            python-qtpy python-traitlets))
     (native-inputs
      (list python-flaky python-pytest python-pytest-qt))
@@ -15596,7 +15596,7 @@ (define-public python-qasync
     (native-inputs
      (list python-pytest python-pytest-runner))
     (propagated-inputs
-     (list python-pyqt))
+     (list python-pyqt-5))
     (home-page "https://github.com/CabbageDevelopment/qasync")
     (synopsis "Implementation of the PEP 3156 Event-Loop with Qt")
     (description
@@ -25269,7 +25269,7 @@ (define-public offlate
             python-pyenchant
             python-pygit2
             python-pygithub
-            python-pyqt
+            python-pyqt-5
             python-requests
             python-ruamel.yaml
             python-translate-toolkit
@@ -26198,7 +26198,7 @@ (define-public pyzo
        ;; symbol: objc_getClass".
        #:tests? #f))
     (propagated-inputs
-     (list python-pyqt))
+     (list python-pyqt-5))
     (home-page "https://pyzo.org")
     (synopsis
      "Python IDE for scientific computing")
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index df12c37964..25bc0a1dad 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2978,7 +2978,7 @@ (define-public python-sip-4
                        "--incdir" include)))))))
     (license license:gpl3)))
 
-(define-public python-pyqt
+(define-public python-pyqt-5
   (package
     (name "python-pyqt")
     (version "5.15.2")
@@ -3162,7 +3162,7 @@ (define-public python-pyqtwebengine-5
                        "--stubsdir" stubs
                        "--sipdir" sipdir
                        "--pyqt-sipdir" pyqt-sipdir))))
-         ;; Because this has a different prefix than python-pyqt then we need
+         ;; Because this has a different prefix than python-pyqt-5 then we need
          ;; to make this a namespace of its own.
          (add-after 'install 'make-namespace
            (lambda* (#:key inputs outputs #:allow-other-keys)
@@ -3192,10 +3192,10 @@ (define-public python-pyqtwebengine-5
 ;; Ultimately, it would be nicer to have a more modular set of python-pyqt-*
 ;; packages that could be used together.
 (define-public python-pyqt-5-without-qtwebkit
-  (package/inherit python-pyqt
+  (package/inherit python-pyqt-5
     (name "python-pyqt-without-qtwebkit")
     (inputs
-     (alist-delete "qtwebkit" (package-inputs python-pyqt)))))
+     (alist-delete "qtwebkit" (package-inputs python-pyqt-5)))))
 
 (define-public python-pyqt-builder
   (package
@@ -3322,7 +3322,7 @@ (define-public python-qscintilla
     (inputs
      `(("qscintilla" ,qscintilla)
        ("python" ,python)
-       ("python-pyqt" ,python-pyqt)))
+       ("python-pyqt" ,python-pyqt-5)))
     (description "QScintilla is a port to Qt of Neil Hodgson's Scintilla C++
 editor control.  QScintilla includes features especially useful when editing
 and debugging source code.  These include support for syntax styling, error
@@ -3334,7 +3334,7 @@ (define-public python-qscintilla
 ;; variables such as PYTHONPATH, so we need to build a union package to make
 ;; it work.
 (define-public python-pyqt+qscintilla
-  (package/inherit python-pyqt
+  (package/inherit python-pyqt-5
     (name "python-pyqt+qscintilla")
     (source #f)
     (build-system trivial-build-system)
@@ -3349,7 +3349,7 @@ (define-public python-pyqt+qscintilla
                                    directories)
                       #t)))))
     (inputs
-     `(("python-pyqt" ,python-pyqt)
+     `(("python-pyqt" ,python-pyqt-5)
        ("python-qscintilla" ,python-qscintilla)))
     (synopsis "Union of PyQt and the Qscintilla extension")
     (description
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 7d1d9da0b1..4f356d677d 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -734,7 +734,7 @@ (define-public gr-osmosdr
              log4cpp
              python
              python-numpy
-             python-pyqt
+             python-pyqt-5
              rtl-sdr
              soapysdr
              spdlog
@@ -1576,7 +1576,7 @@ (define-public nanovna-saver
     (native-inputs
      (list python-cython))
     (inputs
-     (list python-numpy python-pyqt python-pyserial python-scipy))
+     (list python-numpy python-pyqt-5 python-pyserial python-scipy))
     (arguments
      '(#:tests? #f))
     (home-page "https://github.com/NanoVNA-Saver/nanovna-saver")
@@ -2470,7 +2470,7 @@ (define-public urh
            python-numpy
            python-psutil
            python-pyaudio
-           python-pyqt
+           python-pyqt-5
            rtl-sdr))
     (arguments
      `(#:phases
diff --git a/gnu/packages/stenography.scm b/gnu/packages/stenography.scm
index 3b86ab6bcf..2be3461a4d 100644
--- a/gnu/packages/stenography.scm
+++ b/gnu/packages/stenography.scm
@@ -49,7 +49,7 @@ (define-public plover
      (list python-pytest))
     (inputs
      (list python-appdirs
-           python-pyqt
+           python-pyqt-5
            python-babel
            python-dbus
            python-hidapi
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 839f812733..555d9cf620 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -770,7 +770,7 @@ (define-public manuskript
                    #:icon "manuskript"
                    #:categories "Office;WordProcessor;"))))))))
     (inputs
-     (list pandoc python-lxml python-markdown python-pyqt qtsvg-5))
+     (list pandoc python-lxml python-markdown python-pyqt-5 qtsvg-5))
     (home-page "http://www.theologeek.ch/manuskript/")
     (synopsis "Tool for writers")
     (description "Manuskript provides a rich environment to help
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 556eb46df4..40d74c741d 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -4762,7 +4762,7 @@ (define-public openshot
            font-dejavu
            libopenshot
            python
-           python-pyqt
+           python-pyqt-5
            python-pyzmq
            python-requests
            qtsvg-5))
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 634d9ea0bf..f2bb61d0bb 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -488,7 +488,7 @@ (define-public qutebrowser
            python-pygments
            python-pynacl
            python-pyyaml
-           ;; FIXME: python-pyqtwebengine-5 needs to come before python-pyqt so
+           ;; FIXME: python-pyqtwebengine-5 needs to come before python-pyqt-5 so
            ;; that it's __init__.py is used first.
            python-pyqtwebengine-5
            python-pyqt-5-without-qtwebkit
-- 
2.37.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #5: 0005-gnu-python-pyqt-qscintilla-Rename-to-python-pyqt-5-q.patch --]
[-- Type: text/x-patch, Size: 2684 bytes --]

From 5949dc9870560a474d79337b8cfe3abdde7792f3 Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Thu, 25 Aug 2022 19:25:45 +0800
Subject: [PATCH 5/9] gnu: python-pyqt+qscintilla: Rename to
 python-pyqt-5+qscintilla.

* gnu/packages/qt.scm (python-pyqt+qscintilla): Rename to
python-pyqt-5+qscintilla.
* gnu/packages/geo.scm (qgjs)[inputs]: Ditto.
* gnu/packages/medical.scm (openmolar-1)[inputs]: Ditto.
* gnu/packages/python-xyz.scm (autokey)[inputs]: Ditto.
---
 gnu/packages/geo.scm        | 2 +-
 gnu/packages/medical.scm    | 2 +-
 gnu/packages/python-xyz.scm | 2 +-
 gnu/packages/qt.scm         | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 66c97d3d6a..2678c08a02 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -2607,7 +2607,7 @@ (define-public qgis
            python-owslib
            python-psycopg2
            python-pygments
-           python-pyqt+qscintilla
+           python-pyqt-5+qscintilla
            python-pytz
            python-pyyaml
            python-requests
diff --git a/gnu/packages/medical.scm b/gnu/packages/medical.scm
index 6c9cc757eb..60fb8c6091 100644
--- a/gnu/packages/medical.scm
+++ b/gnu/packages/medical.scm
@@ -49,7 +49,7 @@ (define-public openmolar-1
               (("/usr") (assoc-ref outputs "out")))
             #t)))))
    (inputs
-    (list python-pyqt+qscintilla python-mysqlclient qscintilla))
+    (list python-pyqt-5+qscintilla python-mysqlclient qscintilla))
    (home-page "https://openmolar.com/om1")
    (synopsis "Dental practice management software")
    (description "Openmolar is a dental practice management suite.  Its
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 67d1128b88..82eaeec90f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4357,7 +4357,7 @@ (define-public autokey
            python-ipython
            python-pygobject
            python-pyinotify
-           python-pyqt+qscintilla
+           python-pyqt-5+qscintilla
            python-xlib
            wmctrl
            zenity))
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 25bc0a1dad..d9b32749cc 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -3333,7 +3333,7 @@ (define-public python-qscintilla
 ;; PyQt only looks for modules in its own directory.  It ignores environment
 ;; variables such as PYTHONPATH, so we need to build a union package to make
 ;; it work.
-(define-public python-pyqt+qscintilla
+(define-public python-pyqt-5+qscintilla
   (package/inherit python-pyqt-5
     (name "python-pyqt+qscintilla")
     (source #f)
-- 
2.37.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #6: 0006-gnu-python-sip-Update-to-6.6.2.patch --]
[-- Type: text/x-patch, Size: 1429 bytes --]

From 5e054770ff6f50478be9860f0c75ffc706e980ec Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Thu, 25 Aug 2022 20:06:14 +0800
Subject: [PATCH 6/9] gnu: python-sip: Update to 6.6.2.

* gnu/packages/qt.scm (python-sip): Update to 6.6.2
[propagated-inputs]: Add missing input python-ply.
---
 gnu/packages/qt.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index d9b32749cc..c7ea6e6713 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2904,7 +2904,7 @@ (define-public single-application-qt5
 (define-public python-sip
   (package
     (name "python-sip")
-    (version "5.5.0")
+    (version "6.6.2")
     (source
       (origin
         (method url-fetch)
@@ -2914,12 +2914,12 @@ (define-public python-sip
                                   "/sip-" version ".tar.gz")))
         (sha256
          (base32
-          "1idaivamp1jvbbai9yzv471c62xbqxhaawccvskaizihkd0lq0jx"))))
+          "03frpw2l2krigibx32cbyl9kx696vwkhj52pmqjybn6zqp0zlghf"))))
     (build-system python-build-system)
     (native-inputs
      (list python-wrapper))
     (propagated-inputs
-     (list python-toml python-packaging))
+     (list python-toml python-packaging python-ply))
     (home-page "https://www.riverbankcomputing.com/software/sip/intro")
     (synopsis "Python binding creator for C and C++ libraries")
     (description
-- 
2.37.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #7: 0007-gnu-python-pyqt-builder-Update-to-1.13.0.patch --]
[-- Type: text/x-patch, Size: 1046 bytes --]

From 750cd9f80a3a02b64c933b8308fa1e0ef0ab8333 Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Thu, 25 Aug 2022 22:41:25 +0800
Subject: [PATCH 7/9] gnu: python-pyqt-builder: Update to 1.13.0.

* gnu/packages/qt.scm (python-pyqt-builder): Update to 1.13.0.
---
 gnu/packages/qt.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index c7ea6e6713..b89cf989ec 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -3200,14 +3200,14 @@ (define-public python-pyqt-5-without-qtwebkit
 (define-public python-pyqt-builder
   (package
    (name "python-pyqt-builder")
-   (version "1.9.0")
+   (version "1.13.0")
    (source
     (origin
      (method url-fetch)
      (uri (pypi-uri "PyQt-builder" version))
      (sha256
       (base32
-       "0nh0054c54ji3sm6d268fccf0y5f613spswwgwqd3rnn816hnljl"))))
+       "1vwyd2hs13zh0ybvkn36h73031ha7c41sf4v28735dff7065hxs8"))))
    (build-system python-build-system)
    (inputs
     (list python-sip))
-- 
2.37.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #8: 0008-gnu-Add-python-pyqt-version-6.3.1.patch --]
[-- Type: text/x-patch, Size: 2860 bytes --]

From 18831a399f1be3748c55d25c3c1bb80036c2cbcb Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Fri, 26 Aug 2022 17:50:36 +0800
Subject: [PATCH 8/9] gnu: Add python-pyqt, version 6.3.1.

* gnu/packages/qt.scm (python-pyqt): New variable.
---
 gnu/packages/qt.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index b89cf989ec..ac575c9828 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2978,6 +2978,65 @@ (define-public python-sip-4
                        "--incdir" include)))))))
     (license license:gpl3)))
 
+(define-public python-pyqt
+  (package
+    (name "python-pyqt")
+    (version "6.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PyQt6" version))
+       (file-name (string-append "PyQt6-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0mwp5iyh21jzsvd66rcpxzr142kiv769dqwpr0gps17pp8fy5ilc"))))
+    (inputs
+     (list python-wrapper
+           qtbase
+           qtdeclarative
+           qtmultimedia
+           qtpositioning
+           qtsvg
+           qttools
+           qtwebchannel
+           qtwebsockets))
+    (propagated-inputs
+     (list python-pyqt6-sip))
+    (native-inputs
+     (list python-pyqt-builder
+           python-sip
+           python-wrapper
+           qtbase))                     ;qmake
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:imported-modules `((guix build python-build-system)
+                           ,@%gnu-build-system-modules)
+      #:modules `(((guix build python-build-system) #:select (site-packages))
+                  ,@%gnu-build-system-modules)
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'configure
+            (lambda* (#:key inputs outputs #:allow-other-keys)
+              (invoke "sip-build"
+                      "--verbose"
+                      "--confirm-license"
+                      "--no-make"
+                      "--qmake" (search-input-file inputs "/bin/qmake")
+                      "--target-dir" (site-packages inputs outputs)
+                      "--scripts-dir" (string-append #$output "/bin"))))
+          (add-before 'build 'enter-build-directory
+            (lambda _ (chdir "build") #t))
+          (add-after 'install 'leave-build-directory
+            (lambda _ (chdir "..") #t)))))
+    (home-page "https://www.riverbankcomputing.com/software/pyqt/intro")
+    (synopsis "Python bindings for Qt6")
+    (description
+     "PyQt is a set of Python v3 bindings for the Qt6 application framework.
+The bindings are implemented as a set of Python modules and contain over
+620 classes.")
+    (license license:gpl3)))
+
 (define-public python-pyqt-5
   (package
     (name "python-pyqt")
-- 
2.37.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #9: 0009-gnu-Add-python-pyqtwebengine-version-6.3.1.patch --]
[-- Type: text/x-patch, Size: 4963 bytes --]

From 0856c6efcd09be2a5326af457b01f994c954d959 Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Fri, 26 Aug 2022 22:32:24 +0800
Subject: [PATCH 9/9] gnu: Add python-pyqtwebengine, version 6.3.1.

* gnu/packages/qt.scm (python-pyqtwebengine): New variable.
---
 gnu/packages/qt.scm | 104 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 104 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index ac575c9828..821e824e36 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -3162,6 +3162,110 @@ (define-public python-pyqt6-sip
     (synopsis "Sip module support for PyQt6")
     (description "Sip module support for PyQt6")))
 
+(define-public python-pyqtwebengine
+  (package
+    (name "python-pyqtwebengine")
+    (version "6.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PyQt6_WebEngine" version))
+       (sha256
+        (base32
+         "01zhx1yz8ggi6n9rwqi1z18aznbl3ndwa5yn090z85abgd9gblf3"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list python
+           python-sip
+           python-pyqt-builder
+           ;; qtbase is required for qmake
+           qtbase))
+    (inputs
+     (list python-pyqt
+           qtbase
+           qtdeclarative
+           qtwebchannel
+           qtwebengine))
+    (arguments
+     (list
+      #:imported-modules `((guix build python-build-system)
+                           ,@%gnu-build-system-modules)
+      #:modules
+      `((ice-9 regex)
+        ((guix build python-build-system)
+         #:select (site-packages python-version))
+        ,@%gnu-build-system-modules)
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'configure 'fix-pyqt-sip-dirs
+            (lambda _
+              (define sip-dir
+                (string-append
+                 #$(this-package-input "python-pyqt")
+                 "/lib/python"
+                 (python-version #$(this-package-native-input "python"))
+                 "/site-packages/PyQt6/bindings"))
+
+              (substitute* "pyproject.toml"
+                (("tool\\.sip\\.project.+$" all)
+                 (format #f "~asip-include-dirs = [\"~a\"]~%"
+                         all sip-dir)))))
+          (replace 'configure
+            (lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
+              (invoke "sip-build"
+                      "--verbose"
+                      "--no-make"
+                      "--target-dir" (site-packages inputs outputs))))
+          ;; XXX: qmake generates Makefile that tries to link with
+          ;; <path-to-qtbase>/lib/libQt6Qml.so. This phase deletes these
+          ;; bad references.
+          (add-after 'configure 'delete-bad-references
+            (lambda* (#:key inputs #:allow-other-keys)
+              (substitute* '("build/QtWebEngineCore/Makefile"
+                             "build/QtWebEngineQuick/Makefile"
+                             "build/QtWebEngineWidgets/Makefile")
+                (((string-append
+                   (regexp-quote #$(this-package-input "qtbase"))
+                   "/lib/libQt6(Qml|QmlModels|WebEngineCore)\\.so"))
+                 ""))))
+          (add-after 'configure 'absolutize-qprinter.h
+            (lambda* (#:key inputs  #:allow-other-keys)
+              (let* ((qtprinter.h
+                      (string-append
+                       "\""
+                       (search-input-file
+                        inputs
+                        "include/qt6/QtPrintSupport/qprinter.h")
+                       "\"")))
+                (substitute* (find-files "build/QtWebEngineWidgets"
+                                         "\\.(cpp|h)$")
+                  (("<qprinter.h>")
+                   qtprinter.h))
+                #t)))
+          (add-before 'build 'enter-build-directory
+            (lambda _ (chdir "build") #t))
+          (add-after 'install 'leave-build-directory
+            (lambda _ (chdir "..") #t))
+          (add-after 'install 'make-namespace
+            (lambda* (#:key inputs outputs #:allow-other-keys)
+              (let* ((init (string-append
+                            (site-packages inputs outputs)
+                            "/PyQt6/__init__.py")))
+                (with-output-to-file init
+                  (lambda _
+                    (display "\
+from pkgutil import extend_path
+__path__ = extend_path(__path__, __name__)
+")))
+                #t))))))
+    (home-page "https://www.riverbankcomputing.com/software/pyqtwebengine/intro")
+    (synopsis "Python bindings for QtWebEngine6")
+    (description
+     "PyQtWebEngine is a set of Python bindings for The Qt Company's Qt
+WebEngine libraries.  The bindings sit on top of PyQt6 and are implemented as a
+set of three modules.")
+    (license license:gpl3)))
+
 (define-public python-pyqtwebengine-5
   (package
     (name "python-pyqtwebengine")
-- 
2.37.2


[-- Attachment #10: Type: text/plain, Size: 100 bytes --]


-- 
Retrieve my PGP public key:

  gpg --recv-keys 481F5EEEBA425ADC13247C76A6E672D981B8E744

Zihao

^ permalink raw reply related	[relevance 61%]

* [bug#57419] [PATCH] gnu: add python-grid5000
  2022-08-25 20:30 70% [bug#57419] [PATCH] gnu: add python-grid5000 matthieu.simonin
@ 2022-08-30  9:00 69% ` matthieu.simonin
  0 siblings, 0 replies; 200+ results
From: matthieu.simonin @ 2022-08-30  9:00 UTC (permalink / raw)
  To: 57419; +Cc: msimonin

From: msimonin <matthieu.simonin@inria.fr>

---
 gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index df63602236..170e440338 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7786,3 +7786,28 @@ (define-public python-whatthepatch
     (description
      "This package provides a library to parse and apply patches.")
     (license license:expat)))
+
+(define-public python-grid5000
+  (package
+    (name "python-grid5000")
+    (version "1.2.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.inria.fr/msimonin/python-grid5000")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               "097pm8b68ihk29xz9zv29b1x0bhgjb4lfj8zxk2grbsh7wr9dipg")))
+    (build-system python-build-system)
+    (native-inputs (list python-wheel))
+    (propagated-inputs (list python-requests python-ipython python-pyyaml))
+    (arguments
+     (list #:tests? #f)) ; No tests.
+    (home-page "https://pypi.org/project/python-grid5000/")
+    (synopsis "Grid5000 python client")
+    (description
+     "python-grid5000 is a python package wrapping the Grid5000 REST API.
+    You can use it as a library in your python project or you can
+    explore the Grid5000 resources interactively using the embedded shell.")
+    (license license:gpl3+)))

base-commit: 6beadc82df204f315d06ea35f2e232bb32f8e440
-- 
2.30.2

Thanks Marius for the review,

I'm sending the update. 
There are no suitable tests here, and I changed the licence to GPLv3
everywhere.

Let me know if anything else is needed.

Best,

Matt




^ permalink raw reply related	[relevance 69%]

* [bug#54539] [PATCH v2 30/30] gnu: Autoload more.
  @ 2022-09-03 16:43 26% ` Maxime Devos
  0 siblings, 0 replies; 200+ results
From: Maxime Devos @ 2022-09-03 16:43 UTC (permalink / raw)
  To: 54539; +Cc: Maxime Devos

TODO: check that pulling still works and that
"./pre-inst-env guix lint --checker=derivation" doesn't report porblems.

* Various number comparisons

(All the performance numbers below are for a SSD, on a HDD I would expect
the differences to be more pronounced.)

The number of modules indirectly used by the Guix package is reduced from

$ guix graph --type=module guix | grep -F 'label' | wc --lines
> 347

to

$ ./pre-inst-envguix graph --type=module guix | grep -F 'label' | wc --lines
> 172

(Note: you will have to patch source-module-closure first to ignore #:autoload.)

I.e., it is reduced by about half!

Memory usage and time spent in GC, before and after the patch (run thrice).
Before:

$ GUIX_PROFILING=gc guix build -d -e '(@ (gnu packages package-management) guix)' --no-grafts
Garbage collection statistics:
  heap size:        72.46 MiB
  allocated:        184.59 MiB
  GC times:         15
  time spent in GC: 1.04 seconds (56% of user time)
Garbage collection statistics:
  heap size:        72.52 MiB
  allocated:        184.60 MiB
  GC times:         15
  time spent in GC: 1.11 seconds (58% of user time)
Garbage collection statistics:
  heap size:        72.46 MiB
  allocated:        184.59 MiB
  GC times:         15
  time spent in GC: 1.05 seconds (57% of user time)

After:
$ GUIX_PROFILING=gc ./pre-inst-env guix build -d -e '(@ (gnu packages package-management) guix)' --no-grafts
Garbage collection statistics:
  heap size:        46.95 MiB
  allocated:        174.24 MiB
  GC times:         17
  time spent in GC: 0.88 seconds (55% of user time)
Garbage collection statistics:
  heap size:        46.95 MiB
  allocated:        174.24 MiB
  GC times:         17
  time spent in GC: 0.88 seconds (54% of user time)
Garbage collection statistics:
  heap size:        46.95 MiB
  allocated:        174.23 MiB
  GC times:         17
  time spent in GC: 0.88 seconds (55% of user time)

The heap size is lower: 72.50 MiB -> 45.95 MiB.
Don't know what's up with the GC here, but the percentage didn't increase,
so doesn't seem bad to me.

Now, start-up latency.
First, do

$ echo powersave | sudo tee /sys/devices/system/cpu/cpufreq/policy*/scaling_governor

to avoid the OS from interfering by making the CPU faster.

Before:

$ guix shell hyperfine -- hyperfine -w2 -- "guix build -d -e '(@ (gnu packages package-management) guix)' --no-grafts"
  Time (mean ± σ):      4.137 s ±  0.017 s    [User: 5.516 s, System: 0.270 s]
  Range (min … max):    4.108 s …  4.160 s    10 runs

After:

$ guix shell hyperfine -- hyperfine -w2 -- "./pre-inst-env guix build -d -e '(@ (gnu packages package-management) guix)' --no-grafts"
  Time (mean ± σ):      3.830 s ±  0.038 s    [User: 4.976 s, System: 0.241 s]
  Range (min … max):    3.794 s …  3.922 s    10 runs

-- a small but measurable improvement.  This was with warm disk caches, what about cold
disk caches?  As the number of loaded modules is reduced, the number of 'read from disk<->Guile determines
what to read next' roundtrips decreases, which should make things faster (especially on spinning disks).

Before:
$ guix shell hyperfine -- hyperfine --prepare='sync; echo 3 |sudo tee /proc/sys/vm/drop_caches' -w2 -- "guix build -d -e '(@ (gnu packages package-management) guix)' --no-grafts"
Benchmark #1: guix build -d -e '(@ (gnu packages package-management) guix)' --no-grafts
  Time (mean ± σ):      5.146 s ±  0.072 s    [User: 5.647 s, System: 0.442 s]
  Range (min … max):    5.072 s …  5.274 s    10 runs

After:
guix shell hyperfine -- hyperfine --prepare='sync; echo 3 |sudo tee /proc/sys/vm/drop_caches' -w2 -- "./pre-inst-env guix build -d -e '(@ (gnu packages package-management) guix)' --no-grafts"
Benchmark #1: ./pre-inst-env guix build -d -e '(@ (gnu packages package-management) guix)' --no-grafts
  Time (mean ± σ):      4.536 s ±  0.032 s    [User: 4.924 s, System: 0.329 s]
  Range (min … max):    4.480 s …  4.577 s    10 runs

Again, an improvement.

Let's look at the number of syscalls this time.  I don't know what's up with the symlinks.

Before:
$ guix shell strace -- strace -c guix build -e '(@ (gnu packages package-management) guix)' -d --no-grafts

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ------------------
 26,39    0,015695           2      6350      5754 readlink
 18,64    0,011083           1      6808           read
 16,97    0,010092          26       377        87 futex
 12,87    0,007654           2      2768       268 newfstatat
  8,57    0,005099           1      2576           write
  5,13    0,003053           2      1024       212 openat
  3,74    0,002222           2       774           mmap
  2,17    0,001288           2       568           mprotect
  2,15    0,001280           1       815           close
  1,64    0,000976           1       770         3 lseek
  0,77    0,000456           2       197           getcwd
------ ----------- ----------- --------- --------- ------------------
100,00    0,059467           2     23217      6327 total

After:
./pre-inst-env guix shell strace -- strace -c guix build -e '(@ (gnu packages package-management) guix)' -d --no-grafts

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ------------------
 32,70    0,014266           1      7820      5684 newfstatat
 19,25    0,008398           1      6808           read
 11,25    0,004907          12       391        90 futex
 10,25    0,004470           1      2580           write
  7,67    0,003345           2      1622      1621 readlink
  7,33    0,003198           3       847       212 openat
  3,84    0,001676           2       561           mmap
  2,27    0,000992           2       391           mprotect
  2,27    0,000991           1       638           close
  1,66    0,000726           1       592         3 lseek
  0,83    0,000361           1       197           getcwd
  0,28    0,000123           5        21           pread64
  [ other syscalls removed for brevity ]
------ ----------- ----------- --------- --------- ------------------
100,00    0,043627           1     22643      7613 total

'mmap' is called less, I don't know how much of that can be attributed
to less .go files being mmapped and how much to the lower memory usage.
I'd assume that the reduction in 'openat' uses (1024->847) is due to
less modules (and maybe as a consequence, less patch files?).

* Other information

There were a few things unclear with the performance numbers above, but I
think I can state that this patch series does, in fact, reduce memory usage
(CPU time and heap size for computing "guix build -d guix --no-grafts"),
albeit less than I hoped for.

The same methods can be applied for other packages as well -- maybe in the
future, we could simply do an #:autoload for _every_ imported package module.

The latest commit was a bit ad-hoc, to save time making this patch series.
I would expcet that, with some additional work, more modules can be removed
from the graph.
---
 gnu/packages/audio.scm              |  29 ++++---
 gnu/packages/build-tools.scm        |  14 ++--
 gnu/packages/c.scm                  |   2 +-
 gnu/packages/cdrom.scm              |   2 +-
 gnu/packages/code.scm               |   6 +-
 gnu/packages/cpp.scm                |  10 +--
 gnu/packages/cups.scm               |   6 +-
 gnu/packages/dns.scm                |   2 +-
 gnu/packages/freedesktop.scm        |  22 +++---
 gnu/packages/gdb.scm                |   2 +-
 gnu/packages/gl.scm                 |   6 +-
 gnu/packages/glib.scm               |   2 +-
 gnu/packages/gnome.scm              | 117 ++++++++++++++++------------
 gnu/packages/graphics.scm           |  44 +++++------
 gnu/packages/gstreamer.scm          |  25 +++---
 gnu/packages/gtk.scm                |  13 ++--
 gnu/packages/image-processing.scm   |   6 +-
 gnu/packages/image.scm              |  12 +--
 gnu/packages/inkscape.scm           |   3 +-
 gnu/packages/libusb.scm             |   5 +-
 gnu/packages/llvm.scm               |   7 +-
 gnu/packages/logging.scm            |   2 +-
 gnu/packages/maths.scm              |  31 ++++----
 gnu/packages/mpi.scm                |   6 +-
 gnu/packages/music.scm              |  39 ++++++----
 gnu/packages/networking.scm         |  24 ++++--
 gnu/packages/openldap.scm           |   2 +-
 gnu/packages/password-utils.scm     |   2 +-
 gnu/packages/pdf.scm                |  24 +++---
 gnu/packages/photo.scm              |   8 +-
 gnu/packages/polkit.scm             |   4 +-
 gnu/packages/python-check.scm       |   6 +-
 gnu/packages/python-compression.scm |   2 +-
 gnu/packages/python-web.scm         |  19 +++--
 gnu/packages/qt.scm                 |  15 ++--
 gnu/packages/samba.scm              |   4 +-
 gnu/packages/sdl.scm                |   6 +-
 gnu/packages/search.scm             |   4 +-
 gnu/packages/serialization.scm      |   4 +-
 gnu/packages/shells.scm             |  37 +++++++--
 gnu/packages/sphinx.scm             |   8 +-
 gnu/packages/ssh.scm                |   7 +-
 gnu/packages/tex.scm                |   8 +-
 gnu/packages/textutils.scm          |  12 ++-
 gnu/packages/time.scm               |   5 +-
 gnu/packages/tls.scm                |   9 ++-
 gnu/packages/video.scm              |  62 +++++++++------
 gnu/packages/wget.scm               |   2 +-
 gnu/packages/xdisorg.scm            |   5 +-
 gnu/packages/xorg.scm               |  19 +++--
 50 files changed, 397 insertions(+), 314 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 8795caef71..6b0f7d8c9e 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -71,17 +71,17 @@ (define-module (gnu packages audio)
   #:use-module (gnu packages dbm)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages elf)
-  #:use-module (gnu packages emacs)
+  #:autoload (gnu packages emacs) (emacs-minimal)
   #:use-module (gnu packages file)
   #:use-module (gnu packages flex)
-  #:use-module (gnu packages fltk)
+  #:autoload (gnu packages fltk) (fltk ntk)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
-  #:use-module (gnu packages gnunet) ; libmicrohttpd
+  #:autoload (gnu packages gnunet) (libmicrohttpd)
   #:use-module (gnu packages gperf)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages gstreamer)
@@ -91,23 +91,24 @@ (define-module (gnu packages audio)
   #:use-module (gnu packages image)
   #:use-module (gnu packages libbsd)
   #:use-module (gnu packages libffi)
-  #:use-module (gnu packages libusb)
+  #:autoload (gnu packages libusb) (libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
-  #:use-module (gnu packages machine-learning)
+  #:autoload (gnu packages machine-learning) (python-scikit-learn)
   #:use-module (gnu packages man)
   #:use-module (gnu packages maths)
-  #:use-module (gnu packages mp3) ;taglib
+  #:autoload (gnu packages mp3)
+  (lame libid3tag libmad mpg123 python-audioread taglib)
   #:use-module (gnu packages multiprecision)
-  #:use-module (gnu packages music)
+  #:autoload (gnu packages music) (portmidi)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages networking)
   #:use-module (gnu packages onc-rpc)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages pulseaudio)  ;libsndfile, libsamplerate
+  #:autoload (gnu packages pulseaudio) (libsndfile libsamplerate pulseaudio)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-science)
+  #:autoload (gnu packages python-science) (python-scipy)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages rdf)
@@ -116,16 +117,14 @@ (define-module (gnu packages audio)
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages sqlite)
-  #:use-module (gnu packages telephony)
-  #:use-module (gnu packages linphone)
+  #:autoload (gnu packages linphone) (ortp)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages valgrind)
-  #:use-module (gnu packages video)
-  #:use-module (gnu packages vim) ;xxd
+  #:autoload (gnu packages video) (ffmpeg)
+  #:autoload (gnu packages vim) (xxd)
   #:use-module (gnu packages web)
-  #:use-module (gnu packages webkit)
-  #:use-module (gnu packages wxwidgets)
+  #:autoload (gnu packages wxwidgets) (wxwidgets-3.1)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xml)
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 5c9d5409cb..983f3f7195 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -46,16 +46,16 @@ (define-module (gnu packages build-tools)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cpp)
   #:use-module (gnu packages linux)
-  #:use-module (gnu packages logging)
-  #:use-module (gnu packages lua)
-  #:use-module (gnu packages package-management)
+  #:autoload (gnu packages logging) (spdlog)
+  #:autoload (gnu packages lua) (lua)
+  #:autoload (gnu packages package-management) (rpm)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages pretty-print)
-  #:use-module (gnu packages protobuf)
+  #:autoload (gnu packages pretty-print) (fmt)
+  #:autoload (gnu packages protobuf) (protobuf)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-build)
-  #:use-module (gnu packages python-crypto)
+  #:autoload (gnu packages python-build) (python-wheel)
+  #:autoload (gnu packages python-crypto) (python-m2crypto)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages regex)
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index d7d649488b..16fc109ff3 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -55,7 +55,7 @@ (define-module (gnu packages c)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages guile)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages lua) (lua)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages python)
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 6391bd6fec..5c9729581f 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -59,7 +59,7 @@ (define-module (gnu packages cdrom)
   #:use-module (gnu packages music)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages elf)
-  #:use-module (gnu packages wxwidgets)
+  #:autoload (gnu packages wxwidgets) (wxsvg wxwidgets-3.1)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages readline)
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index f4855e12e9..48018a53af 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -54,13 +54,13 @@ (define-module (gnu packages code)
   #:use-module (gnu packages cpp)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages elf)
-  #:use-module (gnu packages emacs)
+  #:autoload (gnu packages emacs) (emacs-minimal)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages linux)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages lua) (lua selene)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
@@ -70,7 +70,7 @@ (define-module (gnu packages code)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages readline)
-  #:use-module (gnu packages serialization)
+  #:autoload (gnu packages serialization) (libyaml)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tls)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index e6d734010d..f8ca0039f3 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -74,19 +74,19 @@ (define-module (gnu packages cpp)
   #:use-module (gnu packages libunwind)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
-  #:use-module (gnu packages logging)
+  #:autoload (gnu packages logging) (glog)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages onc-rpc)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-check)
+  #:autoload (gnu packages python-check) (python-testfixtures)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages popt)
-  #:use-module (gnu packages pretty-print)
-  #:use-module (gnu packages pulseaudio)
+  #:autoload (gnu packages pretty-print) (fmt)
+  #:autoload (gnu packages pulseaudio) (pulseaudio)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web)
-  #:use-module (gnu packages xml)
+  #:autoload (gnu packages xml) (expat xerces-c)
   #:use-module (ice-9 match))
 
 (define-public argagg
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 3de9ddbf22..0d3819c917 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -37,12 +37,12 @@ (define-module (gnu packages cups)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages image)
-  #:use-module (gnu packages libusb)
-  #:use-module (gnu packages pdf)
+  #:autoload (gnu packages libusb) (libusb)
+  #:autoload (gnu packages pdf) (poppler qpdf)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages polkit)
-  #:use-module (gnu packages pretty-print)
+  #:autoload (gnu packages pretty-print) (a2ps)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index e4dd8365f8..cf35d457fd 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -59,7 +59,7 @@ (define-module (gnu packages dns)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libidn)
   #:use-module (gnu packages linux)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages lua) (luajit lua5.1-bitop)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages nettle)
   #:use-module (gnu packages networking)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 037a247243..e1c62a44d0 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -71,9 +71,9 @@ (define-module (gnu packages freedesktop)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages cryptsetup)
+  #:autoload (gnu packages cryptsetup) (cryptsetup)
   #:use-module (gnu packages databases)
-  #:use-module (gnu packages disk)
+  #:autoload (gnu packages disk) (libblockdev)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages file)
@@ -81,19 +81,19 @@ (define-module (gnu packages freedesktop)
   #:use-module (gnu packages gawk)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
-  #:use-module (gnu packages gl)
+  #:autoload (gnu packages gl) (mesa)
   #:use-module (gnu packages glib)                ;intltool
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gperf)
-  #:use-module (gnu packages graph)
+  #:autoload (gnu packages graph) (mscgen)
   #:use-module (gnu packages graphviz)
-  #:use-module (gnu packages gstreamer)
+  #:autoload (gnu packages gstreamer)
+  (gstreamer gst-plugins-bad gst-plugins-base gst-plugins-good)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
-  #:use-module (gnu packages language)
+  #:autoload (gnu packages language) (libstemmer)
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages libunwind)
-  #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages man)
   #:use-module (gnu packages m4)
@@ -105,17 +105,17 @@ (define-module (gnu packages freedesktop)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages polkit)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-crypto)
+  #:autoload (gnu packages python-crypto) (python-keyutils)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages rdesktop)
   #:use-module (gnu packages rsync)
   #:use-module (gnu packages samba)
-  #:use-module (gnu packages serialization)
+  #:autoload (gnu packages serialization) (libyaml)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages valgrind)
-  #:use-module (gnu packages video)
-  #:use-module (gnu packages w3m)
+  #:autoload (gnu packages video) (libva)
+  #:autoload (gnu packages w3m) (w3m)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index 7d8416c7c5..2b96a35c5c 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -33,7 +33,7 @@ (define-module (gnu packages gdb)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages guile)
-  #:use-module (gnu packages pretty-print)
+  #:autoload (gnu packages pretty-print) (source-highlight)
   #:use-module (gnu packages python)
   #:use-module (gnu packages pkg-config)
   #:use-module (guix download)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index c740c087dd..89627fd268 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -48,13 +48,13 @@ (define-module (gnu packages gl)
   #:use-module (gnu packages image)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
-  #:use-module (gnu packages mono)
+  #:autoload (gnu packages mono) (mono)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages tls)
-  #:use-module (gnu packages video)
-  #:use-module (gnu packages vulkan)
+  #:autoload (gnu packages video) (libva libvdpau)
+  #:autoload (gnu packages vulkan) (glslang)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 820a44cbde..c904ee7def 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -45,7 +45,7 @@ (define-module (gnu packages glib)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages elf)
-  #:use-module (gnu packages enlightenment)
+  #:autoload (gnu packages enlightenment) (efl)
   #:use-module (gnu packages file)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages gettext)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 251d08ae01..3a95a3fcf1 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -90,10 +90,11 @@
 
 (define-module (gnu packages gnome)
   #:use-module (gnu packages)
-  #:use-module (gnu packages admin)
-  #:use-module (gnu packages aidc)
-  #:use-module (gnu packages aspell)
-  #:use-module (gnu packages autotools)
+  #:autoload (gnu packages admin) (audit isc-dhcp)
+  #:autoload (gnu packages aidc) (zbar)
+  #:autoload (gnu packages aspell) (aspell-dict-en)
+  #:autoload (gnu packages autotools)
+  (autoconf autoconf-archive automake config libtool)
   #:use-module (gnu packages avahi)
   #:use-module (gnu packages backup)
   #:use-module (gnu packages base)
@@ -101,120 +102,136 @@ (define-module (gnu packages gnome)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages build-tools)
-  #:use-module (gnu packages calendar)
-  #:use-module (gnu packages cdrom)
+  #:autoload (gnu packages calendar) (libical)
+  #:autoload (gnu packages cdrom) (dvd+rw-tools libcdio-paranoia libcue)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages crates-io)
-  #:use-module (gnu packages crates-graphics)
-  #:use-module (gnu packages crates-gtk)
+  #:autoload (gnu packages crates-io)
+  (rust-bitflags-1
+   rust-assert-cmd-1 rust-cast-0.2 rust-chrono-0.4 rust-criterion-0.3
+   rust-cssparser-0.27 rust-data-url-0.1 rust-encoding-0.2 rust-float-cmp-0.8
+   rust-itertools-0.9 rust-language-tags-0.2 rust-libc-0.2
+   rust-locale-config-0.3 rust-lopdf-0.26 rust-markup5ever-0.10
+   rust-nalgebra-0.21 rust-num-traits-0.2 rust-once-cell-1 rust-pkg-config-0.3
+   rust-predicates-1 rust-rayon-1 rust-rctree-0.3 rust-regex-1
+   rust-selectors-0.22 rust-string-cache-0.8 rust-tempfile-3 rust-tinyvec-0.3
+   rust-url-2 rust-xml5ever-0.16)
+  #:autoload (gnu packages crates-graphics) (rust-png-0.16 rust-rgb-0.8)
+  #:autoload (gnu packages crates-gtk)
+  (rust-cairo-rs-0.8
+   rust-cairo-sys-rs-0.9 rust-gdk-pixbuf-0.8 rust-gdk-pixbuf-sys-0.9
+   rust-gio-0.8 rust-gio-sys-0.9 rust-glib-0.9 rust-glib-sys-0.9
+   rust-gobject-sys-0.9 rust-pango-0.8 rust-pango-sys-0.9 rust-pangocairo-0.9)
   #:use-module (gnu packages cups)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages cyrus-sasl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages dbm)
-  #:use-module (gnu packages djvu)
+  #:autoload (gnu packages djvu) (djvulibre)
   #:use-module (gnu packages dns)
   #:use-module (gnu packages docbook)
-  #:use-module (gnu packages docker)
+  #:autoload (gnu packages docker) (tini)
   #:use-module (gnu packages documentation)
-  #:use-module (gnu packages enchant)
+  #:autoload (gnu packages enchant) (enchant python-pyenchant)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fonts)
-  #:use-module (gnu packages file-systems)
+  #:autoload (gnu packages file-systems) (libnfs)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
-  #:use-module (gnu packages game-development)
+  #:autoload (gnu packages game-development) (qqwing)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
-  #:use-module (gnu packages gimp)
-  #:use-module (gnu packages gl)
+  #:autoload (gnu packages gimp) (babl gegl)
+  #:autoload (gnu packages gl) (libepoxy mesa mesa-headers glu)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnupg)
-  #:use-module (gnu packages gnuzilla)
-  #:use-module (gnu packages geo)
+  #:autoload (gnu packages gnuzilla) (mozjs)
+  #:autoload (gnu packages geo) (gnome-maps)
   #:use-module (gnu packages gperf)
   #:use-module (gnu packages graphviz)
-  #:use-module (gnu packages gstreamer)
+  #:autoload (gnu packages gstreamer)
+  (gstreamer gst-editing-services gst-plugins-bad gst-plugins-base
+             gst-plugins-good gst-plugins-good gst-plugins-ugly python-gst)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
-  #:use-module (gnu packages haskell-xyz)
+  #:autoload (gnu packages haskell-xyz) (pandoc)
   #:use-module (gnu packages ibus)
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
-  #:use-module (gnu packages inkscape)
   #:use-module (gnu packages iso-codes)
   #:use-module (gnu packages kerberos)
-  #:use-module (gnu packages language)
+  #:autoload (gnu packages language) (libstemmer)
   #:use-module (gnu packages libcanberra)
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages libunistring)
   #:use-module (gnu packages libunwind)
-  #:use-module (gnu packages libusb)
+  #:autoload (gnu packages libusb) (libimobiledevice libmtp libusb)
   #:use-module (gnu packages linux)
-  #:use-module (gnu packages lirc)
+  #:autoload (gnu packages lirc) (lirc)
   #:use-module (gnu packages llvm)
-  #:use-module (gnu packages lua)
-  #:use-module (gnu packages mail)
+  #:autoload (gnu packages lua) (lua-5.2)
+  #:autoload (gnu packages mail) (gmime ytnef)
   #:use-module (gnu packages man)
   #:use-module (gnu packages markup)
-  #:use-module (gnu packages messaging)
-  #:use-module (gnu packages mp3)
+  #:autoload (gnu packages messaging) (libphonenumber)
+  #:autoload (gnu packages mp3) (taglib)
   #:use-module (gnu packages multiprecision)
-  #:use-module (gnu packages music)
+  #:autoload (gnu packages music)
+  (libdiscid libmusicbrainz python-pylast)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages nettle)
   #:use-module (gnu packages networking)
   #:use-module (gnu packages ninja)
-  #:use-module (gnu packages node)
+  #:autoload (gnu packages node) (node)
   #:use-module (gnu packages nss)
-  #:use-module (gnu packages ocr)
-  #:use-module (gnu packages openldap)
-  #:use-module (gnu packages package-management)
-  #:use-module (gnu packages password-utils)
+  #:autoload (gnu packages ocr) (ocrad tesseract-ocr)
+  #:autoload (gnu packages openldap) (openldap)
+  #:autoload (gnu packages package-management) (guix-icons)
+  #:autoload (gnu packages password-utils) (libpwquality)
   #:use-module (gnu packages pcre)
-  #:use-module (gnu packages pdf)
+  #:autoload (gnu packages pdf) (poppler python-reportlab)
   #:use-module (gnu packages perl)
-  #:use-module (gnu packages photo)
+  #:autoload (gnu packages photo) (libexif libgphoto2 libraw)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages polkit)
   #:use-module (gnu packages popt)
-  #:use-module (gnu packages pretty-print)
-  #:use-module (gnu packages protobuf)
+  #:autoload (gnu packages pretty-print) (highlight)
+  #:autoload (gnu packages protobuf) (protobuf python-pure-protobuf)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-crypto)
+  #:autoload (gnu packages python-crypto)
+  (python-keyring python-pycrypto python-pykeepass python-pyotp)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
-  #:use-module (gnu packages rdesktop)
+  #:autoload (gnu packages rdesktop) (freerdp)
   #:use-module (gnu packages rdf)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages ruby)
-  #:use-module (gnu packages rust)
   #:use-module (gnu packages samba)
   #:use-module (gnu packages scanner)
-  #:use-module (gnu packages sdl)
-  #:use-module (gnu packages search)
+  #:autoload (gnu packages search) (xapian)
   #:use-module (gnu packages selinux)
   #:use-module (gnu packages slang)
-  #:use-module (gnu packages speech)
-  #:use-module (gnu packages spice)
+  #:autoload (gnu packages speech)
+  (pocketsphinx speech-dispatcher sphinxbase)
+  #:autoload (gnu packages spice) (spice spice-gtk)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages swig)
   #:use-module (gnu packages tex)
   #:use-module (gnu packages time)
   #:use-module (gnu packages tls)
-  #:use-module (gnu packages valgrind)
+  #:autoload (gnu packages valgrind) (valgrind)
   #:use-module (gnu packages version-control)
-  #:use-module (gnu packages video)
-  #:use-module (gnu packages virtualization)
-  #:use-module (gnu packages vpn)
+  #:autoload (gnu packages video) (libbluray libdvdread ffmpeg)
+  #:autoload (gnu packages virtualization)
+  (bubblewrap libosinfo libvirt libvirt-glib)
+  #:autoload (gnu packages vpn) (openconnect openvpn vpnc)
   #:use-module (gnu packages web)
-  #:use-module (gnu packages webkit)
+  #:autoload (gnu packages webkit) (webkitgtk webkitgtk-with-libsoup2)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xml)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 9a378e76a6..bef3d23771 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -58,7 +58,7 @@ (define-module (gnu packages graphics)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages build-tools)
-  #:use-module (gnu packages cdrom)
+  #:autoload (gnu packages cdrom) (libcddb)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crypto)
@@ -73,52 +73,52 @@ (define-module (gnu packages graphics)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
-  #:use-module (gnu packages gnunet)
+  #:autoload (gnu packages gnunet) (libmicrohttpd)
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
-  #:use-module (gnu packages haskell-xyz)
   #:use-module (gnu packages image)
   #:use-module (gnu packages image-processing)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages jemalloc)
-  #:use-module (gnu packages kde-frameworks)
-  #:use-module (gnu packages libusb)
+  #:autoload (gnu packages kde-frameworks)
+  (extra-cmake-modules karchive kdnssd)
+  #:autoload (gnu packages libusb) (libusb)
   #:use-module (gnu packages linux)
-  #:use-module (gnu packages logging)
+  #:autoload (gnu packages logging) (spdlog)
   #:use-module (gnu packages llvm)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages lua) (luajit)
   #:use-module (gnu packages maths)
-  #:use-module (gnu packages mp3)
+  #:autoload (gnu packages mp3) (libmad)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ninja)
   #:use-module (gnu packages pciutils)
-  #:use-module (gnu packages pdf)
+  #:autoload (gnu packages pdf) (fbida)
   #:use-module (gnu packages perl)
-  #:use-module (gnu packages photo)
+  #:autoload (gnu packages photo) (perl-image-exiftool)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages plotutils)
-  #:use-module (gnu packages pretty-print)
+  #:autoload (gnu packages plotutils) (plotutils)
+  #:autoload (gnu packages pretty-print) (fmt)
   #:use-module (gnu packages pth)
   #:use-module (gnu packages pulseaudio)  ; libsndfile, libsamplerate
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-xyz)
-  #:use-module (gnu packages qt)
+  #:autoload (gnu packages qt)
+  (qtbase-5 qtsvg-5 qtkeychain qtmultimedia-5 qttools-5 qtx11extras)
   #:use-module (gnu packages readline)
-  #:use-module (gnu packages sdl)
+  #:autoload (gnu packages sdl) (sdl sdl2)
   #:use-module (gnu packages serialization)
-  #:use-module (gnu packages stb)
   #:use-module (gnu packages swig)
-  #:use-module (gnu packages tbb)
-  #:use-module (gnu packages toolkits)
-  #:use-module (gnu packages upnp)
+  #:autoload (gnu packages tbb) (tbb)
+  #:autoload (gnu packages toolkits) (imgui-1.86)
   #:use-module (gnu packages video)
-  #:use-module (gnu packages vulkan)
-  #:use-module (gnu packages xiph)
-  #:use-module (gnu packages xml)
+  #:autoload (gnu packages vulkan)
+  (glslang vulkan-headers vulkan-loader shaderc)
+  #:autoload (gnu packages xiph) (libvorbis)
+  #:autoload (gnu packages xml) (expat pugixml)
   #:use-module (gnu packages xorg)
-  #:use-module (gnu packages xdisorg)
+  #:autoload (gnu packages xdisorg) (libdrm pixman)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index a1503602ad..623afca302 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -37,13 +37,13 @@ (define-module (gnu packages gstreamer)
   #:use-module (guix build-system trivial)
   #:use-module (guix utils)
   #:use-module (gnu packages)
-  #:use-module (gnu packages aidc)
+  #:autoload (gnu packages aidc) (zbar zxing-cpp-1.2)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
-  #:use-module (gnu packages cdrom)
+  #:autoload (gnu packages cdrom) (cdparanoia libcdio)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages documentation)
@@ -60,22 +60,21 @@ (define-module (gnu packages gstreamer)
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
-  #:use-module (gnu packages image-processing)
+  ;#:use-module (gnu packages image-processing)
   #:use-module (gnu packages iso-codes)
-  #:use-module (gnu packages java)
+  #:autoload (gnu packages java) (openjdk14)
   #:use-module (gnu packages libunwind)
-  #:use-module (gnu packages libusb)
+  #:autoload (gnu packages libusb) (libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages maths)
-  #:use-module (gnu packages mp3)
+  #:autoload (gnu packages mp3) (chromaprint lame libmpcdec mpg123 taglib)
   #:use-module (gnu packages multiprecision)
-  #:use-module (gnu packages music)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages nettle)
   #:use-module (gnu packages networking)
-  #:use-module (gnu packages ocr)
+  #:autoload (gnu packages ocr) (tesseract-ocr)
   #:use-module (gnu packages perl)
-  #:use-module (gnu packages photo)
+  #:autoload (gnu packages photo) (libexif)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages rdf)
@@ -87,14 +86,14 @@ (define-module (gnu packages gstreamer)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages ruby)
-  #:use-module (gnu packages speech)
+  #:autoload (gnu packages speech) (flite)
   #:use-module (gnu packages python)
   #:use-module (gnu packages ssh)
-  #:use-module (gnu packages telephony)
+  #:autoload (gnu packages telephony) (libsrtp spandsp)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
-  #:use-module (gnu packages vulkan)
-  #:use-module (gnu packages webkit)
+  #:autoload (gnu packages vulkan) (vulkan-headers vulkan-loader)
+  #:autoload (gnu packages webkit) (wpebackend-fdo)
   #:use-module (gnu packages assembly)
   #:use-module (gnu packages xml))
 
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 5e6e6892aa..b99d118b64 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -74,13 +74,13 @@ (define-module (gnu packages gtk)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
-  #:use-module (gnu packages enchant)
+  #:autoload (gnu packages enchant) (enchant)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages fribidi)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
-  #:use-module (gnu packages gl)
+  #:autoload (gnu packages gl) (libepoxy mesa)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages graphviz)
@@ -95,17 +95,18 @@ (define-module (gnu packages gtk)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages pretty-print)
+  #:autoload (gnu packages pretty-print) (source-highlight)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-xyz)
-  #:use-module (gnu packages gstreamer)
+  #:autoload (gnu packages gstreamer)
+  (gstreamer gst-plugins-bad gst-plugins-base)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages guile-xyz)
   #:use-module (gnu packages cups)
   #:use-module (gnu packages version-control)
-  #:use-module (gnu packages video)
-  #:use-module (gnu packages vulkan)
+  #:autoload (gnu packages video) (ffmpeg)
+  #:autoload (gnu packages vulkan) (vulkan-headers vulkan-loader)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 3dfe086af8..c41c7c1b86 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -58,9 +58,9 @@ (define-module (gnu packages image-processing)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fontutils)
-  #:use-module (gnu packages geo)
+  #:autoload (gnu packages geo) (proj libgeotiff)
   #:use-module (gnu packages ghostscript)
-  #:use-module (gnu packages gimp)
+  #:autoload (gnu packages gimp) (gegl gimp)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
@@ -75,7 +75,7 @@ (define-module (gnu packages image-processing)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages perl)
-  #:use-module (gnu packages photo)
+  #:autoload (gnu packages photo) (libexif libgphoto2)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages protobuf)
   #:use-module (gnu packages python)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index e679a73f9d..1b1fba03f4 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -69,20 +69,20 @@ (define-module (gnu packages image)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
-  #:use-module (gnu packages gimp)
-  #:use-module (gnu packages gl)
+  #:autoload (gnu packages gimp) (libmypaint mypaint-brushes)
+  #:autoload (gnu packages gl) (freeglut)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages graphics)
   #:use-module (gnu packages gtk)
-  #:use-module (gnu packages lua)
+  ;#:use-module (gnu packages lua) (lua-5.2)
   #:use-module (gnu packages man)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages mcrypt)
-  #:use-module (gnu packages mp3)
+  #:autoload (gnu packages mp3) (libid3tag)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages perl)
-  #:use-module (gnu packages photo)
+  #:autoload (gnu packages photo) (libraw perl-image-exiftool)
   #:use-module (gnu packages popt)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
@@ -92,7 +92,7 @@ (define-module (gnu packages image)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages swig)
   #:use-module (gnu packages textutils)
-  #:use-module (gnu packages video)
+  #:autoload (gnu packages video) (dav1d libaom libde265 rav1e x265)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm
index 2e43835e4f..87c4850bf7 100644
--- a/gnu/packages/inkscape.scm
+++ b/gnu/packages/inkscape.scm
@@ -40,7 +40,8 @@ (define-module (gnu packages inkscape)
   #:use-module (gnu packages graphics)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages imagemagick)
-  #:use-module (gnu packages libreoffice)
+  #:autoload (gnu packages libreoffice)
+  (libcdr libvisio libwpd libwpg)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pdf)
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 8a5967f7b4..1d4b4305fd 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -43,9 +43,10 @@ (define-module (gnu packages libusb)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gtk)
-  #:use-module (gnu packages java)
+  #:autoload (gnu packages java)
+  (icedtea java-commons-lang3 java-hamcrest-core java-junit)
   #:use-module (gnu packages linux)
-  #:use-module (gnu packages mp3)
+  #:autoload (gnu packages mp3) (libid3tag)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 2d3ee79339..80f2980003 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -60,13 +60,14 @@ (define-module (gnu packages llvm)
   #:use-module (gnu packages bootstrap)           ;glibc-dynamic-linker
   #:use-module (gnu packages check)               ;python-lit
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages julia)               ;julia-patch
+  #:autoload (gnu packages julia) (julia-patch)
   #:use-module (gnu packages libedit)
   #:use-module (gnu packages libffi)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages lua) (lua)
   #:use-module (gnu packages mpi)
   #:use-module (gnu packages ncurses)
-  #:use-module (gnu packages ocaml)
+  #:autoload (gnu packages ocaml)
+  (ocaml ocaml-ctypes ocaml-findlib ocaml-integers ocaml-ounit)
   #:use-module (gnu packages onc-rpc)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index 099b6a9509..615cde2ce3 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -42,7 +42,7 @@ (define-module (gnu packages logging)
   #:use-module (gnu packages cyrus-sasl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages flex)
-  #:use-module (gnu packages geo)
+  #:autoload (gnu packages geo) (libmaxminddb)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages kerberos)
   #:use-module (gnu packages linux)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 72d5e9a83a..4e9ceed460 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -92,7 +92,7 @@ (define-module (gnu packages maths)
   #:use-module (guix build-system python)
   #:use-module (guix build-system ruby)
   #:use-module (gnu packages algebra)
-  #:use-module (gnu packages audio)
+  #:autoload (gnu packages audio) (portaudio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
@@ -101,17 +101,17 @@ (define-module (gnu packages maths)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages coq)
+  #:autoload (gnu packages coq) (coq coq-flocq)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages cyrus-sasl)
-  #:use-module (gnu packages datamash)
+  #:autoload (gnu packages datamash) (vnlog)
   #:use-module (gnu packages dbm)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages elf)
-  #:use-module (gnu packages emacs)
+  #:autoload (gnu packages emacs) (emacs-minimal)
   #:use-module (gnu packages file)
   #:use-module (gnu packages flex)
-  #:use-module (gnu packages fltk)
+  #:autoload (gnu packages fltk) (fltk)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages gcc)
@@ -122,26 +122,29 @@ (define-module (gnu packages maths)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
-  #:use-module (gnu packages java)
+  #:autoload (gnu packages java)
+  (icedtea java-hamcrest-core java-junit java-slf4j-api java-slf4j-simple)
   #:use-module (gnu packages less)
-  #:use-module (gnu packages lisp)
+  #:autoload (gnu packages lisp) (sbcl)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
-  #:use-module (gnu packages logging)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages logging) (glog)
+  #:autoload (gnu packages lua) (lua)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages xorg)
-  #:use-module (gnu packages gl)
+  #:autoload (gnu packages gl) (glu gl2ps mesa)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages mpi)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages netpbm)
-  #:use-module (gnu packages ocaml)
+  #:autoload (gnu packages ocaml)
+  (camlzip lablgtk3 ocaml ocaml-biniou ocaml-easy-format ocaml-findlib
+           ocaml-graph ocaml-menhir ocaml-num ocaml-yojson ocaml-zarith)
   #:use-module (gnu packages onc-rpc)
-  #:use-module (gnu packages parallel)
+  #:autoload (gnu packages parallel) (psimd)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages popt)
   #:use-module (gnu packages perl)
@@ -154,7 +157,7 @@ (define-module (gnu packages maths)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages tbb)
-  #:use-module (gnu packages scheme)
+  #:autoload (gnu packages scheme) (scm)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages shells)
   #:use-module (gnu packages sphinx)
@@ -164,7 +167,7 @@ (define-module (gnu packages maths)
   #:use-module (gnu packages tex)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
-  #:use-module (gnu packages wxwidgets)
+  #:autoload (gnu packages wxwidgets) (wxwidgets)
   #:use-module (gnu packages xml)
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index ebf9238906..0bc71b1cc7 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -35,9 +35,9 @@ (define-module (gnu packages mpi)
   #:use-module (gnu packages)
   #:use-module (gnu packages base)
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages fabric-management)
+  #:autoload (gnu packages fabric-management) (opensm ucx)
   #:use-module (gnu packages gcc)
-  #:use-module (gnu packages java)
+  #:autoload (gnu packages java) (openjdk11)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pciutils)
@@ -46,7 +46,7 @@ (define-module (gnu packages mpi)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages ncurses)
-  #:use-module (gnu packages parallel)
+  #:autoload (gnu packages parallel) (slurm)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages valgrind)
   #:use-module (srfi srfi-1)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index e1de632dda..2c1e8dbfa4 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -96,7 +96,7 @@ (define-module (gnu packages music)
   #:use-module (gnu packages backup)
   #:use-module (gnu packages base) ;libbdf
   #:use-module (gnu packages bash)
-  #:use-module (gnu packages benchmark)
+  #:autoload (gnu packages benchmark) (benchmark)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages build-tools)
@@ -112,40 +112,39 @@ (define-module (gnu packages music)
   #:use-module (gnu packages datastructures)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
-  #:use-module (gnu packages emacs)
+  #:autoload (gnu packages emacs) (emacs-no-x)
   #:use-module (gnu packages file)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fltk)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
-  #:use-module (gnu packages game-development)
-  #:use-module (gnu packages gnupg)
+  #:autoload (gnu packages game-development) (allegro-4)
+  #:autoload (gnu packages gnupg) (libgcrypt)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
-  #:use-module (gnu packages gnunet)
-  #:use-module (gnu packages gpodder)
+  #:autoload (gnu packages gnunet) (libmicrohttpd)
+  #:autoload (gnu packages gpodder) (libmygpo-qt)
   #:use-module (gnu packages graphics)
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
-  #:use-module (gnu packages haskell)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
-  #:use-module (gnu packages java)
+  #:autoload (gnu packages java) (icedtea-8 java-swt)
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages libevent)
-  #:use-module (gnu packages libusb)
+  #:autoload (gnu packages libusb) (hidapi libmtp libusb)
   #:use-module (gnu packages linux) ; for alsa-utils
-  #:use-module (gnu packages lirc)
+  #:autoload (gnu packages lirc) (lirc)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages man)
   #:use-module (gnu packages mp3)
-  #:use-module (gnu packages mpd)
+  #:autoload (gnu packages mpd) (python-mpd2)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages netpbm)
   #:use-module (gnu packages pcre)
@@ -178,17 +177,23 @@ (define-module (gnu packages music)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages video)
-  #:use-module (gnu packages vim)       ;for 'xxd'
+  #:autoload (gnu packages vim) (xxd)
   #:use-module (gnu packages web)
-  #:use-module (gnu packages webkit)
-  #:use-module (gnu packages wm)
-  #:use-module (gnu packages wxwidgets)
+  #:autoload (gnu packages webkit) (webkitgtk)
+  #:autoload (gnu packages wm) (keybinder-3.0)
+  #:autoload (gnu packages wxwidgets) (wxwidgets wxwidgets-gtk2)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages xiph)
-  #:use-module (gnu packages golang)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages golang)
+  (go-github-com-aarzilli-golua
+   go-github-com-mattn-go-colorable go-github-com-mattn-go-isatty
+   go-github-com-mgutz-ansi go-github-com-michiwend-gomusicbrainz
+   go-github-com-stevedonovan-luar go-github-com-wtolson-go-taglib
+   go-github-com-yookoala-realpath go-gitlab-com-ambrevar-damerau
+   go-gitlab-com-ambrevar-golua-unicode)
+  #:autoload (gnu packages lua) (lua)
   #:use-module ((srfi srfi-1) #:select (last)))
 
 (define-public audacious
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 2fea1b2b59..974ef4e883 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -110,33 +110,41 @@ (define-module (gnu packages networking)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
-  #:use-module (gnu packages golang)
+  #:autoload (gnu packages golang)
+  (go-github-com-arceliar-ironwood
+   go-github-com-arceliar-phony go-github-com-cheggaaa-pb-v3
+   go-github-com-fatih-color go-github-com-gologme-log
+   go-github-com-hashicorp-go-syslog go-github-com-hjson-hjson-go
+   go-github-com-kardianos-minwinsvc go-github-com-mattn-go-isatty
+   go-github-com-mattn-go-runewidth go-github-com-mitchellh-mapstructure
+   go-github-com-vividcortex-ewma go-golang-org-x-crypto go-golang-org-x-net
+   go-golang-org-x-sys go-golang-org-x-text go-golang-zx2c4-com-wireguard)
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libidn)
-  #:use-module (gnu packages libusb)
+  #:autoload (gnu packages libusb) (libusb)
   #:use-module (gnu packages linux)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages lua) (lua lua-5.2)
   #:use-module (gnu packages kerberos)
   #:use-module (gnu packages mpi)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages nettle)
-  #:use-module (gnu packages openldap)
+  #:autoload (gnu packages openldap) (openldap)
   #:use-module (gnu packages onc-rpc)
-  #:use-module (gnu packages password-utils)
+  #:autoload (gnu packages password-utils) (argon2)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages polkit)
-  #:use-module (gnu packages pretty-print)
+  #:autoload (gnu packages pretty-print) (fmt)
   #:use-module (gnu packages protobuf)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-crypto)
+  #:autoload (gnu packages python-crypto) (python-pycryptodome)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
@@ -153,7 +161,7 @@ (define-module (gnu packages networking)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages valgrind)
   #:use-module (gnu packages web)
-  #:use-module (gnu packages wxwidgets)
+  #:autoload (gnu packages wxwidgets) (wxwidgets-gtk2)
   #:use-module (gnu packages xml)
   #:use-module (ice-9 match))
 
diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index c8a47e45d5..1cbf138e4c 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -41,7 +41,7 @@ (define-module (gnu packages openldap)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages networking)
   #:use-module (gnu packages nss)
-  #:use-module (gnu packages password-utils)
+  #:autoload (gnu packages password-utils) (cracklib)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 0069fdd74c..cbeaa457ee 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -63,7 +63,7 @@ (define-module (gnu packages password-utils)
   #:use-module (guix packages)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
-  #:use-module (gnu packages aidc)
+  #:autoload (gnu packages aidc) (qrencode)
   #:use-module (gnu packages authentication)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 39266a2822..acca5ac096 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -52,7 +52,7 @@ (define-module (gnu packages pdf)
   #:use-module (guix build-system qt)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
-  #:use-module (gnu packages audio)
+  #:autoload (gnu packages audio) (portaudio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages backup)
   #:use-module (gnu packages base)
@@ -62,38 +62,38 @@ (define-module (gnu packages pdf)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cups)
   #:use-module (gnu packages curl)
-  #:use-module (gnu packages djvu)
+  #:autoload (gnu packages djvu) (djvulibre)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
-  #:use-module (gnu packages game-development)
+  #:autoload (gnu packages game-development) (python-pygame)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
-  #:use-module (gnu packages gl)
+  #:autoload (gnu packages gl) (freeglut mesa libepoxy)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
-  #:use-module (gnu packages gstreamer)
+  #:autoload (gnu packages gstreamer) (gstreamer gst-plugins-base)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
-  #:use-module (gnu packages javascript)
+  #:autoload (gnu packages javascript) (mujs)
   #:use-module (gnu packages lesstif)
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages linux)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages lua) (lua lua-5.1)
   #:use-module (gnu packages man)
-  #:use-module (gnu packages markup)
+  #:autoload (gnu packages markup) (discount)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
-  #:use-module (gnu packages photo)
+  #:autoload (gnu packages photo) (libexif)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages pulseaudio)
+  #:autoload (gnu packages pulseaudio) (libsndfile)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
-  #:use-module (gnu packages sdl)
+  #:autoload (gnu packages sdl) (sdl)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages tex)
@@ -101,7 +101,7 @@ (define-module (gnu packages pdf)
   #:use-module (gnu packages tcl)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web)
-  #:use-module (gnu packages webkit)
+  #:autoload (gnu packages webkit) (webkitgtk-with-libsoup2)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index 19c171a9bb..eec96127bc 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -51,7 +51,7 @@ (define-module (gnu packages photo)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages file)
   #:use-module (gnu packages freedesktop)
-  #:use-module (gnu packages geo)
+  #:autoload (gnu packages geo) (osm-gps-map)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages gl)
@@ -65,9 +65,9 @@ (define-module (gnu packages photo)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages iso-codes)
   #:use-module (gnu packages libcanberra)
-  #:use-module (gnu packages libusb)
+  #:autoload (gnu packages libusb) (libusb)
   #:use-module (gnu packages llvm)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages lua) (lua-5.4)
   #:use-module (gnu packages man)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages opencl)
@@ -85,7 +85,7 @@ (define-module (gnu packages photo)
   #:use-module (gnu packages time)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
-  #:use-module (gnu packages wxwidgets)
+  #:autoload (gnu packages wxwidgets) (wxwidgets)
   #:use-module (gnu packages xfig)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages xml)
diff --git a/gnu/packages/polkit.scm b/gnu/packages/polkit.scm
index a75608cd43..d8907862d1 100644
--- a/gnu/packages/polkit.scm
+++ b/gnu/packages/polkit.scm
@@ -40,8 +40,8 @@ (define-module (gnu packages polkit)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages docbook)
-  #:use-module (gnu packages gnuzilla)
-  #:use-module (gnu packages javascript)
+  #:autoload (gnu packages gnuzilla) (mozjs)
+  #:autoload (gnu packages javascript) (duktape)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages nss)
   #:use-module (gnu packages perl)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 7cc266fbce..15965fcc0a 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -37,14 +37,12 @@ (define-module (gnu packages python-check)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages check)
-  #:use-module (gnu packages docker)
-  #:use-module (gnu packages django)
-  #:use-module (gnu packages openstack)
+  #:autoload (gnu packages openstack) (python-cliff)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
-  #:use-module (gnu packages qt)
+  #:autoload (gnu packages qt) (python-pyqt-without-qtwebkit)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index 0504dd0b2a..d1c1345835 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -40,7 +40,7 @@ (define-module (gnu packages python-compression)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-check)
-  #:use-module (gnu packages python-crypto)
+  #:autoload (gnu packages python-crypto) (python-pycryptodome)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages sphinx))
 
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d060d5b27c..c8eefe59ec 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -85,28 +85,33 @@ (define-module (gnu packages python-web)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
-  #:use-module (gnu packages django)
+  #:autoload (gnu packages django) (python-django)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libffi)
-  #:use-module (gnu packages node)
-  #:use-module (gnu packages openstack)
+  #:autoload (gnu packages node) (node)
+  #:autoload (gnu packages openstack) (python-bandit)
   #:use-module (gnu packages pcre)
-  #:use-module (gnu packages protobuf)
+  #:autoload (gnu packages protobuf) (python-proto-plus python-protobuf)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-check)
-  #:use-module (gnu packages python-crypto)
-  #:use-module (gnu packages python-science)
+  #:autoload (gnu packages python-crypto)
+  (python-certauth
+   python-certifi python-cryptography python-ecdsa python-keyring
+   python-ntlm-auth python-paramiko python-passlib python-pycrypto
+   python-pyopenssl python-pyu2f python-service-identity python-starkbank-ecdsa
+   python-trustme)
+  #:autoload (gnu packages python-science) (python-pandas)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages rdf)
   #:use-module (gnu packages rpc)
-  #:use-module (gnu packages serialization)
+  #:autoload (gnu packages serialization) (python-ruamel.yaml)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tls)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 53166980e8..d442d0a246 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -64,7 +64,7 @@ (define-module (gnu packages qt)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages documentation)
-  #:use-module (gnu packages enchant)
+  #:autoload (gnu packages enchant) (enchant)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages freedesktop)
@@ -80,15 +80,15 @@ (define-module (gnu packages qt)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
-  #:use-module (gnu packages kde-frameworks)
+  #:autoload (gnu packages kde-frameworks) (extra-cmake-modules)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages maths)
-  #:use-module (gnu packages markup)
+  #:autoload (gnu packages markup) (md4c)
   #:use-module (gnu packages networking)
   #:use-module (gnu packages ninja)
-  #:use-module (gnu packages node)
+  #:autoload (gnu packages node) (node-lts)
   #:use-module (gnu packages nss)
   #:use-module (gnu packages pciutils)
   #:use-module (gnu packages pcre)
@@ -102,14 +102,13 @@ (define-module (gnu packages qt)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages regex)
   #:use-module (gnu packages ruby)
-  #:use-module (gnu packages sdl)
+  #:autoload (gnu packages sdl) (sdl2)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages sqlite)
-  #:use-module (gnu packages telephony)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages valgrind)
-  #:use-module (gnu packages video)
-  #:use-module (gnu packages vulkan)
+  #:autoload (gnu packages video) (ffmpeg libvpx openh264)
+  #:autoload (gnu packages vulkan) (glslang vulkan-headers)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index 360c06d216..de8b8a4f29 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -54,12 +54,12 @@ (define-module (gnu packages samba)
   #:use-module (gnu packages kerberos)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages onc-rpc)
-  #:use-module (gnu packages openldap)
+  #:autoload (gnu packages openldap) (openldap)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages popt)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-crypto)
+  #:autoload (gnu packages python-crypto) (python-cryptography)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages time)
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 4c38e2f055..1d48a9e2a0 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -44,7 +44,7 @@ (define-module (gnu packages sdl)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages fcitx)
+  #:autoload (gnu packages fcitx) (fcitx)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages glib)
@@ -53,8 +53,8 @@ (define-module (gnu packages sdl)
   #:use-module (gnu packages ibus)
   #:use-module (gnu packages image)
   #:use-module (gnu packages linux)
-  #:use-module (gnu packages mono)
-  #:use-module (gnu packages mp3)
+  #:autoload (gnu packages mono) (mono)
+  #:autoload (gnu packages mp3) (libmad)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages gl)
diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index 84c4af68a3..6551c5fe11 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -45,7 +45,7 @@ (define-module (gnu packages search)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages check)
   #:use-module (gnu packages databases)
-  #:use-module (gnu packages ebook)
+  #:autoload (gnu packages ebook) (chmlib)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gawk)
   #:use-module (gnu packages gettext)
@@ -60,7 +60,7 @@ (define-module (gnu packages search)
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-crypto)
+  #:autoload (gnu packages python-crypto) (python-certifi)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 79c55e2b2f..4c2a82e62b 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -53,10 +53,10 @@ (define-module (gnu packages serialization)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages llvm)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages lua) (lua lua-5.1 lua-5.2)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-science)
+  #:autoload (gnu packages python-science) (python-pandas)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages perl))
 
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 4d0dd92007..b789cdb462 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -43,8 +43,37 @@ (define-module (gnu packages shells)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages crates-graphics)
-  #:use-module (gnu packages crates-io)
+  #:autoload (gnu packages crates-graphics) (rust-ical-0.7 rust-image-0.23)
+  #:autoload (gnu packages crates-io)
+  (rust-atty-0.2
+   rust-base64-0.13 rust-bat-0.18 rust-bigdecimal-0.3 rust-bson-2
+   rust-byte-unit-4 rust-bytes-1 rust-calamine-0.18 rust-chrono-0.4
+   rust-chrono-humanize-0.2 rust-chrono-tz-0.5 rust-codespan-reporting-0.11
+   rust-common-path-1 rust-crossterm-0.19 rust-csv-1 rust-ctrlc-3
+   rust-derive-new-0.5 rust-digest-0.9 rust-directories-next-2 rust-dirs-next-2
+   rust-doc-comment-0.3 rust-dtparse-1 rust-dunce-1 rust-eml-parser-0.1
+   rust-encoding-rs-0.8 rust-filesize-0.2 rust-fs-extra-1 rust-futures-0.3
+   rust-getset-0.1 rust-gjson-0.8 rust-glob-0.3 rust-hamcrest2-0.3
+   rust-heapless-0.7 rust-heck-0.4 rust-hex-0.4 rust-htmlescape-0.3
+   rust-indexmap-1 rust-insta-1 rust-is-executable-1 rust-itertools-0.10
+   rust-lazy-static-1 rust-linked-hash-map-0.5 rust-log-0.4 rust-md-5-0.9
+   rust-meval-0.2 rust-mime-0.3 rust-mp4-0.9 rust-neso-0.5 rust-num-bigint-0.4
+   rust-num-format-0.4 rust-num-integer-0.1 rust-num-traits-0.2 rust-open-1
+   rust-overload-0.1 rust-parking-lot-0.11 rust-polars-0.17 rust-pretty-0.5
+   rust-pretty-env-logger-0.4 rust-ptree-0.4 rust-quick-xml-0.22
+   rust-quickcheck-macros-1 rust-rand-0.8 rust-rawkey-0.1 rust-rayon-1
+   rust-regex-1 rust-reqwest-0.11 rust-roxmltree-0.14 rust-rstest-0.10
+   rust-rusqlite-0.26 rust-rust-embed-5 rust-rustyline-9 rust-s3handler-0.7
+   rust-scraper-0.12 rust-semver-0.11 rust-serde-1 rust-serde-bytes-0.11
+   rust-serde-ini-0.2 rust-serde-json-1 rust-serde-urlencoded-0.7
+   rust-serde-yaml-0.8 rust-serial-test-0.5 rust-sha2-0.9 rust-shadow-rs-0.8
+   rust-smart-default-0.6 rust-strip-ansi-escapes-0.1 rust-sxd-document-0.3
+   rust-sxd-xpath-0.4 rust-sys-locale-0.1 rust-sysinfo-0.23 rust-tempfile-3
+   rust-term-0.7 rust-term-size-0.3 rust-termcolor-1 rust-thiserror-1
+   rust-titlecase-1 rust-tokio-1 rust-toml-0.5 rust-trash-2 rust-tui-0.15
+   rust-umask-1 rust-unicode-segmentation-1 rust-unicode-width-0.1 rust-url-2
+   rust-users-0.11 rust-uuid-0.8 rust-webbrowser-0.5 rust-which-4 rust-winapi-0.3
+   rust-zip-0.5)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages groff)
@@ -60,9 +89,7 @@ (define-module (gnu packages shells)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages readline)
-  #:use-module (gnu packages rust)
-  #:use-module (gnu packages rust-apps)
-  #:use-module (gnu packages scheme)
+  #:autoload (gnu packages scheme) (scheme48 scheme48-rx)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages xdisorg)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index bbb070ddf6..b90613a9e4 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -45,18 +45,14 @@ (define-module (gnu packages sphinx)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages)
   #:use-module (gnu packages check)
-  #:use-module (gnu packages graphviz)
   #:use-module (gnu packages image)
-  #:use-module (gnu packages imagemagick)
+  #:autoload (gnu packages imagemagick) (imagemagick)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-check)
-  #:use-module (gnu packages python-crypto)
+  #:autoload (gnu packages python-crypto) (python-certifi)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
-  #:use-module (gnu packages time)
-  #:use-module (gnu packages python-science)
-  #:use-module (gnu packages graph)
   #:use-module (gnu packages tex))
 
 (define-public python-sphinx
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index aa540c1012..e63b409b34 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -59,13 +59,14 @@ (define-module (gnu packages ssh)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages popt)
-  #:use-module (gnu packages protobuf)
+  #:autoload (gnu packages protobuf) (protobuf)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-crypto)
+  #:autoload (gnu packages python-crypto)
+  (python-bcrypt python-cryptography python-paramiko python-pyopenssl)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages readline)
-  #:use-module (gnu packages security-token)
+  #:autoload (gnu packages security-token) (libfido2 python-fido2)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xorg)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 6d3572cf25..af2028d6ab 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -62,7 +62,7 @@ (define-module (gnu packages tex)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages lisp)
+  #:autoload (gnu packages lisp) (clisp)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages gd)
@@ -71,10 +71,10 @@ (define-module (gnu packages tex)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
-  #:use-module (gnu packages libreoffice)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages libreoffice) (mythes hunspell)
+  #:autoload (gnu packages lua) (lua)
   #:use-module (gnu packages multiprecision)
-  #:use-module (gnu packages pdf)
+  #:autoload (gnu packages pdf) (poppler-qt5)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check)
   #:use-module (gnu packages pkg-config)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 7898d520f0..7d75aff60a 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -59,9 +59,15 @@ (define-module (gnu packages textutils)
   #:use-module (gnu packages base)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages gcc)
-  #:use-module (gnu packages golang)
+  #:autoload (gnu packages golang)
+  (go-github-com-fatih-color
+   go-github-com-mattn-go-colorable go-github-com-mitchellh-mapstructure
+   go-github-com-olekukonko-tablewriter go-github-com-oneofone-xxhash
+   go-github-com-spaolacci-murmur3 go-github-com-spf13-afero
+   go-github-com-spf13-cobra go-github-com-stretchr-testify
+   go-github-com-urfave-cli go-golang-org-x-sys)
   #:use-module (gnu packages gettext)
-  #:use-module (gnu packages java)
+  #:autoload (gnu packages java) (java-hamcrest-core java-junit)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
@@ -72,7 +78,7 @@ (define-module (gnu packages textutils)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages slang)
-  #:use-module (gnu packages syncthing)
+  #:autoload (gnu packages syncthing) (go-github-com-cespare-xxhash)
   #:use-module (gnu packages web))
 
 (define-public dos2unix
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index fea9ff25f7..5709414828 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -40,12 +40,13 @@
 (define-module (gnu packages time)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages golang)
+  #:autoload (gnu packages golang)
+  (go-1.17 go-github-com-charmbracelet-bubbletea go-github-com-muesli-termenv)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-xyz)
-  #:use-module (gnu packages terminals)
+  #:autoload (gnu packages terminals) (go-github.com-nsf-termbox-go)
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages)
   #:use-module (guix build-system gnu)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 4ee75ace3d..b3d4aae797 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -58,7 +58,7 @@ (define-module (gnu packages tls)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages check)
   #:use-module (gnu packages curl)
-  #:use-module (gnu packages dns)
+  #:autoload (gnu packages dns) (unbound)
   #:use-module (gnu packages gawk)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages guile)
@@ -73,8 +73,11 @@ (define-module (gnu packages tls)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-crypto)
-  #:use-module (gnu packages python-web)
+  #:autoload (gnu packages python-crypto)
+  (python-cryptography python-josepy python-pyopenssl)
+  #:autoload (gnu packages python-web)
+  (python-requests python-requests-toolbelt python-zope-component
+                   python-zope-interface)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages texinfo)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 556eb46df4..200ce3fcd6 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -113,13 +113,27 @@ (define-module (gnu packages video)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages build-tools)
-  #:use-module (gnu packages cdrom)
+  #:autoload (gnu packages cdrom) (libcddb libcdio-paranoia cdparanoia)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cpp)
-  #:use-module (gnu packages crates-io)
-  #:use-module (gnu packages crates-graphics)
+  #:autoload (gnu packages crates-io)
+  (rust-arbitrary-0.4
+   rust-arg-enum-proc-macro-0.3 rust-arrayvec-0.7 rust-assert-cmd-2
+   rust-av-metrics-0.7 rust-backtrace-0.3 rust-bindgen-0.54 rust-bitstream-io-1
+   rust-byteorder-1 rust-cc-1 rust-cfg-if-1 rust-clap-2 rust-console-0.14
+   rust-criterion-0.3 rust-crossbeam-0.8 rust-fern-0.6 rust-interpolate-name-0.2
+   rust-itertools-0.10 rust-ivf-0.1 rust-libc-0.2 rust-libfuzzer-sys-0.3
+   rust-log-0.4 rust-metadeps-1 rust-nasm-rs-0.2 rust-noop-proc-macro-0.3
+   rust-num-derive-0.3 rust-num-traits-0.2 rust-paste-1
+   rust-pretty-assertions-0.7 rust-rand-0.8 rust-rand-chacha-0.3 rust-rayon-1
+   rust-regex-1 rust-rust-hawktracer-0.7 rust-rustc-version-0.4
+   rust-scan-fmt-0.2 rust-semver-1 rust-serde-1 rust-signal-hook-0.3
+   rust-simd-helpers-0.1 rust-thiserror-1 rust-toml-0.5 rust-v-frame-0.2
+   rust-vergen-3 rust-wasm-bindgen-0.2)
+  #:autoload (gnu packages crates-graphics)
+  (rust-aom-sys-0.3 rust-dav1d-sys-0.3 rust-image-0.23 rust-y4m-0.7)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages dbm)
   #:use-module (gnu packages dejagnu)
@@ -139,49 +153,50 @@ (define-module (gnu packages video)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages gnome)
-  #:use-module (gnu packages gnunet)
+  #:autoload (gnu packages gnunet) (libmicrohttpd)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
-  #:use-module (gnu packages haskell-xyz)
+  #:autoload (gnu packages haskell-xyz) (pandoc)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages iso-codes)
   #:use-module (gnu packages libidn)
-  #:use-module (gnu packages libreoffice)
-  #:use-module (gnu packages libusb)
+  #:autoload (gnu packages libreoffice) (hunspell)
+  #:autoload (gnu packages libusb) (libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
-  #:use-module (gnu packages lua)
+  #:autoload (gnu packages lua) (luajit lua-5.2)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages man)
-  #:use-module (gnu packages markup)
+  #:autoload (gnu packages markup) (cmark)
   #:use-module (gnu packages maths)
-  #:use-module (gnu packages music)
-  #:use-module (gnu packages mp3)
+  #:autoload (gnu packages music) (python-mutagen)
+  #:autoload (gnu packages mp3) (lame libmad mpg123 taglib)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages networking)
-  #:use-module (gnu packages ocr)
+  #:autoload (gnu packages ocr) (tesseract-ocr)
   #:use-module (gnu packages pcre)
-  #:use-module (gnu packages pciutils)
+  #:autoload (gnu packages pciutils) (pciutils)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check)
   #:use-module (gnu packages perl-web)
-  #:use-module (gnu packages photo)
+  #:autoload (gnu packages photo) (libexif)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages popt)
-  #:use-module (gnu packages pretty-print)
-  #:use-module (gnu packages protobuf)
-  #:use-module (gnu packages pulseaudio)
+  #:autoload (gnu packages pretty-print) (fmt)
+  #:autoload (gnu packages protobuf) (protobuf)
+  #:autoload (gnu packages pulseaudio) (libsamplerate pulseaudio)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages python-crypto)
+  #:autoload (gnu packages python-crypto)
+  (python-certifi python-pycryptodome python-pycryptodomex)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages rdesktop)
   #:use-module (gnu packages re2c)
   #:use-module (gnu packages ruby)
-  #:use-module (gnu packages rust-apps)
+  #:autoload (gnu packages rust-apps) (rust-cargo-c)
   #:use-module (gnu packages samba)
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages serialization)
@@ -193,12 +208,11 @@ (define-module (gnu packages video)
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages time)
-  #:use-module (gnu packages upnp)
-  #:use-module (gnu packages vulkan)
+  #:autoload (gnu packages upnp) (libupnp)
+  #:autoload (gnu packages vulkan) (vulkan-headers vulkan-loader shaderc)
   #:use-module (gnu packages web)
-  #:use-module (gnu packages webkit)
-  #:use-module (gnu packages wget)
-  #:use-module (gnu packages wxwidgets)
+  #:autoload (gnu packages wget) (wget)
+  #:autoload (gnu packages wxwidgets) (wxwidgets-gtk2)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xml)
diff --git a/gnu/packages/wget.scm b/gnu/packages/wget.scm
index 73338c73b3..352ef5c64b 100644
--- a/gnu/packages/wget.scm
+++ b/gnu/packages/wget.scm
@@ -28,7 +28,7 @@ (define-module (gnu packages wget)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages documentation)
-  #:use-module (gnu packages gnunet)
+  #:autoload (gnu packages gnunet) (libmicrohttpd)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages libidn)
   #:use-module (gnu packages pcre)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 7be995a438..40bc09776a 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -103,12 +103,11 @@ (define-module (gnu packages xdisorg)
   #:use-module (gnu packages gawk)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages gl)
-  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
-  #:use-module (gnu packages haskell-xyz)
+  #:autoload (gnu packages haskell-xyz) (pandoc)
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
   #:use-module (gnu packages libbsd)
@@ -125,7 +124,7 @@ (define-module (gnu packages xdisorg)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages tcl)
-  #:use-module (gnu packages terminals)
+  #:autoload (gnu packages terminals) (libptytty)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages)
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index ed06cb3925..70fb8442b3 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -63,27 +63,26 @@ (define-module (gnu packages xorg)
   #:use-module (guix build-system python)
   #:use-module (guix utils)
   #:use-module (gnu packages)
-  #:use-module (gnu packages aidc)
-  #:use-module (gnu packages anthy)
+  #:autoload (gnu packages anthy) (anthy)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages emacs)
+  #:autoload (gnu packages emacs) (emacs-minimal m17n-lib)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
-  #:use-module (gnu packages gl)
+  #:autoload (gnu packages gl) (libepoxy libglvnd mesa mesa-headers)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gperf)
   #:use-module (gnu packages gtk)
-  #:use-module (gnu packages haskell-xyz)
-  #:use-module (gnu packages inkscape)
+  #:autoload (gnu packages haskell-xyz) (pandoc)
+  #:autoload (gnu packages inkscape) (inkscape/stable)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages libbsd)
@@ -99,11 +98,11 @@ (define-module (gnu packages xorg)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-compression)
-  #:use-module (gnu packages python-crypto)
+  #:autoload (gnu packages python-crypto) (python-paramiko)
   #:use-module (gnu packages python-xyz)
-  #:use-module (gnu packages qt)
-  #:use-module (gnu packages spice)
-  #:use-module (gnu packages video)
+  #:autoload (gnu packages qt) (qtbase-5 qtx11extras)
+  #:autoload (gnu packages spice) (spice-protocol)
+  #:autoload (gnu packages video) (ffmpeg libvpx libx264 x265)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xdisorg))
-- 
2.37.2





^ permalink raw reply related	[relevance 26%]

* [bug#58012] [core-updates PATCH 2/7] gnu: python-aws-sam-translator: Update to 1.51.0.
       [not found]     <cover.1663875244.git.code@greghogan.com>
@ 2022-09-22 19:44 70% ` Greg Hogan
  2022-09-22 19:44 70% ` [bug#58012] [core-updates PATCH 3/7] gnu: Add python-jschema-to-python Greg Hogan
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 200+ results
From: Greg Hogan @ 2022-09-22 19:44 UTC (permalink / raw)
  To: 58012; +Cc: Greg Hogan

* gnu/packages/python-web.scm (python-aws-sam-translator): Update to 1.51.0.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 94544e1e74..be780e5d3c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -563,13 +563,13 @@ (define-public python-css-html-js-minify
 (define-public python-aws-sam-translator
   (package
     (name "python-aws-sam-translator")
-    (version "1.40.0")
+    (version "1.51.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "aws-sam-translator" version))
               (sha256
                (base32
-                "1hq5ggbzcq4k3ks439hki493w4sasgaxns6j5x57xsj822acalmf"))))
+                "1ywzchc3nk13xh593j7b14qp3y0fdx7cfbdhnm34p39av66xffac"))))
     (build-system python-build-system)
     (arguments
      `(;; XXX: Tests are not distributed with the PyPI archive, and would
-- 
2.37.3





^ permalink raw reply related	[relevance 70%]

* [bug#58012] [core-updates PATCH 4/7] gnu: Add python-sarif-om.
       [not found]     <cover.1663875244.git.code@greghogan.com>
  2022-09-22 19:44 70% ` [bug#58012] [core-updates PATCH 2/7] gnu: python-aws-sam-translator: Update to 1.51.0 Greg Hogan
  2022-09-22 19:44 70% ` [bug#58012] [core-updates PATCH 3/7] gnu: Add python-jschema-to-python Greg Hogan
@ 2022-09-22 19:44 70% ` Greg Hogan
  2022-09-22 19:44 69% ` [bug#58012] [core-updates PATCH 5/7] gnu: python-cfn-lint: Update to 0.65.0 Greg Hogan
  3 siblings, 0 replies; 200+ results
From: Greg Hogan @ 2022-09-22 19:44 UTC (permalink / raw)
  To: 58012; +Cc: Greg Hogan

* gnu/packages/python-web.scm (python-sarif-om): New variable.
---
 gnu/packages/python-web.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6a7c4be531..9d1fed7edd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -776,6 +776,26 @@ (define-public python-jschema-to-python
 @url{http://jschema.org,JSchema} JSON schema.")
     (license license:expat)))
 
+(define-public python-sarif-om
+  (package
+    (name "python-sarif-om")
+    (version "1.0.4")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "sarif_om" version))
+              (sha256
+               (base32
+                "167gb8xjm0310km3w1s12bqldbv7zyklkr4j5900vq4361ml2pyd"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-attrs))
+    (native-inputs (list python-pbr))
+    (home-page "https://github.com/microsoft/sarif-python-om")
+    (synopsis "Python implementation of the SARIF 2.1.0 object model.")
+    (description "This module contains classes for the object model defined
+by the @url{https://sarifweb.azurewebsites.net,Static Analysis Results
+Interchange Format (SARIF)} file format.")
+    (license license:expat)))
+
 (define-public python-falcon
   (package
     (name "python-falcon")
-- 
2.37.3





^ permalink raw reply related	[relevance 70%]

* [bug#58012] [core-updates PATCH 3/7] gnu: Add python-jschema-to-python.
       [not found]     <cover.1663875244.git.code@greghogan.com>
  2022-09-22 19:44 70% ` [bug#58012] [core-updates PATCH 2/7] gnu: python-aws-sam-translator: Update to 1.51.0 Greg Hogan
@ 2022-09-22 19:44 70% ` Greg Hogan
  2022-09-22 19:44 70% ` [bug#58012] [core-updates PATCH 4/7] gnu: Add python-sarif-om Greg Hogan
  2022-09-22 19:44 69% ` [bug#58012] [core-updates PATCH 5/7] gnu: python-cfn-lint: Update to 0.65.0 Greg Hogan
  3 siblings, 0 replies; 200+ results
From: Greg Hogan @ 2022-09-22 19:44 UTC (permalink / raw)
  To: 58012; +Cc: Greg Hogan

* gnu/packages/python-web.scm (python-jschema-to-python): New variable.
---
 gnu/packages/python-web.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index be780e5d3c..6a7c4be531 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -757,6 +757,25 @@ (define-public python-cfn-lint
 for resource properties and best practices.")
     (license license:expat)))
 
+(define-public python-jschema-to-python
+  (package
+    (name "python-jschema-to-python")
+    (version "1.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "jschema_to_python" version))
+              (sha256
+               (base32
+                "14cvaiwm56g0v6p7zviikaa5i9ln3yqy910jmp60hirhbpz19zvn"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-attrs python-jsonpickle python-pbr))
+    (native-inputs (list python-pytest))
+    (home-page "https://github.com/microsoft/jschema-to-python")
+    (synopsis "Generate Python classes from a JSON schema.")
+    (description "This package generates source code for Python classes from a
+@url{http://jschema.org,JSchema} JSON schema.")
+    (license license:expat)))
+
 (define-public python-falcon
   (package
     (name "python-falcon")
-- 
2.37.3





^ permalink raw reply related	[relevance 70%]

* [bug#58012] [core-updates PATCH 5/7] gnu: python-cfn-lint: Update to 0.65.0.
       [not found]     <cover.1663875244.git.code@greghogan.com>
                   ` (2 preceding siblings ...)
  2022-09-22 19:44 70% ` [bug#58012] [core-updates PATCH 4/7] gnu: Add python-sarif-om Greg Hogan
@ 2022-09-22 19:44 69% ` Greg Hogan
  3 siblings, 0 replies; 200+ results
From: Greg Hogan @ 2022-09-22 19:44 UTC (permalink / raw)
  To: 58012; +Cc: Greg Hogan

* gnu/packages/python-web.scm (python-cfn-lint): Update to 0.65.0.
[arguments]<#:phases>: Add 'skip-network-test.
[propagated-inputs]: Add python-importlib-resources,
python-jschema-to-python, python-sarif-om.
---
 gnu/packages/python-web.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9d1fed7edd..2aa487d5c3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -710,7 +710,7 @@ (define-public python-cbor2
 (define-public python-cfn-lint
   (package
     (name "python-cfn-lint")
-    (version "0.54.3")
+    (version "0.65.0")
     (home-page "https://github.com/aws-cloudformation/cfn-lint")
     (source (origin
               (method git-fetch)
@@ -720,11 +720,16 @@ (define-public python-cfn-lint
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "106qf19n2k6sdjkb4006aidibd24qqiw901c1613xgjpnyw4dyl6"))))
+                "1rfacp39jssrbchrzb49vwrqyzhx5v7jfcgngqnb9r7qfs4bwi3w"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'skip-network-test
+           (lambda _
+             ;; This test requires networking.
+             (substitute* "test/unit/module/formatters/test_formatters.py"
+               (("def test_sarif_formatter") "def _test_sarif_formatter"))))
          (replace 'check
            (lambda* (#:key inputs outputs tests? #:allow-other-keys)
              (when tests?
@@ -744,11 +749,14 @@ (define-public python-cfn-lint
      (list python-pydot python-mock))
     (propagated-inputs
      (list python-aws-sam-translator
+           python-importlib-resources
+           python-jschema-to-python
            python-jsonpatch
            python-jsonschema
            python-junit-xml
            python-networkx
            python-pyyaml
+           python-sarif-om
            python-six))
     (synopsis "Validate CloudFormation templates")
     (description
-- 
2.37.3





^ permalink raw reply related	[relevance 69%]

* [bug#58043] [PATCH] Add awscli-2 and its dependencies
@ 2022-09-24 16:17 72% Baptiste Strazzulla
  0 siblings, 0 replies; 200+ results
From: Baptiste Strazzulla @ 2022-09-24 16:17 UTC (permalink / raw)
  To: 58043


[-- Attachment #1.1: Type: text/plain, Size: 2 bytes --]



[-- Attachment #1.2: Type: text/html, Size: 337 bytes --]

[-- Attachment #2: 0001-gnu-Add-python-property-manager.patch --]
[-- Type: application/octet-stream, Size: 2000 bytes --]

From b44d073b5e5fc618b919201e78c193415d516f2e Mon Sep 17 00:00:00 2001
From: Zzull <bstrazzull@hotmail.fr>
Date: Sat, 24 Sep 2022 17:27:25 +0200
Subject: [PATCH 1/3] gnu: Add python-property-manager

* gnu/packages/python-xyz.scm (python-property-manager): New variable.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 92e0c9dbe8..78f5a6a257 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -129,6 +129,7 @@
 ;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
 ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
 ;;; Copyright © 2022 Mathieu Laparie <mlaparie@disr.it>
+;;; Copyright © 2022 Baptiste Strazzulla <bstrazzull@hotmail.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -7296,6 +7297,30 @@ (define-public python-imagecodecs
 tifffile, czifile, and other scientific image input/output modules.")
     (license license:bsd-3)))
 
+(define-public python-property-manager
+  (package
+    (name "python-property-manager")
+    (version "3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "property-manager" version))
+       (sha256
+        (base32 "0m3w4spr8f39xnm65naw29ncal4r453kn7ndqb63rwbsmslnvrwk"))))
+    (build-system python-build-system)
+    (native-inputs
+     (list python-pytest-cov))
+    (propagated-inputs
+     (list python-verboselogs
+           python-humanfriendly
+           python-coloredlogs))
+    (home-page "https://github.com/xolox/python-property-manager")
+    (synopsis "Useful property variants for Python programming")
+    (description "The @{property-manager} package defines several custom
+property variants for Python programming including required properties,
+writable properties, cached properties, etc…")
+    (license license:expat))) ; MIT license
+
 (define-public python-executing
   (package
     (name "python-executing")
-- 
2.37.2


[-- Attachment #3: 0002-gnu-Add-python-executor.patch --]
[-- Type: application/octet-stream, Size: 1743 bytes --]

From 80a64a13793f6e5c37711c32645785a5f11d5671 Mon Sep 17 00:00:00 2001
From: Zzull <bstrazzull@hotmail.fr>
Date: Sat, 24 Sep 2022 17:42:28 +0200
Subject: [PATCH 2/3] gnu: Add python-executor

* gnu/packages/python-xyz.scm (python-executor): New variable.
---
 gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 78f5a6a257..948e3cedd5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7342,6 +7342,32 @@ (define-public python-executing
 currently doing, particularly the AST node being executed.")
     (license license:expat)))
 
+(define-public python-executor
+  (package
+    (name "python-executor")
+    (version "23.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "executor" version))
+       (sha256
+        (base32 "0g83yr54j0vcwhy6h7n0jsd7q0q630kwa6v9kqzlzrm9xj6c3ip1"))))
+    (build-system python-build-system)
+    (arguments
+    `(#:tests? #f)) ; TODO: tests require root/sudo
+    (propagated-inputs
+     (list python-six
+           python-property-manager
+           python-fasteners
+           python-virtualenv))
+    (home-page "https://github.com/xolox/python-executor")
+    (synopsis "Programmer friendly subprocess wrapper")
+    (description "The @{executor} package is a simple wrapper for Python’s
+subprocess module that makes it very easy to handle subprocesses on UNIX
+systems with proper escaping of arguments and error checking currently doing,
+particularly the AST node being executed.")
+    (license license:expat))) ; MIT license
+
 (define-public python-roifile
   (package
     (name "python-roifile")
-- 
2.37.2


[-- Attachment #4: 0003-gnu-Add-awscli-2.patch --]
[-- Type: application/octet-stream, Size: 1523 bytes --]

From e52295783140b169d43e705a0470112e9abf19b5 Mon Sep 17 00:00:00 2001
From: Zzull <bstrazzull@hotmail.fr>
Date: Sat, 24 Sep 2022 18:09:53 +0200
Subject: [PATCH 3/3] gnu: Add awscli-2

* gnu/packages/python-web.scm (awscli-2): New variable.
---
 gnu/packages/python-web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 94544e1e74..094ef9a49a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -56,6 +56,7 @@
 ;;; Copyright © 2022 Nicolas Graves <ngraves@ngraves.fr>
 ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
 ;;; Copyright © 2022 msimonin <matthieu.simonin@inria.fr>
+;;; Copyright © 2022 Baptiste Strazzulla <bstrazzull@hotmail.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3214,6 +3215,26 @@ (define-public awscli
 Amazon Web Services (AWS) API.")
     (license license:asl2.0)))
 
+(define-public awscli-2
+  (package
+    (inherit awscli)
+    (name "awscli")
+    (version "2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri (string-append name "v2") version))
+       (sha256
+        (base32
+         "0g1icsy2l4n540gnhliypy830dfp08hpfc3rk12dlxgc9v3ra4wl"))))
+    (arguments
+     ;; FIXME: The 'pypi' release does not contain tests.
+     '(#:tests? #f))
+    (inputs
+     (list python-importlib-resources
+           python-executor))))
+
+
 (define-public python-wsgiproxy2
   (package
     (name "python-wsgiproxy2")
-- 
2.37.2


^ permalink raw reply related	[relevance 72%]

* [bug#58211] [PATCH 1/4] gnu: python-socks: Update to 2.0.3.
  @ 2022-10-01  4:27 70% ` Michael Rohleder
  2022-10-01  4:27 70% ` [bug#58211] [PATCH 2/4] gnu: python-aiohttp-socks: Update to 0.7.1 Michael Rohleder
  1 sibling, 0 replies; 200+ results
From: Michael Rohleder @ 2022-10-01  4:27 UTC (permalink / raw)
  To: 58211; +Cc: Michael Rohleder

* gnu/packages/python-web.scm (python-socks): Update to 2.0.3.
[arguments]<#:phases>: Remove trailing #t.
---
 gnu/packages/python-web.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 94544e1e74..f1eb4fb7b5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6555,14 +6555,14 @@ (define-public python-socketio
 (define-public python-socks
   (package
     (name "python-socks")
-    (version "1.2.4")
+    (version "2.0.3")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "python-socks" version))
        (sha256
         (base32
-         "1n6xb18jy41ybgkmamakg6psp3qididd45qknxiggngaiibz43kx"))))
+         "12msk06c0glljcrx1byd78xgv05lxw81vknqwhn8ccs7an7cmag3"))))
     (build-system python-build-system)
     (arguments
      `(#:tests? #f                      ; tests not included
@@ -6571,8 +6571,7 @@ (define-public python-socks
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
-               (invoke "pytest" "tests/" "-s"))
-             #t)))))
+               (invoke "pytest" "tests/" "-s")))))))
     (propagated-inputs
      (list python-async-timeout python-curio python-trio))
     (native-inputs
-- 
2.37.3





^ permalink raw reply related	[relevance 70%]

* [bug#58211] [PATCH 2/4] gnu: python-aiohttp-socks: Update to 0.7.1.
    2022-10-01  4:27 70% ` [bug#58211] [PATCH 1/4] gnu: python-socks: Update to 2.0.3 Michael Rohleder
@ 2022-10-01  4:27 70% ` Michael Rohleder
  1 sibling, 0 replies; 200+ results
From: Michael Rohleder @ 2022-10-01  4:27 UTC (permalink / raw)
  To: 58211; +Cc: Michael Rohleder

* gnu/packages/python-web.scm (python-aiohttp-socks): Update to 0.7.1.
---
 gnu/packages/python-web.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f1eb4fb7b5..2983381cc2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -56,6 +56,7 @@
 ;;; Copyright © 2022 Nicolas Graves <ngraves@ngraves.fr>
 ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
 ;;; Copyright © 2022 msimonin <matthieu.simonin@inria.fr>
+;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -432,14 +433,14 @@ (define-public python-aiohttp
 (define-public python-aiohttp-socks
   (package
     (name "python-aiohttp-socks")
-    (version "0.6.0")
+    (version "0.7.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aiohttp_socks" version))
        (sha256
         (base32
-         "04w010bvi719ifpc3sshav95k10hf9nq8czn9yglkj206yxcypdr"))))
+         "06il43dv6qm858af841vq9qadw6h7qsfs06nnwagmwqyi72cl592"))))
     (build-system python-build-system)
     (propagated-inputs
      (list python-aiohttp python-attrs python-socks))
-- 
2.37.3





^ permalink raw reply related	[relevance 70%]

* [bug#58482] [PATCH] gnu: python-responses: Update to 0.22.0.
@ 2022-10-13  6:12 69% jgart via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2022-10-13  6:12 UTC (permalink / raw)
  To: 58482; +Cc: jgart

* gnu/packages/python-web.scm (python-responses): Update to 0.22.0.
[arguments]: Enable tests.
[native-inputs]: Add python-pytest, python-pytest-asyncio, and
python-pytest-httpserver.
[inputs]: Add python-types-toml.
---
 gnu/packages/python-web.scm | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6a9d6ee61d..7f6b8b3daf 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3461,22 +3461,31 @@ (define-public python-cookies
 (define-public python-responses
   (package
     (name "python-responses")
-    (version "0.10.6")
+    (version "0.22.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "responses" version))
               (sha256
                (base32
-                "147pacwkkqy3qf3hr33fnl1xbzgw0zsm3qppvvy9qhq8h069qbah"))))
+                "0bhhffwl0zqin4xc89nc97ynzr7l3j4b8rjqk9w9flnj2cmcnsir"))))
     (build-system python-build-system)
     (arguments
-     `(;; Test suite is not distributed:
-       ;; https://github.com/getsentry/responses/issues/38
-       #:tests? #f))
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "pytest" "-v")))))))
     (native-inputs
-     (list python-mock))
+     (list python-mock
+           python-pytest
+           python-pytest-asyncio
+           python-pytest-httpserver))
     (propagated-inputs
-     (list python-requests python-cookies python-six))
+     (list python-requests
+           python-cookies
+           python-six
+           python-types-toml))
     (home-page "https://github.com/getsentry/responses")
     (synopsis "Utility for mocking out the `requests` Python library")
     (description "A utility library for mocking out the `requests` Python
-- 
2.38.0





^ permalink raw reply related	[relevance 69%]

* [bug#58530] [PATCH 1/4]: gnu: Add siosocks
  @ 2022-10-14 21:11 66% ` Sharlatan Hellseher
  2022-10-14 21:11 65% ` [bug#58530] [PATCH 2/4]: gnu: Add aioftp Sharlatan Hellseher
  2022-10-14 21:12 65% ` [bug#58530] [PATCH 4/4]: gnu: Add parfive Sharlatan Hellseher
  2 siblings, 0 replies; 200+ results
From: Sharlatan Hellseher @ 2022-10-14 21:11 UTC (permalink / raw)
  To: 58530

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0001-gnu-Add-siosocks.patch --]
[-- Type: text/x-patch, Size: 2233 bytes --]

From ac31ebaf1111f89802a33ed1b0fe85e8a49299b3 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Fri, 14 Oct 2022 20:59:11 +0100
Subject: [PATCH 1/4] gnu: Add siosocks

* gnu/packages/python-web.scm (python-siosocks): New variable.
---
 gnu/packages/python-web.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6a9d6ee61d..a00c8b7683 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6674,6 +6674,43 @@ (define-public python-socksio
 SOCKS protocols.  It can be paired with any I/O library.")
     (license license:expat)))
 
+(define-public python-siosocks
+  (package
+    (name "python-siosocks")
+    (version "0.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "siosocks" version))
+              (sha256
+               (base32
+                "0qqxy8wl5mrmlkblzjq9nsg0cbm5jwgj409mhnhq6gd1ypvbndms"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (replace 'check
+                          (lambda* (#:key tests? #:allow-other-keys)
+                            (when tests?
+                              (invoke "pytest" "-vvv")))))))
+    (native-inputs (list python-pytest python-pytest-asyncio python-pytest-cov
+                         python-pytest-trio))
+    (propagated-inputs (list python-trio))
+    (home-page "https://github.com/pohmelie/siosocks")
+    (synopsis "SOCKSv4 & SOCKSv5 TCP proxy protocol implementation in Python")
+    (description
+     "This package provides a Python module and framework for sans-io socks proxy
+client/server with couple io backends.
+
+Features:
+@itemize
+@item Only TCP connect (no BIND, no UDP)
+@item Both client and server
+@item SOCKS versions: 4, 4a, 5
+@item SOCKSv5 auth: no auth, username/password
+@item Couple io backends: @code{asyncio}, @code{trio}, @code{socketserver}
+@item One-shot socks server (@code{python -m siosocks})
+@end itemize")
+    (license license:expat)))
+
 (define-public python-msrest
   (package
     (name "python-msrest")
-- 
2.37.3


^ permalink raw reply related	[relevance 66%]

* [bug#58530] [PATCH 2/4]: gnu: Add aioftp
    2022-10-14 21:11 66% ` [bug#58530] [PATCH 1/4]: gnu: Add siosocks Sharlatan Hellseher
@ 2022-10-14 21:11 65% ` Sharlatan Hellseher
  2022-10-14 21:12 65% ` [bug#58530] [PATCH 4/4]: gnu: Add parfive Sharlatan Hellseher
  2 siblings, 0 replies; 200+ results
From: Sharlatan Hellseher @ 2022-10-14 21:11 UTC (permalink / raw)
  To: 58530

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0002-gnu-Add-aioftp.patch --]
[-- Type: text/x-patch, Size: 2297 bytes --]

From 274047ed5622650a6e1d232cd5cec39cd9a4f516 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Fri, 14 Oct 2022 21:04:56 +0100
Subject: [PATCH 2/4] gnu: Add aioftp

* gnu/packages/python-web.scm (python-aioftp): New variable.
---
 gnu/packages/python-web.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a00c8b7683..3c4d179dcc 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3037,6 +3037,42 @@ (define-public python-requests-ftp
 adapter for use with the Requests library.")
     (license license:asl2.0)))
 
+(define-public python-aioftp
+  (package
+    (name "python-aioftp")
+    (version "0.21.4")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "aioftp" version))
+              (sha256
+               (base32
+                "1f8vql2j2b3ykqyh5bxzsp8x5f2if2c1ya232ld3hz3cc7a2dfr8"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (replace 'check
+                          (lambda* (#:key tests? #:allow-other-keys)
+                            (when tests?
+                              (invoke "pytest" "-vvv")))))))
+    (native-inputs (list python-async-timeout python-pytest
+                         python-pytest-asyncio python-pytest-cov
+                         python-trustme))
+    (propagated-inputs (list python-siosocks))
+    (home-page "https://aioftp.readthedocs.io/")
+    (synopsis "FTP client/server for asyncio in Python")
+    (description
+     "FTP client and server for asyncio (Python 3) Library implementing FTP
+protocol, both client and server for Python asyncio module.
+
+ Supported commands as client: USER, PASS, ACCT, PWD, CWD, CDUP, MKD, RMD,
+ MLSD, MLST, RNFR, RNTO, DELE, STOR, APPE, RETR, TYPE, PASV, ABOR, QUIT,
+ REST, LIST (as fallback).
+
+ Supported commands as server: USER, PASS, QUIT, PWD, CWD, CDUP, MKD, RMD,
+ MLSD, LIST (non-standard), MLST, RNFR, RNTO, DELE, STOR, RETR,
+ TYPE (\"I\" and \"A\"), PASV, ABOR, APPE, REST.")
+    (license license:asl2.0)))
+
 (define-public python-msal
   (package
     (name "python-msal")
-- 
2.37.3


^ permalink raw reply related	[relevance 65%]

* [bug#58530] [PATCH 4/4]: gnu: Add parfive
    2022-10-14 21:11 66% ` [bug#58530] [PATCH 1/4]: gnu: Add siosocks Sharlatan Hellseher
  2022-10-14 21:11 65% ` [bug#58530] [PATCH 2/4]: gnu: Add aioftp Sharlatan Hellseher
@ 2022-10-14 21:12 65% ` Sharlatan Hellseher
  2 siblings, 0 replies; 200+ results
From: Sharlatan Hellseher @ 2022-10-14 21:12 UTC (permalink / raw)
  To: 58530

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0004-gnu-Add-parfive.patch --]
[-- Type: text/x-patch, Size: 2715 bytes --]

From c51bba6b106a31f773d9dfe31dc4bc6d3c1050aa Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Fri, 14 Oct 2022 21:45:52 +0100
Subject: [PATCH 4/4] gnu: Add parfive

* gnu/packages/python-web.scm (parfive): Newv variable
---
 gnu/packages/python-web.scm | 42 +++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3c4d179dcc..c29be41eff 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -983,6 +983,48 @@ (define-public httpie
     (properties `((lint-hidden-cve . ("CVE-2019-10751"))))
     (license license:bsd-3)))
 
+(define-public parfive
+  (package
+    (name "parfive")
+    (version "2.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "parfive" version))
+              (sha256
+               (base32
+                "19dcbb6g56l5s3ih0bhs3p4acgc0gf4zdzpj4w87m69li2nhmgpx"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-before 'check 'disable-test-requiring-network
+                          (lambda _
+                            (substitute* "parfive/tests/test_downloader.py"
+                              (("def test_ftp")
+                               "def __off_test_ftp"))))
+                        (replace 'check
+                          (lambda* (#:key tests? #:allow-other-keys)
+                            (when tests?
+                              (invoke "python" "-m" "pytest" "-vvv" "parfive")))))))
+    (propagated-inputs (list python-aiofiles python-aioftp python-aiohttp
+                             python-tqdm))
+    (native-inputs (list python-pytest
+                         python-pytest-asyncio
+                         python-pytest-cov
+                         python-pytest-localserver
+                         python-pytest-socket
+                         python-setuptools-scm))
+    (home-page "https://parfive.readthedocs.io/")
+    (synopsis "HTTP and FTP parallel file downloader")
+    (description
+     "This package provides CLI tool and Python library @code{parallel} file
+downloader using asyncio. parfive can handle downloading multiple files in
+parallel as well as downloading each file in a number of chunks.
+
+asciicast demo of parfive parfive works by creating a downloader object,
+appending files to it and then running the download. parfive has a synchronous
+API, but uses asyncio to paralellise downloading the files.")
+    (license license:expat)))
+
 (define-public python-html2text
   (package
     (name "python-html2text")
-- 
2.37.3


^ permalink raw reply related	[relevance 65%]

* [bug#58587] [PATCH v3 18/22] gnu: python-openapi-spec-validator: Use pyproject-build-system.
    2022-10-22 22:20 68%   ` [bug#58587] [PATCH v3 17/22] gnu: python-openapi-schema-validator: Use pyproject-build-system Marius Bakke
@ 2022-10-22 22:20 67%   ` Marius Bakke
  1 sibling, 0 replies; 200+ results
From: Marius Bakke @ 2022-10-22 22:20 UTC (permalink / raw)
  To: 58587

* gnu/packages/python-web.scm (python-openapi-spec-validator)[build-system]:
Set to PYPROJECT-BUILD-SYSTEM.
[arguments]: Add #:test-flags.  Remove obsolete phases.
[native-inputs]: Remove PYTHON-PYPA-BUILD.
---
 gnu/packages/python-web.scm | 26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 370245de3a..cbc515fc64 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1643,33 +1643,19 @@ (define-public python-openapi-spec-validator
        (sha256
         (base32
          "1q09sjh4hsc0c8yqbd97h5mp6rwh427y6zyn8kv8wljk6sa0fs4q"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
      (list
+      ;; The example tests attempt to fetch resources from the Internet
+      ;; (see: https://github.com/p1c2u/openapi-spec-validator/issues/151).
+      #:test-flags #~'("-vv" "-k" "not Example and not Exampe")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'remove-coverage-pytest-options
             (lambda _
               (substitute* "pyproject.toml"
-                (("^--cov.*") ""))))
-          ;; XXX: PEP 517 manual build copied from python-isort.
-          (replace 'build
-            (lambda _
-              (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (invoke "pytest" "-vv"
-                        ;; The example tests attempt to fetch resources from
-                        ;; the Internet (see:
-                        ;; https://github.com/p1c2u/openapi-spec-validator/issues/151).
-                        "-k" "not Example and not Exampe"))))
-          (replace 'install
-            (lambda _
-              (let ((whl (car (find-files "dist" "\\.whl$"))))
-                (invoke "pip" "--no-cache-dir" "--no-input"
-                        "install" "--no-deps" "--prefix" #$output whl)))))))
-    (native-inputs (list python-poetry-core python-pypa-build python-pytest))
+                (("^--cov.*") "")))))))
+    (native-inputs (list python-poetry-core python-pytest))
     (propagated-inputs
      (list python-jsonschema
            python-openapi-schema-validator
-- 
2.38.0





^ permalink raw reply related	[relevance 67%]

* [bug#58587] [PATCH v3 17/22] gnu: python-openapi-schema-validator: Use pyproject-build-system.
  @ 2022-10-22 22:20 68%   ` Marius Bakke
  2022-10-22 22:20 67%   ` [bug#58587] [PATCH v3 18/22] gnu: python-openapi-spec-validator: " Marius Bakke
  1 sibling, 0 replies; 200+ results
From: Marius Bakke @ 2022-10-22 22:20 UTC (permalink / raw)
  To: 58587

* gnu/packages/python-web.scm (python-openapi-schema-validator)[build-system]:
Set to PYPROJECT-BUILD-SYSTEM.
[arguments]: Remove redundant phases.
[native-inputs]: Remove PYTHON-PYPA-BUILD.
---
 gnu/packages/python-web.scm | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f5625cc305..370245de3a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -79,6 +79,7 @@ (define-module (gnu packages python-web)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system copy)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix build-system python)
   #:use-module (guix gexp)
   #:use-module (guix utils)
@@ -1601,7 +1602,7 @@ (define-public python-openapi-schema-validator
        (sha256
         (base32
          "1swm8h74nhg63nxk347blwq9f1qn6iiq3zisndcvm7axkq3pc2df"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
      (list
       #:phases
@@ -1609,21 +1610,8 @@ (define-public python-openapi-schema-validator
           (add-after 'unpack 'remove-coverage-pytest-options
             (lambda _
               (substitute* "pyproject.toml"
-                (("^--cov.*") ""))))
-          ;; XXX: PEP 517 manual build copied from python-isort.
-          (replace 'build
-            (lambda _
-              (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (invoke "pytest"))))
-          (replace 'install
-            (lambda _
-              (let ((whl (car (find-files "dist" "\\.whl$"))))
-                (invoke "pip" "--no-cache-dir" "--no-input"
-                        "install" "--no-deps" "--prefix" #$output whl)))))))
-    (native-inputs (list python-poetry-core python-pypa-build python-pytest))
+                (("^--cov.*") "")))))))
+    (native-inputs (list python-poetry-core python-pytest))
     (propagated-inputs
      (list python-isodate
            python-jsonschema
-- 
2.38.0





^ permalink raw reply related	[relevance 68%]

* [bug#59041] [PATCH] gnu: python-bottle: Update to 0.12.23.
@ 2022-11-05  3:52 68% jgart via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: jgart via Guix-patches via @ 2022-11-05  3:52 UTC (permalink / raw)
  To: 59041; +Cc: jgart

* gnu/packages/python-web.scm (python-bottle): Update to 0.12.23.
[native-inputs]: Add python-pytest..
[arguments]: Use pytest to call test suite.
---
 gnu/packages/python-web.scm | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 905ed6a327..484ab4cfeb 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -45,7 +45,6 @@
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
 ;;; Copyright © 2021, 2022 Arun Isaac <arunisaac@systemreboot.net>
-;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
 ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
@@ -58,6 +57,7 @@
 ;;; Copyright © 2022 msimonin <matthieu.simonin@inria.fr>
 ;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
 ;;; Copyright © 2022 Baptiste Strazzulla <bstrazzull@hotmail.fr>
+;;; Copyright © 2021, 2022 jgart <jgart@dismail.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4371,14 +4371,23 @@ (define-public python-werkzeug-1.0
 (define-public python-bottle
   (package
     (name "python-bottle")
-    (version "0.12.21")
+    (version "0.12.23")
     (source
      (origin
       (method url-fetch)
       (uri (pypi-uri "bottle" version))
       (sha256
-        (base32 "0zl8sy4dhafyxqpavy7pjz0qzpakmhgh2qr6pwlw5f82rjv62z3q"))))
+        (base32 "0rs1w293gp5bhxip2cci8mfkhld6n5qcznvlna3nxclz76mf6gb8"))))
     (build-system python-build-system)
+    (native-inputs (list python-pytest))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (with-directory-excursion "test"
+                 (invoke "pytest" "-vvv"))))))))
     (home-page "https://bottlepy.org/")
     (synopsis "WSGI framework for small web-applications")
     (description "@code{python-bottle} is a WSGI framework for small web-applications.")
-- 
2.38.1





^ permalink raw reply related	[relevance 68%]

* [bug#59112] [PATCH] gnu: add python-enoslib
@ 2022-11-07 22:52 64% matthieu.simonin
  0 siblings, 0 replies; 200+ results
From: matthieu.simonin @ 2022-11-07 22:52 UTC (permalink / raw)
  To: 59112; +Cc: Matthieu Simonin

From: Matthieu Simonin <matthieu.simonin@inria.fr>

---
 gnu/packages/python-web.scm | 58 +++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 905ed6a327..65e511b7e9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -84,6 +84,7 @@
   #:use-module (guix gexp)
   #:use-module (guix utils)
   #:use-module (gnu packages)
+  #:use-module (gnu packages admin)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages check)
@@ -7889,3 +7890,60 @@ list, create, update, or delete resources (e.g. Order, Product, Collection).")
 You can use it as a library in your python project or you can explore the
 Grid5000 resources interactively using the embedded shell.")
     (license license:gpl3+)))
+
+(define-public python-enoslib
+  (package
+    (name "python-enoslib")
+    (version "v8.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.inria.fr/discovery/enoslib")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               "0vs6b0bnlv95mzv0rjbxqwrhzkgjkn91gqipgwdf7y4ffpz8nybg")))
+    (build-system python-build-system)
+    (native-inputs
+     (list python-wheel
+       python-pytest
+       python-ddt
+       python-freezegun))
+    (propagated-inputs
+     (list ansible
+       python-cryptography
+       python-grid5000
+       python-jsonschema
+       python-netaddr
+       python-packaging
+       python-requests
+       python-rich
+       python-sshtunnel
+       python-pytz))
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               ;; Otherwise Ansible fails to create its config directory.
+               (setenv "HOME" "/tmp")
+               ;; Ignoring the tests requiring an extra dependency (iotlabcli)
+               (invoke "pytest" "enoslib/tests/unit"
+               "--ignore" "enoslib/tests/unit/infra/test_utils.py"
+               "--ignore-glob" "enoslib/tests/unit/infra/enos_iotlab/*"))))
+         ;; Disable the sanity check, which fails with the following error:
+         ;;
+         ;; ContextualVersionConflict(rich 12.4.1
+         ;;   (/gnu/store/...-python-rich-12.4.1/lib/python3.9/site-packages),
+         ;;   Requirement.parse('rich[jupyter]~=12.0.0'), {'enoslib'})
+         ;;
+         ;; The optional jupyter dependency of rich isn't critical for
+         ;; EnOSlib to work
+         (delete 'sanity-check))))
+
+    (home-page "https://discovery.gitlabpages.inria.fr/enoslib/index.html")
+    (synopsis "EnOSlib")
+    (description "EnOSlib is a library to build experimental frameworks on various
+          scientific testbeds.")
+    (license license:gpl3+)))

base-commit: 8e54584d4448d37ddf8ae995bb545a181ba2493c
-- 
2.30.2





^ permalink raw reply related	[relevance 64%]

* [bug#59294] [PATCH 2/2] gnu: httpie: Use G-expressions.
  @ 2022-11-16  2:00 70% ` kiasoc5 via Guix-patches via
  0 siblings, 0 replies; 200+ results
From: kiasoc5 via Guix-patches via @ 2022-11-16  2:00 UTC (permalink / raw)
  To: 59294; +Cc: kiasoc5

* gnu/packages/python-web.scm (httpie)[arguments]: Use G-expressions.
---
 gnu/packages/python-web.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 00a848610e..6d9ebd928e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -964,7 +964,7 @@ (define-public httpie
     (build-system python-build-system)
     (arguments
      ;; The tests attempt to access external web servers, so we cannot run them.
-     '(#:tests? #f))
+     (list #:tests? #f))
     (propagated-inputs
      (list python-colorama
            python-pygments
-- 
2.38.1





^ permalink raw reply related	[relevance 70%]

Results 201-400 of ~600   |  | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-04-20 17:28     [bug#47910] [PATCH] gnu: python-wtforms: Update to 2.3.3 jgart via Guix-patches via
2021-09-11 23:37 66% ` [bug#47910] [PATCH] gnu: python-wtforms: Update to 2.3.3 and adjust arguments+inputs Raghav Gururajan via Guix-patches via
2021-09-11 23:46 66% ` Raghav Gururajan via Guix-patches via
2021-05-06 19:17     [bug#48263] [PATCH 1/2] gnu: python-hypercorn: Rename to hypercorn Vinicius Monego
2021-10-30 17:30 69% ` [bug#48263] [PATCH v2 1/3] gnu: python-hypercorn: Remove "python-" prefix from name Vinicius Monego
2021-10-30 17:30 70%   ` [bug#48263] [PATCH v2 2/3] gnu: hypercorn: Update to 0.11.2 Vinicius Monego
2021-10-30 17:30 70%   ` [bug#48263] [PATCH v2 3/3] gnu: hypercorn: Honor #:tests? in 'check' phase Vinicius Monego
2021-07-06  5:27     [bug#49429] [PATCH] gnu: Add python-flask-misaka jgart via Guix-patches via
2021-07-06  5:32 70% ` jgart via Guix-patches via
2021-07-26 17:40 70%   ` bug#49429: " Ludovic Courtès
2021-07-08 17:43 88% [bug#49468] [PATCH] Respect --without-tests in some dependencies of Mirage Maxime Devos
2021-07-21 13:43     [bug#49678] [PATCH 00/12] Update csvkit, python-agate, python-sqlalchemy and friends Pierre Langlois
2021-07-21 13:50     ` [bug#49678] [PATCH 01/12] gnu: python-alembic: Update to 1.6.5 Pierre Langlois
2021-07-21 13:50 89%   ` [bug#49678] [PATCH 02/12] gnu: python-flask-migrate: Update to 3.0.1 Pierre Langlois
2021-07-21 13:50 89%   ` [bug#49678] [PATCH 03/12] gnu: python-flask-sqlalchemy: Update to 2.5.1 Pierre Langlois
2021-07-21 13:50 86%   ` [bug#49678] [PATCH 05/12] gnu: python-aws-xray-sdk: Update to 2.8.0 Pierre Langlois
2021-08-09 16:20     [bug#49962] [PATCH 0/1] electrum requires aiorpcx update Mike Rosset
2021-08-09 16:28 70% ` [bug#49962] [PATCH 1/1] gnu: python-aiorpcx: Update to 0.18.7 Mike Rosset
2021-08-10  7:36 71% [bug#49973] [PATCH] gnu: python-aiorpcx: Update to 0.22.1 Milkey Mouse
2021-08-11  3:08     [bug#49993] [PATCH 01/18] gnu: Remove python2-exif-read Ben Sturmfels via Guix-patches via
2021-08-11  3:08 70% ` [bug#49993] [PATCH 12/18] gnu: Remove python2-oauthlib Ben Sturmfels via Guix-patches via
2021-08-11  3:08 70% ` [bug#49993] [PATCH 13/18] gnu: Remove python2-wtforms Ben Sturmfels via Guix-patches via
2021-08-11  3:08 70% ` [bug#49993] [PATCH 14/18] gnu: Remove python2-pastescript Ben Sturmfels via Guix-patches via
2021-08-11  3:08 70% ` [bug#49993] [PATCH 15/18] gnu: Remove python2-openid-teams Ben Sturmfels via Guix-patches via
2021-08-11  3:08 70% ` [bug#49993] [PATCH 16/18] gnu: Remove python2-openid-cla Ben Sturmfels via Guix-patches via
2021-08-11  3:09 70% ` [bug#49993] [PATCH 17/18] gnu: Remove python2-openid Ben Sturmfels via Guix-patches via
2021-08-11 23:44     [bug#50018] [PATCH 01/19] gnu: Add python-click-repl Vinicius Monego
2021-08-11 23:44 70% ` [bug#50018] [PATCH 04/19] gnu: python-aws-sam-translator: Update to 1.38.0 Vinicius Monego
2021-08-11 23:44 62% ` [bug#50018] [PATCH 05/19] gnu: python-aws-sam-translator: Change source for tests Vinicius Monego
2021-08-11 23:44 70% ` [bug#50018] [PATCH 06/19] gnu: python-cfn-lint: Update to 0.53.0 Vinicius Monego
2021-08-11 23:44 68% ` [bug#50018] [PATCH 07/19] gnu: python-cfn-lint: Respect #:tests? Vinicius Monego
2021-08-12 23:58     [bug#50033] [PATCH 1/4] gnu: python-bleach: Add dependency on python-packaging Vinicius Monego
2021-08-12 23:58 69% ` [bug#50033] [PATCH 3/4] gnu: Add python-flask-caching Vinicius Monego
2021-08-16  9:47     [bug#50076] [PATCH 0/1] Add python-flask-debugtoolbar BonfaceKilz
2021-08-16  9:50 70% ` [bug#50076] [PATCH 1/1] gnu: " BonfaceKilz
2021-08-26 15:08 70% [bug#50213] [PATCH] gnu: python-flask: Add missing propagated-inputs jgart via Guix-patches via
2021-09-01  3:09 67% ` [bug#50213] [PATCH 1/6] gnu: python-werkzeug: Update to 2.0.1 jgart via Guix-patches via
2021-09-01  3:09 69%   ` [bug#50213] [PATCH 6/6] gnu: python-flask: " jgart via Guix-patches via
2021-08-26 15:15     [bug#50213] [PATCH 01/19] gnu: python-pytest-6: Update to 6.2.4 jgart via Guix-patches via
2021-08-26 15:15 70% ` [bug#50213] [PATCH 08/19] gnu: python-werkzeug: Update to 2.0.1 jgart via Guix-patches via
2021-08-26 15:15 70% ` [bug#50213] [PATCH 09/19] gnu: python-werkzeug: Add missing propagated-inputs jgart via Guix-patches via
2021-08-26 15:15 70% ` [bug#50213] [PATCH 10/19] gnu: python-werkzeug: Disable tests that require networking jgart via Guix-patches via
2021-08-26 15:15 70% ` [bug#50213] [PATCH 16/19] gnu: python-flask: Update to 2.0.1 jgart via Guix-patches via
2021-08-26 15:15 70% ` [bug#50213] [PATCH 17/19] gnu: python-flask: Use add-installed-pythonpath in the check phase jgart via Guix-patches via
2021-08-26 15:15 70% ` [bug#50213] [PATCH 18/19] gnu: python-flask: Add missing native-inputs jgart via Guix-patches via
2021-08-26 15:15 70% ` [bug#50213] [PATCH 19/19] gnu: python-flask: Add missing propagated-inputs jgart via Guix-patches via
2021-09-02  5:30     [bug#49993] [v2 00/12] Remove Python 2 packages Ben Sturmfels via Guix-patches via
2021-09-02  5:30 70% ` [bug#49993] [v2 06/12] gnu: Remove python2-wtforms Ben Sturmfels via Guix-patches via
2021-09-02  5:30 70% ` [bug#49993] [v2 07/12] gnu: Remove python2-pastescript Ben Sturmfels via Guix-patches via
2021-09-02  5:30 70% ` [bug#49993] [v2 08/12] gnu: Remove python2-openid-teams Ben Sturmfels via Guix-patches via
2021-09-02  5:30 70% ` [bug#49993] [v2 09/12] gnu: Remove python2-openid-cla Ben Sturmfels via Guix-patches via
2021-09-02  5:30 70% ` [bug#49993] [v2 10/12] gnu: Remove python2-openid Ben Sturmfels via Guix-patches via
2021-09-05  8:28 68% [bug#50398] [PATCH] gnu: Add python-w3lib Pradana Adrinusa AUMARS via Guix-patches via
2021-09-16 16:20     [bug#50018] [PATCH v3 00/21] Update Celery to version 5 Vinicius Monego
2021-09-16 16:20 67% ` [bug#50018] [PATCH v3 04/21] gnu: python-cfn-lint: Respect #:tests? Vinicius Monego
2021-09-16 16:20 70% ` [bug#50018] [PATCH v3 06/21] gnu: python-s3transfer: Update to 0.5.0 Vinicius Monego
2021-09-16 16:20 70% ` [bug#50018] [PATCH v3 08/21] gnu: awscli: Update to 1.20.42 Vinicius Monego
2021-09-16 16:21 62% ` [bug#50018] [PATCH v3 09/21] gnu: python-aws-sam-translator: Change source for tests Vinicius Monego
2021-09-21 19:19     [bug#50724] [PATCH 1/3] gnu: Add python-charset-normalizer Hartmut Goebel
2021-09-21 19:22 67% ` [bug#50724] [PATCH 3/3] gnu: Add python-zeep Hartmut Goebel
2021-10-13  4:36 70% [bug#51174] [PATCH] gnu: Add python-giturlparse jgart via Guix-patches via
2021-10-15  2:38     [bug#51222] [PATCH 0/25] Package python-pantalaimon Sébastien Lerique
2021-10-16 15:42 77% ` Lars-Dominik Braun
2021-10-15  2:40     [bug#51222] [PATCH 01/25] gnu: Add python-hypothesis-6.23 Sébastien Lerique
2021-10-15  2:40 70% ` [bug#51222] [PATCH 04/25] gnu: python-aiohttp-socks: Update to 0.6.0 Sébastien Lerique
2021-10-15  2:40 70% ` [bug#51222] [PATCH 05/25] gnu: python-hyperframe: Update to 6.0.1 Sébastien Lerique
2021-10-15  2:40 70% ` [bug#51222] [PATCH 06/25] gnu: python-h11: Update to 0.12.0 Sébastien Lerique
2021-10-15  2:40 70% ` [bug#51222] [PATCH 07/25] gnu: python-socks: Update to 1.2.4 Sébastien Lerique
2021-10-15  2:40 70% ` [bug#51222] [PATCH 08/25] gnu: python-hpack: Update to 4.0.0 Sébastien Lerique
2021-10-15  2:40 69% ` [bug#51222] [PATCH 09/25] gnu: python-h2: Update to 4.1.0 Sébastien Lerique
2021-10-15  2:40 70% ` [bug#51222] [PATCH 23/25] gnu: python-socks: Fix indentation Sébastien Lerique
2021-10-21  4:01     [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
2021-10-21  4:01 70% ` [bug#51314] [PATCH 07/29] gnu: python-flask: Update to 1.1.4 Vinicius Monego
2021-10-21  4:01 70% ` [bug#51314] [PATCH 08/29] gnu: python-flask: Respect #:tests? Vinicius Monego
2021-10-21  4:01 67% ` [bug#51314] [PATCH 09/29] gnu: Add python-pyscss Vinicius Monego
2021-10-21  4:01 70% ` [bug#51314] [PATCH 10/29] gnu: Add python-flask-assets Vinicius Monego
2021-10-21  4:01 69% ` [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
2021-10-22  8:06 70% [bug#51328] [PATCH] gnu: python-slugify: Update to 5.0.2 jgart via Guix-patches via
2021-10-25 19:44     [bug#51396] [PATCH 0/7] Update python-moto Vinicius Monego
2021-10-25 19:49 70% ` [bug#51396] [PATCH 1/7] gnu: python-aws-sam-translator: Update to 1.39.0 Vinicius Monego
2021-10-25 19:50 70%   ` [bug#51396] [PATCH 2/7] gnu: python-cfn-lint: Update to 0.54.3 Vinicius Monego
2021-10-25 19:50 67%   ` [bug#51396] [PATCH 3/7] gnu: python-cfn-lint: Respect #:tests? Vinicius Monego
2021-10-25 19:50 70%   ` [bug#51396] [PATCH 4/7] gnu: python-s3transfer: Update to 0.5.0 Vinicius Monego
2021-10-25 19:50 74%   ` [bug#51396] [PATCH 5/7] gnu: Update awscli, python-boto3 and python-botocore Vinicius Monego
2021-11-05  1:58 69% ` [bug#51396] [PATCH v2 1/8] gnu: python-aws-sam-translator: Update to 1.40.0 Vinicius Monego
2021-11-05  1:58 70%   ` [bug#51396] [PATCH v2 2/8] gnu: python-cfn-lint: Update to 0.54.3 Vinicius Monego
2021-11-05  1:58 67%   ` [bug#51396] [PATCH v2 3/8] gnu: python-cfn-lint: Honor #:tests? flag Vinicius Monego
2021-11-05  1:58 70%   ` [bug#51396] [PATCH v2 4/8] gnu: python-s3transfer: Update to 0.5.0 Vinicius Monego
2021-11-05  1:58 70%   ` [bug#51396] [PATCH v2 5/8] gnu: python-s3transfer: Honor #:tests? flag Vinicius Monego
2021-11-05  1:58 74%   ` [bug#51396] [PATCH v2 6/8] gnu: Update awscli, python-boto3 and python-botocore Vinicius Monego
2021-10-27 10:52     [bug#51432] [PATCH 0/4] gnu: Add flask-combo-jsonapi david larsson
2021-10-27 11:02 65% ` [bug#51432] [PATCH 4/4] " david larsson
2021-10-27 18:44 66%   ` david larsson
2021-10-30 20:21     [bug#51520] [PATCH 0/3] Add weechat-matrix and weechat-wee-slack Arun Isaac
2021-10-30 20:25 67% ` [bug#51520] [PATCH 1/3] gnu: Add python-webcolors Arun Isaac
2021-11-06  8:58 70% [bug#51630] [PATCH 1/2] gnu: python-furl: Update to 2.1.2 jgart via Guix-patches via
2021-11-10  6:05     [bug#51630] [PATCH 1/3] gnu: python-orderedmultidict: Update to 1.0.1 jgart via Guix-patches via
2021-11-10  6:05 70% ` [bug#51630] [PATCH 3/3] gnu: python-furl: Update to 2.1.2 jgart via Guix-patches via
2021-11-10 17:32     [bug#51630] [PATCH v3 1/3] gnu: python-orderedmultidict: Update to 1.0.1 jgart via Guix-patches via
2021-11-10 17:32 70% ` [bug#51630] [PATCH 3/3] gnu: python-furl: Update to 2.1.3 jgart via Guix-patches via
2021-11-13 20:02     [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
2021-11-13 20:02 70% ` [bug#51314] [PATCH v2 03/24] gnu: python-flask: Update to 1.1.4 Vinicius Monego
2021-11-13 20:02 70% ` [bug#51314] [PATCH v2 04/24] gnu: python-flask: Respect #:tests? Vinicius Monego
2021-11-13 20:02 67% ` [bug#51314] [PATCH v2 05/24] gnu: Add python-pyscss Vinicius Monego
2021-11-13 20:02 70% ` [bug#51314] [PATCH v2 06/24] gnu: Add python-flask-assets Vinicius Monego
2021-11-13 20:02 69% ` [bug#51314] [PATCH v2 14/24] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
2021-11-16 15:16 86% [bug#51895] [PATCH] gnu: Add python-mwparserfromhell Alice BRENON
2021-11-23 19:22 64% [bug#52064] [PATCH] gnu: Add python-sodapy Luis Felipe via Guix-patches via
2021-11-24 16:20 68% ` Luis Felipe via Guix-patches via
2021-11-25 18:14 65% ` Luis Felipe via Guix-patches via
2021-12-07 21:00 70% [bug#52359] [PATCH] gnu: python2-bottle: Remove package jgart via Guix-patches via
2021-12-24 15:44 68% [bug#52780] [PATCH] gnu: Add python-canvasapi John Kehayias via Guix-patches via
2022-01-11 21:40 68% ` [bug#52780] [PATCH v2] " John Kehayias via Guix-patches via
2022-01-11 21:43 67%   ` [bug#52780] [PATCH v3] " John Kehayias via Guix-patches via
2021-12-27 23:30     [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
2021-12-27 23:30 67% ` [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss Vinicius Monego
2021-12-27 23:30 70% ` [bug#51314] [PATCH v3 04/21] gnu: Add python-flask-assets Vinicius Monego
2021-12-27 23:30 69% ` [bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
2021-12-28 21:37 70% [bug#52861] [PATCH] gnu: python-cssselect2: Fix build Morgan.J.Smith
2022-01-04  0:12 67% [bug#52995] [PATCH] gnu: Add python-tweepy Giacomo Leidi via Guix-patches via
2022-01-04  0:30 70% [bug#52997] [PATCH] gnu: Add python-facebook-sdk Giacomo Leidi via Guix-patches via
2022-03-05 23:28 70% ` Giacomo Leidi via Guix-patches via
2022-07-01 21:43 70% ` Giacomo Leidi via Guix-patches via
2022-01-11  5:20     [bug#53179] [PATCH 0/3] Update httpx and add pytest-httpx Vinicius Monego
2022-01-11  5:24 68% ` [bug#53179] [PATCH 1/3] gnu: python-httpcore: Update to 0.13.7 Vinicius Monego
2022-01-11  5:24 68%   ` [bug#53179] [PATCH 2/3] gnu: python-httpx: Update to 0.19.0 Vinicius Monego
2022-01-14 21:08 66% ` [bug#53179] [PATCH v2 1/3] gnu: python-httpcore: Update to 0.13.7 Vinicius Monego
2022-01-14 21:08 67%   ` [bug#53179] [PATCH v2 2/3] gnu: python-httpx: Update to 0.19.0 Vinicius Monego
2022-01-11 10:45 69% [bug#53185] [PATCH 1/3] gnu: Add python-geojson phodina via Guix-patches via
2022-01-11 16:25     [bug#53190] [PATCH 1/5] gnu: Add python-flake8-blind-except Vinicius Monego
2022-01-11 16:25 64% ` [bug#53190] [PATCH 5/5] gnu: Add python-zeep Vinicius Monego
2022-01-19 14:08     [bug#53364] [PATCH 01/28] gnu: Remove python2-sphinxcontrib-programoutput Vinicius Monego
2022-01-19 14:08 70% ` [bug#53364] [PATCH 07/28] gnu: Remove python2-html2text Vinicius Monego
2022-01-19 14:08 70% ` [bug#53364] [PATCH 08/28] gnu: Remove python2-html5-parser Vinicius Monego
2022-01-19 14:08 70% ` [bug#53364] [PATCH 09/28] gnu: Remove python2-openid Vinicius Monego
2022-01-19 14:08 70% ` [bug#53364] [PATCH 10/28] gnu: Remove python2-cssutils Vinicius Monego
2022-01-19 14:08 70% ` [bug#53364] [PATCH 11/28] gnu: Remove python2-css-parser Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 12/28] gnu: Remove python2-cssselect Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 13/28] gnu: Remove python2-openid-cla Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 14/28] gnu: Remove python2-openid-teams Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 15/28] gnu: Remove python2-ndg-httpsclient Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 16/28] gnu: Remove python2-webtest Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 17/28] gnu: Remove python2-url Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 18/28] gnu: Remove python2-betamax-matchers Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 19/28] gnu: Remove python2-s3transfer Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 20/28] gnu: Remove python2-htmlmin Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 21/28] gnu: Remove python2-cssmin Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 22/28] gnu: Remove python2-elasticsearch Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 23/28] gnu: Remove python2-publicsuffix Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 24/28] gnu: Remove python2-publicsuffix2 Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 25/28] gnu: Remove python2-pastescript Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 26/28] gnu: Remove python2-paste Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 27/28] gnu: Add python-urlgrabber Vinicius Monego
2022-01-19 14:09 70% ` [bug#53364] [PATCH 28/28] gnu: Remove python2-urlgrabber Vinicius Monego
2022-01-26 17:48 70% [bug#53552] [PATCH] gnu: python-uvloop: Skip failing test on PowerPC Lars-Dominik Braun
2022-01-27  4:15 70% [bug#53567] [PATCH] gnu: httpie: Update to 3.0.2 kiasoc5--- via Guix-patches via
2022-02-07  2:05     [bug#53836] [PATCH 1/6] gnu: python-regex: Update to 2022.1.18 Brendan Tildesley
2022-02-07  2:05 70% ` [bug#53836] [PATCH 2/6] gnu: python-html5-parser: Update to 0.4.10 Brendan Tildesley
2022-02-07  2:05 70% ` [bug#53836] [PATCH 4/6] gnu: python-css-parser: Update to 1.0.7 Brendan Tildesley
2022-02-08  4:16 66% [bug#53867] [PATCH] update python-flask-babel and fix searx build kiasoc5--- via Guix-patches via
2022-03-11  0:15 68% [bug#54334] [PATCH] gnu: python-gitlab: update to 3.2.0 Denis 'GNUtoo' Carikli
2022-03-15 17:51 70% [bug#54403] PATCH] gnu: httpie: Update to 3.1.0 [security fixes] kiasoc5--- via Guix-patches via
2022-03-19 13:56 74% [bug#54465] [PATCH] gnu: Added patch to python-w3lib for broken test Pradana Adrinusa AUMARS via Guix-patches via
2022-03-22 23:14 70% [bug#54530] [PATCH] gnu: python-port-for: Remove trailing boolean jgart via Guix-patches via
2022-03-22 23:15 70% [bug#54531] [PATCH] gnu: python-livereload: Update to 2.6.3 jgart via Guix-patches via
2022-03-27 19:43 83% [bug#54601] Add python-flask-compress and python-flask-seasurf kiasoc5--- via Guix-patches via
2022-03-27 19:47     ` Maxime Devos
2022-03-27 20:49 78%   ` kiasoc5--- via Guix-patches via
2022-04-03 18:36 66% [bug#54697] [PATCH] gnu: python-w3lib: Fix build Felix Gruber
2022-04-05 19:00 86% [bug#54735] gnu: Add python-ajsonrpc Peter Polidoro
2022-04-08 18:33     [bug#54798] [PATCH 0/5] Update python-jmespath to 1.0.0 Felix Gruber
2022-04-08 18:37 65% ` [bug#54798] [PATCH 4/5] gnu: awscli: Update to 1.22.89 Felix Gruber
2022-04-15 17:04     [bug#54798] [PATCH 0/5] Update python-jmespath to 1.0.0 Ludovic Courtès
2022-04-17 20:04     ` [bug#54798] [PATCH v2 0/4] " Felix Gruber
2022-04-17 20:04 70%   ` [bug#54798] [PATCH v2 2/4] gnu: awscli: Update to 1.22.90 Felix Gruber
2022-04-17 21:00     Maxime Devos
2022-04-18 11:43 68% ` [bug#54798] [PATCH v3 " Felix Gruber
2022-04-20 17:25     [bug#55044] [PATCH 0/8] Add python-scrapy Felix Gruber
2022-04-20 17:28 70% ` [bug#55044] [PATCH 5/8] gnu: Add python-protego Felix Gruber
2022-04-20 17:28 70% ` [bug#55044] [PATCH 6/8] gnu: Add python-parsel Felix Gruber
2022-04-20 17:28 67% ` [bug#55044] [PATCH 8/8] gnu: Add python-scrapy Felix Gruber
2022-04-25  3:55     [bug#55104] [PATCH 001/232] gnu: python-ipython: Re-order fields Maxim Cournoyer
2022-04-25  3:56 70% ` [bug#55104] [PATCH 091/232] gnu: python-flask: Update to 2.1.1 Maxim Cournoyer
2022-04-25  3:57     [bug#55104] [PATCH 000/232] Update IPython to latest, fix texlive-polyglossia, add more Maxim Cournoyer
2022-04-25  9:53     ` Lars-Dominik Braun
2022-04-25 13:15       ` Maxim Cournoyer
2022-04-26  7:36         ` Lars-Dominik Braun
2022-04-27  3:09           ` Maxim Cournoyer
2022-04-27 11:50 88%         ` Lars-Dominik Braun
2022-05-15  4:36     [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
2022-05-15  4:37 70% ` [bug#55424] [PATCH 063/602] gnu: Remove python2-html5lib Maxim Cournoyer
2022-05-29 18:27     [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
2022-05-29 18:27 69% ` [bug#51314] [PATCH v4 10/14] gnu: Add python-flask-login-0.5 Vinicius Monego
2022-06-07 14:27     [bug#55831] Add python-platformio and dependencies Peter Polidoro
2022-06-07 14:35 70% ` [bug#55831] [PATCH] gnu: Add python-starlette peter
2022-06-07 16:45 70% ` [bug#55831] [PATCH] Add extra dependencies to python-starlette peter
2022-06-07 17:08 70% ` [bug#55831] [PATCH] gnu: python-h11: Update to 0.13.0 peter
2022-06-07 17:13 70% ` [bug#55831] [PATCH] gnu: python-wsproto: Update to 1.1.0 peter
2022-06-07 20:09 65% ` [bug#55831] [PATCH] gnu: python-httpcore and python-httpx: Update to 0.15.0 and 0.23.0 peter
2022-06-07 20:26 70% ` [bug#55831] [PATCH] gnu: python-sanic-testing: Update requirements peter
2022-06-08 20:55     [bug#55831] [PATCH 0/8] Add platformio and dependencies peter
2022-06-08 20:55 70% ` [bug#55831] [PATCH 1/8] gnu: Add python-starlette peter
2022-06-08 20:55 70% ` [bug#55831] [PATCH 2/8] gnu: python-h11: Update to 0.13.0 peter
2022-06-08 20:55 70% ` [bug#55831] [PATCH 3/8] gnu: python-wsproto: Update to 1.1.0 peter
2022-06-08 20:55 65% ` [bug#55831] [PATCH 4/8] gnu: python-httpcore and python-httpx: Update to 0.15.0 and 0.23.0 peter
2022-06-08 20:55 70% ` [bug#55831] [PATCH 5/8] gnu: python-sanic-testing: Update requirements peter
2022-06-16  6:34 70% [bug#56015] [PATCH] gnu: python-bottle: Update to 0.12.21 jgart via Guix-patches via
2022-06-17 20:33 60% [bug#56043] [PATCH] gnu: grip: Update to 4.6.1 and use gexps Luis Henrique Gomes Higino
2022-06-18 20:11 59% ` [bug#56043] [PATCH v2] " Luis Henrique Gomes Higino
2022-06-24 15:27 70% [bug#56196] [PATCH] gnu: Add python-http-client Antero Mejr via Guix-patches via
2022-06-25  4:25 70% [bug#56208] [PATCH] gnu: Add python-sendgrid Antero Mejr via Guix-patches via
2022-07-05 17:22     [bug#56404] [PATCH 0/2] gnu: Add python-msal and oauth2ms John Kehayias via Guix-patches via
2022-07-05 17:24 66% ` [bug#56404] [PATCH 1/2] gnu: Add python-msal John Kehayias via Guix-patches via
2022-07-05 17:25 63% ` [bug#56404] [PATCH 2/2] gnu: Add oauth2ms John Kehayias via Guix-patches via
2022-07-22 14:01     [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
2022-07-22 14:02 69% ` [bug#56701] [PATCH 02/19] gnu: Add python-requests-kerberos Hartmut Goebel
2022-07-22 15:45     [bug#56706] [PATCH 00/17] Update Tryton to 6.2 Hartmut Goebel
2022-07-22 15:48 68% ` [bug#56706] [PATCH 15/17] gnu: Add python-pyactiveresource Hartmut Goebel
2022-07-22 15:48 70% ` [bug#56706] [PATCH 16/17] gnu: Add python-shopifyapi Hartmut Goebel
2022-07-24 13:33     [bug#56740] [PATCH 0/6] Some python modules Hartmut Goebel
2022-07-24 14:45 70% ` [bug#56740] [PATCH 2/6] gnu: Add python-starlette Hartmut Goebel
2022-07-27 18:57     [bug#56803] [PATCH 0/6] Add hydrus network and its dependencies Tomasz Jeneralczyk
2022-07-27 19:00 69% ` [bug#56803] [PATCH 5/6] gnu: Update python-cloudscraper Tomasz Jeneralczyk
2022-08-08 10:33     [bug#57056] [PATCH] Update python-lsp-server Nicolas Graves via Guix-patches via
2022-08-08 10:36 70% ` [bug#57056] [PATCH 1/3] gnu: Add python-whatthepatch Nicolas Graves via Guix-patches via
2022-08-12 11:00 70% ` [bug#57056] [PATCH v2 " Nicolas Graves via Guix-patches via
2022-08-14 16:35 70% ` [bug#57056] [PATCH v3 " Nicolas Graves via Guix-patches via
2022-08-09 22:43     [bug#57094] [PATCH 1/9] gnu: python-django-modelcluster: Update to 6.0 Nicolas Graves via Guix-patches via
2022-08-09 22:43 69% ` [bug#57094] [PATCH 3/9] gnu: Add python-curlylint Nicolas Graves via Guix-patches via
2022-08-09 22:43 69% ` [bug#57094] [PATCH 8/9] gnu: Add python-djhtml Nicolas Graves via Guix-patches via
2022-08-14 12:46     [bug#56803] [PATCH v2 1/6] gnu: Add swftools Tomasz Jeneralczyk
2022-08-14 12:46 69% ` [bug#56803] [PATCH v2 5/6] gnu: Update python-cloudscraper Tomasz Jeneralczyk
2022-08-25 20:30 70% [bug#57419] [PATCH] gnu: add python-grid5000 matthieu.simonin
2022-08-30  9:00 69% ` matthieu.simonin
2022-08-26 14:50 61% [bug#57431] [PATCH]: Add PyQt 6 Zhu Zihao
2022-09-03 16:43     [bug#54539] [PATCH v2 01/30] gnu: package-management: Autoload unless used by Guix Maxime Devos
2022-09-03 16:43 26% ` [bug#54539] [PATCH v2 30/30] gnu: Autoload more Maxime Devos
     [not found]     <cover.1663875244.git.code@greghogan.com>
2022-09-22 19:44 70% ` [bug#58012] [core-updates PATCH 2/7] gnu: python-aws-sam-translator: Update to 1.51.0 Greg Hogan
2022-09-22 19:44 70% ` [bug#58012] [core-updates PATCH 3/7] gnu: Add python-jschema-to-python Greg Hogan
2022-09-22 19:44 70% ` [bug#58012] [core-updates PATCH 4/7] gnu: Add python-sarif-om Greg Hogan
2022-09-22 19:44 69% ` [bug#58012] [core-updates PATCH 5/7] gnu: python-cfn-lint: Update to 0.65.0 Greg Hogan
2022-09-24 16:17 72% [bug#58043] [PATCH] Add awscli-2 and its dependencies Baptiste Strazzulla
2022-10-01  4:27     [bug#58211] [PATCH 0/4] gnu: pantalaimon: Update to 0.10.5 Michael Rohleder
2022-10-01  4:27 70% ` [bug#58211] [PATCH 1/4] gnu: python-socks: Update to 2.0.3 Michael Rohleder
2022-10-01  4:27 70% ` [bug#58211] [PATCH 2/4] gnu: python-aiohttp-socks: Update to 0.7.1 Michael Rohleder
2022-10-13  6:12 69% [bug#58482] [PATCH] gnu: python-responses: Update to 0.22.0 jgart via Guix-patches via
2022-10-14 21:08     [bug#58530] [PATCH 0/4]: gnu: Add parfive Sharlatan Hellseher
2022-10-14 21:11 66% ` [bug#58530] [PATCH 1/4]: gnu: Add siosocks Sharlatan Hellseher
2022-10-14 21:11 65% ` [bug#58530] [PATCH 2/4]: gnu: Add aioftp Sharlatan Hellseher
2022-10-14 21:12 65% ` [bug#58530] [PATCH 4/4]: gnu: Add parfive Sharlatan Hellseher
2022-10-22 19:06     [bug#58587] [PATCH 00/14] Introducing pyproject-build-system Marius Bakke
2022-10-22 22:20     ` [bug#58587] [PATCH v3 01/22] gnu: python-setuptools: Move to python-build Marius Bakke
2022-10-22 22:20 68%   ` [bug#58587] [PATCH v3 17/22] gnu: python-openapi-schema-validator: Use pyproject-build-system Marius Bakke
2022-10-22 22:20 67%   ` [bug#58587] [PATCH v3 18/22] gnu: python-openapi-spec-validator: " Marius Bakke
2022-11-05  3:52 68% [bug#59041] [PATCH] gnu: python-bottle: Update to 0.12.23 jgart via Guix-patches via
2022-11-07 22:52 64% [bug#59112] [PATCH] gnu: add python-enoslib matthieu.simonin
2022-11-16  1:56     [bug#59294] [PATCH 0/2] Update httpie to 3.2.1 kiasoc5 via Guix-patches via
2022-11-16  2:00 70% ` [bug#59294] [PATCH 2/2] gnu: httpie: Use G-expressions kiasoc5 via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).