-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
requests > 2.31 breaks this packages connections to GIS(), causes maximum recursion #1834
Comments
I can duplicate this on Windows:
Then run ipython and try to authenticate to an AGOL org. I'm seeing some SSL context chatter on psf/requests#6715, so I wonder if this is a side effect of that as well. |
Yes we have noticed this issue as well and we are working on it. update: listen to Nate |
Chiming in from the Requests side of things, this is due to a bug in |
Thanks @nateprewitt . I also look forward to the patch fixing the adapter which was out solution for #1698 from the requests side. |
Just tested the new |
We identified an issue and released patches in May to address it. These patches prevent you from using version 2.32.* of the requests library because version 2.32.3 wasn't available yet. The next release (2.4.0) will permanently fix this issue. However, it will still require using specific versions of requests to avoid compatibility problems. If necessary, you can install the requests library after the update using pip install requests. We're holding off on fully adopting version 2.32.* because some users are reporting issues with it. You can find more information about these issues on GitHub: psf/requests#6715 (comment) |
Hi @achapkowski , is there already an ETA for 2.4.0? |
Describe the bug
With requests package >2.31, you cannot instantiate a GIS() object and use the API, with or without credentials. The package allows
requests
to be up to 3.0. This does not seem true.To Reproduce
Steps to reproduce the behavior:
With requests package > 2.31
error:
Screenshots
If applicable, add screenshots to help explain your problem.
Expected behavior
GIS object instantiates so you can use this package
Platform (please complete the following information):
2.3
Additional context
I have confirmed by installing requests 2.32, running the code, it fails.
Install 2.31 or lower, running the code, it works.
This one put us into a state of chaos in the last 48 hours so would appreciate any tips on how we can avoid.
The text was updated successfully, but these errors were encountered: