Bump supported fastapi versions (#1110)
* Bump supported fastapi version to <=0.97, change all fastapi tests from starlette client to httpx.AsyncClient * Add lifecycle manager to fastapi tests * Fix coverage * Add python 3.11 to test suite, bump version
This commit is contained in:
@ -3,8 +3,8 @@ name = "ormar"
|
||||
|
||||
[tool.poetry]
|
||||
name = "ormar"
|
||||
version = "0.12.1"
|
||||
description = "A simple async ORM with fastapi in mind and pydantic validation."
|
||||
version = "0.12.2"
|
||||
description = "An async ORM with fastapi in mind and pydantic validation."
|
||||
authors = ["Radosław Drążkiewicz <collerek@gmail.com>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
@ -56,6 +56,7 @@ psycopg2-binary = { version = "^2.9.1", optional = true }
|
||||
mysqlclient = { version = "^2.1.0", optional = true }
|
||||
PyMySQL = { version = ">=0.9", optional = true }
|
||||
|
||||
|
||||
[tool.poetry.dependencies.orjson]
|
||||
version = ">=3.6.4"
|
||||
optional = true
|
||||
@ -75,7 +76,7 @@ pytest = "^7.3.1"
|
||||
pytest-cov = "^4.0.0"
|
||||
codecov = "^2.1.13"
|
||||
pytest-asyncio = "^0.21.0"
|
||||
fastapi = ">=0.70.1,<0.86"
|
||||
fastapi = ">=0.70.1,<=0.97"
|
||||
flake8 = "^3.9.2"
|
||||
flake8-black = "^0.3.6"
|
||||
flake8-bugbear = "^23.3.12"
|
||||
@ -137,6 +138,10 @@ all = [
|
||||
"cryptography",
|
||||
]
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
httpx = "^0.24.1"
|
||||
asgi-lifespan = "^2.1.0"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
Reference in New Issue
Block a user