From unknown Tue Aug 19 12:51:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#26438 <26438@debbugs.gnu.org> To: bug#26438 <26438@debbugs.gnu.org> Subject: Status: [PATCH] Add fabric, python-paramiko: Update to 1.17.4. Reply-To: bug#26438 <26438@debbugs.gnu.org> Date: Tue, 19 Aug 2025 19:51:20 +0000 retitle 26438 [PATCH] Add fabric, python-paramiko: Update to 1.17.4. reassign 26438 guix-patches submitter 26438 Ben Sturmfels severity 26438 normal tag 26438 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 10 20:38:21 2017 Received: (at submit) by debbugs.gnu.org; 11 Apr 2017 00:38:22 +0000 Received: from localhost ([127.0.0.1]:41748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxjp7-000802-IO for submit@debbugs.gnu.org; Mon, 10 Apr 2017 20:38:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxjl1-0007tP-Si for submit@debbugs.gnu.org; Mon, 10 Apr 2017 20:34:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxjkv-0000ag-AU for submit@debbugs.gnu.org; Mon, 10 Apr 2017 20:34:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51243) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cxjkv-0000ab-6z for submit@debbugs.gnu.org; Mon, 10 Apr 2017 20:34:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxjkt-0008SK-Ml for guix-patches@gnu.org; Mon, 10 Apr 2017 20:34:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxjkq-0000YW-Hp for guix-patches@gnu.org; Mon, 10 Apr 2017 20:33:59 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:45745) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cxjkq-0000Xc-0s for guix-patches@gnu.org; Mon, 10 Apr 2017 20:33:56 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 25F5A20899 for ; Mon, 10 Apr 2017 20:33:54 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Mon, 10 Apr 2017 20:33:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sturm.com.au; h= content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=DH3zkv VhOXtJD0mJrPDK74GrV161hVOg6Kbgh11YXWE=; b=m6Fk5bblCpQDXZgZWSO6d3 upLu9/dmcToxA5z7Gc3wA4dcfNHLhdqA0Nb39kV+v1RHfl4j0z8GYaUPS6ro3vf8 DEcJO9M173WbHlf5hN56AFOdLUEPFxh4tCf+6xGct7WJep78Yzmuf7jeD+0ZKI4v u2/6c4/INeqFiS7jgtuLhRUUa21xs+J6XKqW7AqVeC5ADNMc/lO/JzIxsfEanMTk /2k7GKisFbkkhMn0ikr1FufOuOnq9bniUstFMy2wM06rxncO/9sFIUAk0XrTcKzo fcbitP6qpL1o+1aaHe2yD+yZV/2A3sl2Yvv9hU+T8bDUesXgdzQvnqn3d5QJw02w == DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=DH3zkvVhOXtJD0mJrPDK74GrV161hVOg6Kbgh11YX WE=; b=EnMUikQx3X/nfbGOTPfdqqGF17g5C3VTgcw0GTEXckWeyFNZtZMekvfXu D8nD6cWPWEtSs3qQ29aiA9EFUY2Bo5E7fjKRvK/6Ek88Ha85klPP+r75ecmuhpCT 7nNpDiOWrucZihVob328mJ5n02Ie6KkXDN5qeSS8iZ2DNOa6xmtglV81f8O+m29m g3F+FmsTRfSb+CWhrm3vwiVMWQKS3t1N0gQGlpiFTOM3sXZ7+uvIkSOcA1fLSD4p MTa9o7Al6jJmvU+GctzE/kjVkwkOZcQbUXpfYRG0IWF8cs7gTkCBaplA+f9/lCc+ xYu+MG7+Yjzj5SUPU3/ZAVPNz+wig== X-ME-Sender: X-Sasl-enc: fpPVlL9FJgERz39isld1iw/7axJ7HuX6OZpxA1s0250s 1491870833 Received: from Tink (ppp118-209-32-31.lns20.mel4.internode.on.net [118.209.32.31]) by mail.messagingengine.com (Postfix) with ESMTPA id 2FAEB246E4 for ; Mon, 10 Apr 2017 20:33:52 -0400 (EDT) User-agent: mu4e 0.9.18; emacs 25.1.1 From: Ben Sturmfels To: guix-patches@gnu.org Subject: [PATCH] Add fabric, python-paramiko: Update to 1.17.4. Date: Tue, 11 Apr 2017 10:33:42 +1000 Message-ID: <87a87nwzo9.fsf@sturm.com.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 10 Apr 2017 20:38:21 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) --=-=-= Content-Type: text/plain Hi Folks, Here's my first attempt at a Guix package - a tool called Fabric which is used for for web app deployment. Couple of notes: 1. I found that I needed to upgrade python-paramiko to minimum 1.17.4 to avoid an incompatibility between python-paramiko and newer python-pycrypto. I'm not sure what the implications are of this. Technically only the Python 2 version needs to be upgraded, since Fabric is Python 2 only, but I've upgraded both for consistency. 2. I've disabled tests for now as they fail when the package attempts to download the "test-require" dependency "fudge". What's the normal way to stop the Python package doing it's own dependency downloading? Happy to also package "python2-fudge", but that didn't fix the downloading issue. Cheers, Ben -- Ben Sturmfels Sturm - Software Engineering www.sturm.com.au (03) 9024 2467 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-fabric-python-paramiko-Update-to-1.17.4.patch >From 521b29606ca4e1a34c9db89fbc22201eea581370 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Tue, 11 Apr 2017 00:06:20 +1000 Subject: [PATCH] gnu: Add fabric, python-paramiko: Update to 1.17.4. * gnu/packages/python.scm (python-paramiko): Update to 1.17.4. * gnu/packages/admin.scm (fabric): New variable. --- gnu/packages/admin.scm | 34 ++++++++++++++++++++++++++++++++++ gnu/packages/python.scm | 4 ++-- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index f19bf5a48..d4eaabadd 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2048,3 +2048,37 @@ environments to get useful results. Therefore, Intel GPU Tools includes low-level tools and tests specifically for development and testing of the Intel DRM Driver.") (license license:expat))) + +(define-public fabric + (package + (name "fabric") + (version "1.13.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Fabric" version)) + (sha256 + (base32 + "1z17hw0yiqp1blq217zxkg2jzkv8qd79saqhscgsw14mwlcqpwd0")))) + (build-system python-build-system) + (arguments + `(#:tests? #f ; Tests attempt to download Python "fudge" package. + #:python ,python-2)) ; Python 2 only. + (propagated-inputs + ;; Required upgrading python-paramiko 1.17.4 to fix an incompatibility + ;; between python-paramiko and newer python-pycrypto. Without this, the + ;; `fab` command fails with "ValueError: CTR mode needs counter + ;; parameter, not IV". See: + ;; https://github.com/paramiko/paramiko/pull/714#issuecomment-281191548. + `(("python2-paramiko" ,python2-paramiko))) + (home-page "http://fabfile.org") + (synopsis "Simple Pythonic remote execution and deployment tool") + (description + "Fabric is designed to upload files and run shell commands on a number of +servers in parallel or serially. These commands are grouped in tasks (which +are regular Python functions) and specified in a \"fabfile\". + +It is similar to Capistrano, except it's implemented in Python and doesn't +expect you to be deploying Rails applications. Fabric is a simple, Pythonic +tool for remote execution and deployment.") + (license license:bsd-2))) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0746af24a..231c62929 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -529,14 +529,14 @@ John the Ripper).") (define-public python-paramiko (package (name "python-paramiko") - (version "1.16.0") + (version "1.17.4") (source (origin (method url-fetch) (uri (pypi-uri "paramiko" version)) (sha256 (base32 - "14k8z7ndc3zk5xivnm4d8lncchx475ll5izpf8vmfbq7rp9yp5rj")))) + "1rs2qcmskcmq66q6g5al08wa41l9am0fad5r719m8wf91msyylqw")))) (build-system python-build-system) (arguments '(;; FIXME: One test fails with "EOFError not raised by connect". -- 2.12.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 11 12:00:53 2017 Received: (at 26438-done) by debbugs.gnu.org; 11 Apr 2017 16:00:53 +0000 Received: from localhost ([127.0.0.1]:43157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxyDt-0003BP-Gp for submit@debbugs.gnu.org; Tue, 11 Apr 2017 12:00:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxyDr-0003BA-UC for 26438-done@debbugs.gnu.org; Tue, 11 Apr 2017 12:00:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxyDj-0001XG-GW for 26438-done@debbugs.gnu.org; Tue, 11 Apr 2017 12:00:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxyDj-0001X8-D9; Tue, 11 Apr 2017 12:00:43 -0400 Received: from [193.50.110.157] (port=47924 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cxyDi-0002oS-OX; Tue, 11 Apr 2017 12:00:43 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Ben Sturmfels Subject: Re: bug#26438: [PATCH] Add fabric, python-paramiko: Update to 1.17.4. References: <87a87nwzo9.fsf@sturm.com.au> Date: Tue, 11 Apr 2017 18:00:40 +0200 In-Reply-To: <87a87nwzo9.fsf@sturm.com.au> (Ben Sturmfels's message of "Tue, 11 Apr 2017 10:33:42 +1000") Message-ID: <87o9w3q6hj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26438-done Cc: 26438-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, Ben Sturmfels skribis: > Couple of notes: > > 1. I found that I needed to upgrade python-paramiko to minimum 1.17.4 to > avoid an incompatibility between python-paramiko and newer > python-pycrypto. I'm not sure what the implications are of this. > Technically only the Python 2 version needs to be upgraded, since Fabric > is Python 2 only, but I've upgraded both for consistency. Sounds good. > 2. I've disabled tests for now as they fail when the package attempts to > download the "test-require" dependency "fudge". What's the normal way to > stop the Python package doing it's own dependency downloading? Happy to > also package "python2-fudge", but that didn't fix the downloading issue. I would expect that adding python2-fudge would indeed fix the problem (the setuptools machinery checks for already-available packages and only tries to download as a last resort.) Would need more investigation I guess! >>>From 521b29606ca4e1a34c9db89fbc22201eea581370 Mon Sep 17 00:00:00 2001 > From: Ben Sturmfels > Date: Tue, 11 Apr 2017 00:06:20 +1000 > Subject: [PATCH] gnu: Add fabric, python-paramiko: Update to 1.17.4. > > * gnu/packages/python.scm (python-paramiko): Update to 1.17.4. > * gnu/packages/admin.scm (fabric): New variable. I=E2=80=99ve split it into two commits and applied. Thank you, and welcome! Ludo=E2=80=99. From unknown Tue Aug 19 12:51:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 10 May 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator