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 install reports version inconsistency in metadata #1

Closed
isaacto opened this issue Mar 17, 2023 · 2 comments
Closed

pip install reports version inconsistency in metadata #1

isaacto opened this issue Mar 17, 2023 · 2 comments
Labels
enhancement New feature or request pip issue

Comments

@isaacto
Copy link

isaacto commented Mar 17, 2023

When trying to install on Python 3.9.5 using "pip install xsum":

Collecting xsum
Using cached xsum-1.1.1.tar.gz (61 kB)
Preparing metadata (setup.py) ... done
Discarding https://files.pythonhosted.org/packages/9e/2e/dd31e65d9c59c62d40243455b073716875a5f53672ca81c742529f07c149/xsum-1.1.1.tar.gz (from https://pypi.org/simple/xsum/): Requested xsum from https://files.pythonhosted.org/packages/9e/2e/dd31e65d9c59c62d40243455b073716875a5f53672ca81c742529f07c149/xsum-1.1.1.tar.gz has inconsistent version: expected '1.1.1', but metadata has '0+unknown'

OS used is Ubuntu 20.04.5 LTS, although the Python is locally installed. The pip used is of version 23.0.1. BTW, pip installing the git version worked.

@yafshar
Copy link
Owner

yafshar commented Mar 17, 2023

Hi @isaacto, thanks for your report! I'm sorry you're having trouble right now. The issue originates from the pip version resolver change. Until I fix this issue, you can use a workaround and use the old resolver behavior using the flag --use-deprecated=legacy-resolver.

Please try,
pip install xsum -use-deprecated=legacy-resolver

@yafshar yafshar added enhancement New feature or request pip issue labels Mar 17, 2023
@yafshar
Copy link
Owner

yafshar commented Mar 17, 2023

@isaacto the issue has been fixed in #2
You can get the new version from PyPI or conda after they are updated. Or immediately from the master branch.

@yafshar yafshar closed this as completed Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pip issue
Projects
None yet
Development

No branches or pull requests

2 participants