Skip to content

Conversation

@notatallshaw
Copy link
Member

@notatallshaw notatallshaw commented Nov 14, 2025

Fixes #974

By enshrining the current behavior in tests.

Counter to #976

@notatallshaw notatallshaw force-pushed the test-case-insensitivity-of-arbitary-equality branch from 00bbeb3 to a8e4faf Compare November 14, 2025 17:12
@henryiii
Copy link
Contributor

Would it make sense to put this one in first, then compare with the other one? This only adds tests for current behavior.

@notatallshaw
Copy link
Member Author

I guess that's a philosophical question on what tests are for, ensuring existing behavior or ensuring spec complaint behavior, I don't have a strong opinion but I've heard other PyPA maintainers express opinions towards the latter.

@henryiii
Copy link
Contributor

I think this is just waiting for pypa/packaging.python.org#1959 to go in (though I guess we could merge sooner, as it's only tests that pass on the existing implementation).

@brettcannon
Copy link
Member

@henryiii yep, it can either go in now and possibly be reverted based on the DPO discussion, or it can wait until there's an official answer (I'm fine with either approach).

@notatallshaw notatallshaw merged commit f61a88b into pypa:main Nov 26, 2025
39 checks passed
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.

Make choice on case sensitivity for arbitrary equality (===)

3 participants