public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-celery] rawhide: Patch a test for click 8.4
Date: Tue, 21 Jul 2026 19:21:40 GMT	[thread overview]
Message-ID: <178466170011.1.2648849319800227290.rpms-python-celery-c6e37c1aab4a@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-07-21 19:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178466170011.1.2648849319800227290.rpms-python-celery-c6e37c1aab4a@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox