all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#49874] [PATCH 0/5] Remove fabric
@ 2021-08-04 12:27 Ben Sturmfels via Guix-patches via
  2021-08-04 12:29 ` [bug#49874] [PATCH 1/5] gnu: " Ben Sturmfels via Guix-patches via
  2021-08-05  8:20 ` bug#49874: [PATCH 0/5] Remove fabric Efraim Flashner
  0 siblings, 2 replies; 7+ messages in thread
From: Ben Sturmfels via Guix-patches via @ 2021-08-04 12:27 UTC (permalink / raw)
  To: 49874; +Cc: Ben Sturmfels

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#49874] [PATCH 1/5] gnu: Remove fabric.
  2021-08-04 12:27 [bug#49874] [PATCH 0/5] Remove fabric Ben Sturmfels via Guix-patches via
@ 2021-08-04 12:29 ` Ben Sturmfels via Guix-patches via
  2021-08-04 12:29   ` [bug#49874] [PATCH 2/5] gnu: Remove python2-bcrypt Ben Sturmfels via Guix-patches via
                     ` (3 more replies)
  2021-08-05  8:20 ` bug#49874: [PATCH 0/5] Remove fabric Efraim Flashner
  1 sibling, 4 replies; 7+ messages in thread
From: Ben Sturmfels via Guix-patches via @ 2021-08-04 12:29 UTC (permalink / raw)
  To: 49874; +Cc: Ben Sturmfels

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





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#49874] [PATCH 2/5] gnu: Remove python2-bcrypt.
  2021-08-04 12:29 ` [bug#49874] [PATCH 1/5] gnu: " Ben Sturmfels via Guix-patches via
@ 2021-08-04 12:29   ` Ben Sturmfels via Guix-patches via
  2021-08-04 12:29   ` [bug#49874] [PATCH 3/5] gnu: Remove python2-pynacl Ben Sturmfels via Guix-patches via
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Ben Sturmfels via Guix-patches via @ 2021-08-04 12:29 UTC (permalink / raw)
  To: 49874; +Cc: Ben Sturmfels

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





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#49874] [PATCH 3/5] gnu: Remove python2-pynacl.
  2021-08-04 12:29 ` [bug#49874] [PATCH 1/5] gnu: " Ben Sturmfels via Guix-patches via
  2021-08-04 12:29   ` [bug#49874] [PATCH 2/5] gnu: Remove python2-bcrypt Ben Sturmfels via Guix-patches via
@ 2021-08-04 12:29   ` Ben Sturmfels via Guix-patches via
  2021-08-04 12:29   ` [bug#49874] [PATCH 4/5] gnu: Remove python2-paramiko Ben Sturmfels via Guix-patches via
  2021-08-04 12:29   ` [bug#49874] [PATCH 5/5] gnu: Remove python2-fudge Ben Sturmfels via Guix-patches via
  3 siblings, 0 replies; 7+ messages in thread
From: Ben Sturmfels via Guix-patches via @ 2021-08-04 12:29 UTC (permalink / raw)
  To: 49874; +Cc: Ben Sturmfels

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





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#49874] [PATCH 4/5] gnu: Remove python2-paramiko.
  2021-08-04 12:29 ` [bug#49874] [PATCH 1/5] gnu: " Ben Sturmfels via Guix-patches via
  2021-08-04 12:29   ` [bug#49874] [PATCH 2/5] gnu: Remove python2-bcrypt Ben Sturmfels via Guix-patches via
  2021-08-04 12:29   ` [bug#49874] [PATCH 3/5] gnu: Remove python2-pynacl Ben Sturmfels via Guix-patches via
@ 2021-08-04 12:29   ` Ben Sturmfels via Guix-patches via
  2021-08-04 12:29   ` [bug#49874] [PATCH 5/5] gnu: Remove python2-fudge Ben Sturmfels via Guix-patches via
  3 siblings, 0 replies; 7+ messages in thread
From: Ben Sturmfels via Guix-patches via @ 2021-08-04 12:29 UTC (permalink / raw)
  To: 49874; +Cc: Ben Sturmfels

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





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#49874] [PATCH 5/5] gnu: Remove python2-fudge.
  2021-08-04 12:29 ` [bug#49874] [PATCH 1/5] gnu: " Ben Sturmfels via Guix-patches via
                     ` (2 preceding siblings ...)
  2021-08-04 12:29   ` [bug#49874] [PATCH 4/5] gnu: Remove python2-paramiko Ben Sturmfels via Guix-patches via
@ 2021-08-04 12:29   ` Ben Sturmfels via Guix-patches via
  3 siblings, 0 replies; 7+ messages in thread
From: Ben Sturmfels via Guix-patches via @ 2021-08-04 12:29 UTC (permalink / raw)
  To: 49874; +Cc: Ben Sturmfels

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





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#49874: [PATCH 0/5] Remove fabric
  2021-08-04 12:27 [bug#49874] [PATCH 0/5] Remove fabric Ben Sturmfels via Guix-patches via
  2021-08-04 12:29 ` [bug#49874] [PATCH 1/5] gnu: " Ben Sturmfels via Guix-patches via
@ 2021-08-05  8:20 ` Efraim Flashner
  1 sibling, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2021-08-05  8:20 UTC (permalink / raw)
  To: Ben Sturmfels; +Cc: 49874-done

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

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@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-05  8:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-04 12:27 [bug#49874] [PATCH 0/5] Remove fabric Ben Sturmfels via Guix-patches via
2021-08-04 12:29 ` [bug#49874] [PATCH 1/5] gnu: " Ben Sturmfels via Guix-patches via
2021-08-04 12:29   ` [bug#49874] [PATCH 2/5] gnu: Remove python2-bcrypt Ben Sturmfels via Guix-patches via
2021-08-04 12:29   ` [bug#49874] [PATCH 3/5] gnu: Remove python2-pynacl Ben Sturmfels via Guix-patches via
2021-08-04 12:29   ` [bug#49874] [PATCH 4/5] gnu: Remove python2-paramiko Ben Sturmfels via Guix-patches via
2021-08-04 12:29   ` [bug#49874] [PATCH 5/5] gnu: Remove python2-fudge Ben Sturmfels via Guix-patches via
2021-08-05  8:20 ` bug#49874: [PATCH 0/5] Remove fabric Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.