-
-
Notifications
You must be signed in to change notification settings - Fork 928
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
Feature: urllib3 instead of curl #2134
base: main
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2134 +/- ##
==========================================
+ Coverage 80.33% 80.80% +0.46%
==========================================
Files 75 75
Lines 9125 9041 -84
Branches 1350 1333 -17
==========================================
- Hits 7331 7306 -25
+ Misses 1600 1551 -49
+ Partials 194 184 -10 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there 👋
Can you please the CI failures?
Thanks 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this would be a good move. please also check the failing tests
a problem i see is that i think i need some guidance on how to properly test this migration: Who uses this client Outside of "kombu in vacuum"? also the curl files are not removed yet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I gave it a quick review, nothing special popped into my eyes so far.
I'll review again if the CI fully passes.
@@ -3,6 +3,4 @@ git+https://github.com/celery/sphinx_celery.git | |||
-r extras/mongodb.txt | |||
-r extras/sqlalchemy.txt | |||
-r extras/azureservicebus.txt | |||
# we cannot use directly extras/sqs.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love this change 🙏
Good question. Maybe check Celery code?
Can you change the PR to draft meanwhile? |
i've run my code inside my i've also tried and all seems to behave as usual. but i don't use proxies @auvipy @Nusnus the last questions are:
PS: the failing tests, basically, timeout during execution ;) = no more bad py3.8 code. |
may be the first approach would be fine to start. but if you can also go extra mile, it would be great as well |
Speaking about refactoring : if I remove the curl=None from request call - we can have a proper proxy pool. I just need to figure out which configure settings are used. But this is a breaking change 😬 |
for more information, see https://pre-commit.ci
Apologies for not being so helpful, I am pretty focused on the asyncio effort so I have less resources to support this PR as well at the moment 🙏 |
@Nusnus no worries. i think i'm done :) i'm gonna deploy this to my testing env |
for more information, see https://pre-commit.ci
so.. apparently, for and now (with all my fancy code that enabled missing but then it complains that and all that worked with fixing that based on boto code + https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl |
for #737
i've migrated
CurlClient
toUrllib3Client
and updated some unit tests.i'd like to test this more thoroughly, though
needs a little bit more code cleanup as i am not even use this works (tests don't fail at least)
let me know what you think