Skip to content
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

Update typer requirement from !=0.12.2,<0.14.0,>=0.12.0 to >=0.12.0,!=0.12.2,<0.16.0 #16205

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 4, 2024

Updates the requirements on typer to permit the latest version.

Release notes

Sourced from typer's releases.

0.15.0

Features

Internal

Changelog

Sourced from typer's changelog.

0.15.0

Features

Internal

0.14.0

Breaking Changes

  • 🔥 Remove auto naming of groups added via 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:

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:

import typer
app = typer.Typer()
users_app = typer.Typer()
</tr></table>

... (truncated)

Commits
  • ccbd35d 🔖 Release version 0.15.0
  • f111f3e 📝 Update release notes
  • 6461452 📝 Update release notes
  • 2681205 ✨ Add support for extending typer apps without passing a name, add commands t...
  • 3af0a84 📝 Update release notes
  • 1a07076 ⬆ Bump mkdocs-material from 9.5.46 to 9.5.47 (#1070)
  • 88fcf83 📝 Update release notes
  • 2557962 ⬆ Bump ruff from 0.8.0 to 0.8.1 (#1066)
  • f5c0b8a 🔖 Release version 0.14.0
  • 7015323 📝 Update release notes
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [typer](https://github.com/fastapi/typer) to permit the latest version.
- [Release notes](https://github.com/fastapi/typer/releases)
- [Changelog](https://github.com/fastapi/typer/blob/master/docs/release-notes.md)
- [Commits](fastapi/typer@0.12.0...0.15.0)

---
updated-dependencies:
- dependency-name: typer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the development Tech debt, refactors, CI, tests, and other related work. label Dec 4, 2024
@github-actions github-actions bot added the upstream dependency An upstream issue caused by a bug in one of our dependencies label Dec 4, 2024
Copy link

codspeed-hq bot commented Dec 4, 2024

CodSpeed Performance Report

Merging #16205 will not alter performance

Comparing dependabot/pip/typer-gte-0.12.0-and-neq-0.12.2-and-lt-0.16.0 (2af925d) with main (276544d)

Summary

✅ 3 untouched benchmarks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Tech debt, refactors, CI, tests, and other related work. upstream dependency An upstream issue caused by a bug in one of our dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants