-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
Description
Checklist
- I have verified that the issue exists against the
mainbranch of Celery. - This has already been asked to the discussions forum first.
- I have read the relevant section in the
contribution guide
on reporting bugs. - I have checked the issues list
for similar or identical bug reports. - I have checked the pull requests list
for existing proposed fixes. - I have checked the commit log
to find out if the bug was already fixed in the main branch. - I have included all related issues and possible duplicate issues
in this issue (If there are none, check this box anyway).
Mandatory Debugging Information
- I have included the output of
celery -A proj reportin the issue.
(if you are not able to do this, then at least specify the Celery
version affected). - I have verified that the issue exists against the
mainbranch of Celery. - I have included the contents of
pip freezein the issue. - I have included all the versions of all the external dependencies required
to reproduce this bug.
Optional Debugging Information
- I have tried reproducing the issue on more than one Python version
and/or implementation. - I have tried reproducing the issue on more than one message broker and/or
result backend. - I have tried reproducing the issue on more than one version of the message
broker and/or result backend. - I have tried reproducing the issue on more than one operating system.
- I have tried reproducing the issue on more than one workers pool.
- I have tried reproducing the issue with autoscaling, retries,
ETA/Countdown & rate limits disabled. - I have tried reproducing the issue after downgrading
and/or upgrading Celery and its dependencies.
Related Issues and Possible Duplicates
Related Issues
- None
Possible Duplicates
- None
Environment & Settings
Celery version:
celery report Output:
Steps to Reproduce
Check out the main branch and follow the instructions to build and run the tests in Docker:
docker-compose build celery builds the image successfully.
docker-compose run --rm celery make test fails:
Traceback (most recent call last):
File "setup.py", line 136, in <module>
setuptools.setup(
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/site-packages/setuptools/__init__.py", line 107, in setup
return distutils.core.setup(**attrs)
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/site-packages/setuptools/dist.py", line 1233, in run_command
super().run_command(command)
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/site-packages/setuptools/command/test.py", line 223, in run
self.run_tests()
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/site-packages/setuptools/command/test.py", line 226, in run_tests
test = unittest.main(
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/unittest/main.py", line 100, in __init__
self.parseArgs(argv)
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/unittest/main.py", line 124, in parseArgs
self._do_discovery(argv[2:])
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/unittest/main.py", line 244, in _do_discovery
self.createTests(from_discovery=True, Loader=Loader)
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/unittest/main.py", line 154, in createTests
self.test = loader.discover(self.start, self.pattern, self.top)
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/unittest/loader.py", line 349, in discover
tests = list(self._find_tests(start_dir, pattern))
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/unittest/loader.py", line 405, in _find_tests
tests, should_recurse = self._find_test_path(
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/unittest/loader.py", line 483, in _find_test_path
tests = self.loadTestsFromModule(package, pattern=pattern)
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/site-packages/setuptools/command/test.py", line 49, in loadTestsFromModule
for file in resource_listdir(module.__name__, ''):
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1231, in resource_listdir
return get_provider(package_or_requirement).resource_listdir(resource_name)
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1538, in resource_listdir
return self._listdir(self._fn(self.module_path, resource_name))
File "/home/developer/.pyenv/versions/3.8.17/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1585, in _listdir
raise NotImplementedError(
NotImplementedError: Can't perform this operation for unregistered loader type
Required Dependencies
- Minimal Python Version: N/A or Unknown
- Minimal Celery Version: N/A or Unknown
- Minimal Kombu Version: N/A or Unknown
- Minimal Broker Version: N/A or Unknown
- Minimal Result Backend Version: N/A or Unknown
- Minimal OS and/or Kernel Version: N/A or Unknown
- Minimal Broker Client Version: N/A or Unknown
- Minimal Result Backend Client Version: N/A or Unknown
Python Packages
pip freeze Output:
Other Dependencies
Details
N/A
Minimally Reproducible Test Case
Details
Expected Behavior
Actual Behavior
Reactions are currently unavailable