serious bump of project deps

This commit is contained in:
Jakub Miazek 2024-01-09 19:25:55 +01:00
parent 51aa79788b
commit 25955aa1d0
3 changed files with 649 additions and 662 deletions

1281
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -8,23 +8,23 @@ license = "MIT"
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "0.104.0"
pydantic = {version = "2.4.2", extras = ["email"]}
pydantic-settings = "2.0.3"
sqlalchemy = "2.0.22"
uvicorn = { version = "0.23.2", extras = ["standard"]}
asyncpg = "0.28.0"
alembic = "1.12.0"
httpx = "0.25.0"
fastapi = "0.108.0"
pydantic = {version = "2.5.3", extras = ["email"]}
pydantic-settings = "2.1.0"
sqlalchemy = "2.0.25"
uvicorn = { version = "0.25.0", extras = ["standard"]}
asyncpg = "0.29.0"
alembic = "1.13.1"
httpx = "0.26.0"
pytest-cov = "4.1.0"
pytest-asyncio = "0.21.1"
uvloop = "0.18.0"
pytest-asyncio = "0.23.3"
uvloop = "0.19.0"
httptools = "0.6.1"
rich = "13.6.0"
rich = "13.7.0"
pyjwt = {version = "2.8.0", extras = ["cryptography"]}
redis = "5.0.1"
passlib = {version = "^1.7.4", extras = ["bcrypt"]}
sourcery = "^1.11.0"
sourcery = "^1.15.0"
[tool.poetry.dev-dependencies]
devtools = { extras = ["pygments"], version = "*" }
@ -37,7 +37,7 @@ sqlacodegen = "3.0.0rc3"
[tool.poetry.group.dev.dependencies]
tryceratops = "^1.1.0"
tryceratops = "^2.3.2"
[build-system]
requires = ["poetry-core>=1.0.0"]

View File

@ -14,7 +14,7 @@ async def test_add_user(client: AsyncClient):
claimset = jwt.decode(response.json()["access_token"], options={"verify_signature": False})
assert claimset["email"] == payload["email"]
assert claimset["expiry"] > 0
assert claimset["platform"] == "python-httpx/0.25.0"
assert claimset["platform"] == "python-httpx/0.26.0"
# TODO: parametrize test with diff urls including 404 and 401
@ -25,7 +25,7 @@ async def test_get_token(client: AsyncClient):
claimset = jwt.decode(response.json()["access_token"], options={"verify_signature": False})
assert claimset["email"] == payload["email"]
assert claimset["expiry"] > 0
assert claimset["platform"] == "python-httpx/0.25.0"
assert claimset["platform"] == "python-httpx/0.26.0"
# TODO: baerer token test