Skip to content
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

pip fails to install development version of s3cmd due to invalid version string #1183

Closed
salty-horse opened this issue Apr 14, 2021 · 4 comments

Comments

@salty-horse
Copy link
Contributor

When attempting to install s3cmd from git, this error appears:

$ pip install https://github.com/s3tools/s3cmd/archive/5834228d5bddde3819a3ae5506dd656b62dfb2d1.zip
[...]
  WARNING: Built wheel for s3cmd is invalid: Metadata 1.2 mandates PEP 440 version, but '2.1.0-' is not

This is due to a recent change in pip 20.3.4:

pip wheel now verifies the built wheel contains valid metadata, and can be installed by a subsequent pip install. This can be disabled with --no-verify.

I believe it doesn't like the + in the current development version string 2.1.0+. Please consider using a valid version number for development versions in the future.

See #1182 (comment) for a workaround.

@fviard
Copy link
Contributor

fviard commented Apr 17, 2021

Thank you very much for the investigation as the problem was not obvious.
I have pushed a change to rename the dev version to 2.1.0-dev.
I hope that pip should now be happy.
Please let me know if you encounter another issue.

@fviard fviard closed this as completed Apr 17, 2021
@salty-horse
Copy link
Contributor Author

@fviard Nothing was pushed to master yet - the last commits are pushed in December. Am I missing anything?

@fviard
Copy link
Contributor

fviard commented Apr 18, 2021

You are right, sorry, i'm losing my head. It is rightly pushed now!
Thank you!

@salty-horse
Copy link
Contributor Author

Thanks! I can confirm it fixes the pip install issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants