Your message dated Fri, 26 Sep 2025 13:34:36 +0000
with message-id <[email protected]>
and subject line Bug#1108454: fixed in celery 5.5.3-2
has caused the Debian Bug report #1108454,
regarding celery: Drop python3-click build dependency
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1108454: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108454
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: celery
Version: 5.5.2-2
Severity: important
Tags: upstream patch
Control: forwarded -1 https://github.com/celery/celery/pull/9786
Dear Maintainer,
Please drop the python3-click-plugins build dependency, the package will be
removed during the forky development cycle.
Upstream ended maintenance of click-plugins and now recommends users to vendor
it, the attached patch does so.
Kind Regards,
Bas
diff -Nru celery-5.5.2/debian/control celery-5.5.2/debian/control
--- celery-5.5.2/debian/control 2025-05-05 14:23:03.000000000 +0200
+++ celery-5.5.2/debian/control 2025-06-29 07:58:19.000000000 +0200
@@ -17,7 +17,6 @@
python3-boto3,
python3-click-didyoumean,
python3-click-man,
- python3-click-plugins,
python3-click-repl,
python3-dateutil,
python3-doc,
diff -Nru celery-5.5.2/debian/patches/pr9786-click-plugins.patch
celery-5.5.2/debian/patches/pr9786-click-plugins.patch
--- celery-5.5.2/debian/patches/pr9786-click-plugins.patch 1970-01-01
01:00:00.000000000 +0100
+++ celery-5.5.2/debian/patches/pr9786-click-plugins.patch 2025-06-29
07:58:22.000000000 +0200
@@ -0,0 +1,281 @@
+Description: Vendor click-plugins, PyPI package no longer maintained.
+Author: Bas Couwenberg <[email protected]>
+Bug: https://github.com/celery/celery/pull/9786
+
+--- a/celery/bin/celery.py
++++ b/celery/bin/celery.py
+@@ -12,7 +12,6 @@ except ImportError:
+ import click
+ import click.exceptions
+ from click_didyoumean import DYMGroup
+-from click_plugins import with_plugins
+
+ from celery import VERSION_BANNER
+ from celery.app.utils import find_app
+@@ -32,6 +31,7 @@ from celery.bin.result import result
+ from celery.bin.shell import shell
+ from celery.bin.upgrade import upgrade
+ from celery.bin.worker import worker
++from celery.click_plugins import with_plugins
+
+ UNABLE_TO_LOAD_APP_MODULE_NOT_FOUND = click.style("""
+ Unable to load celery application.
+--- /dev/null
++++ b/celery/click_plugins.py
+@@ -0,0 +1,247 @@
++# This file is part of 'click-plugins':
https://github.com/click-contrib/click-plugins
++#
++# New BSD License
++#
++# Copyright (c) 2015-2025, Kevin D. Wurster, Sean C. Gillies
++# All rights reserved.
++#
++# Redistribution and use in source and binary forms, with or without
++# modification, are permitted provided that the following conditions are met:
++#
++# * Redistributions of source code must retain the above copyright notice,
this
++# list of conditions and the following disclaimer.
++#
++# * Redistributions in binary form must reproduce the above copyright notice,
++# this list of conditions and the following disclaimer in the documentation
++# and/or other materials provided with the distribution.
++#
++# * Neither click-plugins nor the names of its contributors may not be used to
++# endorse or promote products derived from this software without specific
prior
++# written permission.
++#
++# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE
++# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
++# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
++# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY,
++# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE
++# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++
++
++"""Support CLI plugins with click and entry points.
++
++See :func:`with_plugins`.
++"""
++
++
++import importlib.metadata
++import os
++import sys
++import traceback
++
++import click
++
++
++__version__ = '2.0'
++
++
++def with_plugins(entry_points):
++
++ """Decorator for loading and attaching plugins to a ``click.Group()``.
++
++ Plugins are loaded from an ``importlib.metadata.EntryPoint()``. Each entry
++ point must point to a ``click.Command()``. An entry point that fails to
++ load will be wrapped in a ``BrokenCommand()`` to allow the CLI user to
++ discover and potentially debug the problem.
++
++ >>> from importlib.metadata import entry_points
++ >>>
++ >>> import click
++ >>> from click_plugins import with_plugins
++ >>>
++ >>> @with_plugins('group_name')
++ >>> @click.group()
++ >>> def group():
++ ... '''Group'''
++ >>>
++ >>> @with_plugins(entry_points('group_name'))
++ >>> @click.group()
++ >>> def group():
++ ... '''Group'''
++ >>>
++ >>> @with_plugins(importlib.metadata.EntryPoint(...))
++ >>> @click.group()
++ >>> def group():
++ ... '''Group'''
++ >>>
++ >>> @with_plugins("group1")
++ >>> @with_plugins("group2")
++ >>> def group():
++ ... '''Group'''
++
++ :param str or EntryPoint or sequence[EntryPoint] entry_points:
++ Entry point group name, a single ``importlib.metadata.EntryPoint()``,
++ or a sequence of ``EntryPoint()``s.
++
++ :rtype function:
++ """
++
++ # Note that the explicit full path reference to:
++ #
++ # importlib.metadata.entry_points()
++ #
++ # in this function allows the call to be mocked in the tests. Replacing
++ # with:
++ #
++ # from importlib.metadata import entry_points
++ #
++ # breaks this ability.
++
++ def decorator(group):
++ if not isinstance(group, click.Group):
++ raise TypeError(
++ f"plugins can only be attached to an instance of"
++ f" 'click.Group()' not: {repr(group)}")
++
++ # Load 'EntryPoint()' objects.
++ if isinstance(entry_points, str):
++
++ # Older versions of Python do not support filtering.
++ if sys.version_info >= (3, 10):
++ all_entry_points = importlib.metadata.entry_points(
++ group=entry_points)
++
++ else:
++ all_entry_points = importlib.metadata.entry_points()
++ all_entry_points = all_entry_points[entry_points]
++
++ # A single 'importlib.metadata.EntryPoint()'
++ elif isinstance(entry_points, importlib.metadata.EntryPoint):
++ all_entry_points = [entry_points]
++
++ # Sequence of 'EntryPoints()'.
++ else:
++ all_entry_points = entry_points
++
++ for ep in all_entry_points:
++
++ try:
++ group.add_command(ep.load())
++
++ # Catch all exceptions (technically not 'BaseException') and
++ # instead register a special 'BrokenCommand()'. Otherwise, a
single
++ # plugin that fails to load and/or register will make the CLI
++ # inoperable. 'BrokenCommand()' explains the situation to users.
++ except Exception as e:
++ group.add_command(BrokenCommand(ep, e))
++
++ return group
++
++ return decorator
++
++
++class BrokenCommand(click.Command):
++
++ """Represents a plugin ``click.Command()`` that failed to load.
++
++ Can be executed just like a ``click.Command()``, but prints information
++ for debugging and exits with an error code.
++ """
++
++ def __init__(self, entry_point, exception):
++
++ """
++ :param importlib.metadata.EntryPoint entry_point:
++ Entry point that failed to load.
++ :param Exception exception:
++ Raised when attempting to load the entry point associated with
++ this instance.
++ """
++
++ super().__init__(entry_point.name)
++
++ # There are several ways to get a traceback from an exception, but
++ # 'TracebackException()' seems to be the most portable across actively
++ # supported versions of Python.
++ tbe = traceback.TracebackException.from_exception(exception)
++
++ # A message for '$ cli command --help'. Contains full traceback and a
++ # helpful note. The intention is to nudge users to figure out which
++ # project should get a bug report since users are likely to report the
++ # issue to the developers of the CLI utility they are directly
++ # interacting with. These are not necessarily the right developers.
++ self.help = (
++ "{ls}ERROR: entry point '{module}:{name}' could not be loaded."
++ " Contact its author for help.{ls}{ls}{tb}").format(
++ module=_module(entry_point),
++ name=entry_point.name,
++ ls=os.linesep,
++ tb=''.join(tbe.format())
++ )
++
++ # Replace the broken command's summary with a warning about how it
++ # was not loaded successfully. The idea is that '$ cli --help' should
++ # include a clear indicator that a subcommand is not functional, and
++ # a little hint for what to do about it. U+2020 is a "dagger", whose
++ # modern use typically indicates a footnote.
++ self.short_help = (
++ f"\u2020 Warning: could not load plugin. Invoke command with"
++ f" '--help' for traceback."
++ )
++
++ def invoke(self, ctx):
++
++ """Print traceback and debugging message.
++
++ :param click.Context ctx:
++ Active context.
++ """
++
++ click.echo(self.help, color=ctx.color, err=True)
++ ctx.exit(1)
++
++ def parse_args(self, ctx, args):
++
++ """Pass arguments along without parsing.
++
++ :param click.Context ctx:
++ Active context.
++ :param list args:
++ List of command line arguments.
++ """
++
++ # Do not attempt to parse these arguments. We do not know why the
++ # entry point failed to load, but it is reasonable to assume that
++ # argument parsing will not work. Ultimately the goal is to get the
++ # 'Command.invoke()' method (overloaded in this class) to execute
++ # and provide the user with a bit of debugging information.
++
++ return args
++
++
++def _module(ep):
++
++ """Module name for a given entry point.
++
++ Parameters
++ ----------
++ ep : importlib.metadata.EntryPoint
++ Determine parent module for this entry point.
++
++ Returns
++ -------
++ str
++ """
++
++ if sys.version_info >= (3, 10):
++ module = ep.module
++
++ else:
++ # From 'importlib.metadata.EntryPoint.module'.
++ match = ep.pattern.match(ep.value)
++ module = match.group('module')
++
++ return module
+--- a/requirements/default.txt
++++ b/requirements/default.txt
+@@ -4,6 +4,5 @@ vine>=5.1.0,<6.0
+ click>=8.1.2,<9.0
+ click-didyoumean>=0.3.0
+ click-repl>=0.2.0
+-click-plugins>=1.1.1
+ backports.zoneinfo[tzdata]>=0.2.1; python_version < '3.9'
+ python-dateutil>=2.8.2
diff -Nru celery-5.5.2/debian/patches/series celery-5.5.2/debian/patches/series
--- celery-5.5.2/debian/patches/series 2025-05-05 14:23:03.000000000 +0200
+++ celery-5.5.2/debian/patches/series 2025-06-29 07:57:23.000000000 +0200
@@ -9,3 +9,4 @@
0011-Satisfy-asinine-sphinx-7.x-parsing-logic-for-copyrig.patch
pytest-no-strict-markers.patch
reproducible-metadata.patch
+pr9786-click-plugins.patch
--- End Message ---
--- Begin Message ---
Source: celery
Source-Version: 5.5.3-2
Done: Alexandre Detiste <[email protected]>
We believe that the bug you reported is fixed in the latest version of
celery, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alexandre Detiste <[email protected]> (supplier of updated celery package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 26 Sep 2025 14:59:31 +0200
Source: celery
Architecture: source
Version: 5.5.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1108454
Changes:
celery (5.5.3-2) unstable; urgency=medium
.
* Team upload.
* Replace transitional python3-tz dependency with python3-pytz
* Drop "Rules-Requires-Root: no": it is the new default
* Bump Standards-Version to 4.7.2
.
[ Bas Couwenberg ]
* vendor python3-click-plugins dependency (Closes: #1108454)
Checksums-Sha1:
9df2859d2a81240f828d5a2d75a2857ef5a48622 2882 celery_5.5.3-2.dsc
f00f5a3230377a70c99e7b0f614e2fd43e183245 25944 celery_5.5.3-2.debian.tar.xz
8c46354a76d8844249e648306512fdf68aef58ca 15770 celery_5.5.3-2_source.buildinfo
Checksums-Sha256:
e6c3021c4e49d08df241f36a5d44a7efaa1d5f1e052f011220652ed90cae3329 2882
celery_5.5.3-2.dsc
e27867e7894022762d345e60318fd133d0420222cb2c707d84eeeac44257b73f 25944
celery_5.5.3-2.debian.tar.xz
e9ddfe6a5094832a76e878c56f22a535360cfc36310e6220640512474969b209 15770
celery_5.5.3-2_source.buildinfo
Files:
547a6556dfd582dff3f3d53a501fabaa 2882 python optional celery_5.5.3-2.dsc
37eb0eb5fb0f79d98f8e8b17a58e3684 25944 python optional
celery_5.5.3-2.debian.tar.xz
d821b925868b4c9d839b63646003ac02 15770 python optional
celery_5.5.3-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmjWkqURHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpksRAAik8gx8OdgwRfsWVpzgP3ELndNu6A5GPI
2q0ZtZzqt7WeAB3XY3pDAumavCGiOfPwYxyodsn4PGrG+WDgbFvpskFKmTjMfbVf
6tPBES1LbRP2TKZafgzu5megzqBdMo2JFUEsDRi4RsKdVuEPxIXwB0hu7VADH/W9
aQ3Zw7Qd/ZTeGjqdtCUaMU4+/Ag9Wbfaxi1oIR9Np2pX13oRMQfF+Q8TCpI5v0Rq
gbL5yuvwHxHRY5wxaHB08PaFa74K6Vduwm1lQRapIh5fV6OLVJShWISUrFqVrCxm
mwV76LBLmrRLdBrP6Xh4MzF3N/dZfbtxN9RU2H//811jQ2q/QhqPDaZx/2i37/9o
pTGWcVo37OcFaDgjdRzLEf3iuUpV5i5++abt9W4CAOshOgTOgUDpcCUPs8x/brRp
zJWOWvRVBAdkm1s0ZD+0J9shW3Ht8AfwhPzixtNiXkUygjcR8gDJzup0FxHSIGeF
niDhOiIeoslD8r7X6ma5k2v+4c9zWS6rOoknw1j8PPBD5yqNpNyNlXU7s/aSIH+E
5JzpgT91hgC+Rg+l0opLgCzIDaJdM2cP6ha1zNT/8uDSzRLnwjYLUMHK8o4UJXvj
rKa1S0SRXgPIXFMtA2WLUd3T38rYKSTTmvM6czh76lyXdUlbi6TUhPhh9wSDwUR7
7QXm9Bkq7ws=
=RIIU
-----END PGP SIGNATURE-----
pgpM4d8Y0RRbl.pgp
Description: PGP signature
--- End Message ---