GNU bug report logs - #39028
[PATCH] gnu: Add python-asyncssh and dependencies

Previous Next

Package: guix-patches;

Reported by: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>

Date: Wed, 8 Jan 2020 09:11:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.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 39028 in the body.
You can then email your comments to 39028 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#39028; Package guix-patches. (Wed, 08 Jan 2020 09:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars-Dominik Braun <ldb <at> leibniz-psychology.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 08 Jan 2020 09:11:02 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add python-asyncssh and dependencies
Date: Wed, 8 Jan 2020 10:10:01 +0100
* gnu/packages/python-crypto.scm
(python-cryptography-vectors): Version bump to 2.8
(python-cryptography): Version bump to 2.8
(python-pyopenssl)[arguments]: Disable failing tests
* gnu/packages/python-xyz.scm (python-asyncssh): New variable
(python-gssapi): New variable
(python-k5test): New variable
(python-forbiddenfruit): New variable
(python-shouldbe): New variable
---
 gnu/packages/python-crypto.scm |  14 ++-
 gnu/packages/python-xyz.scm    | 164 +++++++++++++++++++++++++++++++++
 2 files changed, 173 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 43a0d95ddc..eb5be5e794 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -361,14 +361,14 @@ is used by the Requests library to verify HTTPS requests.")
 (define-public python-cryptography-vectors
   (package
     (name "python-cryptography-vectors")
-    (version "2.7")
+    (version "2.8")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "cryptography_vectors" version))
        (sha256
         (base32
-         "1g38zw90510azyfrj6mxbslx2gp9yrnv5dac0w2819k9ssdznbgi"))))
+         "05pi3shqz0fgvy0d5yazza67bbnam8fkrx2ayrrclgkaqms23lvc"))))
     (build-system python-build-system)
     (home-page "https://github.com/pyca/cryptography")
     (synopsis "Test vectors for the cryptography package")
@@ -383,14 +383,14 @@ is used by the Requests library to verify HTTPS requests.")
 (define-public python-cryptography
   (package
     (name "python-cryptography")
-    (version "2.7")
+    (version "2.8")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "cryptography" version))
        (sha256
         (base32
-         "1inlnr36kl36551c9rcad99jmhk81v33by3glkadwdcgmi17fd76"))))
+         "0l8nhw14npknncxdnp7n4hpmjyscly6g7fbivyxkjwvlv071zniw"))))
     (build-system python-build-system)
     (inputs
      `(("openssl" ,openssl)))
@@ -456,7 +456,11 @@ message digests and key derivation functions.")
                       "not test_fallback_default_verify_paths "
                       ;; This test attempts to make a connection to
                       ;; an external web service.
-                      "and not test_set_default_verify_paths")))))))
+                      "and not test_set_default_verify_paths "
+                      ;; These fail for unknown reasons.
+                      "and not test_add_extra_chain_cert "
+                      "and not test_use_certificate_chain_file_bytes "
+                      "and not test_use_certificate_chain_file_unicode")))))))
     (propagated-inputs
      `(("python-cryptography" ,python-cryptography)
        ("python-six" ,python-six)))
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 194d8b8b0c..ae69fc974c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -112,6 +112,7 @@
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
+  #:use-module (gnu packages kerberos)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages linux)
@@ -17117,3 +17118,166 @@ scripts to load entry points more quickly.")
 functional combinators.  Parser combinators are just higher-order functions
 that take parsers as their arguments and return them as result values.")
     (license license:expat)))
+
+(define-public python-asyncssh
+  (package
+    (name "python-asyncssh")
+    (version "2.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "asyncssh" version))
+        (sha256
+          (base32
+            "101kxyydrps9lc716vjs0nrvzfjp8644iir1xm19pl0ma73b9l0r"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-cryptography" ,python-cryptography)
+       ("python-pyopenssl" ,python-pyopenssl)
+       ("python-gssapi" ,python-gssapi)
+       ("python-bcrypt" ,python-bcrypt)))
+    ;; required for test suite
+    (native-inputs
+     `(("openssh" ,openssh)
+       ("openssl" ,openssl)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'disable-tests
+           (lambda* _
+            (substitute* "tests/test_agent.py"
+              ;; Test fails for unknown reason
+              (("async def test_confirm")
+                "@unittest.skip('disabled by guix')\n    "
+                "async def test_confirm")))))))
+    (home-page "https://asyncssh.readthedocs.io/")
+    (synopsis
+      "Asynchronous SSHv2 client and server library")
+    (description
+      "AsyncSSH is a Python package which provides an asynchronous client and
+server implementation of the SSHv2 protocol on top of the Python 3.6+ asyncio
+framework")
+    (license license:epl2.0)))
+
+(define-public python-gssapi
+  (package
+    (name "python-gssapi")
+    (version "1.6.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "gssapi" version))
+        (sha256
+          (base32
+            "1gymg4asvwrz7y13qpwp2s5g8qwq179d72gkj09q6bfcgs82l5wr"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-decorator" ,python-decorator)
+       ("python-six" ,python-six)))
+    (inputs
+     `(("mit-krb5" ,mit-krb5)))
+    ;; for tests
+    (native-inputs
+     `(("python-shouldbe" ,python-shouldbe)
+       ("python-parameterized" ,python-parameterized)
+       ("python-k5test" ,python-k5test)
+       ("python-nose" ,python-nose)))
+    (home-page
+      "https://github.com/pythongssapi/python-gssapi")
+    (synopsis "Python GSSAPI Wrapper")
+    (description "Python-GSSAPI provides both low-level and high level wrappers
+around the GSSAPI C libraries.  While it focuses on the Kerberos mechanism, it
+should also be useable with other GSSAPI mechanisms.")
+    (license license:isc)))
+
+(define-public python-k5test
+  (package
+    (name "python-k5test")
+    (version "0.9.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "k5test" version))
+        (sha256
+          (base32
+            "1lqp3jgfngyhaxjgj3n230hn90wsylwilh120yjf62h7b1s02mh8"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-six" ,python-six)
+       ;; `which`, `kadmin.local` binaries called inside library
+       ("which" ,which)
+       ("mit-krb5" ,mit-krb5)))
+    (native-inputs `(("mit-krb5" ,mit-krb5)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-paths
+           (lambda* _
+            (substitute* "k5test/realm.py"
+              (("'kadmin_local'") "'kadmin.local'")))))))
+    (home-page
+      "https://github.com/pythongssapi/k5test")
+    (synopsis
+      "Library for testing Python applications in self-contained Kerberos 5
+environments")
+    (description
+      "k5test is a library for setting up self-contained Kerberos 5
+environments, and running Python unit tests inside those environments.
+It is based on the file of the same name found alongside the MIT Kerberos 5
+unit tests.")
+    (license license:isc)))
+
+(define-public python-forbiddenfruit
+  (package
+    (name "python-forbiddenfruit")
+    (version "0.1.3")
+    (source
+     (origin
+       ;; Source tarball on PyPi lacks Makefile that builds and runs tests
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/clarete/forbiddenfruit")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1fp2xvdqpi910j9r3q68x38phpxbm700gjdi2m2j5gs91xdnyyh2"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "make" "SKIP_DEPS=1"))))))
+    (native-inputs
+     `(("python-nose" ,python-nose)
+       ("python-coverage" ,python-coverage)))
+    (home-page
+      "https://github.com/clarete/forbiddenfruit")
+    (synopsis "Patch python built-in objects")
+    (description "This project allows Python code to extend built-in types.")
+    (license (list license:gpl3+ license:expat))))
+
+(define-public python-shouldbe
+  (package
+    (name "python-shouldbe")
+    (version "0.1.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "shouldbe" version))
+        (sha256
+          (base32
+            "16zbvjxf71dl4yfbgcr6idyim3mdrfvix1dv8b95p0s9z07372pj"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-forbiddenfruit" ,python-forbiddenfruit)))
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (home-page
+      "https://github.com/directxman12/should_be")
+    (synopsis
+      "Python Assertion Helpers inspired by Shouldly")
+    (description
+      "Python Assertion Helpers inspired by Shouldly")
+    (license license:isc)))
+
-- 
2.20.1





Information forwarded to guix-patches <at> gnu.org:
bug#39028; Package guix-patches. (Thu, 09 Jan 2020 14:16:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
Cc: 39028 <at> debbugs.gnu.org
Subject: Re: [bug#39028] [PATCH] gnu: Add python-asyncssh and dependencies
Date: Thu, 9 Jan 2020 15:15:27 +0100
Hi Lars-Dominik,

Thank you for this patch.

Usually, several packages are added with a series: one new package in
one patch. Could you split this big patch into 6 patches? Or explain
why it is a big one.

Thank you in advance.


All the best,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#39028; Package guix-patches. (Mon, 13 Jan 2020 07:48:02 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: 39028 <at> debbugs.gnu.org
Cc: zimon.toutoune <at> gmail.com
Subject: [PATCH 1/7] gnu: Add python-shouldbe
Date: Mon, 13 Jan 2020 08:46:49 +0100
* gnu/packages/python-xyz.scm (python-shouldbe): 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 194d8b8b0c..646d50697c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17117,3 +17117,28 @@ scripts to load entry points more quickly.")
 functional combinators.  Parser combinators are just higher-order functions
 that take parsers as their arguments and return them as result values.")
     (license license:expat)))
+
+(define-public python-shouldbe
+  (package
+    (name "python-shouldbe")
+    (version "0.1.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "shouldbe" version))
+        (sha256
+          (base32
+            "16zbvjxf71dl4yfbgcr6idyim3mdrfvix1dv8b95p0s9z07372pj"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-forbiddenfruit" ,python-forbiddenfruit)))
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (home-page
+      "https://github.com/directxman12/should_be")
+    (synopsis
+      "Python Assertion Helpers inspired by Shouldly")
+    (description
+      "Python Assertion Helpers inspired by Shouldly")
+    (license license:isc)))
+
-- 
2.20.1





Information forwarded to guix-patches <at> gnu.org:
bug#39028; Package guix-patches. (Mon, 13 Jan 2020 07:48:02 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: 39028 <at> debbugs.gnu.org
Cc: zimon.toutoune <at> gmail.com
Subject: [PATCH 2/7] gnu: Add python-forbiddenfruit
Date: Mon, 13 Jan 2020 08:46:50 +0100
* gnu/packages/python-xyz.scm (python-forbiddenfruit): New variable
---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 646d50697c..e9d9c372e7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17142,3 +17142,32 @@ that take parsers as their arguments and return them as result values.")
       "Python Assertion Helpers inspired by Shouldly")
     (license license:isc)))
 
+(define-public python-forbiddenfruit
+  (package
+    (name "python-forbiddenfruit")
+    (version "0.1.3")
+    (source
+     (origin
+       ;; Source tarball on PyPi lacks Makefile that builds and runs tests
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/clarete/forbiddenfruit")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1fp2xvdqpi910j9r3q68x38phpxbm700gjdi2m2j5gs91xdnyyh2"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "make" "SKIP_DEPS=1"))))))
+    (native-inputs
+     `(("python-nose" ,python-nose)
+       ("python-coverage" ,python-coverage)))
+    (home-page
+      "https://github.com/clarete/forbiddenfruit")
+    (synopsis "Patch python built-in objects")
+    (description "This project allows Python code to extend built-in types.")
+    (license (list license:gpl3+ license:expat))))
-- 
2.20.1





Information forwarded to guix-patches <at> gnu.org:
bug#39028; Package guix-patches. (Mon, 13 Jan 2020 07:48:03 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: 39028 <at> debbugs.gnu.org
Cc: zimon.toutoune <at> gmail.com
Subject: [PATCH 4/7] gnu: Add python-gssapi
Date: Mon, 13 Jan 2020 08:46:52 +0100
* gnu/packages/python-xyz.scm (python-gssapi): New variable
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 846113aceb..e12f15fac8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17210,3 +17210,33 @@ It is based on the file of the same name found alongside the MIT Kerberos 5
 unit tests.")
     (license license:isc)))
 
+(define-public python-gssapi
+  (package
+    (name "python-gssapi")
+    (version "1.6.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "gssapi" version))
+        (sha256
+          (base32
+            "1gymg4asvwrz7y13qpwp2s5g8qwq179d72gkj09q6bfcgs82l5wr"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-decorator" ,python-decorator)
+       ("python-six" ,python-six)))
+    (inputs
+     `(("mit-krb5" ,mit-krb5)))
+    ;; for tests
+    (native-inputs
+     `(("python-shouldbe" ,python-shouldbe)
+       ("python-parameterized" ,python-parameterized)
+       ("python-k5test" ,python-k5test)
+       ("python-nose" ,python-nose)))
+    (home-page
+      "https://github.com/pythongssapi/python-gssapi")
+    (synopsis "Python GSSAPI Wrapper")
+    (description "Python-GSSAPI provides both low-level and high level wrappers
+around the GSSAPI C libraries.  While it focuses on the Kerberos mechanism, it
+should also be useable with other GSSAPI mechanisms.")
+    (license license:isc)))
-- 
2.20.1





Information forwarded to guix-patches <at> gnu.org:
bug#39028; Package guix-patches. (Mon, 13 Jan 2020 07:48:03 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: 39028 <at> debbugs.gnu.org
Cc: zimon.toutoune <at> gmail.com
Subject: [PATCH 3/7] gnu: Add python-k5test
Date: Mon, 13 Jan 2020 08:46:51 +0100
* gnu/packages/python-xyz.scm (python-k5test): 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 e9d9c372e7..846113aceb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -112,6 +112,7 @@
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
+  #:use-module (gnu packages kerberos)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages linux)
@@ -17171,3 +17172,41 @@ that take parsers as their arguments and return them as result values.")
     (synopsis "Patch python built-in objects")
     (description "This project allows Python code to extend built-in types.")
     (license (list license:gpl3+ license:expat))))
+
+(define-public python-k5test
+  (package
+    (name "python-k5test")
+    (version "0.9.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "k5test" version))
+        (sha256
+          (base32
+            "1lqp3jgfngyhaxjgj3n230hn90wsylwilh120yjf62h7b1s02mh8"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-six" ,python-six)
+       ;; `which`, `kadmin.local` binaries called inside library
+       ("which" ,which)
+       ("mit-krb5" ,mit-krb5)))
+    (native-inputs `(("mit-krb5" ,mit-krb5)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-paths
+           (lambda* _
+            (substitute* "k5test/realm.py"
+              (("'kadmin_local'") "'kadmin.local'")))))))
+    (home-page
+      "https://github.com/pythongssapi/k5test")
+    (synopsis
+      "Library for testing Python applications in self-contained Kerberos 5
+environments")
+    (description
+      "k5test is a library for setting up self-contained Kerberos 5
+environments, and running Python unit tests inside those environments.
+It is based on the file of the same name found alongside the MIT Kerberos 5
+unit tests.")
+    (license license:isc)))
+
-- 
2.20.1





Information forwarded to guix-patches <at> gnu.org:
bug#39028; Package guix-patches. (Mon, 13 Jan 2020 07:48:03 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: 39028 <at> debbugs.gnu.org
Cc: zimon.toutoune <at> gmail.com
Subject: [PATCH 5/7] gnu: python-cryptography: Update to 2.8
Date: Mon, 13 Jan 2020 08:46:53 +0100
* gnu/packages/python-crypto.scm (python-cryptography): Update to 2.8
(python-cryptography-vectors): Update to 2.8
---
 gnu/packages/python-crypto.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 43a0d95ddc..0322e1691e 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -361,14 +361,14 @@ is used by the Requests library to verify HTTPS requests.")
 (define-public python-cryptography-vectors
   (package
     (name "python-cryptography-vectors")
-    (version "2.7")
+    (version "2.8")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "cryptography_vectors" version))
        (sha256
         (base32
-         "1g38zw90510azyfrj6mxbslx2gp9yrnv5dac0w2819k9ssdznbgi"))))
+         "05pi3shqz0fgvy0d5yazza67bbnam8fkrx2ayrrclgkaqms23lvc"))))
     (build-system python-build-system)
     (home-page "https://github.com/pyca/cryptography")
     (synopsis "Test vectors for the cryptography package")
@@ -383,14 +383,14 @@ is used by the Requests library to verify HTTPS requests.")
 (define-public python-cryptography
   (package
     (name "python-cryptography")
-    (version "2.7")
+    (version "2.8")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "cryptography" version))
        (sha256
         (base32
-         "1inlnr36kl36551c9rcad99jmhk81v33by3glkadwdcgmi17fd76"))))
+         "0l8nhw14npknncxdnp7n4hpmjyscly6g7fbivyxkjwvlv071zniw"))))
     (build-system python-build-system)
     (inputs
      `(("openssl" ,openssl)))
-- 
2.20.1





Information forwarded to guix-patches <at> gnu.org:
bug#39028; Package guix-patches. (Mon, 13 Jan 2020 07:48:04 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: 39028 <at> debbugs.gnu.org
Cc: zimon.toutoune <at> gmail.com
Subject: [PATCH 6/7] gnu: python-pyopenssl: Disable failing tests
Date: Mon, 13 Jan 2020 08:46:54 +0100
* gnu/packages/python-crypto.scm (python-pyopenssl)[arguments]: Disable failing
tests
---
 gnu/packages/python-crypto.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 0322e1691e..eb5be5e794 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -456,7 +456,11 @@ message digests and key derivation functions.")
                       "not test_fallback_default_verify_paths "
                       ;; This test attempts to make a connection to
                       ;; an external web service.
-                      "and not test_set_default_verify_paths")))))))
+                      "and not test_set_default_verify_paths "
+                      ;; These fail for unknown reasons.
+                      "and not test_add_extra_chain_cert "
+                      "and not test_use_certificate_chain_file_bytes "
+                      "and not test_use_certificate_chain_file_unicode")))))))
     (propagated-inputs
      `(("python-cryptography" ,python-cryptography)
        ("python-six" ,python-six)))
-- 
2.20.1





Information forwarded to guix-patches <at> gnu.org:
bug#39028; Package guix-patches. (Mon, 13 Jan 2020 07:48:04 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: 39028 <at> debbugs.gnu.org
Cc: zimon.toutoune <at> gmail.com
Subject: [PATCH 7/7] gnu: Add python-asyncssh
Date: Mon, 13 Jan 2020 08:46:55 +0100
* gnu/packages/python-xyz.scm (python-asyncssh): 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 e12f15fac8..9736bfa3fa 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17240,3 +17240,43 @@ unit tests.")
 around the GSSAPI C libraries.  While it focuses on the Kerberos mechanism, it
 should also be useable with other GSSAPI mechanisms.")
     (license license:isc)))
+
+(define-public python-asyncssh
+  (package
+    (name "python-asyncssh")
+    (version "2.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "asyncssh" version))
+        (sha256
+          (base32
+            "101kxyydrps9lc716vjs0nrvzfjp8644iir1xm19pl0ma73b9l0r"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-cryptography" ,python-cryptography)
+       ("python-pyopenssl" ,python-pyopenssl)
+       ("python-gssapi" ,python-gssapi)
+       ("python-bcrypt" ,python-bcrypt)))
+    ;; required for test suite
+    (native-inputs
+     `(("openssh" ,openssh)
+       ("openssl" ,openssl)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'disable-tests
+           (lambda* _
+            (substitute* "tests/test_agent.py"
+              ;; Test fails for unknown reason
+              (("async def test_confirm")
+                "@unittest.skip('disabled by guix')\n    async def test_confirm")))))))
+    (home-page "https://asyncssh.readthedocs.io/")
+    (synopsis
+      "Asynchronous SSHv2 client and server library")
+    (description
+      "AsyncSSH is a Python package which provides an asynchronous client and
+server implementation of the SSHv2 protocol on top of the Python 3.6+ asyncio
+framework")
+    (license license:epl2.0)))
+
-- 
2.20.1





Information forwarded to guix-patches <at> gnu.org:
bug#39028; Package guix-patches. (Mon, 20 Jan 2020 13:10:02 GMT) Full text and rfc822 format available.

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

From: iyzsong <at> member.fsf.org (宋文武)
To: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
Cc: guix-devel <at> gnu.org, 39028 <at> debbugs.gnu.org, zimon.toutoune <at> gmail.com
Subject: Re: [bug#39028] [PATCH 5/7] gnu: python-cryptography: Update to 2.8
Date: Mon, 20 Jan 2020 21:09:10 +0800
Hello Braun, I have pushed the previous 4 patches into master, thank you!

Lars-Dominik Braun <ldb <at> leibniz-psychology.org> writes:

> * gnu/packages/python-crypto.scm (python-cryptography): Update to 2.8
> (python-cryptography-vectors): Update to 2.8

This is not a small change for me, as 'guix refresh -l python-cryptography' says:
  Building the following 167 packages would ensure 367 dependent packages are rebuilt...

And I'm not sure about disable tests in python-pyopenssl (in the next
patch), maybe we should update it to 19.1.0.

So I leave this and remain patches for others to pick up, TIA!




Information forwarded to guix-patches <at> gnu.org:
bug#39028; Package guix-patches. (Tue, 21 Jan 2020 10:09:02 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: 宋文武 <iyzsong <at> member.fsf.org>
Cc: guix-devel <at> gnu.org, 39028 <at> debbugs.gnu.org, zimon.toutoune <at> gmail.com
Subject: Re: [bug#39028] [PATCH 5/7] gnu: python-cryptography: Update to 2.8
Date: Tue, 21 Jan 2020 11:08:52 +0100
Hi,

> Hello Braun, I have pushed the previous 4 patches into master, thank you!
thanks.

> This is not a small change for me, as 'guix refresh -l python-cryptography' says:
>   Building the following 167 packages would ensure 367 dependent packages are rebuilt...
True, I did not check that, my bad. Would it be acceptable to package an older
version of asyncssh compatible with python-cryptography 2.7?

> And I'm not sure about disable tests in python-pyopenssl (in the next
> patch), maybe we should update it to 19.1.0.
Nope, does not fix these three testcases for me.

Lars





Information forwarded to guix-patches <at> gnu.org:
bug#39028; Package guix-patches. (Tue, 28 Apr 2020 09:46:02 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: 39028 <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-asyncssh
Date: Tue, 28 Apr 2020 11:44:58 +0200
[Message part 1 (text/plain, inline)]
Hi,

here’s an updated patch that adds python-asyncssh with a patch that restores
python-cryptography-2.7 compatibility until 2.8 hits master.

Lars

[0001-gnu-Add-python-asyncssh.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#39028; Package guix-patches. (Mon, 27 Jul 2020 08:39:02 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: 39028 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add python-asyncssh
Date: Mon, 27 Jul 2020 10:38:23 +0200
[Message part 1 (text/plain, inline)]
Hi again,

since master now has python-cryptography==2.9, we can safely add
python-asyncssh without any custom patches. The attached patches first update
python-gssapi (a dependency) and then add python-asyncssh.

Cheers,
Lars

[0001-gnu-python-gssapi-Update-to-1.6.9.patch (text/x-diff, attachment)]
[0002-gnu-Add-python-asyncssh.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Sat, 31 Oct 2020 21:39:01 GMT) Full text and rfc822 format available.

Notification sent to Lars-Dominik Braun <ldb <at> leibniz-psychology.org>:
bug acknowledged by developer. (Sat, 31 Oct 2020 21:39:01 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
Cc: 39028-done <at> debbugs.gnu.org
Subject: Re: [bug#39028] [PATCH] gnu: Add python-asyncssh
Date: Sat, 31 Oct 2020 21:38:49 +0000
[Message part 1 (text/plain, inline)]
Lars-Dominik Braun <ldb <at> leibniz-psychology.org> writes:

> since master now has python-cryptography==2.9, we can safely add
> python-asyncssh without any custom patches. The attached patches first update
> python-gssapi (a dependency) and then add python-asyncssh.

Hi!

This looks good to me, I tweaked the module (ssh seemed more
appropriate) and indentation, and pushed to master as
48dec2e04efdc764e16828fb7837ca58064f3cbe.

Thanks,

Chris
[signature.asc (application/pgp-signature, inline)]

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

This bug report was last modified 3 years and 141 days ago.

Previous Next


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