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

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

Relevant commit : python/cpython@0250de481

/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 pganssle added the bug label Oct 6, 2018
@pganssle pganssle added Needs Implementation Issues that are ready to be implemented. and removed Needs Implementation Issues that are ready to be implemented. labels Oct 19, 2018
@pganssle
Copy link
Member

pganssle commented Oct 23, 2018

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

@jaraco jaraco closed this as completed Dec 14, 2018
@jaraco jaraco reopened this Dec 14, 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
Development

No branches or pull requests

3 participants