Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

Alireza2n
Copy link

@Alireza2n Alireza2n commented Jul 24, 2020

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
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
Copy link
Member

auvipy commented Jul 24, 2020

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
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.

None yet

2 participants