Skip to content
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

ImportError: No module named parse #533

Closed
huypxgear opened this issue Mar 11, 2024 · 3 comments
Closed

ImportError: No module named parse #533

huypxgear opened this issue Mar 11, 2024 · 3 comments

Comments

@huypxgear
Copy link

There is an issue when updating to the version 1.4.0. It does not work in Python 2.7. The parse does not exist

  File "/opt/kff/Whiplash-Server-Env/lib/python2.7/site-packages/social/backends/open_id.py", line 12, in <module>
    from social.backends.oauth import BaseOAuth2
  File "/opt/kff/Whiplash-Server-Env/lib/python2.7/site-packages/social/backends/oauth.py", line 3, in <module>
    from requests_oauthlib import OAuth1
  File "/opt/kff/Whiplash-Server-Env/lib/python2.7/site-packages/requests_oauthlib/__init__.py", line 5, in <module>
    from .oauth1_session import OAuth1Session
  File "/opt/kff/Whiplash-Server-Env/lib/python2.7/site-packages/requests_oauthlib/oauth1_session.py", line 1, in <module>
    from urllib.parse import urlparse
ImportError: No module named parse
@jtroussard
Copy link
Contributor

I believe the project is dropping support for <=3.7, there have been some rollback PRs recently. You might need to revert the version to get back this functionality.

@jtroussard
Copy link
Contributor

jtroussard commented Mar 11, 2024

last release should have been a major version since since some of the API had changed. I believe this will be "fixed" in the up coming release, to prevent this kind of confusion. @JonathanHuot is this correct?

@huypxgear
Copy link
Author

Got it. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants