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

fix(deps): update dependency typer to v0.15.1 #213

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 8, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
typer ^0.12.0 -> ^0.15.0 age adoption passing confidence
typer (changelog) ==0.12.5 -> ==0.15.1 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

fastapi/typer (typer)

v0.15.1

Compare Source

Features
  • 🗑️ Deprecate shell_complete and continue to use autocompletion for CLI parameters. PR #​974 by @​svlandeg.
Docs
Internal

v0.15.0

Compare Source

Features
Internal

v0.14.0

Compare Source

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.
    """

@&#8203;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()

app.add_typer(users_app, name="users")  # <-- Explicitly set the command group name

@&#8203;users_app.callback()
def users():
    """
    Manage users in the app.
    """

@&#8203;users_app.command()
def create(name: str):
    print(f"Creating user: {name}")

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
Fixes
Refactors
Internal

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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) November 8, 2024 02:48
Copy link
Contributor Author

renovate bot commented Nov 8, 2024

⚠️ Artifact update problem

Renovate 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...


Failed to clone https://github.com/Patarimi/typer-cli.git, check your git configuration and permissions for this repository.

Copy link
Contributor

github-actions bot commented Nov 8, 2024

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
❌ ACTION actionlint 3 1 0.09s
✅ BASH shellcheck 3 0 0.06s
✅ BASH shfmt 3 0 0 0.03s
❌ COPYPASTE jscpd yes 1 1.39s
✅ JSON jsonlint 3 0 0.2s
✅ JSON prettier 3 0 0 0.49s
✅ JSON v8r 3 0 3.58s
⚠️ MARKDOWN markdownlint 2 1 26 0.74s
✅ MARKDOWN markdown-link-check 2 0 12.67s
✅ MARKDOWN markdown-table-formatter 2 1 0 0.2s
⚠️ PYTHON pyright 25 18 8.23s
✅ PYTHON ruff 25 0 0 0.04s
❌ REPOSITORY checkov yes 3 13.53s
❌ REPOSITORY devskim yes 1 1.0s
✅ REPOSITORY dustilock yes no 0.5s
✅ REPOSITORY gitleaks yes no 0.06s
✅ REPOSITORY git_diff yes no 0.01s
❌ REPOSITORY grype yes 5 10.67s
❌ REPOSITORY kics yes 10 1.14s
✅ REPOSITORY secretlint yes no 1.05s
✅ REPOSITORY syft yes no 1.16s
❌ REPOSITORY trivy yes 5 9.76s
✅ REPOSITORY trivy-sbom yes no 0.08s
✅ REPOSITORY trufflehog yes no 2.06s
⚠️ SPELL cspell 43 178 7.21s
✅ SPELL lychee 11 0 0.98s
✅ YAML prettier 5 0 0 0.46s
✅ YAML v8r 5 0 2.81s
✅ YAML yamllint 5 0 0.3s

See detailed report in MegaLinter reports

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

MegaLinter is graciously provided by OX Security

@renovate renovate bot force-pushed the renovate/typer-0.x branch from 48e144d to 28949e8 Compare November 19, 2024 00:49
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.13.0 fix(deps): update dependency typer to v0.13.1 Nov 19, 2024
@renovate renovate bot force-pushed the renovate/typer-0.x branch from 28949e8 to e6c8c61 Compare November 28, 2024 23:05
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.13.1 fix(deps): update dependency typer to v0.14.0 Nov 28, 2024
@renovate renovate bot force-pushed the renovate/typer-0.x branch from e6c8c61 to 4f38a56 Compare December 3, 2024 17:26
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.14.0 fix(deps): update dependency typer to v0.15.0 Dec 3, 2024
@renovate renovate bot force-pushed the renovate/typer-0.x branch from 4f38a56 to 1953832 Compare December 4, 2024 20:08
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.0 fix(deps): update dependency typer to v0.15.1 Dec 4, 2024
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.1 chore(deps): update dependency typer to v0.15.1 Dec 17, 2024
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.15.1 fix(deps): update dependency typer to v0.15.1 Dec 17, 2024
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.1 chore(deps): update dependency typer to v0.15.1 Dec 18, 2024
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.15.1 fix(deps): update dependency typer to v0.15.1 Dec 18, 2024
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.1 chore(deps): update dependency typer to v0.15.1 Dec 24, 2024
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.15.1 fix(deps): update dependency typer to v0.15.1 Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants