Skip to content

finish removing Python2 support#178

Open
a-detiste wants to merge 2 commits into
gruns:masterfrom
a-detiste:master
Open

finish removing Python2 support#178
a-detiste wants to merge 2 commits into
gruns:masterfrom
a-detiste:master

Conversation

@a-detiste
Copy link
Copy Markdown

Hi,

Here's what you need to finish removing Python2 hybridation.

https://wiki.debian.org/Python3-six-removal

Greetings

@a-detiste
Copy link
Copy Markdown
Author

@gruns Hi, I was surprised to see this PR not included. There's no a hurry either.

@gruns
Copy link
Copy Markdown
Owner

gruns commented Apr 15, 2026

hey @a-detiste! first? a huge thank you for your PR! sincerely 🙏

  • i support this; py2 is long in the rear view mirror
  • unfortunately i dont have time to review and merge this PR right now

@alexcochran do you have bandwidth to review and merge this PR? 🙌

@alexcochran alexcochran self-assigned this Apr 16, 2026
@alexcochran alexcochran added the Update/Dependencies Pull requests that update project dependencies label Apr 16, 2026
Copy link
Copy Markdown
Collaborator

@alexcochran alexcochran left a comment

Choose a reason for hiding this comment

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

This looks good in general but causes several more tests to fail in addition to those already failing on master:

======================================================================= short test summary info ========================================================================
FAILED tests/test_furl.py::TestPath::test_isabsolute - TypeError: __str__ returned non-string (type bytes)
FAILED tests/test_furl.py::TestFurl::test_basic_manipulation - TypeError: __str__ returned non-string (type bytes)
FAILED tests/test_furl.py::TestFurl::test_basics - TypeError: __str__ returned non-string (type bytes)
FAILED tests/test_furl.py::TestFurl::test_hosts - ValueError: '0:0:0:0:0:0:0:1:1:1:1:1:1:1:1:9999999999999' does not appear to be an IPv4 or IPv6 address
FAILED tests/test_furl.py::TestFurl::test_join - TypeError: __str__ returned non-string (type bytes)
FAILED tests/test_furl.py::TestFurl::test_netloc - ValueError: '0:0:0:0:0:0:0:1:1:1:1:1:1:1:1:9999999999999' does not appear to be an IPv4 or IPv6 address
FAILED tests/test_furl.py::TestFurl::test_none - TypeError: __str__ returned non-string (type bytes)
FAILED tests/test_furl.py::TestFurl::test_odd_urls - AssertionError: assert '//////path' == '////path'
FAILED tests/test_furl.py::TestFurl::test_path_itruediv - TypeError: __str__ returned non-string (type bytes)
FAILED tests/test_furl.py::TestFurl::test_path_truediv - TypeError: __str__ returned non-string (type bytes)
FAILED tests/test_furl.py::TestFurl::test_remove - TypeError: __str__ returned non-string (type bytes)
==================================================================== 11 failed, 66 passed in 5.05s =====================================================================

I can look into this more later.

@a-detiste
Copy link
Copy Markdown
Author

It's down to 3 failures now

@a-detiste
Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Kind/Compatibility Update/Dependencies Pull requests that update project dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants