[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: python-asyncssh: Update to 2.11.0.

From: guix-commits
Subject: branch master updated: gnu: python-asyncssh: Update to 2.11.0.
Date: Mon, 13 Jun 2022 06:30:57 -0400

This is an automated email from the git hooks/post-receive script.

lbraun pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 97ebfc8f5c gnu: python-asyncssh: Update to 2.11.0.
97ebfc8f5c is described below

commit 97ebfc8f5c829b1a069f73395d6ffaf2d8096f5f
Author: Lars-Dominik Braun <>
AuthorDate: Fri Jun 10 13:56:21 2022 +0200

    gnu: python-asyncssh: Update to 2.11.0.
    * gnu/packages/ssh.scm (python-asyncssh)[version]: Update to 2.11.0.
    [propagated-inputs]: Add python-typing-extensions.
    [native-inputs]: Add python-fido2, python-aiofiles, netcat and
    [arguments]: Disable netcat autodetection. Replace 'check with call
    to pytest.
 gnu/packages/ssh.scm | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 2e2be68770..ab537b56d1 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -35,9 +35,11 @@
 (define-module (gnu packages ssh)
   #:use-module (gnu packages)
+  #:use-module (gnu packages admin)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages boost)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages elf)
@@ -785,31 +787,38 @@ shell services and remote host selection.")
 (define-public python-asyncssh
     (name "python-asyncssh")
-    (version "2.7.1")
+    (version "2.11.0")
        (method url-fetch)
        (uri (pypi-uri "asyncssh" version))
-         "0lnhh2h1mj79j66ni883s9f3xldnbjb10vh80g24b7m003mm524c"))))
+         "0mkvyv2fmbdfnfdh7g2im0gxnp8hwxv5g1xdazfsipd9ggknrhsr"))))
     (build-system python-build-system)
      (list python-cryptography python-pyopenssl python-gssapi
-           python-bcrypt))
+           python-bcrypt python-typing-extensions))
-     (list openssh openssl))
+     (list openssh openssl python-fido2 python-aiofiles netcat
+           python-pytest))
        (modify-phases %standard-phases
          (add-after 'unpack 'disable-tests
            (lambda* _
+             (substitute* "tests/"
+               ;; nc is always available.
+               (("which nc") "true"))
              (substitute* "tests/"
                ;; TODO Test fails for unknown reason
                (("(.+)async def test_confirm" all indent)
                 (string-append indent "@unittest.skip('disabled by guix')\n"
-                               indent "async def test_confirm")))
-             #t)))))
+                               indent "async def test_confirm")))))
+         (replace 'check
+           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (invoke "pytest" "-vv")))))))
     (home-page "";)
     (synopsis "Asynchronous SSHv2 client and server library for Python")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]