Closed ikwyl6 closed 4 months ago
Hi @ikwyl6 , thanks for reporting the issue.
I'd like to point out that the version of boxsdk
you're using, 2.10.0, is EOL.
Since version 3.7.0 of boxsdk, the problem seems to no longer occur because we removed the restriction from requests-toolbelt>=0.4.0, <1.0.0
to requests-toolbelt>=0.4.0
.
Could you please retry your attempt with the latest version of our SDK 3.9.2, and let us know if this resolves the issue?
Well that was embarrassing! Was using boxsdk
from 3 years ago..
I did a pip install -U boxsdk
and it updated to 3.9.2
and it seems to work find (with my script). thank you..
Now when I install
$ pip install -U 'requests-toolbelt>=1'
I get the following:Description of the Issue
Currently boxsdk uses
requests-toolbelt>=0.4.0
. During an upgrade of requests-toolbelt to 1.0.0, they removed Google's Engine 'appengine' that was part of their pkg requests-toolbelt HISTORY andurllib3
also removedappengine
from their package. When this happened it broke a few dependencies.Steps to Reproduce
venv
and install requests and boxsdk via pip:pip install requests boxsdk
. Doing this installsurllib3 2.2.1
andrequests 2.31.0
, andrequests-toolbelt 0.10.1
.Once that happens and I use my script that uses
boxsdk 2.10.0
I get the following error:requests-toolbelt 1.0.0
as the support for google'sappengine
has been removed (not needed) and should fix thisImportError
:If this is as easy as doing a PR for line 59 then let me know.
Testing my script with
requests-toolbelt 1.0.0
installed seems to be working OK (no errors or exceptions).Expected Behavior
boxsdk to use requests-toolbelt >=1.0.0 without issues.
Error Message, Including Stack Trace
Screenshots
Versions Used
Python SDK:
boxsdk 2.10.0
Python: 3.11.7