-
Notifications
You must be signed in to change notification settings - Fork 251
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
canonicalize package name correctly #328
Conversation
downstream tests fixed in python-poetry/poetry#5475 |
I have just spotted that there is history here at #100 and #132. #132 doesn't say what the "unintended side effects" were that caused this to be reverted. I doubt that they were worse than the infinite loops that this fixes. That makes my guess that this was mis-copied from |
At least it says that the canonicalized names were propagated in too many places and that the original names should be kept longer. Thus, I suppose we would have to evaluate each call of @abn Do you remember why the original PR was reverted? I assume it wasn't just for cosmetic reasons? |
I suspect there were a few different issues that piled up which may have already been resolved. Based on talking with sdispater, seems the issue was dependency resolution was breaking in some cases. Like, for example I am going to suggest that we move forward with this after the tests are fixed and fix any regressions as they come. |
54552cd
to
efb692f
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Resolves: python-poetry/poetry#5474, python-poetry/poetry#3132, python-poetry/poetry#3200
looks like this regex was probably just badly copied from https://github.com/pypa/packaging/blob/ba124324e866e518ebfe0378a25b6ba4816e5880/packaging/utils.py#L27