Skip to content

Unable to install Python dependencies in Arch-based distros #403

@D3vil0p3r

Description

@D3vil0p3r

In Arch-based distros, currently the current Python version used is 3.14.

I'm trying to install CAI through:

  set -e
  cd /usr/share/cai
  python -m venv venv
  source venv/bin/activate &&
    pip install --isolated --root=/usr/share/cai --prefix=venv .

but I get:

Processing /usr/share/cai
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting dnspython (from cai-framework==0.5.10)
  Using cached dnspython-2.8.0-py3-none-any.whl.metadata (5.7 kB)
Collecting dotenv>=0.9.9 (from cai-framework==0.5.10)
  Using cached dotenv-0.9.9-py2.py3-none-any.whl.metadata (279 bytes)
Collecting flask (from cai-framework==0.5.10)
  Using cached flask-3.1.2-py3-none-any.whl.metadata (3.2 kB)
Collecting folium<1,>=0.15.0 (from cai-framework==0.5.10)
  Using cached folium-0.20.0-py2.py3-none-any.whl.metadata (4.2 kB)
Collecting griffe<2,>=1.5.6 (from cai-framework==0.5.10)
  Using cached griffe-1.15.0-py3-none-any.whl.metadata (5.2 kB)
Collecting litellm>=1.63.7 (from litellm[proxy]>=1.63.7->cai-framework==0.5.10)
  Using cached litellm-1.81.3-py3-none-any.whl.metadata (30 kB)
Collecting mako>=1.3.8 (from cai-framework==0.5.10)
  Using cached mako-1.3.10-py3-none-any.whl.metadata (2.9 kB)
Collecting matplotlib<4,>=3.0 (from cai-framework==0.5.10)
  Using cached matplotlib-3.10.8-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (52 kB)
Collecting mcp (from cai-framework==0.5.10)
  Using cached mcp-1.26.0-py3-none-any.whl.metadata (89 kB)
Collecting mkdocs-material>=9.6.0 (from cai-framework==0.5.10)
  Using cached mkdocs_material-9.7.1-py3-none-any.whl.metadata (19 kB)
Collecting mkdocs>=1.6.0 (from cai-framework==0.5.10)
  Using cached mkdocs-1.6.1-py3-none-any.whl.metadata (6.0 kB)
Collecting networkx (from cai-framework==0.5.10)
  Using cached networkx-3.6.1-py3-none-any.whl.metadata (6.8 kB)
Collecting numpy<3,>=1.21 (from cai-framework==0.5.10)
  Using cached numpy-2.4.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (6.6 kB)
Collecting openai==1.75.0 (from cai-framework==0.5.10)
  Using cached openai-1.75.0-py3-none-any.whl.metadata (25 kB)
INFO: pip is looking at multiple versions of cai-framework to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 0.1.0 Requires-Python >=3.8,<3.12; 0.1.1 Requires-Python >=3.8,<3.12; 0.1.10 Requires-Python >=3.8,<3.13; 0.1.11 Requires-Python >=3.8,<3.13; 0.1.12 Requires-Python >=3.8,<3.13; 0.1.13 Requires-Python >=3.8,<3.13; 0.1.14 Requires-Python >=3.8,<3.13; 0.1.15 Requires-Python >=3.8,<3.13; 0.1.16 Requires-Python >=3.8,<3.13; 0.1.17 Requires-Python >=3.8,<3.13; 0.1.18 Requires-Python >=3.8,<3.13; 0.1.19 Requires-Python >=3.9,<3.14; 0.1.2 Requires-Python >=3.8,<3.12; 0.1.20 Requires-Python >=3.9,<3.14; 0.1.21 Requires-Python >=3.9,<3.14; 0.1.22 Requires-Python >=3.9,<3.14; 0.1.23 Requires-Python >=3.9,<3.14; 0.1.24 Requires-Python >=3.9,<3.14; 0.1.25 Requires-Python >=3.9,<3.14; 0.1.26 Requires-Python >=3.9,<3.14; 0.1.27 Requires-Python >=3.9,<3.14; 0.1.28 Requires-Python >=3.9,<3.14; 0.1.29 Requires-Python >=3.9,<3.14; 0.1.3 Requires-Python >=3.8,<3.12; 0.1.30 Requires-Python >=3.9,<3.14; 0.1.31 Requires-Python >=3.9,<3.14; 0.1.32 Requires-Python >=3.9,<3.14; 0.1.33 Requires-Python >=3.9,<3.14; 0.1.34 Requires-Python >=3.9,<3.14; 0.1.35 Requires-Python >=3.9,<3.14; 0.1.36 Requires-Python >=3.9,<3.14; 0.1.37 Requires-Python >=3.9,<3.14; 0.1.38 Requires-Python >=3.9,<3.14; 0.1.39 Requires-Python >=3.9,<3.14; 0.1.4 Requires-Python >=3.8,<3.13; 0.1.40 Requires-Python >=3.9,<3.14; 0.1.41 Requires-Python >=3.9,<3.14; 0.1.5 Requires-Python >=3.8,<3.13; 0.1.6 Requires-Python >=3.8,<3.13; 0.1.7 Requires-Python >=3.8,<3.13; 0.1.8 Requires-Python >=3.8,<3.13; 0.1.9 Requires-Python >=3.8,<3.13; 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.26.0 Requires-Python >=3.9,<3.13; 1.26.1 Requires-Python >=3.9,<3.13
ERROR: Could not find a version that satisfies the requirement openinference-instrumentation-openai>=0.1.22 (from cai-framework) (from versions: none)
ERROR: No matching distribution found for openinference-instrumentation-openai>=0.1.22

As you can see in the error caused by openinference-instrumentation-openai, where 0.1.22 Requires-Python >=3.9,<3.14. Is there a way to make it compatible also with 3.14 since it is the Python version now used in all Arch distros?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions