-
First Check
Commit to Help
Example Code# With 0.11.1:
$ python3 -m pip download --src :all: typer==0.11.1
$ unzip typer-0.11.1-py3-none-any.whl
$ grep Extra typer-0.11.1.dist-info/METADATA
Provides-Extra: all
$
# Same thing for 0.12.0:
$ python3 -m pip download --src :all: typer==0.12.0
$ unzip typer-0.12.0-py3-none-any.whl
$ grep Extra typer-0.12.0.dist-info/METADATA
$ DescriptionI started getting the warning: #780 seems to preserve the Operating SystemLinux Operating System DetailsNo response Typer Version
Python Version3.10 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey there! You no longer need to install You can read more about it in the release notes: https://typer.tiangolo.com/release-notes/#0121 Copied 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.
Hey there! You no longer need to install
typer[all]
, now justtyper
includes everything.You can read more about it in the release notes: https://typer.tiangolo.com/release-notes/#0121
Copied from there:
In version
0.12.0
, thetyper
package depends ontyper-slim[standard]
which includes the default dependencies (instead oftyper[all]
) andtyper-cli
(that provides thetyper
command).If you don't want the extra optional dependencies (
rich
andshellingham
), you can installtyper-slim
instead.You can also install
typer-slim[standard]
, which includes the default optional dependencies, but not thetyper
command.In version
0.12.0
thetyper-cli
package only provides thetyper
command, but the…