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

Avoid urllib.parse.splitport DeprecationWarning #257

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

andersk
Copy link
Contributor

@andersk andersk commented Oct 22, 2024

DeprecationWarning: urllib.parse.splitport() is deprecated as of 3.8, use urllib.parse.urlparse() instead

@andersk andersk force-pushed the splitport branch 3 times, most recently from 87a9696 to d17964f Compare October 23, 2024 01:10
“DeprecationWarning: urllib.parse.splitport() is deprecated as of 3.8,
use urllib.parse.urlparse() instead”

Signed-off-by: Anders Kaseorg <[email protected]>
Copy link
Owner

@jaysonsantos jaysonsantos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much.
I just had a question about the actions

@@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: LizardByte/setup-python[email protected]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any specific reason on why this action is changing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI doesn’t pass on master because Python 2.7 was removed from actions/setup-python last year: actions/setup-python#672.

If it were my project, I would have removed Python 2.7 support years ago—let me know if that’s the route you would prefer.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'll read the code on that to see what it does. The support for python 2 is there because on redhat there are still users using it

@jaysonsantos jaysonsantos merged commit be0a7d1 into jaysonsantos:master Oct 23, 2024
7 checks passed
@andersk andersk deleted the splitport branch October 23, 2024 16:38
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

Successfully merging this pull request may close these issues.

2 participants