On an Ubuntu-based environment, installing opencv-python-headless 4.13.0.90 with --no-binary fails because it has no source distribution.
There is no sdist entries in : https://pypi.org/pypi/opencv-python-headless/4.13.0.90/json
Steps to reproduce:
- Create an environment with python 3.11
- Install via:
pip install --no-binary opencv-python-headless --no-deps opencv-python-headless==4.13.0.90
Actual result
No solution found when resolving dependencies.
Using Python 3.11.14 environment at: venv
× No solution found when resolving dependencies:
╰─▶ Because opencv-python-headless==4.13.0.90 has no source distribution and
you require opencv-python-headless==4.13.0.90, we can conclude that your
requirements are unsatisfiable.
Expected result
Installation with --no-binary available.
Environment:
OS: Ubuntu 24.04.3
Python 3.11.14 (uv venv)