-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update dependency typer to ^0.15.0 #38
base: main
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: poetry.lock
|
9ab04b0
to
5a6d761
Compare
a6e47c4
to
89d8b19
Compare
89d8b19
to
2fdc9ea
Compare
2fdc9ea
to
10b047f
Compare
|
10b047f
to
3266949
Compare
3266949
to
2038587
Compare
This PR contains the following updates:
^0.7.0
->^0.15.0
Release Notes
fastapi/typer (typer)
v0.15.0
Compare Source
Features
Internal
v0.14.0
Compare Source
Breaking Changes
add_typer
based on the group's callback function name. PR #1052 by @patrick91.Before, it was supported to infer the name of a command group from the callback function name in the sub-app, so, in this code:
...the command group would be named
users
, based on the name of the functiondef users()
.Now you need to set it explicitly:
Updated docs SubCommand Name and Help.
Note: this change will enable important features in the next release. 🤩
Internal
v0.13.1
Compare Source
Features
Refactors
Docs
Internal
v0.13.0
Compare Source
Features
KeyboardInterrupt
separately from other exceptions. PR #1039 by @patrick91.launch
to not print anything when opening urls. PR #1035 by @patrick91.Fixes
Refactors
is_flag
andflag_value
parameters. PR #987 by @svlandeg._typing.py
file. PR #805 by @ivantodorovich._make_rich_text
. PR #959 by @svlandeg.Internal
_TYPER_RUN_INSTALL_COMPLETION_TESTS
is set. PR #995 by @svlandeg._make_rich_text
method. PR #972 by @svlandeg.labeler.yml
. PR #1014 by @tiangolo.issue-manager.yml
. PR #978 by @tiangolo.include-hidden-files
toTrue
when using theupload-artifact
GH action. PR #967 by @svlandeg.latest-changes
GitHub Action. PR #955 by @tiangolo.v0.12.5
Compare Source
Features
Fixes
rich_markup_mode=None
disables Rich formatting. PR #859 by @svlandeg.Refactors
Docs
main.py
in tutorial on CLI option names. PR #868 by @fsramalho.docs/virtual-environments.md
. PR #952 by @tiangolo.docs/contributing.md
. PR #947 by @tiangolo.Internal
needs_bash
test fixture. PR #888 by @svlandeg.v0.12.4
Compare Source
Features
Fixes
UnionType
(e.g.str | None
) with Python 3.11. PR #548 by @jonaslb.zsh
autocompletion installation. PR #237 by @alexjurkiewicz.Annotated
with future annotations in Python 3.7+. PR #814 by @ivantodorovich.shell_complete
not working for Arguments. PR #737 by @bckohan.Docs
Internal
pyproject.toml
, show up in PyPI. PR #931 by @tiangolo.__init__.py
files to fix test suite. PR #809 by @svlandeg.v0.12.3
Compare Source
Fixes
v0.12.2
Compare Source
Features
Fixes
Optional[Tuple]
and default valueNone
. PR #757 by @Asthestarsfalll.Docs
v0.12.1
Compare Source
Now you don't need to install
typer[all]
. When you installtyper
it comes with the default optional dependencies and 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.Now the package
typer-cli
doesn't add anything on top of whattyper
has, it only depends ontyper
, and is there only for backwards compatibility, so that projects that depend ontyper-cli
can get the latest features of thetyper
command while they upgrade their dependencies to requiretyper
directly.Features
typer ./someprogram.py utils docs --title
. PR #782 by @tiangolo.Fixes
typer <0.12.0
totyper >=0.12.0
, maketyper
independent oftyper-slim
, includetyper
command intyper
package. PR #791 by @tiangolo.This fixes a problem that would break the
typer
installation directory when upgrading fromtyper <0.12.0
totyper >=0.12.0
, see issue #790.By installing the latest version (
0.12.1
) it fixes it, for any previous version, even if the installation directory was already broken by the previous upgrade.Internal
v0.12.0
Compare Source
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 code is still in the main code, so even without installingtyper-cli
, it can be called withpython -m typer
.This approach of having
typer
depend ontyper-slim[standard]
instead of including the whole code and dependencies itself caused an issue when upgrading fromtyper <0.12.0
totyper >=0.12.0
, see issue #790. This is fixed in version0.12.1
.Features
typer-slim
package without extras, maketyper
includetyper-slim[default]
and integrate Typer CLI (typer
command) into Typer. PR #780 by @tiangolo.Internal
v0.11.1
Compare Source
Fixes
Internal
v0.11.0
Compare Source
Breaking Changes
test
,doc
,dev
. PR #764 by @tiangolo.Refactors
Internal
v0.10.0
Compare Source
Fixes
None
for CLI Parameters when the type islist | None
and the default value isNone
. PR #664 by @theowisear.v0.9.4
Compare Source
Features
v0.9.3
Compare Source
Fixes
from __future__ import annotations
). PR #721 by @heckad.v0.9.2
Compare Source
Fixes
show_default
parameter and update docs for setting a "Custom default string". PR #501 by @plannigan.Docs
no_args_is_help
feature. PR #751 by @svlandeg.v0.9.1
Compare Source
Fixes
default_factory
inArgument
overloads. PR #750 by @m9810223.Docs
📝 Remove obsolete references to
--install-completion
fortyper.run()
scripts. PR #595 by @tiangolo.📝 Update docs example for a Typer/Click group to make new subcommands explicit. PR #755 by @svlandeg.
📝 Update docs for building a package, file structure example. PR #683 by @davidbgk.
📝 Update link in docs to the newest stable version of click. PR #675 by @javier171188.
🔧 Add
CITATION.cff
file for academic citations. PR #681 by @tiangolo.✏ Fix typo in
docs/tutorial/exceptions.md
. PR #702 by @menzenski.✏ Fix typo in
docs/tutorial/options/name.md
. PR #725 by @bwagner.✏ Fix typo in
docs/tutorial/arguments/optional.md
. PR #602 by @tadasgedgaudas.Internal
v0.9.0
Compare Source
Features
Annotated
for specifying options and arguments. Initial PR #584 by @ryangalamb....
to mark a CLI Argument or CLI Option as required.Annotated
fortyper.Option()
andtyper.Argument()
.Annotated
.Docs
Annotated
, fix overloads fortyper.Argument
. PR #594 by @tiangolo.Internal
v0.8.0
Compare Source
Features
Upgrades
Docs
Internal
exclude_lines
to coverage configuration. PR #585 by @dmontagu.sys.executable
to run subprocesses, needed by OpenSUSE. PR #408 by @theMarix.PYTHONPATH
is set properly when testing the tutorial scripts. PR #407 by @theMarix.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.