From a5f1d7f23d75bd55c681223d2a755cce4bdd4c30 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 00:33:38 +0000 Subject: [PATCH] fix(deps): update dependency typer to v0.14.0 (#783) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typer](https://redirect.github.com/fastapi/typer) ([changelog](https://typer.tiangolo.com/release-notes/)) | `==0.13.1` -> `==0.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/typer/0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/typer/0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/typer/0.13.1/0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/typer/0.13.1/0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
fastapi/typer (typer) ### [`v0.14.0`](https://redirect.github.com/fastapi/typer/releases/tag/0.14.0) [Compare Source](https://redirect.github.com/fastapi/typer/compare/0.13.1...0.14.0) ##### Breaking Changes - 🔥 Remove auto naming of groups added via `add_typer` based on the group's callback function name. PR [#​1052](https://redirect.github.com/fastapi/typer/pull/1052) by [@​patrick91](https://redirect.github.com/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: ```python import typer app = typer.Typer() users_app = typer.Typer() app.add_typer(users_app) @​users_app.callback() def users(): # <-- This was the inferred command group name """ Manage users in the app. """ @​users_app.command() def create(name: str): print(f"Creating user: {name}") ``` ...the command group would be named `users`, based on the name of the function `def users()`. Now you need to set it explicitly: ```python import typer app = typer.Typer() users_app = typer.Typer() app.add_typer(users_app, name="users") # <-- Explicitly set the command group name @​users_app.callback() def users(): """ Manage users in the app. """ @​users_app.command() def create(name: str): print(f"Creating user: {name}") ``` Updated docs [SubCommand Name and Help](https://typer.tiangolo.com/tutorial/subcommands/name-and-help/). **Note**: this change will enable important features in the next release. 🤩 ##### Internal - ⬆ Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2. PR [#​1043](https://redirect.github.com/fastapi/typer/pull/1043) by [@​dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ Bump mkdocs-material from 9.5.44 to 9.5.46. PR [#​1062](https://redirect.github.com/fastapi/typer/pull/1062) by [@​dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ Bump ruff from 0.7.4 to 0.8.0. PR [#​1059](https://redirect.github.com/fastapi/typer/pull/1059) by [@​dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ Bump astral-sh/setup-uv from 3 to 4. PR [#​1061](https://redirect.github.com/fastapi/typer/pull/1061) by [@​dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#​1053](https://redirect.github.com/fastapi/typer/pull/1053) by [@​pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci).
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/MartinBernstorff/Memium). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- uv.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b38ff7a..2dcfc4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ dependencies = [ "markdown==3.7", "pydantic==2.10.2", "sentry-sdk==2.19.0", - "typer==0.13.1", + "typer==0.14.0", "tqdm==4.67.1", "unidecode==1.3.8", "wasabi==1.1.3", diff --git a/uv.lock b/uv.lock index d9f99c3..34a3c4e 100644 --- a/uv.lock +++ b/uv.lock @@ -570,7 +570,7 @@ wheels = [ [[package]] name = "memium" -version = "0.25.12" +version = "0.25.13" source = { editable = "." } dependencies = [ { name = "bs4" }, @@ -630,7 +630,7 @@ requires-dist = [ { name = "sentry-sdk", specifier = "==2.19.0" }, { name = "syrupy", marker = "extra == 'tests'", specifier = "==4.8.0" }, { name = "tqdm", specifier = "==4.67.1" }, - { name = "typer", specifier = "==0.13.1" }, + { name = "typer", specifier = "==0.14.0" }, { name = "unidecode", specifier = "==1.3.8" }, { name = "wasabi", specifier = "==1.1.3" }, ] @@ -1090,7 +1090,7 @@ wheels = [ [[package]] name = "typer" -version = "0.13.1" +version = "0.14.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "click" }, @@ -1098,9 +1098,9 @@ dependencies = [ { name = "shellingham" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/76/41/49ead3ad3310545e767bcb917c759b026ca9eada5d5c150c2fb6fc555568/typer-0.13.1.tar.gz", hash = "sha256:9d444cb96cc268ce6f8b94e13b4335084cef4c079998a9f4851a90229a3bd25c", size = 98631 } +sdist = { url = "https://files.pythonhosted.org/packages/0d/7e/24af5b9aaa0872f9f6dc5dcf789dc3e57ceb23b4c570b852cd4db0d98f14/typer-0.14.0.tar.gz", hash = "sha256:af58f737f8d0c0c37b9f955a6d39000b9ff97813afcbeef56af5e37cf743b45a", size = 98836 } wheels = [ - { url = "https://files.pythonhosted.org/packages/22/69/e90a0b4d0c16e095901679216c8ecdc728110c7c54e7b5f43a623bc4c789/typer-0.13.1-py3-none-any.whl", hash = "sha256:5b59580fd925e89463a29d363e0a43245ec02765bde9fb77d39e5d0f29dd7157", size = 44723 }, + { url = "https://files.pythonhosted.org/packages/bb/d8/a3ab71d5587b42b832a7ef2e65b3e51a18f8da32b6ce169637d4d21995ed/typer-0.14.0-py3-none-any.whl", hash = "sha256:f476233a25770ab3e7b2eebf7c68f3bc702031681a008b20167573a4b7018f09", size = 44707 }, ] [[package]]