-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Fix requests version of install_requires to solve idna dependency #562
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
Conversation
|
Hmm, |
|
@carver Yes, I just find environment for error occur when i tested pip install requests version in 2.12.4, 2.12.5, 2.13.0, 2.14.0, 2.14.1, 2.14.2, 2.15.1, so if other also occur like that, i think we need to add |
|
Great, thanks for tracking that down! Let's change the requests dependency to |
|
👍 When the tests pass, I'll merge. |
fix to requests>=2.16.0,<3.0.0 for solve dependency of idna ----------------------------------- add idna package on install_requires, to solve occur No module error on macOS high sierra, Python 3.5.2
|
I think it is ready to merge, but tell me if need to rebase and retest |
|
Thanks @dongsam ! |
What was wrong?
occur
ImportError: No module named 'idna'after pip install on macOS high sierra, Python 3.5.2when pip install web3, if already installed requests lower then 2.16.0 idna could be not installed
when i tested pip install requests version in 2.12.4, 2.12.5, 2.13.0, 2.14.0, 2.14.1, 2.14.2, 2.15.1,
not installed idna, 2.16.0 is start version what install with idna
How was it fixed?
add idna package on install_requires
pip install test succeed after adding idna on install_requires
or "requests>=2.12.4,<3.0.0" to "requests>=2.16.0,<3.0.0",
you can test by
pip install git+https://github.com/dongsam/web3.py@patch-1Cute Animal Picture