-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Right now the devcontainer is using Python 3.10. The postCreateCommand fails because requirements.txt contains dependencies which are not compatible with Python 3.10.
Running the postCreateCommand from devcontainer.json...
python3 -m pip install -r requirements.txt && ...
ERROR: Ignored the following versions that require a different python version: 0.94 Requires-Python ~=2.7; 0.94.1 Requires-Python ~=2.7; 0.94rc1 Requires-Python ~=2.7; 1.0.0 Requires-Python >=3.11; 1.1.0 Requires-Python >=3.11; 8.2.0 Requires-Python >=3.11; 8.2.0rc1 Requires-Python >=3.11; 8.2.0rc2 Requires-Python >=3.11; 8.2.1 Requires-Python >=3.11; 8.2.2 Requires-Python >=3.11; 8.2.3 Requires-Python >=3.11; 8.3.0 Requires-Python >=3.11; 9.0.0 Requires-Python >=3.11; 9.0.0rc1 Requires-Python >=3.11; 9.0.0rc2 Requires-Python >=3.11; 9.0.0rc3 Requires-Python >=3.11; 9.0.0rc4 Requires-Python >=3.11; 9.0.1 Requires-Python >=3.11; 9.0.2 Requires-Python >=3.11; 9.0.3 Requires-Python >=3.11; 9.0.4 Requires-Python >=3.11; 9.1.0rc1 Requires-Python >=3.12; 9.1.0rc2 Requires-Python >=3.12
ERROR: Could not find a version that satisfies the requirement sphinx-reredirects==1.0.0 (from versions: 0.0.0, 0.0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6)
ERROR: No matching distribution found for sphinx-reredirects==1.0.0
[notice] A new release of pip is available: 23.0.1 -> 25.3
[notice] To update, run: pip install --upgrade pip
[16963 ms] postCreateCommand from devcontainer.json failed with exit code 1. Skipping any further user-provided commands.
I'd suggest let's use Python 3.12 as base (same as in CI/CD).
Metadata
Metadata
Assignees
Labels
No labels