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 pre-release seems to fail sporadically #28

Closed
jaraco opened this issue Apr 14, 2015 · 0 comments · Fixed by #29
Closed

pip install pre-release seems to fail sporadically #28

jaraco opened this issue Apr 14, 2015 · 0 comments · Fixed by #29

Comments

@jaraco
Copy link
Member

jaraco commented Apr 14, 2015

Running pip install -i https://devpi.net/hpk/dev/+simple/ devpi-server==2.2.0dev4 sometimes results in:

Could not find a version that satisfies the requirement devpi-common<2.1,>=2.0.6.dev0 (from devpi-server==2.2.0dev4->-r requirements.txt (line 2)) (from versions: 1.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6.dev2)

The issue appears to be in packaging, as

python -c "from packaging.specifiers import SpecifierSet; print(list(SpecifierSet('<2.1,>=2.0.6.dev0').filter(['1.2', '2.0.0', '2.0.1', '2.0.2', '2.0.3', '2.0.4', '2.0.5', '2.0.6.dev2'])))"

will return different results on different, adjacent calls.

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

Successfully merging a pull request may close this issue.

1 participant