Skip to content

Commit 37ebcfd

Browse files
Timo Nurminengimppa
andcommitted
Upgrade to aiohttp 3.12.15 (merge commit)
Merge branch 'fix/typing' into 'main' * Upgrade to aiohttp 3.12.15 See merge request https://gitlab.ci.csc.fi/sds-dev/sd-connect/swift-browser-ui/-/merge_requests/448 Approved-by: Monika Radaviciute <mradavic@csc.fi> Co-authored-by: Timo Nurminen <timo.nurminen@csc.fi> Merged by Timo Nurminen <tnurmine@csc.fi>
2 parents ba30c80 + 60d6750 commit 37ebcfd

File tree

11 files changed

+17
-16
lines changed

11 files changed

+17
-16
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ wasm-test:
8484
- gem install ceedling
8585
script:
8686
- cd swift_browser_ui_frontend/wasm
87-
- ceedling
87+
- ceedling --verbosity debug
8888

8989
# This job creates the automated releases
9090
release-job:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ classifiers = [
2222
]
2323
dependencies = [
2424
"aiohttp-session==2.12.1",
25-
"aiohttp==3.11.18",
25+
"aiohttp==3.12.15",
2626
"redis==5.2.1",
2727
"asyncpg==0.30.0",
2828
"certifi==2025.1.31",

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
aiohttp==3.11.18
1+
aiohttp==3.12.15
22
aiohttp-session==2.12.1
33
redis==5.2.1
44
asyncpg==0.30.0

swift_browser_ui/common/common_handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
async def handle_delete_preflight(
9-
_: typing.Union[aiohttp.web.Request, None]
9+
_: typing.Union[aiohttp.web.Request, None],
1010
) -> aiohttp.web.Response:
1111
"""Serve correct response headers to allowed DELETE preflight query."""
1212
resp = aiohttp.web.Response(
@@ -19,7 +19,7 @@ async def handle_delete_preflight(
1919

2020

2121
async def handle_put_get_preflight(
22-
_: typing.Union[aiohttp.web.Request, None]
22+
_: typing.Union[aiohttp.web.Request, None],
2323
) -> aiohttp.web.Response:
2424
"""Serve correct response headers to an allowed PUT preflight query."""
2525
resp = aiohttp.web.Response(

swift_browser_ui/request/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async def on_prepare(
101101

102102

103103
def run_server_devel(
104-
app: typing.Coroutine[typing.Any, typing.Any, aiohttp.web.Application]
104+
app: typing.Coroutine[typing.Any, typing.Any, aiohttp.web.Application],
105105
) -> None:
106106
"""Run the server in development mode (without HTTPS)."""
107107
aiohttp.web.run_app(app, access_log=logging.getLogger("aiohttp.access"), port=9091)

swift_browser_ui/sharing/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async def on_prepare(
107107

108108

109109
def run_server_devel(
110-
app: typing.Coroutine[typing.Any, typing.Any, aiohttp.web.Application]
110+
app: typing.Coroutine[typing.Any, typing.Any, aiohttp.web.Application],
111111
) -> None:
112112
"""Run the server in development mode (without HTTPS)."""
113113
aiohttp.web.run_app(app, access_log=logging.getLogger("aiohttp.access"), port=9090)

swift_browser_ui/ui/_convenience.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def sign(
4242

4343

4444
def disable_cache(
45-
response: typing.Union[aiohttp.web.Response, aiohttp.web.FileResponse]
45+
response: typing.Union[aiohttp.web.Response, aiohttp.web.FileResponse],
4646
) -> typing.Union[aiohttp.web.Response, aiohttp.web.FileResponse]:
4747
"""Add cache disabling headers to an aiohttp response."""
4848
response.headers["Cache-Control"] = "no-cache, no-store, must-revalidate"

swift_browser_ui/ui/login.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ async def handle_login(
152152

153153

154154
async def sso_query_begin(
155-
request: typing.Union[aiohttp.web.Request, None]
155+
request: typing.Union[aiohttp.web.Request, None],
156156
) -> typing.Union[aiohttp.web.Response, aiohttp.web.FileResponse]:
157157
"""Display login page and initiate federated keystone authentication."""
158158
# Return the form based login page if the service isn't trusted
@@ -179,7 +179,7 @@ async def sso_query_begin(
179179

180180

181181
async def sso_query_begin_oidc(
182-
request: typing.Union[aiohttp.web.Request, None]
182+
request: typing.Union[aiohttp.web.Request, None],
183183
) -> typing.Union[aiohttp.web.Response, aiohttp.web.FileResponse]:
184184
"""Initiate a federated Keystone authentication with OIDC."""
185185
response: typing.Union[aiohttp.web.Response, aiohttp.web.FileResponse]

swift_browser_ui/ui/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def run_server_secure(
366366

367367

368368
def run_server_insecure(
369-
app: typing.Coroutine[typing.Any, typing.Any, aiohttp.web.Application]
369+
app: typing.Coroutine[typing.Any, typing.Any, aiohttp.web.Application],
370370
) -> None:
371371
"""Run the server without https enabled."""
372372
aiohttp.web.run_app(

swift_browser_ui/upload/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ async def kill_client(app: aiohttp.web.Application) -> None:
169169

170170

171171
def run_server(
172-
app: typing.Coroutine[typing.Any, typing.Any, aiohttp.web.Application]
172+
app: typing.Coroutine[typing.Any, typing.Any, aiohttp.web.Application],
173173
) -> None:
174174
"""Run the server."""
175175
aiohttp.web.run_app(

0 commit comments

Comments
 (0)