Skip to content

Commit 15e132e

Browse files
chore(deps): bump the pip group with 5 updates (#2266)
* chore(deps): bump the pip group with 5 updates Updates the requirements on [typer](https://github.com/fastapi/typer), [mkdocs-git-revision-date-localized-plugin](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin), [mypy](https://github.com/python/mypy), [ruff](https://github.com/astral-sh/ruff) and [semgrep](https://github.com/returntocorp/semgrep) to permit the latest version. Updates `typer` to 0.16.0 - [Release notes](https://github.com/fastapi/typer/releases) - [Changelog](https://github.com/fastapi/typer/blob/master/docs/release-notes.md) - [Commits](fastapi/typer@0.9.0...0.16.0) Updates `mkdocs-git-revision-date-localized-plugin` from 1.4.6 to 1.4.7 - [Release notes](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/releases) - [Commits](timvink/mkdocs-git-revision-date-localized-plugin@v1.4.6...v1.4.7) Updates `mypy` from 1.15.0 to 1.16.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.15.0...v1.16.0) Updates `ruff` from 0.11.11 to 0.11.12 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.11.11...0.11.12) Updates `semgrep` from 1.122.0 to 1.123.0 - [Release notes](https://github.com/returntocorp/semgrep/releases) - [Changelog](https://github.com/semgrep/semgrep/blob/develop/CHANGELOG.md) - [Commits](semgrep/semgrep@v1.122.0...v1.123.0) --- updated-dependencies: - dependency-name: typer dependency-version: 0.16.0 dependency-type: direct:production dependency-group: pip - dependency-name: mkdocs-git-revision-date-localized-plugin dependency-version: 1.4.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: pip - dependency-name: mypy dependency-version: 1.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip - dependency-name: ruff dependency-version: 0.11.12 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: pip - dependency-name: semgrep dependency-version: 1.123.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip ... Signed-off-by: dependabot[bot] <[email protected]> * dependencies: fix test for click 8.2.0 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikita Pastukhov <[email protected]>
1 parent 74d3591 commit 15e132e

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ redis = ["redis>=5.0.0,<7.0.0"]
7979
otel = ["opentelemetry-sdk>=1.24.0,<2.0.0"]
8080

8181
cli = [
82-
"typer>=0.9,!=0.12,<=0.15.4",
82+
"typer>=0.9,!=0.12,<=0.16.0",
8383
"watchfiles>=0.15.0,<1.1.0"
8484
]
8585

@@ -95,7 +95,7 @@ devdocs = [
9595
"mkdocstrings[python]==0.29.1; python_version >= '3.9'",
9696
"mkdocstrings[python]==0.26.1; python_version < '3.9'",
9797
"mkdocs-literate-nav==0.6.2",
98-
"mkdocs-git-revision-date-localized-plugin==1.4.6",
98+
"mkdocs-git-revision-date-localized-plugin==1.4.7",
9999
"mike==2.1.3", # versioning
100100
"mkdocs-minify-plugin==0.8.0",
101101
"mkdocs-macros-plugin==1.3.7", # includes with variables
@@ -107,7 +107,7 @@ devdocs = [
107107

108108
types = [
109109
"faststream[optionals]",
110-
"mypy==1.15.0",
110+
"mypy==1.16.0",
111111
# mypy extensions
112112
"types-Deprecated",
113113
"types-PyYAML",
@@ -122,10 +122,10 @@ types = [
122122

123123
lint = [
124124
"faststream[types]",
125-
"ruff==0.11.11",
125+
"ruff==0.11.12",
126126
"bandit==1.8.3; python_version >= '3.9'",
127127
"bandit==1.7.10; python_version < '3.9'",
128-
"semgrep==1.122.0; python_version >= '3.9'",
128+
"semgrep==1.123.0; python_version >= '3.9'",
129129
"semgrep==1.99.0; python_version < '3.9'",
130130
"codespell==2.4.1",
131131
]

tests/cli/test_asyncapi_docs.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ def test_gen_asyncapi_yaml_for_kafka_app(runner: CliRunner, kafka_basic_project:
5656
def test_gen_wrong_path(runner: CliRunner):
5757
r = runner.invoke(cli, GEN_JSON_CMD + ["basic:app1"]) # noqa: RUF005
5858
assert r.exit_code == 2
59-
assert "No such file or directory" in r.stdout
59+
60+
if r.stdout: # click <= 8.2.0
61+
assert "No such file or directory" in r.stdout
62+
63+
else:
64+
assert "No such file or directory" in r.stderr
6065

6166

6267
@require_aiokafka

0 commit comments

Comments
 (0)