Discussed in #1501
Originally posted by konstin January 26, 2026
First Check
Commit to Help
Example Code
virtualenv .venv
source .venv/bin/activate
pip install typer
pip install typer-slim
python -c "import typer" # OK
pip uninstall typer # We got typer-slim, no need to have typer too
python -c "import typer" # ERROR
# MRE for uv: https://github.com/pimlock/uv-bug-repro
Description
This is the upstream version of astral-sh/uv#17645. When a user has both typer and typer-slim in their dependency tree, one will overwrite the other, with the consequence that uninstalling one will partially uninstall the other.
This is a problem with both pip and uv. Python package management doesn't support packages overlapping, depending on the installer it may even lead to corrupted files (parallel writing to the same files). Since a dependency tree may include both typer and typer-slim, those conflicts can happen silently, leading to hard-to-debug package management errors that only show up as runtime crashes.
I read #786 but unfortunately I don't follow why both packages include the same files, instead of only one package.
More of a meta comment, but I was surprised there is no dedicated bug reporting option, but only the funnel into the question flow.
Operating System
Linux
Operating System Details
Ubuntu 22.04
Typer Version
0.21.1
Python Version
3.14.0
Additional Context
No response
Discussed in #1501
Originally posted by konstin January 26, 2026
First Check
Commit to Help
Example Code
Description
This is the upstream version of astral-sh/uv#17645. When a user has both typer and typer-slim in their dependency tree, one will overwrite the other, with the consequence that uninstalling one will partially uninstall the other.
This is a problem with both pip and uv. Python package management doesn't support packages overlapping, depending on the installer it may even lead to corrupted files (parallel writing to the same files). Since a dependency tree may include both typer and typer-slim, those conflicts can happen silently, leading to hard-to-debug package management errors that only show up as runtime crashes.
I read #786 but unfortunately I don't follow why both packages include the same files, instead of only one package.
More of a meta comment, but I was surprised there is no dedicated bug reporting option, but only the funnel into the question flow.
Operating System
Linux
Operating System Details
Ubuntu 22.04
Typer Version
0.21.1
Python Version
3.14.0
Additional Context
No response