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

Bad metadata on parsec 3.6 #33

Closed
rohan opened this issue Jan 25, 2021 · 3 comments
Closed

Bad metadata on parsec 3.6 #33

rohan opened this issue Jan 25, 2021 · 3 comments
Labels

Comments

@rohan
Copy link

rohan commented Jan 25, 2021

When installing parsec in a fresh python3 virtualenv, I get the following error:

❯ pip install --no-cache-dir parsec
Collecting parsec
  Using cached parsec-3.6-py2.py3-none-any.whl
ERROR: Requested parsec from https://files.pythonhosted.org/packages/fa/d2/2a80bd6b13e25d4fdd04b15bb182acc61a0f4cfd60dbb995ab729d351b4f/parsec-3.6-1.tar.gz#sha256=e2f8b412bcd46e3fae8029b58c743cc606a411b1e1770965c8da08d02c754b22 has different version in metadata: '3.6'

This causes pip 20.3.3 to hard-fail on installation. Pip 20.3.4 and above just skip 3.6 and downgrade to 3.5, which is also undesirable:

❯ pip install --no-cache-dir parsec
Collecting parsec
  Using cached parsec-3.6-py2.py3-none-any.whl
WARNING: Discarding https://files.pythonhosted.org/packages/fa/d2/2a80bd6b13e25d4fdd04b15bb182acc61a0f4cfd60dbb995ab729d351b4f/parsec-3.6-1.tar.gz#sha256=e2f8b412bcd46e3fae8029b58c743cc606a411b1e1770965c8da08d02c754b22 (from https://pypi.org/simple/parsec/). Requested parsec from https://files.pythonhosted.org/packages/fa/d2/2a80bd6b13e25d4fdd04b15bb182acc61a0f4cfd60dbb995ab729d351b4f/parsec-3.6-1.tar.gz#sha256=e2f8b412bcd46e3fae8029b58c743cc606a411b1e1770965c8da08d02c754b22 has different version in metadata: '3.6'  Using cached parsec-3.5-py2.py3-none-any.whl (7.4 kB)
Installing collected packages: parsec
Successfully installed parsec-3.5

(Edited comment to use --no-cache-dir, just in case.)

@rohan
Copy link
Author

rohan commented Jan 25, 2021

For others who run into this: you can also avoid the hard-fail on 20.3.3 by passing --use-deprecated=legacy-resolver, as described here. You can also downgrade to (at least) pip 20.1, or upgrade to 20.3.4.

@sighingnow
Copy link
Owner

Thank you @rohan to let me know that.

That is strange, I think I need some time to figure out the detail, but I promise to that as soon as possible.

@sighingnow sighingnow added the bug label Jan 28, 2021
@sighingnow
Copy link
Owner

Hi @rohan,

That has been fixed by cut a new release (v3.7) on pypi. Thanks for reporting that.

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

No branches or pull requests

2 participants