-
Notifications
You must be signed in to change notification settings - Fork 149
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
Fixes the regexp to make it match the filenames produced by setuptools_scm #269
Conversation
Why not use the same one as pip? |
Codecov Report
@@ Coverage Diff @@
## master #269 +/- ##
=======================================
Coverage 59.49% 59.49%
=======================================
Files 12 12
Lines 827 827
=======================================
Hits 492 492
Misses 335 335
Continue to review full report at Codecov.
|
It is too broad so it was replaced here in c84867f breaking compatibility. IMHO it makes no sense to check wheel filename at all. |
What standard includes a commit hash in the wheel file name? |
FWIW, fixing was never blocked me making code changes, but getting a definitive answer from @dholth regarding the interpretation of PEP 427. |
Not standard, but usage of pypa/setuptools_scm causes this kind of filenames to be produced. It is strange to see that pypa/wheel broken compatibility to pypa/setuptools_scm. This made some packages non-installable from git. I insist on fixing compatibility as soon as possible, since this breaks packages, especially my packages, and only then standardizing it. Or non-standardizing and taking measures to prevent this part from appearing in filename. I like the first variant better. |
We have an accepted standard saying that any character not matching |
I made my own changes to the regex already so I'm closing this one. |
That part of the spec is probably a mistake where it says "all
components of the filename..." The package name needs to be so
processed to match setuptools/pkg_resources, and we need to replace
dashes to be able to parse the filename, but weird versions should be
allowed by wheel itself. How does setuptools or pkg_resources transform
version numbers?
On Thu, Oct 18, 2018, at 4:03 AM, Alex Grönholm wrote:
I made my own changes to the regex already so I'm closing this one.> — You are receiving this because you were mentioned. Reply to this
email directly, view it on GitHub[1], or mute the thread[2].
|
No description provided.