aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-04-06 14:37:04 +0200
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:30 +0200
commit27858d9affb7cb95fe05feabb67c5bc86243ef82 (patch)
treecd48e698a0e669d082a86a8cee76d88244ae92c5
parent10f551614b54fef475b429e50c37c5870dc3a446 (diff)
downloadguix-27858d9affb7cb95fe05feabb67c5bc86243ef82.tar.gz
guix-27858d9affb7cb95fe05feabb67c5bc86243ef82.zip
gnu: python-stem: Update to 1.8.2.
* 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. Change-Id: I32dce8ff5ddd8d8ac8c3a3eb96fab54206f2ab7f Signed-off-by: Steve George <steve@futurile.net>
-rw-r--r--gnu/packages/python-xyz.scm25
1 files changed, 9 insertions, 16 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c3fe7bee50..74d657cd59 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24419,30 +24419,23 @@ etc.")
(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")