Skip to content

Commit 8c6f10b

Browse files
authored
⬆️ Upgrade AnyIO max version for tests, new range: >=3.2.1,<5.0.0 (fastapi#13273)
1 parent 93e9fed commit 8c6f10b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ jobs:
8181
- name: Install Pydantic v2
8282
if: matrix.pydantic-version == 'pydantic-v2'
8383
run: uv pip install --upgrade "pydantic>=2.0.2,<3.0.0"
84+
# TODO: Remove this once Python 3.8 is no longer supported
85+
- name: Install older AnyIO in Python 3.8
86+
if: matrix.python-version == '3.8'
87+
run: uv pip install "anyio[trio]<4.0.0"
8488
- run: mkdir coverage
8589
- name: Test
8690
run: bash scripts/test.sh

requirements-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mypy ==1.8.0
66
dirty-equals ==0.8.0
77
sqlmodel==0.0.22
88
flask >=1.1.2,<4.0.0
9-
anyio[trio] >=3.2.1,<4.0.0
9+
anyio[trio] >=3.2.1,<5.0.0
1010
PyJWT==2.8.0
1111
pyyaml >=5.3.1,<7.0.0
1212
passlib[bcrypt] >=1.7.2,<2.0.0

0 commit comments

Comments
 (0)