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

Python 3.8 urllib.parse.splituser DeprecationWarning #1499

Closed
tirkarthi opened this issue Sep 21, 2018 · 1 comment
Closed

Python 3.8 urllib.parse.splituser DeprecationWarning #1499

tirkarthi opened this issue Sep 21, 2018 · 1 comment
Labels

Comments

@tirkarthi
Copy link
Contributor

@tirkarthi tirkarthi commented Sep 21, 2018

Using setuptools on CPython master (Python 3.8) generates below warning. Just wanted to give a heads up on this.

Relevant commit : python/cpython@0250de4

/home/karthi/requests-html-env/lib/python3.8/site-packages/setuptools/package_index.py:1049: DeprecationWarning: urllib.parse.splituser() is deprecated as of 3.8, use urllib.parse.urlparse() instead
  auth, host = urllib.parse.splituser(netloc)

Relevant code :

auth, host = urllib.parse.splituser(netloc)

Thanks

@pganssle
Copy link
Member

@pganssle pganssle commented Oct 23, 2018

PR #1501 solves this, but it is blocked on #1504.

@jaraco jaraco closed this Dec 14, 2018
@jaraco jaraco reopened this Dec 14, 2018
@jaraco jaraco closed this in #1501 Dec 16, 2018
jaraco added a commit that referenced this issue Feb 3, 2019
…se.urlparse is clumsy and causes problems as reported in #1663 and #1668. Alternative to #1499 and fixes #1668.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants