python3Packages.rq: 2.7 -> 2.8

Diff: https://github.com/rq/rq/compare/v2.7...v2.8

Changelog: https://github.com/rq/rq/releases/tag/v2.8
This commit is contained in:
Gaetan Lepage
2026-04-25 00:08:52 +00:00
parent 6f0747c233
commit c8f82c38f5
+22 -7
View File
@@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
buildPythonPackage,
pythonAtLeast,
# build-system
hatchling,
@@ -22,14 +23,15 @@
buildPythonPackage (finalAttrs: {
pname = "rq";
version = "2.7";
version = "2.8";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "rq";
repo = "rq";
tag = "v${finalAttrs.version}";
hash = "sha256-332K+n3mWf+k7/QvIFJFhuDXqd1t2p8ZVv/l+Y167Bk=";
hash = "sha256-ZO67rsqub9hBUt4XMqrx+P7Dj1dEKD9zp4O5x1Kehe0=";
};
build-system = [ hatchling ];
@@ -57,11 +59,24 @@ buildPythonPackage (finalAttrs: {
# redisTestHook does not work on darwin-x86_64
doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64);
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# PermissionError: [Errno 13] Permission denied: '/tmp/rq-tests.txt'
"test_deleted_jobs_arent_executed"
"test_suspend_worker_execution"
];
disabledTests =
lib.optionals
((pythonAtLeast "3.14") && stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64)
[
# AssertionError
"test_create_job_with_ttl_should_expire"
"test_execution_order_with_dual_dependency"
"test_execution_order_with_sole_dependency"
"test_sigint_handling"
"test_successful_job_repeat"
"test_suspend_worker_execution"
"test_work"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# PermissionError: [Errno 13] Permission denied: '/tmp/rq-tests.txt'
"test_deleted_jobs_arent_executed"
"test_suspend_worker_execution"
];
pythonImportsCheck = [ "rq" ];