Kombu 4.2.2: py.test seems to fail/hang
See original GitHub issueHi guys,
My CI detected that the new release of Kombu is not working in my project anymore, specifically when trying to run py.test
with my application.
So far I don’t know what the root cause of the problem is with Kombu, but pinning to 4.2.1 worked for us.
This is what I was able to pull out of pytest with PYTEST_DEBUG enabled, which pointed me down the road of “did they release a new version of Kombu”:
early skip of rewriting module: hiredis.hiredis [assertion]
early skip of rewriting module: hiredis.version [assertion]
early skip of rewriting module: redis.lock [assertion]
early skip of rewriting module: redis.sentinel [assertion]
early skip of rewriting module: django_celery_results.backends [assertion]
early skip of rewriting module: django_celery_results.backends.cache [assertion]
matched marked file 'celery.backends' (from 'celery') [assertion]
find_module called for: celery.backends [assertion]
rewriting '/usr/local/lib/python3.6/site-packages/celery/backends.py' [assertion]
matched marked file 'celery.backends.base' (from 'celery') [assertion]
find_module called for: celery.backends.base [assertion]
rewriting '/usr/local/lib/python3.6/site-packages/celery/backends/base.py' [assertion]
early skip of rewriting module: django_celery_results.backends.database [assertion]
matched marked file 'celery.app.events' (from 'celery') [assertion]
find_module called for: celery.app.events [assertion]
rewriting '/usr/local/lib/python3.6/site-packages/celery/app/events.py' [assertion]
matched marked file 'celery.events' (from 'celery') [assertion]
find_module called for: celery.events [assertion]
rewriting '/usr/local/lib/python3.6/site-packages/celery/events.py' [assertion]
matched marked file 'celery.events.dispatcher' (from 'celery') [assertion]
find_module called for: celery.events.dispatcher [assertion]
rewriting '/usr/local/lib/python3.6/site-packages/celery/events/dispatcher.py' [assertion]
matched marked file 'celery.events.event' (from 'celery') [assertion]
find_module called for: celery.events.event [assertion]
rewriting '/usr/local/lib/python3.6/site-packages/celery/events/event.py' [assertion]
matched marked file 'celery.events.receiver' (from 'celery') [assertion]
find_module called for: celery.events.receiver [assertion]
rewriting '/usr/local/lib/python3.6/site-packages/celery/events/receiver.py' [assertion]
early skip of rewriting module: kombu.mixins [assertion]
early skip of rewriting module: kombu.utils.limits [assertion]
And it just hangs from there.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Kombu 4.2.0 documentation - Celery
This document is for Kombu's development version, which can be significantly different from previous releases. Get the stable docs here: 4.1.
Read more >Untitled
+ tools/*.py can be run under python 3.0 + svm_set_quiet() in python interface to disable outputs + check gamma < 0 + internal...
Read more >Untitled
Remove HMAC_MD5 from Requires and BuildRequires - Add Test::Pod to ... and TKS do not seem to have CRL checking enabled - Bugzilla...
Read more >Python library issues and how to fix | GitAnswer
removal of kombu-4.2.2 from pypi ... Kombu 4.2.2: py.test seems to fail/hang ... kombu creating RabbitMQ connection in forked process hangs ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It appears that 4.2.2 is cut from master instead of the 4.2 branch: https://github.com/celery/kombu/issues/966
Perhaps that explains why there’s more in it than allowing new redis clients?
For the record I can confirm my problem disappeared with the re-release of 4.2.2