public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-celery] rawhide: Patch a test for click 8.4
@ 2026-07-21 19:21 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-21 19:21 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-celery
Branch : rawhide
Commit : c6e37c1aab4a430dbc7d0df54e140a6dba4571f1
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-21T19:21:24+00:00
Stats  : +18/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-celery/c/c6e37c1aab4a430dbc7d0df54e140a6dba4571f1?branch=rawhide

Log:
Patch a test for click 8.4

---
diff --git a/celery-5.6.3-click-8.4.patch b/celery-5.6.3-click-8.4.patch
new file mode 100644
index 0000000..df133ed
--- /dev/null
+++ b/celery-5.6.3-click-8.4.patch
@@ -0,0 +1,14 @@
+diff --git a/t/unit/app/test_preload_cli.py b/t/unit/app/test_preload_cli.py
+index cb07b7866cb..1b83073ec74 100644
+--- a/t/unit/app/test_preload_cli.py
++++ b/t/unit/app/test_preload_cli.py
+@@ -38,7 +38,8 @@ def test_preload_options(subcommand_with_params: Tuple[str, ...], isolated_cli_r
+         catch_exceptions=False,
+     )
+ 
+-    assert "No such option: --ini" in res_without_preload.output
++    assert "No such option" in res_without_preload.output
++    assert "--ini" in res_without_preload.output
+     assert res_without_preload.exit_code == 2
+ 
+     res_with_preload = isolated_cli_runner.invoke(

diff --git a/python-celery.spec b/python-celery.spec
index c6dde06..bc6caa1 100644
--- a/python-celery.spec
+++ b/python-celery.spec
@@ -17,6 +17,10 @@ Source0:        https://github.com/celery/celery/archive/v%{upstream_version}/%{
 Source1:        pytest.ini
 Summary:        Distributed Task Queue
 
+# Fix a test that fails with click 8.4; excerpted from:
+# Skip empty groups in chains
+# https://github.com/celery/celery/commit/bf1cf69e24e3ede7d7053c17d47e381be959880e
+Patch:          celery-5.6.3-click-8.4.patch
 
 %description
 An open source asynchronous task queue/job queue based on

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-21 19:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-21 19:21 [rpms/python-celery] rawhide: Patch a test for click 8.4 Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox