Skip to content

BUG highcharts-core==2.0.0 not found by pip-compile despite Python compatibility and PyPI availability #220

@frederic-palella

Description

@frederic-palella

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:

  1. 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).
  2. 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.
  3. 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.
  4. 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.
  5. 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 working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy