-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
urllib3>=2.3.0 breaks httpretty with allow_net_connect=False
#484
Comments
offbyone
added a commit
to offbyone/social-core
that referenced
this issue
Jan 2, 2025
This is due to gabrielfalcao/HTTPretty#484
adacore-bot
pushed a commit
to AdaCore/e3-core
that referenced
this issue
Jan 3, 2025
Set urllib to 2.2.3 version as the new version 2.3.0 breaks httpretty see gabrielfalcao/HTTPretty#484
nijel
added a commit
to python-social-auth/social-core
that referenced
this issue
Jan 6, 2025
* Switch to pyproject.toml for project metadata - import the metadata using pdm import - use importlib metadata for in-code version display * Install the dev dependencies with tox's own mechanism * Fix the httpretty UnmockedError This is due to gabrielfalcao/HTTPretty#484 * Remove flake8 configuration Co-authored-by: Michal Čihař <[email protected]>
rebkwok
added a commit
to bennettoxford/bennettbot
that referenced
this issue
Jan 9, 2025
httpretty has not been actively maintained for a while (there are a lot of outstanding PRs and issues, and the last commit on main was 3 years ago). We're already pinning it because of a bug, and it's now incompatible with the latest version of urllib3 gabrielfalcao/HTTPretty#484 mocket does all the same things as httpretty and more (it does have a plugin that aims to be a dropin replacement for httpretty, but it doesn't cover all the ways that we use it). In any case, replacing our use of httpretty with mocket is quite straightforward.
rebkwok
added a commit
to bennettoxford/bennettbot
that referenced
this issue
Jan 9, 2025
httpretty has not been actively maintained for a while (there are a lot of outstanding PRs and issues, and the last commit on main was 3 years ago). We're already pinning it because of a bug, and it's now incompatible with the latest version of urllib3 gabrielfalcao/HTTPretty#484 mocket does all the same things as httpretty and more (it does have a plugin that aims to be a dropin replacement for httpretty, but it doesn't cover all the ways that we use it). In any case, replacing our use of httpretty with mocket is quite straightforward.
1 task
rebkwok
added a commit
to bennettoxford/bennettbot
that referenced
this issue
Jan 10, 2025
httpretty has not been actively maintained for a while (there are a lot of outstanding PRs and issues, and the last commit on main was 3 years ago). We're already pinning it because of a bug, and it's now incompatible with the latest version of urllib3 gabrielfalcao/HTTPretty#484 mocket does all the same things as httpretty and more (it does have a plugin that aims to be a dropin replacement for httpretty, but it doesn't cover all the ways that we use it). In any case, replacing our use of httpretty with mocket is quite straightforward.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem is that urllib3 now calls into
httpretty.core.fakesock.socket.__getattr__
with"shutdown"
, which raises an error withhttpretty.enable(allow_net_connect=False)
:PyGithub/PyGithub#3101
The text was updated successfully, but these errors were encountered: