-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Upgrading requests-toolbelt to version 1.0.0 #14410
Comments
Hi @LeoNatanian ! Thanks for the report. I wasn't able to reproduce this issue on a fresh virtualenv, and for reference, here's the output of my
The line you note is not actually a pin enforced when you're installing |
Looks this issue was introduced via qql (see also graphql-python/gql#412), this should be resolved with gql 3.5 will be released (see graphql-python/gql#439). edit: to be more precise, qql hat requests-toolbelt fixed to <1, which is incompatible with urllib v2. Bugfix release qql 3.4.1 fixed urllib to <2 ( |
dagster/pyright/master/requirements-pinned.txt
Line 404 in c112a36
Problem:
On a clean install using the project-tutorial from the dagster website, the application did not run out-of-the-box using the
dagster dev
command line. For reference: https://docs.dagster.io/tutorial/setup.When running the
dagster dev
line, i received the following stack trace error which originated from:ImportError: cannot import name 'appengine' from 'urllib3.contrib' (/home/lnatanian/dev/dagster/venv/lib/python3.8/site-packages/urllib3/contrib/__init__.py)
Solution:
TL;DR: Using
pip3 install requests-toolbelt --upgrade
and upgrading the version to 1.0.0 it began working.I dove into the urllib3 library that originated the error and noticed that there was an a large if-else block that attempted to import various requests libraries depending on the requests version in the environment. This hinted that requests library was likely the culprit. Checking the versioning number between the two, I decided to upgrade to the latest and it now works. My suggestion is to use the latest version 1.0.0 if it does not break regression testing.
The text was updated successfully, but these errors were encountered: