Skip to content

Commit d5e38d5

Browse files
committed
Merge branch 'fix/middlewares-types' of github.com:airtai/faststream into fix/middlewares-types
2 parents 7d58b25 + a8c6aad commit d5e38d5

File tree

10 files changed

+290
-166
lines changed

10 files changed

+290
-166
lines changed

.github/workflows/docs_build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
2121
with:
2222
version: "latest"
23-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
23+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
2424
with:
2525
python-version: 3.12
2626
- name: Install dependencies

.github/workflows/docs_update-release-notes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
version: "latest"
2727

2828
- name: Set up Python
29-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
29+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
3030
with:
3131
python-version: '3.10'
3232

.github/workflows/pr_autoupdate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
version: "latest"
2929

3030
- name: Set up Python
31-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
31+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
3232
with:
3333
python-version: "3.12"
3434

.github/workflows/pr_tests.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
with:
4141
version: "latest"
4242
- name: Set up Python
43-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
43+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
4444
with:
4545
python-version: ${{ matrix.python-version }}
4646
- name: Install Dependencies
@@ -77,7 +77,7 @@ jobs:
7777
with:
7878
version: "latest"
7979
- name: Set up Python
80-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
80+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
8181
with:
8282
python-version: "3.13"
8383
- name: Install Dependencies
@@ -108,7 +108,7 @@ jobs:
108108
with:
109109
version: "latest"
110110
- name: Set up Python
111-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
111+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
112112
with:
113113
python-version: "3.13"
114114
- name: Install Dependencies
@@ -139,7 +139,7 @@ jobs:
139139
with:
140140
version: "latest"
141141
- name: Set up Python
142-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
142+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
143143
with:
144144
python-version: "3.13"
145145
- name: Install Dependencies
@@ -181,7 +181,7 @@ jobs:
181181
with:
182182
version: "latest"
183183
- name: Set up Python
184-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
184+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
185185
with:
186186
python-version: "3.13"
187187
- name: Install Dependencies
@@ -212,7 +212,7 @@ jobs:
212212
with:
213213
version: "latest"
214214
- name: Set up Python
215-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
215+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
216216
with:
217217
python-version: "3.13"
218218
- name: Install Dependencies
@@ -254,7 +254,7 @@ jobs:
254254
with:
255255
version: "latest"
256256
- name: Set up Python
257-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
257+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
258258
with:
259259
python-version: "3.13"
260260
- name: Install Dependencies
@@ -285,7 +285,7 @@ jobs:
285285
with:
286286
version: "latest"
287287
- name: Set up Python
288-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
288+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
289289
with:
290290
python-version: "3.13"
291291
- name: Install Dependencies
@@ -315,7 +315,7 @@ jobs:
315315
with:
316316
version: "latest"
317317
- name: Set up Python
318-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
318+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
319319
with:
320320
python-version: "3.13"
321321
- name: Install Dependencies
@@ -346,7 +346,7 @@ jobs:
346346
with:
347347
version: "latest"
348348
- name: Set up Python
349-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
349+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
350350
with:
351351
python-version: "3.13"
352352
- name: Install Dependencies
@@ -382,7 +382,7 @@ jobs:
382382
with:
383383
version: "latest"
384384
- name: Set up Python
385-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
385+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
386386
with:
387387
python-version: "3.13"
388388
- name: Install Dependencies
@@ -413,7 +413,7 @@ jobs:
413413
with:
414414
version: "latest"
415415
- name: Set up Python
416-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
416+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
417417
with:
418418
python-version: "3.13"
419419
- name: Install Dependencies
@@ -443,7 +443,7 @@ jobs:
443443
with:
444444
version: "latest"
445445
- name: Set up Python
446-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
446+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
447447
with:
448448
python-version: "3.13"
449449
- name: Install Dependencies
@@ -483,7 +483,7 @@ jobs:
483483
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
484484
with:
485485
version: "latest"
486-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
486+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
487487
with:
488488
python-version: "3.12"
489489

.github/workflows/publish_coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
16+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
1717
with:
1818
python-version: "3.9"
1919
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4

.github/workflows/release_pypi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
persist-credentials: false
2525

2626
- name: Set up Python
27-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
27+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
2828
with:
2929
python-version: "3.11"
3030

justfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
44
# Use sh on Unix-like systems
55
set shell := ["sh", "-c"]
66

7+
export VIRTUAL_ENV := ".venv" # this requires a pre-commit
8+
79

810
[doc("All command information")]
911
default:
@@ -56,7 +58,7 @@ test-coverage-all +param="tests/":
5658

5759
# Docs
5860
_docs *params:
59-
cd docs && uv run --no-dev --group docs --frozen python docs.py {{params}}
61+
cd docs && uv run --frozen python docs.py {{params}}
6062

6163
[doc("Build docs")]
6264
[group("docs")]

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ docs = [
9292
"mkdocs-material==9.7.0",
9393
"mkdocs-static-i18n==1.3.0",
9494
"mdx-include==1.4.2",
95-
"mkdocstrings[python]==0.30.1",
95+
"mkdocstrings[python]==1.0.0",
9696
"mkdocs-literate-nav==0.6.2",
9797
"mkdocs-git-revision-date-localized-plugin==1.5.0",
9898
"mike==2.1.3", # versioning
@@ -105,12 +105,12 @@ docs = [
105105
]
106106

107107
lint = [
108-
"ruff==0.14.6",
108+
"ruff==0.14.7",
109109
"bandit==1.9.2",
110110
"semgrep==1.144.0",
111111
"codespell==2.4.1",
112-
"zizmor==1.16.3",
113-
"mypy==1.18.2",
112+
"zizmor==1.18.0",
113+
"mypy==1.19.0",
114114
# mypy extensions
115115
"types-Deprecated",
116116
"types-PyYAML",
@@ -135,7 +135,7 @@ test-core = [
135135

136136
testing = [
137137
{include-group = "test-core"},
138-
"fastapi==0.121.3",
138+
"fastapi==0.123.0",
139139
"pydantic-settings>=2.0.0,<3.0.0",
140140
"PyYAML==6.0.3",
141141
"email-validator==2.3.0",

0 commit comments

Comments
 (0)