-
First Check
Commit to Help
Example Code# no python code required! ;-) DescriptionScript to reproduce the issue is performed using uv I obtain similar error using git clone https://github.com/fastapi/typer.git /tmp/typer
# enter in cloned directory
cd /tmp/typer
# using uv create a venv using python3.7
uv venv --python 3.7 .venv37
# activate the venv
source .venv37/bin/activate
# install the required packages
uv pip install -r requirements.txt The last command raise: typer on master [!?] via 🐍 v3.7.9 (.venv37)
❯ uv pip install -r requirements.txt
× No solution found when resolving dependencies:
╰─▶ Because the current Python version (3.7.9) does not satisfy Python>=3.8 and mkdocs-material==9.5.33 depends on Python>=3.8, we can conclude that mkdocs-material==9.5.33 cannot be used.
And because you require mkdocs-material==9.5.33, we can conclude that your requirements are unsatisfiable.
Therefore, python3.7 is not compatible with Since uv is new I also test the installation with pip: typer on master [!?] via 🐍 v3.7.9 (.venv37)
❯ pip install -r requirements.txt
Obtaining file:///data/src/py/typer (from -r requirements.txt (line 1))
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Installing backend dependencies ... done
Preparing editable metadata (pyproject.toml) ... done
Collecting pytest<9.0.0,>=4.4.0 (from -r requirements-tests.txt (line 3))
Using cached pytest-7.4.4-py3-none-any.whl.metadata (7.9 kB)
Collecting pytest-cov<6.0.0,>=2.10.0 (from -r requirements-tests.txt (line 4))
Using cached pytest_cov-4.1.0-py3-none-any.whl.metadata (26 kB)
Collecting coverage<8.0,>=6.2 (from coverage[toml]<8.0,>=6.2->-r requirements-tests.txt (line 5))
Downloading coverage-7.2.7-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.7 kB)
Collecting pytest-xdist<4.0.0,>=1.32.0 (from -r requirements-tests.txt (line 6))
Using cached pytest_xdist-3.5.0-py3-none-any.whl.metadata (3.1 kB)
Collecting pytest-sugar<1.1.0,>=0.9.4 (from -r requirements-tests.txt (line 7))
Downloading pytest_sugar-1.0.0-py3-none-any.whl.metadata (4.4 kB)
Collecting mypy==1.4.1 (from -r requirements-tests.txt (line 8))
Downloading mypy-1.4.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.9 kB)
Collecting ruff==0.6.3 (from -r requirements-tests.txt (line 9))
Downloading ruff-0.6.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (25 kB)
Collecting rich>=10.11.0 (from -r requirements-tests.txt (line 11))
Downloading rich-13.8.0-py3-none-any.whl.metadata (18 kB)
Collecting shellingham>=1.3.0 (from -r requirements-tests.txt (line 12))
Using cached shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB)
ERROR: Ignored the following versions that require a different python version: 0.1.0 Requires-Python >=3.8,<4.0; 1.10.0 Requires-Python >=3.8; 1.10.1 Requires-Python >=3.8; 1.11.0 Requires-Python >=3.8; 1.11.1 Requires-Python >=3.8; 1.11.2 Requires-Python >=3.8; 1.5.0 Requires-Python >=3.8; 1.5.1 Requires-Python >=3.8; 1.6.0 Requires-Python >=3.8; 1.6.1 Requires-Python >=3.8; 1.7.0 Requires-Python >=3.8; 1.7.1 Requires-Python >=3.8; 1.8.0 Requires-Python >=3.8; 1.9.0 Requires-Python >=3.8; 3.6.0 Requires-Python >=3.8; 3.6.1 Requires-Python >=3.8; 5.0.0 Requires-Python >=3.8; 7.3.0 Requires-Python >=3.8; 7.3.1 Requires-Python >=3.8; 7.3.2 Requires-Python >=3.8; 7.3.3 Requires-Python >=3.8; 7.3.4 Requires-Python >=3.8; 7.4.0 Requires-Python >=3.8; 7.4.1 Requires-Python >=3.8; 7.4.2 Requires-Python >=3.8; 7.4.3 Requires-Python >=3.8; 7.4.4 Requires-Python >=3.8; 7.5.0 Requires-Python >=3.8; 7.5.1 Requires-Python >=3.8; 7.5.2 Requires-Python >=3.8; 7.5.3 Requires-Python >=3.8; 7.5.4 Requires-Python >=3.8; 7.6.0 Requires-Python >=3.8; 7.6.1 Requires-Python >=3.8; 8.0.0 Requires-Python >=3.8; 8.0.0rc1 Requires-Python >=3.8; 8.0.0rc2 Requires-Python >=3.8; 8.0.1 Requires-Python >=3.8; 8.0.2 Requires-Python >=3.8; 8.1.0 Requires-Python >=3.8; 8.1.1 Requires-Python >=3.8; 8.1.2 Requires-Python >=3.8; 8.2.0 Requires-Python >=3.8; 8.2.1 Requires-Python >=3.8; 8.2.2 Requires-Python >=3.8; 8.3.0 Requires-Python >=3.8; 8.3.1 Requires-Python >=3.8; 8.3.2 Requires-Python >=3.8; 9.3.0 Requires-Python >=3.8; 9.3.1 Requires-Python >=3.8; 9.3.2 Requires-Python >=3.8; 9.4.0 Requires-Python >=3.8; 9.4.1 Requires-Python >=3.8; 9.4.10 Requires-Python >=3.8; 9.4.11 Requires-Python >=3.8; 9.4.12 Requires-Python >=3.8; 9.4.13 Requires-Python >=3.8; 9.4.14 Requires-Python >=3.8; 9.4.2 Requires-Python >=3.8; 9.4.3 Requires-Python >=3.8; 9.4.4 Requires-Python >=3.8; 9.4.5 Requires-Python >=3.8; 9.4.6 Requires-Python >=3.8; 9.4.7 Requires-Python >=3.8; 9.4.8 Requires-Python >=3.8; 9.4.9 Requires-Python >=3.8; 9.5.0 Requires-Python >=3.8; 9.5.1 Requires-Python >=3.8; 9.5.10 Requires-Python >=3.8; 9.5.11 Requires-Python >=3.8; 9.5.12 Requires-Python >=3.8; 9.5.13 Requires-Python >=3.8; 9.5.14 Requires-Python >=3.8; 9.5.15 Requires-Python >=3.8; 9.5.16 Requires-Python >=3.8; 9.5.17 Requires-Python >=3.8; 9.5.18 Requires-Python >=3.8; 9.5.19 Requires-Python >=3.8; 9.5.2 Requires-Python >=3.8; 9.5.20 Requires-Python >=3.8; 9.5.21 Requires-Python >=3.8; 9.5.22 Requires-Python >=3.8; 9.5.23 Requires-Python >=3.8; 9.5.24 Requires-Python >=3.8; 9.5.25 Requires-Python >=3.8; 9.5.26 Requires-Python >=3.8; 9.5.27 Requires-Python >=3.8; 9.5.28 Requires-Python >=3.8; 9.5.29 Requires-Python >=3.8; 9.5.3 Requires-Python >=3.8; 9.5.30 Requires-Python >=3.8; 9.5.31 Requires-Python >=3.8; 9.5.32 Requires-Python >=3.8; 9.5.33 Requires-Python >=3.8; 9.5.34 Requires-Python >=3.8; 9.5.4 Requires-Python >=3.8; 9.5.5 Requires-Python >=3.8; 9.5.6 Requires-Python >=3.8; 9.5.7 Requires-Python >=3.8; 9.5.8 Requires-Python >=3.8; 9.5.9 Requires-Python >=3.8
ERROR: Could not find a version that satisfies the requirement mkdocs-material==9.5.33 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1.0, 1.1.1, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.8.0, 1.8.1, 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.10.4, 1.11.0, 1.12.0, 1.12.1, 1.12.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.3.0, 2.4.0, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.6.6, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.8.0, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.9.4, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.1.0, 3.2.0, 3.3.0, 4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.3.0, 4.3.1, 4.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, 8.2.8, 8.2.9, 8.2.10, 8.2.11, 8.2.12, 8.2.13, 8.2.14, 8.2.15, 8.2.16, 8.3.0, 8.3.1, 8.3.2, 8.3.3, 8.3.4, 8.3.5, 8.3.6, 8.3.7, 8.3.8, 8.3.9, 8.4.0rc1, 8.4.0, 8.4.1, 8.4.2, 8.4.3, 8.4.4, 8.5.0, 8.5.1, 8.5.2, 8.5.3, 8.5.4, 8.5.5, 8.5.6, 8.5.7, 8.5.8, 8.5.9, 8.5.10, 8.5.11, 9.0.0b1, 9.0.0b2, 9.0.0b3, 9.0.0b4, 9.0.0, 9.0.1, 9.0.2, 9.0.3, 9.0.4, 9.0.5, 9.0.6, 9.0.7, 9.0.8, 9.0.9, 9.0.10, 9.0.11, 9.0.12, 9.0.13, 9.0.14, 9.0.15, 9.1.0, 9.1.1, 9.1.2, 9.1.3, 9.1.4, 9.1.5, 9.1.6, 9.1.7, 9.1.8, 9.1.9, 9.1.10, 9.1.11, 9.1.12, 9.1.13, 9.1.14, 9.1.15, 9.1.16, 9.1.17, 9.1.18, 9.1.19, 9.1.20, 9.1.21, 9.2.0b0, 9.2.0b1, 9.2.0b2, 9.2.0b3, 9.2.0, 9.2.1, 9.2.2, 9.2.3, 9.2.4, 9.2.5, 9.2.6, 9.2.7, 9.2.8)
ERROR: No matching distribution found for mkdocs-material==9.5.33 Operating SystemLinux Operating System DetailsOpereting system in use is debian testing: Linux 6.10.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.6-1 (2024-08-19) x86_64 GNU/Linux Typer Version0.12.5 | commit: 0331006 Python VersionPython 3.7.9 Additional ContextI checked and with python>=3.8 no error are raised when installing the required python packages. I prepared a PR |
Beta Was this translation helpful? Give feedback.
Answered by
zarch
Sep 3, 2024
Replies: 1 comment
-
I closed the PR and the discussion since this activity is already in process: 🔥 Drop support for Python 3.7. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zarch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I closed the PR and the discussion since this activity is already in process: 🔥 Drop support for Python 3.7.