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 20 no longer finds latest version of cmake #7633

Closed
bluenote10 opened this issue Jan 21, 2020 · 2 comments
Closed

Pip 20 no longer finds latest version of cmake #7633

bluenote10 opened this issue Jan 21, 2020 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation project: vendored dependency Related to a vendored dependency type: bug A confirmed bug or unintended behavior

Comments

@bluenote10
Copy link

Environment

  • pip version: 20.0.1
  • Python version: 3.7.6 (but same with 2.7.12)
  • OS: Ubuntu 16.04

Description

pip install "cmake==3.15.3" no longer finds a matching distribution although this version exists on PyPI.

Expected behavior

Should find the latest version.

How to Reproduce

$ virtualenv -p /usr/bin/python3.7 /tmp/venv3.7
$ . /tmp/venv3.7/bin/activate
$ pip install -U pip
Requirement already up-to-date: pip in /tmp/venv3.7/lib/python3.7/site-packages (20.0.1)
$ pip install "cmake==3.15.3"
ERROR: Could not find a version that satisfies the requirement cmake==3.15.3 (from versions: 0.1.0, 0.2.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 3.6.3, 3.6.3.post1, 3.7.2, 3.8.2, 3.9.6, 3.10.3, 3.11.0, 3.11.4, 3.11.4.post1, 3.12.0, 3.13.0, 3.13.1, 3.13.2, 3.13.2.post1, 3.13.3)
ERROR: No matching distribution found for cmake==3.15.3

Version 19 has no problem finding cmake:

$ pip install "pip<20"
Collecting pip<20
  Using cached pip-19.3.1-py2.py3-none-any.whl (1.4 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.0.1
    Uninstalling pip-20.0.1:
      Successfully uninstalled pip-20.0.1
Successfully installed pip-19.3.1
$ pip install "cmake==3.15.3"
Collecting cmake==3.15.3
  Using cached https://files.pythonhosted.org/packages/ff/34/0a311fedffcc7a153bbc0390ef4c378dbc7f09f9865247137f82d62f8e7a/cmake-3.15.3-py3-none-manylinux2010_x86_64.whl
Installing collected packages: cmake
Successfully installed cmake-3.15.3
WARNING: You are using pip version 19.3.1; however, version 20.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
@triage-new-issues triage-new-issues bot added the S: needs triage Issues/PRs that need to be triaged label Jan 21, 2020
@sbidoul
Copy link
Member

sbidoul commented Jan 21, 2020

This looks like a variant of #7626: the cmake wheels have similar compatibility tags

@pradyunsg pradyunsg added type: bug A confirmed bug or unintended behavior project: vendored dependency Related to a vendored dependency labels Jan 21, 2020
@triage-new-issues triage-new-issues bot removed the S: needs triage Issues/PRs that need to be triaged label Jan 21, 2020
@pradyunsg
Copy link
Member

I'm gonna close this in favor of #7626. Thanks for filing a detailed issue -- much appreciated! :)

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Feb 21, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation project: vendored dependency Related to a vendored dependency type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants