Incompatibility with kombu 4.0
See original GitHub issueWhen running the pub/sub example from the docs, I get the following error:
AttributeError: 'Connection' object has no attribute 'exchange_declare'
Full traceback is here:
https://gist.github.com/adwhit/5007a304d68891ead581e4c9035db205
Nameko version 2.4.2, Kombu version 4.0.0
If I drop down to Kombu 3.0.37, it works. Therefore I assume the problem is either with Kombu or the Nameko-Kombu interface.
Edit - I see you have recently updated setup.py to use a version < 4. Feel free to close this issue! I note that every other feature seemed to be working correctly so hopefully there will not be too much work to get 4.0 working.
Issue Analytics
- State:
- Created 7 years ago
- Comments:20 (12 by maintainers)
Top Results From Across the Web
Change history — Kombu 5.2.4 documentation - Celery
Fixed SQS unittests. Fix: non kombu json message decoding in SQS transport (#1306). Add Github Actions CI (#1309). Update default pickle protocol version...
Read more >kombu - PyPI
`Kombu` is a messaging library for Python. The aim of `Kombu` is to make messaging in Python as easy as possible by providing...
Read more >Kombu Documentation - Celery
Kombu is a messaging library for Python. The aim of Kombu is to make messaging in Python as easy as possible by providing...
Read more >Kombu Documentation - Read the Docs
Kombu is a messaging library for Python. The aim of Kombu is to make messaging in Python as easy as possible by providing...
Read more >django with celery raise No module named 'kombu' when ...
You use celery 4.4.1 has requirement kombu<4.7,>=4.6.10, but you'll have kombu 4.6.8 which is incompatible. Please use:.
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 Free
Top 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
The incompatibility is with pyamqp 2.x. They are not major, but fixing them required feature sniffing to keep supporting the older version of the library so we didn’t.
2.x has been out for long enough now though that I would be happy to upgrade and drop support for older versions.
Are you using both Celery and Nameko in the same process? If not, can’t you run them from different environments?
I don’t know if my problem deserves separate issue, but I have a problem now, which seems to be related to this topic. I have latest celery (4.1.0) in project which depends on kombu 4.1.0. Since I have also nameko, I can’t use pytest (and probably code that invokes calls to the nameko microservice, haven’t tested yet), it just fails with:
When lowering down kombu to 3.0.17 i get error from celery (something about imports and other errors as well).
Am I missing something obvious or I just can’t use nameko and celery in one project due to kombu versions mismatch (can you suggest something in this case)?