You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install the repository and run all the tests as recommended by the Contribution Instructions. I am getting the following error when I perform the following. Importantly, what are the official instructions for installing the dev dependencies for requests? I cannot find an official instruction so I'm using the Makefile.
Expected Result
Pytest to run successfully.
Actual Result
ImportError: cannot import name 'parse_authorization_header' from 'werkzeug.http' (/requests/venv/lib/python3.10/site-packages/werkzeug/http.py)
Reproduction Steps
cd requests
python -m venv ./myvenv
make init
pytest tests/
Based on this commit in the httpbin repo, it looks like the werkzeug version is constrained, but the dev dependencies do not constrain it to <2.3. Werkzeug removed the parse_authorization_headers func in v3.x.
I am trying to install the repository and run all the tests as recommended by the Contribution Instructions. I am getting the following error when I perform the following. Importantly, what are the official instructions for installing the dev dependencies for
requests
? I cannot find an official instruction so I'm using theMakefile
.Expected Result
Actual Result
Reproduction Steps
System Information
The text was updated successfully, but these errors were encountered: