Skip to content

Commit 8ca5717

Browse files
committed
Support FastAPI 0.130+
- Bump fastapi dependency limit to <0.140 - Add tox environment for fastapi 0.13x
1 parent 6d4fa49 commit 8ca5717

File tree

2 files changed

+21
-16
lines changed

2 files changed

+21
-16
lines changed

poetry.lock

Lines changed: 15 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jsonschema-path = "^0.4.5"
7575
jsonschema = "^4.23.0"
7676
multidict = {version = "^6.0.4", optional = true}
7777
aioitertools = {version = ">=0.11,<0.14", optional = true}
78-
fastapi = {version = ">=0.111,<0.130", optional = true}
78+
fastapi = {version = ">=0.111,<0.140", optional = true}
7979
typing-extensions = "^4.8.0"
8080

8181
[tool.poetry.extras]
@@ -175,6 +175,7 @@ env_list = [
175175
"contrib-falcon-4x",
176176
"contrib-fastapi-011x",
177177
"contrib-fastapi-012x",
178+
"contrib-fastapi-013x",
178179
"contrib-flask-2x",
179180
"contrib-flask-3x",
180181
"contrib-requests-default",
@@ -222,7 +223,10 @@ set_env = { POETRY_EXTRA = "falcon", CONTRIB_PACKAGE = "falcon", CONTRIB_SPEC =
222223
set_env = { POETRY_EXTRA = "fastapi", CONTRIB_PACKAGE = "fastapi", CONTRIB_SPEC = ">=0.111,<0.120", CONTRIB_PATHS = "tests/integration/contrib/fastapi" }
223224

224225
[tool.tox.env."contrib-fastapi-012x"]
225-
set_env = { POETRY_EXTRA = "fastapi", CONTRIB_PACKAGE = "fastapi", CONTRIB_SPEC = ">=0.120,<0.129", CONTRIB_PATHS = "tests/integration/contrib/fastapi" }
226+
set_env = { POETRY_EXTRA = "fastapi", CONTRIB_PACKAGE = "fastapi", CONTRIB_SPEC = ">=0.120,<0.130", CONTRIB_PATHS = "tests/integration/contrib/fastapi" }
227+
228+
[tool.tox.env."contrib-fastapi-013x"]
229+
set_env = { POETRY_EXTRA = "fastapi", CONTRIB_PACKAGE = "fastapi", CONTRIB_SPEC = ">=0.130,<0.140", CONTRIB_PATHS = "tests/integration/contrib/fastapi" }
226230

227231
[tool.tox.env."contrib-flask-2x"]
228232
set_env = { POETRY_EXTRA = "flask", CONTRIB_PACKAGE = "flask", CONTRIB_SPEC = ">=2.0,<3.0", CONTRIB_PATHS = "tests/integration/contrib/flask tests/unit/contrib/flask" }

0 commit comments

Comments
 (0)