GNU bug report logs - #77575
[PATCH python-team 00/21] More patches

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Sun, 6 Apr 2025 12:34:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 77575 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>, lars <at> 6xq.net, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org
Subject: [bug#77575] [PATCH 02/21] gnu: python-stem: Update to 1.8.2.
Date: Sun,  6 Apr 2025 14:37:04 +0200
* gnu/packages/python-xyz.scm (python-stem): Update to 1.8.2.
[build-system]: Switch to pyproject.
[arguments]{phases}: Remove phase 'fix-tests.
[native-inputs]: Remove python-mock, python-pycodestyle,
python-pyflakes.  Add python-setuptools, python-wheel.
---
 gnu/packages/python-xyz.scm | 25 +++++++++----------------
 1 file changed, 9 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ceebb018d9..08d0eb6194 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24353,30 +24353,23 @@ (define-public python-pyvirtualdisplay
 (define-public python-stem
   (package
     (name "python-stem")
-    (version "1.8.0")
+    (version "1.8.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "stem" version))
        (sha256
         (base32
-         "1hk8alc0r4m669ggngdfvryndd0fbx0w62sclcmg55af4ak8xd50"))))
-    (build-system python-build-system)
+         "10mm9qw4xv7d18086ivy38iaz04z72018186q03j5y69skzikyw3"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-tests
-           ;; See https://github.com/torproject/stem/issues/56
-           (lambda _
-             (substitute* "run_tests.py"
-               (("test\\.task\\.MOCK_VERSION,")
-                ""))))
-         (replace 'check
-           (lambda _
-             (invoke "./run_tests.py" "--unit")
-             #t)))))
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (replace 'check
+                     (lambda _
+                       (invoke "./run_tests.py" "--unit"))))))
     (native-inputs
-     (list python-mock python-pycodestyle python-pyflakes))
+     (list python-setuptools python-wheel))
     (home-page "https://stem.torproject.org/")
     (synopsis
      "Python controller library that allows applications to interact with Tor")
-- 
2.49.0





This bug report was last modified 42 days ago.

Previous Next


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