GNU bug report logs - #49874
[PATCH 0/5] Remove fabric

Previous Next

Package: guix-patches;

Reported by: Ben Sturmfels <ben <at> sturm.com.au>

Date: Wed, 4 Aug 2021 12:28:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

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 49874 in the body.
You can then email your comments to 49874 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#49874; Package guix-patches. (Wed, 04 Aug 2021 12:28:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Sturmfels <ben <at> sturm.com.au>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 04 Aug 2021 12:28:01 GMT) Full text and rfc822 format available.

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

From: Ben Sturmfels <ben <at> sturm.com.au>
To: guix-patches <at> gnu.org
Cc: Ben Sturmfels <ben <at> sturm.com.au>
Subject: [PATCH 0/5] Remove fabric
Date: Wed,  4 Aug 2021 22:27:05 +1000
The attached patch removes the Python 2 fabric package (version 1.14). This
package fails to build and has been replaced upstream by a Python 3 rewrite
(version 2). I added the package a few years back and no longer use it myself.

Ben Sturmfels (5):
  gnu: Remove fabric.
  gnu: Remove python2-bcrypt.
  gnu: Remove python2-pynacl.
  gnu: Remove python2-paramiko.
  gnu: Remove python2-fudge.

 gnu/packages/admin.scm         | 46 ----------------------------------
 gnu/packages/python-crypto.scm |  9 -------
 gnu/packages/python-xyz.scm    | 33 ------------------------
 3 files changed, 88 deletions(-)

-- 
2.32.0





Information forwarded to guix-patches <at> gnu.org:
bug#49874; Package guix-patches. (Wed, 04 Aug 2021 12:30:02 GMT) Full text and rfc822 format available.

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

From: Ben Sturmfels <ben <at> sturm.com.au>
To: 49874 <at> debbugs.gnu.org
Cc: Ben Sturmfels <ben <at> sturm.com.au>
Subject: [PATCH 1/5] gnu: Remove fabric.
Date: Wed,  4 Aug 2021 22:29:30 +1000
Remove obsolete Python 2 package that fails to build.

* gnu/packages/admin.scm (fabric): Remove variable.
---
 gnu/packages/admin.scm | 46 ------------------------------------------
 1 file changed, 46 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index ecea149f0e..eda269f148 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -3425,52 +3425,6 @@ Intel DRM Driver.")
     (supported-systems '("i686-linux" "x86_64-linux"))
     (license license:expat)))
 
-(define-public fabric
-  (package
-    (name "fabric")
-    (version "1.14.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "Fabric" version))
-       (sha256
-        (base32
-         "1a3ndlpdw6bhn8fcw1jgznl117a8pnr84az9rb5fwnrypf1ph2b6"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:python ,python-2               ; Python 2 only
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _
-             (invoke
-              "nosetests" "-v" "tests/"
-              ;; This test hangs indefinitely when run on a single core VM
-              ;; (see GNU bug #26647 and Debian bug #850230).
-              "--exclude=test_nested_execution_with_explicit_ports"
-              ;; This test randomly fails in certain environments causing too
-              ;; much noise to be useful (see Debian bug #854686).
-              "--exclude=test_should_use_sentinel_for_tasks_that_errored"))))))
-    (native-inputs
-     `(("python2-fudge" ,python2-fudge) ; Requires < 1.0
-       ("python2-jinja2" ,python2-jinja2) ; Requires < 3.0
-       ("python2-nose" ,python2-nose) ; Requires < 2.0
-       ("python2-pynacl" ,python2-pynacl)
-       ("python2-bcrypt" ,python2-bcrypt)))
-    (propagated-inputs
-     `(("python2-paramiko" ,python2-paramiko)))
-    (home-page "https://www.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 @dfn{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)))
-
 (define-public neofetch
   (package
     (name "neofetch")
-- 
2.32.0





Information forwarded to guix-patches <at> gnu.org:
bug#49874; Package guix-patches. (Wed, 04 Aug 2021 12:30:03 GMT) Full text and rfc822 format available.

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

From: Ben Sturmfels <ben <at> sturm.com.au>
To: 49874 <at> debbugs.gnu.org
Cc: Ben Sturmfels <ben <at> sturm.com.au>
Subject: [PATCH 2/5] gnu: Remove python2-bcrypt.
Date: Wed,  4 Aug 2021 22:29:31 +1000
Remove unused dependency of previously removed fabric package.

* gnu/packages/python-crypto.scm (python2-bcrypt): Remove variable.
---
 gnu/packages/python-crypto.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index d9102adcc9..6176866aac 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -138,9 +138,6 @@ on the Blowfish password hashing algorithm, as described in
 Password Scheme\"} by Niels Provos and David Mazieres.")
     (license license:asl2.0)))
 
-(define-public python2-bcrypt
-  (package-with-python2 python-bcrypt))
-
 (define-public python-passlib
   (package
     (name "python-passlib")
-- 
2.32.0





Information forwarded to guix-patches <at> gnu.org:
bug#49874; Package guix-patches. (Wed, 04 Aug 2021 12:30:03 GMT) Full text and rfc822 format available.

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

From: Ben Sturmfels <ben <at> sturm.com.au>
To: 49874 <at> debbugs.gnu.org
Cc: Ben Sturmfels <ben <at> sturm.com.au>
Subject: [PATCH 3/5] gnu: Remove python2-pynacl.
Date: Wed,  4 Aug 2021 22:29:32 +1000
Remove unused dependency of previously removed fabric package.

* gnu/packages/python-crypto.scm (python2-pynacl): Remove variable.
---
 gnu/packages/python-crypto.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 6176866aac..bc3d317ad7 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -847,9 +847,6 @@ Networking and Cryptography library.  These libraries have a stated goal
 of improving usability, security and speed.")
     (license license:asl2.0)))
 
-(define-public python2-pynacl
-  (package-with-python2 python-pynacl))
-
 (define-public python-blurhash
   (package
     (name "python-blurhash")
-- 
2.32.0





Information forwarded to guix-patches <at> gnu.org:
bug#49874; Package guix-patches. (Wed, 04 Aug 2021 12:30:03 GMT) Full text and rfc822 format available.

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

From: Ben Sturmfels <ben <at> sturm.com.au>
To: 49874 <at> debbugs.gnu.org
Cc: Ben Sturmfels <ben <at> sturm.com.au>
Subject: [PATCH 4/5] gnu: Remove python2-paramiko.
Date: Wed,  4 Aug 2021 22:29:33 +1000
Remove unused dependency of previously removed fabric package.

* gnu/packages/python-crypto.scm (python2-paramiko): Remove variable.
---
 gnu/packages/python-crypto.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index bc3d317ad7..6c25e0dd36 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -257,9 +257,6 @@ extension for low level cryptography (PyCrypto), Paramiko itself is a pure
 Python interface around SSH networking concepts.")
     (license license:lgpl2.1+)))
 
-(define-public python2-paramiko
-  (package-with-python2 python-paramiko))
-
 (define-public python-ecdsa
   (package
     (name "python-ecdsa")
-- 
2.32.0





Information forwarded to guix-patches <at> gnu.org:
bug#49874; Package guix-patches. (Wed, 04 Aug 2021 12:30:04 GMT) Full text and rfc822 format available.

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

From: Ben Sturmfels <ben <at> sturm.com.au>
To: 49874 <at> debbugs.gnu.org
Cc: Ben Sturmfels <ben <at> sturm.com.au>
Subject: [PATCH 5/5] gnu: Remove python2-fudge.
Date: Wed,  4 Aug 2021 22:29:34 +1000
Remove unused dependency of previously removed fabric package.

* gnu/packages/python-xyz.scm (python2-fudge): Remove variable.
---
 gnu/packages/python-xyz.scm | 33 ---------------------------------
 1 file changed, 33 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fa16687e24..dd0f73defa 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17466,39 +17466,6 @@ applications in seconds while maintaining all the flexibility.")
 older Pythons because it was not part of the standard library back then.")
     (license license:psfl)))
 
-(define-public python-fudge
-  (package
-    (name "python-fudge")
-    ;; 0.9.6 is the latest version suitable for testing the "fabric" Python 2
-    ;; package, which is currently the only use of this package.
-    (version "0.9.6")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "fudge" version))
-       (sha256
-        (base32
-         "185ia3vr3qk4f2s1a9hdxb8ci4qc0x0xidrad96pywg8j930qs9l"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:tests? #f))     ;XXX: Tests require the NoseJS Python package.
-    (home-page "https://github.com/fudge-py/fudge")
-    (synopsis "Replace real objects with fakes/mocks/stubs while testing")
-    (description
-     "Fudge is a Python module for using fake objects (mocks and stubs) to
-test real ones.
-
-In readable Python code, you declare the methods available on your fake object
-and how they should be called.  Then you inject that into your application and
-start testing.  This declarative approach means you don’t have to record and
-playback actions and you don’t have to inspect your fakes after running code.
-If the fake object was used incorrectly then you’ll see an informative
-exception message with a traceback that points to the culprit.")
-    (license license:expat)))
-
-(define-public python2-fudge
-  (package-with-python2 python-fudge))
-
 (define-public python-mwclient
   (package
     (name "python-mwclient")
-- 
2.32.0





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Thu, 05 Aug 2021 08:22:01 GMT) Full text and rfc822 format available.

Notification sent to Ben Sturmfels <ben <at> sturm.com.au>:
bug acknowledged by developer. (Thu, 05 Aug 2021 08:22:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ben Sturmfels <ben <at> sturm.com.au>
Cc: 49874-done <at> debbugs.gnu.org
Subject: Re: [bug#49874] [PATCH 0/5] Remove fabric
Date: Thu, 5 Aug 2021 11:20:36 +0300
[Message part 1 (text/plain, inline)]
Seeing that it doesn't build successfully and nothing uses python-fudge
I don't feel bad about removing them and not putting in a deprecated
package in their place.

Patches pushed! Thanks for cleaning up some of the python2 packages.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[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. (Thu, 02 Sep 2021 11:24:06 GMT) Full text and rfc822 format available.

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

Previous Next


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