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 check fails on amd64 linux and macOS #256

Open
drewbrew opened this issue Jul 29, 2024 · 3 comments
Open

pip check fails on amd64 linux and macOS #256

drewbrew opened this issue Jul 29, 2024 · 3 comments

Comments

@drewbrew
Copy link

👋🏼 Hi, it looks like pip 24.2 causes ninja to register as incompatible with my local OS due to something in the package's metadata tags.

Environments tested (all amd64):

  • Python 3.9 through 3.12 on WSL2 (Ubuntu 22.04 LTS)
  • Python 3.9 on GitHub Actions runners (both Ubuntu 22.04 and 24.04)
  • Python 3.9 on macOS

Steps to replicate:

  1. Create a new virtualenv (python3.12 -m venv .venv)
  2. pip install --upgrade pip
  3. pip install ninja
  4. pip check

Expected behavior:

  • Output saying there are no package conflicts found

Actual behavior:

  • ninja 1.11.1.1 is not supported on this platform
@yifanmai
Copy link

I'm running into this error as well on GitHub Actions with Ubuntu 22.04.4 LTS, Python 3.8.18 or 3.10.14, and pip 24.2.

I'm able to work around this error by downgrading pip to 24.1.2.

@drewbrew
Copy link
Author

A coworker confirmed that macOS on ARM is also affected, and downgrading pip to 24.1.2 does indeed work around it.

@filbranden
Copy link

See pypa/pip#12884 for the root of the issue.

The current wheel for ninja 1.11.1.1 includes a blank line in the WHEEL file which makes the pip check break.

Can we get a new release of ninja that fixes the contents of WHEEL metadata to get this fixed? Thanks!

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

No branches or pull requests

3 participants