Normalize case and make small changes in the reference implementation for dependency groups resolution#2045
Normalize case and make small changes in the reference implementation for dependency groups resolution#2045jonathandung wants to merge 1 commit into
Conversation
|
@jonathandung motivation? Justification? cc @sirosen |
|
For the first one, I notice that the last commit to this file |
|
I have no strong feeling about the string in the The other is a bugfix. Non-normalized names are being used by the example code, but resolution must use normalized names. I'm on my phone at the moment so I can't verify, but I'm pretty sure that is you try to resolve |
|
|
I'm saying you already did fix a bug! 😀 🎉 The current version fails on the following input: [dependency-groups]
FOO = ["requests"]If you try to resolve The code in the original reference implementation in the PEP text also has this bug, in very slightly different form. Out of scope for a change here, but worth noting. |
->
->
📚 Documentation preview 📚: https://python-packaging-user-guide--2045.org.readthedocs.build/en/2045/