From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iN4JJrCSHl8kNQAA0tVLHw (envelope-from ) for ; Mon, 27 Jul 2020 08:39:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SMS4IbCSHl9aCQAAbx9fmQ (envelope-from ) for ; Mon, 27 Jul 2020 08:39:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 992B69400C7 for ; Mon, 27 Jul 2020 08:39:11 +0000 (UTC) Received: from localhost ([::1]:59682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzyf6-0005Fs-Qt for larch@yhetil.org; Mon, 27 Jul 2020 04:39:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzyf0-0005Fj-Ev for guix-patches@gnu.org; Mon, 27 Jul 2020 04:39:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42430) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzyf0-0005fA-5h for guix-patches@gnu.org; Mon, 27 Jul 2020 04:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzyf0-00055b-2X for guix-patches@gnu.org; Mon, 27 Jul 2020 04:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#39028] [PATCH] gnu: Add python-asyncssh Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Jul 2020 08:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39028 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39028@debbugs.gnu.org Received: via spool by 39028-submit@debbugs.gnu.org id=B39028.159583911819533 (code B ref 39028); Mon, 27 Jul 2020 08:39:02 +0000 Received: (at 39028) by debbugs.gnu.org; 27 Jul 2020 08:38:38 +0000 Received: from localhost ([127.0.0.1]:53976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzyeY-00054u-If for submit@debbugs.gnu.org; Mon, 27 Jul 2020 04:38:38 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:33075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzyeV-00054h-OR for 39028@debbugs.gnu.org; Mon, 27 Jul 2020 04:38:33 -0400 Received: by mail-wr1-f65.google.com with SMTP id f18so13987968wrs.0 for <39028@debbugs.gnu.org>; Mon, 27 Jul 2020 01:38:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=SiuhZl9yHbdkbMnG+LhT981Njq4AyQMQWF5//cnDpt0=; b=h/usWHYN323wzF9tNU9fFHaqfxnwvoJw4fYr0z2Le0NucCSjq9nm7Tlk+S0+zlcRhc NVl7Rn0h9cifi4jhb/r5Pg0ZTEQiM7VCSJcDSA7JKt/q7Ricsx+U1JwNtTVUgf0p4bhk 7PCuhEkr1tvBUHm4D/76D8/xVnszjw72aPdAO4pom0pp5bOyzuknn3E/nUvCas/rq72I glN8ZSBIdUaO+y3yQEO7IeXrfYSYQQAZMSRCahxf6jze3PwSbGAGMC9xO9Z+ijCsVrp+ +6woq8d0zwVaElA+GtdR/x7O8vaXFkXrni8yE19lqKAwh4iuS4K7VyUANqafzGxuP6zf pwxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=SiuhZl9yHbdkbMnG+LhT981Njq4AyQMQWF5//cnDpt0=; b=ErUHHhLU0hjuEETekDWzsvrWaqabasycfWPeXOguZAVkgzt45pAZCGN7a9RlTOnEpB /ytuP1l39gt28TyrwZEWKoDZBhSq3jM6jXBMbsi/IDPdsuJyDZQiOZOoaYwK2o9VGAJ5 nZ37mPKtmRZPNErx0NbWYOANpK8oanvG1xsvwLgJaztm1iv90slKIeyYQEiSIAJuF+JN txMadtl55o+PO9H6MAJ98O5e/zfaxnz6my3tbA/L7WsrGRtMgQYLw/+uVbUtvSqPvRw9 dpib0Sw+s+GXxcd+Y8eXKAruQeqi2ugzGi776B7Xrxotm9NjZxHUIRfl0DDR4wxq0NWw yEsg== X-Gm-Message-State: AOAM532wfmm98tGUoJL908vCY3L6pY5ZyPzefghOLJVqtLxL3sIaxWq3 r/yQiSZOyLydXkxBidHiATtgJAi2EBhU6rqMpySwzZaWE4vc3OpAfqMaFKFEL1oZGb2jNHTkcZl HgXl1x4z56XlkEp6uH7gRBOjy1rUM96A8k4qHqNCQv6wMH77Binn7mr5PJoYkvQqkzaH6bnHaLn 4BnwmSDsAC X-Google-Smtp-Source: ABdhPJyyLfUDygnTArOxhmWYIY8K8nZARp1HP62I1OOla/b6bedp77nSIJNN83f5PgXZMD/LIck5yQ== X-Received: by 2002:adf:e7c3:: with SMTP id e3mr19522663wrn.356.1595839105372; Mon, 27 Jul 2020 01:38:25 -0700 (PDT) Received: from localhost (dynamic-2a01-0c23-806b-2300-d1a7-edea-86bc-1290.c23.pool.telefonica.de. [2a01:c23:806b:2300:d1a7:edea:86bc:1290]) by smtp.gmail.com with ESMTPSA id y203sm8508619wmc.29.2020.07.27.01.38.23 for <39028@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 01:38:24 -0700 (PDT) Date: Mon, 27 Jul 2020 10:38:23 +0200 From: Lars-Dominik Braun Message-ID: <20200727083823.GA29891@zpidnp36> References: <20200428094458.GC3395@zpidnp36> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline In-Reply-To: <20200428094458.GC3395@zpidnp36> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=leibniz-psychology-org.20150623.gappssmtp.com header.s=20150623 header.b=h/usWHYN; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.61 X-TUID: g7onI5p/SwQt --V0207lvV8h4k8FAm Content-Type: multipart/mixed; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: 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 --fUYQa+Pmc3FrFX/N Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-python-gssapi-Update-to-1.6.9.patch" Content-Transfer-Encoding: quoted-printable =46rom 5701cf477487e5e43153f6d889869a33addae5e2 Mon Sep 17 00:00:00 2001 =46rom: Lars-Dominik Braun Date: Mon, 27 Jul 2020 10:32:24 +0200 Subject: [PATCH 1/2] gnu: python-gssapi: Update to 1.6.9. * gnu/packages/python-xyz.scm (python-gssapi)[version]: Update to 1.6.9. [arguments]: Disable failing tests. --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3aebff078b..490d35f197 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19611,15 +19611,35 @@ tests.") (define-public python-gssapi (package (name "python-gssapi") - (version "1.6.5") + (version "1.6.9") (source (origin (method url-fetch) (uri (pypi-uri "gssapi" version)) (sha256 (base32 - "02i5s7998dg5kcr4m0xwamd8vjqk1816xbzldyp68l91f6bynwcr")))) + "1fa78pn5jzfbwf3y6mj4fc8sh11wjf1hwh5qv39cdlxb71qsq2hb")))) (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-tests + (lambda* _ + ;; XXX: These test fails for unknown reasons. + (substitute* "gssapi/tests/test_raw.py" + (("(.+)def (test_acquire_creds_impersonate_name)" all indent + fname) + (string-append indent "@unittest.skip('disabled by guix')\= n" + indent "def " fname)) + (("(.+)def (test_add_cred_impersonate_name)" all indent fna= me) + (string-append indent "@unittest.skip('disabled by guix')\= n" + indent "def " fname))) + (substitute* "gssapi/tests/test_high_level.py" + (("import copy" all) + (string-append all "\nimport unittest")) + (("(.+)def (test_add_with_impersonate)" all indent fname) + (string-append indent "@unittest.skip('disabled by guix')\= n" + indent "def " fname)))))))) (propagated-inputs `(("python-decorator" ,python-decorator) ("python-six" ,python-six))) --=20 2.20.1 --fUYQa+Pmc3FrFX/N Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0002-gnu-Add-python-asyncssh.patch" Content-Transfer-Encoding: quoted-printable =46rom 7e30a2e8d122daf5f7e7ba6eee92a69f3ed4f49f Mon Sep 17 00:00:00 2001 =46rom: Lars-Dominik Braun Date: Tue, 28 Apr 2020 11:41:08 +0200 Subject: [PATCH 2/2] gnu: Add python-asyncssh. * 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 490d35f197..f2d158773e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21059,3 +21059,43 @@ and have a maximum lifetime built-in.") "This package contains a small collection of test tool plugins for @code{nose2} and @code{flake8}.") (license license:asl2.0))) + +(define-public python-asyncssh + (package + (name "python-asyncssh") + (version "2.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "asyncssh" version)) + (sha256 + (base32 + "0pi6npmsgx7l9r1qrfvg8mxx3i23ipff492xz4yhrw13f56a7ga4")))) + (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" all indent) + (string-append indent "@unittest.skip('disabled by guix')\= n" + indent "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+ asyn= cio +framework") + (license license:epl2.0))) --=20 2.20.1 --fUYQa+Pmc3FrFX/N-- --V0207lvV8h4k8FAm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl8eknwACgkQQhN3ARo3 hEZf0wv8DQXTj49B0QA6M5A6qTF6heqHcxegx4jc4X2lDeeCZcvbrY5nKWc7XOjB FpH5+uSkJtUj5WyJdZFPkHhljjZoDe3QbKE0K2NCyv/EP8U+yzu5lZUp6T3yItWq 6PTfuRSXcTUPYJapYjl1XAqiiT4ePH6F9PpehzwDf9Am+z3i1G5L0/GhXRYb9kx9 7AKdil4DeVdQXIt3psn9HkCb/jBbMHiEIJPVKSKMAeebm4oNqKkD6QLMfrDgBYcy 0VBA0zP4GWJrP1ETLkU0Rc8PgrCJaOJZss58KQpVsV9ynYVmKleZu7mElbn5zskF eoWmpR947SMS5hyPLPEteYcQtquaPWJKLSaFi6mDEmPQDw1hoD7XujqDfCU7SQAS yTnHpdp30Z05uRSqJDBBF/uToNkDRhY4Td612mET78lquDzFKysTNvZv7Bya5FkC iRJfoll1/OdT0nEo399diP0Btz5CwcidWOgKUQ745NfCUVRLOSi3ff6EZwO7nd6a /rdPXUDV =IwlT -----END PGP SIGNATURE----- --V0207lvV8h4k8FAm--