GNU bug report logs - #51222
[PATCH 0/25] Package python-pantalaimon

Previous Next

Package: guix-patches;

Reported by: Sébastien Lerique <sl <at> eauchat.org>

Date: Fri, 15 Oct 2021 02:40:01 UTC

Severity: normal

Tags: patch

Done: Lars-Dominik Braun <lars <at> 6xq.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51222 in the body.
You can then email your comments to 51222 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:40:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sébastien Lerique <sl <at> eauchat.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 15 Oct 2021 02:40:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/25] Package python-pantalaimon
Date: Fri, 15 Oct 2021 11:38:20 +0900
Dear Guix,

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!

(One question is how to generate the git summary I see in other 0/n
patchset messages, which would have avoided me cancelling bugs #51220
and #51221!)

Best,
Sébastien




Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:42:02 GMT) Full text and rfc822 format available.

Message #8 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 01/25] gnu: Add python-hypothesis-6.23.
Date: Fri, 15 Oct 2021 11:40:12 +0900
* gnu/packages/check.scm (python-hypothesis-6.23): New variable.
---
 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 @@ seamlessly into your existing Python unit testing work flow.")
                 "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.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:42:02 GMT) Full text and rfc822 format available.

Message #11 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 02/25] gnu: python-peewee: Update to 3.14.4.
Date: Fri, 15 Oct 2021 11:40:13 +0900
* gnu/packages/databases.scm (python-peewee): Update to 3.14.4.
---
 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 b1dd44da1c..4a8b267fa3 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2586,13 +2586,13 @@ on another machine, accessed via TCP/IP.")
 (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.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:42:02 GMT) Full text and rfc822 format available.

Message #14 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 03/25] gnu: python-pycryptodome: Update to 3.11.0.
Date: Fri, 15 Oct 2021 11:40:14 +0900
* gnu/packages/python-crypto.scm (python-pycryptodome): Update to 3.11.0.
---
 gnu/packages/python-crypto.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 1cddc56f1b..2359ea34f5 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -924,14 +924,14 @@ protocol (Javascript Object Signing and Encryption).")
 (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)
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:42:03 GMT) Full text and rfc822 format available.

Message #17 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 04/25] gnu: python-aiohttp-socks: Update to 0.6.0.
Date: Fri, 15 Oct 2021 11:40:15 +0900
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:42:03 GMT) Full text and rfc822 format available.

Message #20 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 05/25] gnu: python-hyperframe: Update to 6.0.1.
Date: Fri, 15 Oct 2021 11:40:16 +0900
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:43:02 GMT) Full text and rfc822 format available.

Message #23 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 06/25] gnu: python-h11: Update to 0.12.0.
Date: Fri, 15 Oct 2021 11:40:17 +0900
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:43:02 GMT) Full text and rfc822 format available.

Message #26 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 07/25] gnu: python-socks: Update to 1.2.4.
Date: Fri, 15 Oct 2021 11:40:18 +0900
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:43:02 GMT) Full text and rfc822 format available.

Message #29 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 08/25] gnu: python-hpack: Update to 4.0.0.
Date: Fri, 15 Oct 2021 11:40:19 +0900
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:43:03 GMT) Full text and rfc822 format available.

Message #32 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 09/25] gnu: python-h2: Update to 4.1.0.
Date: Fri, 15 Oct 2021 11:40:20 +0900
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:43:03 GMT) Full text and rfc822 format available.

Message #35 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 10/25] gnu: python-future: Update to 0.18.2.
Date: Fri, 15 Oct 2021 11:40:21 +0900
* gnu/packages/python-xyz.scm (python-future): Update to 0.18.2.
---
 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 634cd5efec..f62b75faf5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14470,14 +14470,14 @@ development version of CPython that are not available in older releases.")
 (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.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:43:04 GMT) Full text and rfc822 format available.

Message #38 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 11/25] gnu: python-curio: Update to 1.5.
Date: Fri, 15 Oct 2021 11:40:22 +0900
* gnu/packages/python-xyz.scm (python-curio): Update to 1.5.
---
 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 f62b75faf5..d43656820c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10698,13 +10698,13 @@ printing of sub-tables by specifying a row range.")
 (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.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:44:01 GMT) Full text and rfc822 format available.

Message #41 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 12/25] gnu: python-faker: Update to 9.3.1.
Date: Fri, 15 Oct 2021 11:40:23 +0900
* gnu/packages/python-xyz.scm (python-faker): Update to 9.3.1.
[native-inputs]: Use python-pytest-6.
---
 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 d43656820c..2000c00bcd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15671,13 +15671,13 @@ parsing UK postcodes.")
 (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
@@ -15687,7 +15687,7 @@ parsing UK postcodes.")
   (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.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:44:02 GMT) Full text and rfc822 format available.

Message #44 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 13/25] gnu: python-ukpostcodeparser: Update to 1.1.2.
Date: Fri, 15 Oct 2021 11:40:24 +0900
* 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.
---
 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 2000c00bcd..6b0aa5052b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15650,14 +15650,29 @@ simple, lightweight implementation.")
 (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.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:44:02 GMT) Full text and rfc822 format available.

Message #47 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 14/25] gnu: python-unpaddedbase64: Update to 2.1.0.
Date: Fri, 15 Oct 2021 11:40:25 +0900
* 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.
---
 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 6b0aa5052b..27a8054557 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24576,19 +24576,40 @@ replacement for dictionaries where immutability is desired.")
 (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.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:44:02 GMT) Full text and rfc822 format available.

Message #50 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 15/25] gnu: Add python-atomicwrites-1.4.
Date: Fri, 15 Oct 2021 11:40:26 +0900
* gnu/packages/python-xyz.scm (python-atomicwrites-1.4): New variable.
---
 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 27a8054557..d64385972f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12346,6 +12346,17 @@ for atomic file system operations.")
 (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.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:44:03 GMT) Full text and rfc822 format available.

Message #53 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 16/25] gnu: Add python2-atomicwrites-1.4.
Date: Fri, 15 Oct 2021 11:40:27 +0900
* gnu/packages/python-xyz.scm (python2-atomicwrites-1.4): New variable.
---
 gnu/packages/python-xyz.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d64385972f..0aaac07d32 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12357,6 +12357,9 @@ for atomic file system operations.")
                (base32
                 "0yla2svfhfqrcj8qbyqzx7wi4jy0dwcxvlkg0k3zjd54s5m3jw5f"))))))
 
+(define-public python2-atomicwrites-1.4
+  (package-with-python2 python-atomicwrites-1.4))
+
 (define-public python-qstylizer
   (package
     (name "python-qstylizer")
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:45:01 GMT) Full text and rfc822 format available.

Message #56 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 17/25] gnu: Add python-aioresponses.
Date: Fri, 15 Oct 2021 11:40:28 +0900
* gnu/packages/python-xyz.scm (python-aioresponses): New variable.
---
 gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0aaac07d32..02e605b16d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -229,6 +229,46 @@
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
 
+(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)))
+
 (define-public python-ueberzug
   (package
     (name "python-ueberzug")
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:45:02 GMT) Full text and rfc822 format available.

Message #59 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 18/25] gnu: Add python-janus.
Date: Fri, 15 Oct 2021 11:40:29 +0900
* gnu/packages/python-xyz.scm (python-janus): New variable.
---
 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 02e605b16d..5f80a39fc0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -269,6 +269,45 @@ The purpose of this package is to provide an easy way to test asynchronous
 HTTP requests.")
     (license license:expat)))
 
+(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.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:45:02 GMT) Full text and rfc822 format available.

Message #62 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 19/25] gnu: Add python-logbook.
Date: Fri, 15 Oct 2021 11:40:30 +0900
* gnu/packages/python-xyz.scm (python-logbook): New variable.
---
 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 5f80a39fc0..b5c40692db 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -308,6 +308,44 @@ asynchronous one follows
 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.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:45:02 GMT) Full text and rfc822 format available.

Message #65 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 20/25] gnu: Add python-olm.
Date: Fri, 15 Oct 2021 11:40:31 +0900
* gnu/packages/python-xyz.scm (python-olm): 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 b5c40692db..f090eb2b5a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -229,6 +229,31 @@
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
 
+(define-public python-olm
+  (package
+    (name "python-olm")
+    (version "3.1.3")
+    (source
+     ;; Note: at the time of writing, the upstream version is 3.2.6, so it
+     ;; may be worth using the subfolder of the upstream git repository
+     ;; instead of PyPi.
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "python-olm" version))
+       (sha256
+        (base32 "0wg8zr1gbba8396pf3hsxmv2ysmkql9qpwg3i267hxrprqrn2v4s"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-cffi" ,python-cffi)
+       ("python-future" ,python-future)))
+    (inputs
+     `(("libolm" ,libolm)))
+    (home-page "https://gitlab.matrix.org/matrix-org/olm")
+    (synopsis "Python CFFI bindings for the olm cryptographic ratchet library")
+    (description
+     "Python CFFI bindings for the olm cryptographic ratchet library.")
+    (license license:asl2.0)))
+
 (define-public python-aioresponses
   (package
     (name "python-aioresponses")
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:45:03 GMT) Full text and rfc822 format available.

Message #68 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 21/25] gnu: Add python-matrix-nio.
Date: Fri, 15 Oct 2021 11:40:32 +0900
* gnu/packages/python-xyz.scm (python-matrix-nio): New variable.
---
 gnu/packages/python-xyz.scm | 76 +++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f090eb2b5a..453d54a085 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -294,6 +294,82 @@ The purpose of this package is to provide an easy way to test asynchronous
 HTTP requests.")
     (license license:expat)))
 
+(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)))
+
 (define-public python-janus
   (package
     (name "python-janus")
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:45:03 GMT) Full text and rfc822 format available.

Message #71 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 22/25] gnu: Add python-pantalaimon.
Date: Fri, 15 Oct 2021 11:40:33 +0900
* gnu/packages/python-xyz.scm (python-pantalaimon): New variable.
---
 gnu/packages/python-xyz.scm | 56 +++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 453d54a085..256aed9068 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -447,6 +447,62 @@ 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-pantalaimon
+  (package
+    (name "python-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)))
+
 (define-public python-ueberzug
   (package
     (name "python-ueberzug")
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:46:02 GMT) Full text and rfc822 format available.

Message #74 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 23/25] gnu: python-socks: Fix indentation.
Date: Fri, 15 Oct 2021 11:40:34 +0900
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:46:02 GMT) Full text and rfc822 format available.

Message #77 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 24/25] gnu: python-faker: Fix indentation.
Date: Fri, 15 Oct 2021 11:40:35 +0900
* gnu/packages/python-xyz.scm (python-faker): Fix indentation.
---
 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 256aed9068..2ddd599aba 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15973,37 +15973,37 @@ parsing UK postcodes.")
 
 (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.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 02:46:02 GMT) Full text and rfc822 format available.

Message #80 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 51222 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 25/25] gnu: python-xyz.scm: Add copyright line.
Date: Fri, 15 Oct 2021 11:40:36 +0900
* gnu/packages/python-xyz.scm: Add copyright line for Sébastien
Lerique.
---
 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 2ddd599aba..6697361796 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -108,6 +108,7 @@
 ;;; Copyright © 2021 Simon Streit <simon <at> netpanic.org>
 ;;; Copyright © 2021 Daniel Meißner <daniel.meissner-i4k <at> ruhr-uni-bochum.de>
 ;;; Copyright © 2021 Pradana Aumars <paumars <at> courrier.dev>
+;;; Copyright © 2021 Sébastien Lerique <sl <at> eauchat.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Fri, 15 Oct 2021 13:11:02 GMT) Full text and rfc822 format available.

Message #83 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: sl <at> eauchat.org
Cc: 51222 <at> debbugs.gnu.org
Subject: [bug#51222] [PATCH 0/25] Package python-pantalaimon
Date: Fri, 15 Oct 2021 13:09:57 +0000
> (One question is how to generate the git summary I see in other 0/n
> patchset messages, which would have avoided me cancelling bugs #51220
> and #51221!)

Use the --cover-letter option when running git format-patch.




Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Sat, 16 Oct 2021 15:43:01 GMT) Full text and rfc822 format available.

Message #86 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Sébastien Lerique <sl <at> eauchat.org>
Cc: 51222 <at> debbugs.gnu.org
Subject: Re: [bug#51222] [PATCH 0/25] Package python-pantalaimon
Date: Sat, 16 Oct 2021 17:42:28 +0200
[Message part 1 (text/plain, inline)]
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. 
[0001-gnu-Add-python-hypothesis-6.23.patch (text/x-diff, attachment)]
[0002-gnu-python-peewee-Update-to-3.14.4.patch (text/x-diff, attachment)]
[0003-gnu-python-pycryptodome-Update-to-3.11.0.patch (text/x-diff, attachment)]
[0004-gnu-python-aiohttp-socks-Update-to-0.6.0.patch (text/x-diff, attachment)]
[0005-gnu-python-hyperframe-Update-to-6.0.1.patch (text/x-diff, attachment)]
[0006-gnu-python-h11-Update-to-0.12.0.patch (text/x-diff, attachment)]
[0007-gnu-python-socks-Update-to-1.2.4.patch (text/x-diff, attachment)]
[0008-gnu-python-hpack-Update-to-4.0.0.patch (text/x-diff, attachment)]
[0009-gnu-python-h2-Update-to-4.1.0.patch (text/x-diff, attachment)]
[0010-gnu-python-future-Update-to-0.18.2.patch (text/x-diff, attachment)]
[0011-gnu-python-curio-Update-to-1.5.patch (text/x-diff, attachment)]
[0012-gnu-python-faker-Update-to-9.3.1.patch (text/x-diff, attachment)]
[0013-gnu-python-ukpostcodeparser-Update-to-1.1.2.patch (text/x-diff, attachment)]
[0014-gnu-python-unpaddedbase64-Update-to-2.1.0.patch (text/x-diff, attachment)]
[0015-gnu-Add-python-atomicwrites-1.4.patch (text/x-diff, attachment)]
[0016-gnu-Add-python-aioresponses.patch (text/x-diff, attachment)]
[0017-gnu-Add-python-janus.patch (text/x-diff, attachment)]
[0018-gnu-Add-python-logbook.patch (text/x-diff, attachment)]
[0019-gnu-Add-python-fields.patch (text/x-diff, attachment)]
[0020-gnu-Add-python-aspectlib.patch (text/x-diff, attachment)]
[0021-gnu-Add-python-olm.patch (text/x-diff, attachment)]
[0022-gnu-Add-python-matrix-nio.patch (text/x-diff, attachment)]
[0023-gnu-Add-pantalaimon.patch (text/x-diff, attachment)]
[0024-gnu-python-socks-Fix-indentation.patch (text/x-diff, attachment)]
[0025-gnu-python-faker-Fix-indentation.patch (text/x-diff, attachment)]
[0026-gnu-python-xyz.scm-Add-copyright-line.patch (text/x-diff, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#51222; Package guix-patches. (Mon, 18 Oct 2021 00:56:02 GMT) Full text and rfc822 format available.

Message #89 received at 51222 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: Lars-Dominik Braun <lars <at> 6xq.net>
Cc: 51222 <at> debbugs.gnu.org
Subject: Re: [bug#51222] [PATCH 0/25] Package python-pantalaimon
Date: Mon, 18 Oct 2021 09:53:41 +0900
Hi Lars-Dominik,

> 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?
>

Thanks for the changes, this all looks wonderful!

Best,
Sébastien




Reply sent to Lars-Dominik Braun <lars <at> 6xq.net>:
You have taken responsibility. (Mon, 18 Oct 2021 07:29:03 GMT) Full text and rfc822 format available.

Notification sent to Sébastien Lerique <sl <at> eauchat.org>:
bug acknowledged by developer. (Mon, 18 Oct 2021 07:29:03 GMT) Full text and rfc822 format available.

Message #94 received at 51222-done <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Sébastien Lerique <sl <at> eauchat.org>
Cc: 51222-done <at> debbugs.gnu.org
Subject: Re: [bug#51222] [PATCH 0/25] Package python-pantalaimon
Date: Mon, 18 Oct 2021 09:28:37 +0200
Hi,

> Thanks for the changes, this all looks wonderful!
pushed as 23c9d22e118db2362c8f0132a49c3004fa668b12 and following.

Thanks,
Lars





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 15 Nov 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 134 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.