major dependency bump

This commit is contained in:
grillazz 2024-12-16 20:55:42 +01:00
parent 678bf14786
commit ead1b57fbd
4 changed files with 670 additions and 705 deletions

View File

@ -51,7 +51,7 @@ async def lifespan(_app: FastAPI):
await _app.postgres_pool.close()
app = FastAPI(title="Stuff And Nonsense API", version="0.16", lifespan=lifespan)
app = FastAPI(title="Stuff And Nonsense API", version="0.17", lifespan=lifespan)
app.include_router(stuff_router)
app.include_router(nonsense_router)

1332
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -9,31 +9,30 @@ package-mode = false
[tool.poetry.dependencies]
python = "^3.13"
fastapi = {version = "^0.115.2", extras = ["all"]}
pydantic = {version = "^2.9.2", extras = ["email"]}
pydantic-settings = "^2.6.0"
fastapi = {version = "^0.115.6", extras = ["all"]}
pydantic = {version = "^2.10.3", extras = ["email"]}
pydantic-settings = "^2.7.0"
sqlalchemy = "^2.0.36"
uvicorn = { version = "^0.32.0", extras = ["standard"]}
uvicorn = { version = "^0.34.0", extras = ["standard"]}
asyncpg = "^0.30.0"
alembic = "^1.13.3"
httpx = "^0.27.2"
pytest = "^8.3.3"
pytest-cov = "^5.0.0"
alembic = "^1.14.0"
httpx = "^0.28.1"
pytest = "^8.3.4"
pytest-cov = "^6.0.0"
uvloop = "^0.21.0"
httptools = "^0.6.4"
rich = "^13.9.2"
pyjwt = {version = "^2.9.0", extras = ["cryptography"]}
redis = "^5.1.1"
bcrypt = "^4.2.0"
polars = "^1.9.0"
python-multipart = "^0.0.12"
rich = "^13.9.4"
pyjwt = {version = "^2.10.1", extras = ["cryptography"]}
redis = "^5.2.1"
bcrypt = "^4.2.1"
polars = "^1.17.1"
python-multipart = "^0.0.20"
fastexcel = "^0.12.0"
fastapi-cache2 = {git = "https://github.com/yoco-tech/fastapi-cache.git", rev = "main"}
inline-snapshot = "^0.13.3"
fastapi-cache2 = "^0.2.1"
inline-snapshot = "^0.17.0"
dirty-equals = "^0.8.0"
polyfactory = "^2.17.0"
granian = "^1.6.1"
transformers = "^4.45.2"
polyfactory = "^2.18.1"
granian = "^1.7.0"
apscheduler = {version = "^4.0.0a5", extras = ["redis,sqlalchemy"]}
pendulum = {git = "https://github.com/sdispater/pendulum.git", rev="develop"}

View File

@ -32,7 +32,7 @@ async def test_add_user(client: AsyncClient):
response.json()["access_token"], options={"verify_signature": False}
)
assert claimset["expiry"] == IsPositiveFloat()
assert claimset["platform"] == "python-httpx/0.27.2"
assert claimset["platform"] == "python-httpx/0.28.1"
# TODO: parametrize test with diff urls including 404 and 401
@ -49,7 +49,7 @@ async def test_get_token(client: AsyncClient):
)
assert claimset["email"] == payload["email"]
assert claimset["expiry"] == IsPositiveFloat()
assert claimset["platform"] == "python-httpx/0.27.2"
assert claimset["platform"] == "python-httpx/0.28.1"
# TODO: baerer token test