-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem Description:
When attempting to compile requirements.in (which contains highcharts-core==2.0.0) using pip-compile, the process consistently fails with a DistributionNotFound: No matching distribution found for highcharts-core==2.0.0 error. This occurs even when explicitly pointing to the public PyPI index.
Observed Error Message:
ERROR: Could not find a version that satisfies the requirement highcharts-core==2.0.0 (from versions: 1.0.0rc1, ..., 1.10.3)
pip._internal.exceptions.DistributionNotFound: No matching distribution found for highcharts-core==2.0.0
Context & Environment:
- Python Version: Python 3.11.x (specifically, Python 3.11.9 or similar minor version, as confirmed by python -V and which python within the active virtual environment). Previously, also tested with Python 3.12.x and Python 3.13.x.
- Virtual Environment Manager: pyenv is used to manage Python versions. Virtual environments are created using python -m venv .venv.
- pip-tools Version: pip-tools==7.4.1 (which uses pip as its resolver).
- pip Version: pip==25.1.1 (latest stable).
- setuptools Version: 80.9.0 (latest stable).
- wheel Version: 0.45.1 (latest stable).
- requirements.in content: Contains only highcharts-core==2.0.0 for isolation testing.
- pip-compile command: pip-compile requirements.in --index-url https://pypi.org/simple/ -vvv
Detailed Analysis from Verbose Output:
- PyPI Access is Successful: The verbose output confirms pip successfully connects to and fetches the project page from https://pypi.org/simple/highcharts-core/ (HTTP 200/304 response).
- No 2.x.x Versions Found: The extensive list of Found links in the verbose output only includes versions from the 1.x.x series (up to 1.10.3). There are no links to highcharts_core-2.0.0 or any other 2.x.x versions, despite these existing on PyPI's website.
- Python Compatibility Contradiction: highcharts-core==2.0.0 is a py3-none-any.whl (universal wheel) and its metadata on PyPI states Requires: Python >=3.8, <3.13. Python 3.11.x falls squarely within this compatible range. pip should find and install it.
- Persistent Warning (Minor): A ValueError related to pip's self-outdated check (time data mismatch) persists, indicating some internal pip instability, though this is likely a symptom, not the root cause of DistributionNotFound.
- Private Index (Not the Cause): While a private PyPI index is configured and returns a 404 for highcharts-core, the issue persists even when pip-compile is explicitly told to only use the public PyPI via --index-url.
Troubleshooting Steps Already Taken (all attempts failed to resolve DistributionNotFound):
- Verified correct Python version (3.11.x) in the active virtual environment.
- Confirmed pyenv setup is correct.
- Performed multiple clean virtual environment recreations (rm -rf .venv, python -m venv .venv).
- Ran pip cache purge.
- Upgraded pip, setuptools, and wheel to their latest stable versions (pip==25.1.1, setuptools==80.9.0, wheel==0.45.1).
- Isolated highcharts-core==2.0.0 in requirements.in to rule out dependency conflicts.
- Tried various pip-compile flags (--index-url, --extra-index-url).
Current Workaround:
Currently using highcharts-core==1.10.3 as a temporary workaround, which successfully installs and functions in the Python 3.11.x environment.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working