Repository navigation
Deprecate cross-type Version equality in semver 3 - #507
Conversation
|
I found a documentation issue at |
Relates to #506 Warn on equality with strings, tuples, and list while keeping Version hashable. Document mixed-key risks, semver 4 removal, and how to suppress this specific warning.
|
Thanks @agammann for your eagle eyes! Much appreciated! ❤️ I fixed it accordingly. Let me know if this looks good enough. |
|
Thanks for the update. On |
* Update newsfragment file and mention strings, bytes, tuples, or lists * Add additional test case test_should_filter_only_cross_type_equality_deprecation_warnings to check for a regression.
|
Thanks! On |
|
Thanks @agammann for your checks. I've tested it and everything looks fine. 🎉 Merging to master. Many thanks for your help! ❤️ |
Relates to #506
Warn on equality with strings, tuples, and list while keeping Version hashable. Document mixed-key risks, semver 4 removal, and how to suppress this specific warning.
@agammann could you have a look? Thanks!
I'm a bit unsure about the warning. I hope people didn't use that too often, otherwise they would be flooded with warnings. On the other side, this will help to see it and it can't get unnoticed. 🤔