What is the relation of the Python projects typer-slim, typer and the package typer?
#786
-
First Check
Commit to Help
Example Codefawltydeps --check --detailed <project using typer>DescriptionSomewhat related question: #784
fawltydeps --check --detailed
These imports appear to be undeclared dependencies:
- 'typer' imported at:
src/<name>/__main__.py:6
src/<name>/cli.py:8
These dependencies appear to be unused (i.e. not imported):
- 'typer' declared in:
pyproject.tomlWe can fix this by adding an identity mapping: But this feels artificial to me (and is also supposed to be a last resort). What has changed so that I tried to understand the packaging setup, but unfortunately I'm not familiar with your tools. Maybe this line is not really working? Operating SystemLinux, Windows Operating System DetailsNo response Typer Version0.12 Python Version3.10 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
From what I understand of the packaging, the I'm personally also confused by the new packaging, I think the intended effect is to have the |
Beta Was this translation helpful? Give feedback.
-
|
I just updated the release notes to include more info about it: https://typer.tiangolo.com/release-notes/#0121 Copying from there: In version If you don't want the extra optional dependencies ( You can also install In version This approach of having |
Beta Was this translation helpful? Give feedback.
-
|
Further update: |
Beta Was this translation helpful? Give feedback.
Further update:
typer-slimandtyper-cliare no longer supported as ofv0.24.1. Usetyperonly from now on.