aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-04-04 21:17:01 +0200
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:28 +0200
commitb717b894a0f1a2c1d9c29709142209dbd962b1d8 (patch)
treea9681e909ac28cf633b10c2e1830f0e0209c0729
parent22416fb20d45df70cccb93de4a3cd23f9c68ac4d (diff)
downloadguix-b717b894a0f1a2c1d9c29709142209dbd962b1d8.tar.gz
guix-b717b894a0f1a2c1d9c29709142209dbd962b1d8.zip
gnu: python-rq: Update to 2.3.1.
* gnu/packages/databases.scm (python-rq): Update to 2.3.1. [build-system]: Switch to pyproject. [arguments]{phases}: Delete 'check phase replacement. Improve style. [native-inputs]: Add python-hatchling. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/databases.scm30
1 files changed, 13 insertions, 17 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index c52d90b424..89d919d1d6 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4612,7 +4612,7 @@ reasonable substitute.")
(define-public python-rq
(package
(name "python-rq")
- (version "1.11.1")
+ (version "2.3.1")
(source
(origin
(method git-fetch)
@@ -4621,24 +4621,20 @@ reasonable substitute.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0dnjm2s036l4j4ypq0h903vh132dp2wiwjrn8jicz1nw829dqpzf"))))
- (build-system python-build-system)
+ (base32 "1w9aqvbvh1mfpgng0mdcskxl5y3ybcqqai5dnwgvg18am0xxhya6"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- (add-before 'check 'start-redis
- (lambda _
- (invoke "redis-server" "--daemonize" "yes")))
- (replace 'check
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- ;; Drop test that needs the SDK for Sentry.io.
- (delete-file "tests/test_sentry.py")
- ;; Ensure 'rq' and 'rqworker' ends up on PATH.
- (setenv "PATH" (string-append out "/bin:"
- (getenv "PATH")))
- (invoke "pytest" "-vv")))))))
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'check 'start-redis
+ (lambda _
+ (invoke "redis-server" "--daemonize" "yes"))))))
(native-inputs
- (list python-mock python-psutil python-pytest redis))
+ (list python-hatchling
+ python-mock
+ python-psutil
+ python-pytest
+ redis))
(propagated-inputs
(list python-click python-redis))
(home-page "https://python-rq.org/")