Skip to content

Commit 38debf7

Browse files
committed
Update dependencies in uv.lock
Upgrade multiple packages to newer versions, adjust `requires-python` specification, and apply other dependency updates for maintenance.
1 parent 423d7a3 commit 38debf7

File tree

3 files changed

+715
-1431
lines changed

3 files changed

+715
-1431
lines changed

pyproject.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = [
33
{name = "Federico Busetti", email = "729029+febus982@users.noreply.github.com"},
44
]
5-
requires-python = "<3.14,>=3.10"
5+
requires-python = "==3.14.*"
66
name = "bootstrap-fastapi-service"
77
version = "0.1.0"
88
description = ""
@@ -107,10 +107,7 @@ exclude_also = [
107107
[tool.mypy]
108108
files = ["src", "tests"]
109109
exclude = ["migrations"]
110-
# Pydantic plugin causes some issues: https://github.com/pydantic/pydantic-settings/issues/403
111-
#plugins = "pydantic.mypy,strawberry.ext.mypy_plugin"
112-
plugins = "strawberry.ext.mypy_plugin"
113-
python_version = "3.10"
110+
plugins = "pydantic.mypy,strawberry.ext.mypy_plugin"
114111

115112
[[tool.mypy.overrides]]
116113
module = [
@@ -132,7 +129,6 @@ testpaths = [
132129
]
133130

134131
[tool.ruff]
135-
target-version = "py39"
136132
line-length = 120
137133
# The `src` settings makes sure that imports are correctly
138134
# evaluated during formatting when using nested `pyproject.toml`

tests/http_app/routes/test_hello.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ async def test_hello_renders_what_returned_by_decoder(
2727
assert '"token": "some_token"' in response.text
2828

2929

30-
async def test_hello_returns_403_without_token(testapp: FastAPI):
30+
async def test_hello_returns_401_without_token(testapp: FastAPI):
3131
testapp.dependency_overrides[decode_jwt] = _fake_decode_jwt
3232
ac = TestClient(app=testapp, base_url="http://test")
3333
response = ac.get("/hello/")
34-
assert response.status_code == status.HTTP_403_FORBIDDEN
34+
assert response.status_code == status.HTTP_401_UNAUTHORIZED

0 commit comments

Comments
 (0)