-
Notifications
You must be signed in to change notification settings - Fork 134
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
Invalid wheel filename if version contains some extra text part #383
Comments
Same issue here! Here's a repex: git clone https://github.com/grst/wheel-bug.git
cd wheel-bug
flit install
|
Yup, this is a huge problem, it means that people can’t use flit in CI. Fixed in #388 |
I believe pip is going against the spec here. I've filed an issue in pip to discuss it: pypa/pip#9628 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, consider a version like "1.0.0-dev0+test.feature.1", which matches PEP 440. The problem is that flit yields filename "project-1.0.0-dev0_test.feature.1.py-wheel-all.whl" -- the '+' sign is replaced with '_'. Such filename is rejected by pypi server with message: "filename project-1.0.0-dev0_test.feature.1.py-wheel-all.whl does not contain version "1.0.0-dev0+test.feature.1".
I believe this is exactly the same problem poetry had: python-poetry/poetry#756.
The text was updated successfully, but these errors were encountered: