Skip to content

Stop automatically converting the amqp:// prefix to librabbitmq://#1225

Closed
Alireza2n wants to merge 1 commit into
celery:masterfrom
Alireza2n:master
Closed

Stop automatically converting the amqp:// prefix to librabbitmq://#1225
Alireza2n wants to merge 1 commit into
celery:masterfrom
Alireza2n:master

Conversation

@Alireza2n

@Alireza2n Alireza2n commented Jul 24, 2020

Copy link
Copy Markdown

Based on issue #4693 on celery repo, librabbitmq is no longer the recommended package, but the code in kombu does not follow this recommendation.
It's also been discussed in PR #5873.
This PR removes the code where kombu.Connection()'s __init__() method automatically converts the amqp:// prefix to librabbitmq://.

@Alireza2n

Copy link
Copy Markdown
Author

I noticed test_prefer_librabbitmq_over_amqp_when_available() fails, let me know if I also need to remove this method or rewrite it.

@auvipy

auvipy commented Jul 24, 2020

Copy link
Copy Markdown
Member

I noticed test_prefer_librabbitmq_over_amqp_when_available() fails, let me know if I also need to remove this method or rewrite it.

better rewrite it

@Alireza2n

Copy link
Copy Markdown
Author

I noticed test_prefer_librabbitmq_over_amqp_when_available() fails, let me know if I also need to remove this method or rewrite it.

better rewrite it

Sure, I'll close this PR and create another one with refactored test included.

@Alireza2n Alireza2n closed this Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants