Skip to content

Commit 615edcb

Browse files
authored
Merge pull request #21707 from galaxybot/dev_auto_update_dependencies
Update Python dependencies
2 parents 11fd827 + b302cf1 commit 615edcb

File tree

12 files changed

+76
-63
lines changed

12 files changed

+76
-63
lines changed

lib/galaxy/authnz/managers.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import builtins
22
import logging
3+
from typing import TYPE_CHECKING
34

45
from galaxy import (
56
exceptions,
@@ -22,6 +23,9 @@
2223
PSAAuthnz,
2324
)
2425

26+
if TYPE_CHECKING:
27+
from galaxy.managers.context import ProvidesAppContext
28+
2529
OIDC_BACKEND_SCHEMA = resource_path(__name__, "xsd/oidc_backends_config.xsd")
2630

2731
log = logging.getLogger(__name__)
@@ -215,7 +219,7 @@ def _unify_provider_name(self, provider):
215219
return k.lower()
216220
return None
217221

218-
def _get_authnz_backend(self, provider, idphint=None):
222+
def _get_authnz_backend(self, provider: str, idphint=None):
219223
unified_provider_name = self._unify_provider_name(provider)
220224
if unified_provider_name in self.oidc_backends_config:
221225
provider = unified_provider_name
@@ -326,7 +330,7 @@ def callback(self, provider, state_token, authz_code, trans, login_redirect_url,
326330
log.exception(msg)
327331
return False, msg, (None, None)
328332

329-
def create_user(self, provider, token, trans, login_redirect_url):
333+
def create_user(self, provider: str, token: str, trans: "ProvidesAppContext", login_redirect_url: str):
330334
try:
331335
success, message, backend = self._get_authnz_backend(provider)
332336
if success is False:

lib/galaxy/authnz/psa_authnz.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
from social_core.backends.oauth import BaseOAuth2
4949
from social_core.strategy import HttpResponseProtocol
5050

51+
from galaxy.managers.context import ProvidesAppContext
52+
5153

5254
log = logging.getLogger(__name__)
5355

@@ -486,7 +488,7 @@ def decode_user_access_token(self, sa_session, access_token):
486488
# so the authentication fails with a proper error message
487489
raise
488490

489-
def create_user(self, token, trans, login_redirect_url):
491+
def create_user(self, token: str, trans: "ProvidesAppContext", login_redirect_url: str):
490492
"""
491493
Create a user from a stored token (deferred user creation).
492494
@@ -511,6 +513,7 @@ def create_user(self, token, trans, login_redirect_url):
511513
userinfo = jwt.decode(id_token, options={"verify_signature": False})
512514

513515
email = userinfo.get("email")
516+
assert email
514517
username = userinfo.get("preferred_username", email)
515518
if "@" in username:
516519
username = username.split("@")[0]

lib/galaxy/dependencies/dev-requirements.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ boto3==1.42.30
1818
botocore==1.42.30
1919
build==1.4.0
2020
cachecontrol==0.14.4
21-
cachetools==6.2.4
21+
cachetools==6.2.6
2222
cattrs==25.3.0
2323
certifi==2026.1.4
2424
cffi==2.0.0 ; (implementation_name != 'pypy' and os_name == 'nt') or platform_python_implementation != 'PyPy'
@@ -29,8 +29,8 @@ colorama==0.4.6 ; os_name == 'nt' or sys_platform == 'win32'
2929
colorlog==6.10.1
3030
contourpy==1.3.2 ; python_full_version < '3.11'
3131
contourpy==1.3.3 ; python_full_version >= '3.11'
32-
coverage==7.13.1
33-
cryptography==46.0.3
32+
coverage==7.13.2
33+
cryptography==46.0.4
3434
cwltest==2.6.20251216093331
3535
cycler==0.12.1
3636
darker==3.0.0
@@ -50,7 +50,7 @@ fsspec==2026.1.0
5050
galaxy-release-util==0.3.2
5151
gcsfs==2026.1.0
5252
google-api-core==2.29.0
53-
google-auth==2.47.0
53+
google-auth==2.48.0
5454
google-auth-oauthlib==1.2.4
5555
google-cloud-core==2.5.0
5656
google-cloud-storage==3.8.0
@@ -100,7 +100,7 @@ mirakuru==3.0.1
100100
mistune==3.1.4
101101
more-itertools==10.8.0 ; platform_machine != 'ppc64le' and platform_machine != 's390x'
102102
msgpack==1.1.2
103-
multidict==6.7.0
103+
multidict==6.7.1
104104
mypy==1.19.1
105105
mypy-extensions==1.1.0
106106
myst-parser==4.0.1 ; python_full_version < '3.11'
@@ -113,28 +113,28 @@ onedatafilerestclient==21.2.5.2
113113
outcome==1.3.0.post0
114114
owlrl==7.1.4
115115
packaging==26.0
116-
pathspec==1.0.3
116+
pathspec==1.0.4
117117
pfzy==0.3.4
118118
pillow==12.1.0
119119
pkce==1.0.3
120120
platformdirs==4.5.1
121-
playwright==1.57.0
121+
playwright==1.58.0
122122
pluggy==1.6.0
123123
port-for==1.0.0
124124
prettytable==3.17.0
125125
prompt-toolkit==3.0.52
126126
propcache==0.4.1
127127
proto-plus==1.27.0
128-
protobuf==6.33.4
129-
psutil==7.2.1 ; sys_platform != 'cygwin'
128+
protobuf==6.33.5
129+
psutil==7.2.2 ; sys_platform != 'cygwin'
130130
psycopg==3.3.2
131131
pyasn1==0.6.2
132132
pyasn1-modules==0.4.2
133133
pycparser==3.0 ; (implementation_name != 'PyPy' and implementation_name != 'pypy' and os_name == 'nt') or (implementation_name != 'PyPy' and platform_python_implementation != 'PyPy')
134134
pyee==13.0.0
135135
pygithub==2.8.1
136136
pygments==2.19.2
137-
pyjwt==2.10.1
137+
pyjwt==2.11.0
138138
pynacl==1.6.2
139139
pyparsing==3.3.2
140140
pyproject-hooks==1.2.0
@@ -155,7 +155,7 @@ pytest-shard==0.1.2
155155
python-dateutil==2.9.0.post0
156156
python-irodsclient==3.2.0
157157
python-slugify==8.0.4
158-
pytokens==0.4.0
158+
pytokens==0.4.1
159159
pywin32-ctypes==0.2.3 ; platform_machine != 'ppc64le' and platform_machine != 's390x' and sys_platform == 'win32'
160160
pyyaml==6.0.3
161161
rdflib==7.5.0
@@ -219,12 +219,12 @@ types-certifi==2021.10.8.3
219219
types-requests==2.32.4.20260107
220220
types-urllib3==1.26.25.14
221221
typing-extensions==4.15.0
222-
typos==1.42.1
222+
typos==1.42.3
223223
tzdata==2025.3 ; sys_platform == 'win32'
224224
url-normalize==2.2.1
225225
urllib3==2.6.3
226226
watchdog==6.0.0
227-
wcwidth==0.3.2
227+
wcwidth==0.5.2
228228
websocket-client==1.9.0
229229
werkzeug==3.1.5
230230
wsproto==1.3.2

lib/galaxy/dependencies/pinned-requirements.txt

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ aiohappyeyeballs==2.6.1
99
aiohttp==3.13.3
1010
aioitertools==0.13.0
1111
aiosignal==1.4.0
12-
alembic==1.18.1
12+
alembic==1.18.3
1313
amqp==5.3.1
1414
annotated-doc==0.0.4
1515
annotated-types==0.7.0
16-
anthropic==0.76.0
16+
anthropic==0.77.0
1717
anyio==4.12.1
1818
apispec==6.9.0
1919
appdirs==1.4.4
@@ -40,7 +40,7 @@ boto3==1.42.30
4040
botocore==1.42.30
4141
bx-python==0.14.0
4242
cachecontrol==0.14.4
43-
cachetools==6.2.4
43+
cachetools==6.2.6
4444
celery==5.6.2
4545
certifi==2026.1.4
4646
cffi==2.0.0 ; implementation_name == 'pypy' or platform_python_implementation != 'PyPy'
@@ -57,12 +57,12 @@ cohere==5.20.2 ; sys_platform != 'emscripten'
5757
colorama==0.4.6
5858
coloredlogs==15.0.1
5959
conda-package-streaming==0.12.0
60-
cryptography==46.0.3
60+
cryptography==46.0.4
6161
ct3==3.4.0.post5
6262
cwl-upgrader==1.2.14
6363
cwl-utils==0.40
6464
cwltool==3.1.20260108082145
65-
cyclopts==4.5.0
65+
cyclopts==4.5.1
6666
defusedxml==0.7.1
6767
deprecated==1.3.1
6868
deprecation==2.1.0
@@ -91,11 +91,11 @@ frozenlist==1.8.0
9191
fs==2.4.16
9292
fsspec==2026.1.0
9393
future==1.0.0
94-
genai-prices==0.0.51
94+
genai-prices==0.0.52
9595
google-api-core==2.29.0
96-
google-auth==2.47.0
96+
google-auth==2.48.0
9797
google-cloud-batch==0.20.0
98-
google-genai==1.60.0
98+
google-genai==1.61.0
9999
googleapis-common-protos==1.72.0
100100
gravity==1.2.0
101101
greenlet==3.3.1 ; platform_machine == 'AMD64' or platform_machine == 'WIN32' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'ppc64le' or platform_machine == 'win32' or platform_machine == 'x86_64'
@@ -138,26 +138,25 @@ kombu==5.6.2
138138
lagom==2.7.7
139139
legacy-cgi==2.6.4 ; python_full_version >= '3.13'
140140
limits==5.6.0
141-
logfire==4.19.0
142-
logfire-api==4.19.0
141+
logfire==4.21.0
142+
logfire-api==4.21.0
143143
lupa==2.6
144144
lxml==6.0.2
145145
mako==1.3.10
146146
markdown==3.10.1
147147
markdown-it-py==3.0.0 ; python_full_version < '3.11'
148148
markdown-it-py==4.0.0 ; python_full_version >= '3.11'
149149
markupsafe==3.0.3
150-
mcp==1.25.0
150+
mcp==1.26.0
151151
mdurl==0.1.2
152-
mercurial==7.1.2 ; python_full_version < '3.14'
153-
mercurial==7.2rc0 ; python_full_version >= '3.14'
152+
mercurial==7.2
154153
mistralai==1.9.11
155154
mistune==3.1.4
156155
more-itertools==10.8.0
157156
mrcfile==1.5.4
158157
msal==1.34.0
159158
msgpack==1.1.2
160-
multidict==6.7.0
159+
multidict==6.7.1
161160
mypy-extensions==1.1.0
162161
networkx==3.4.2 ; python_full_version < '3.11'
163162
networkx==3.6.1 ; python_full_version >= '3.11'
@@ -167,7 +166,7 @@ nodejs-wheel-binaries==22.20.0
167166
numpy==2.2.6 ; python_full_version < '3.11'
168167
numpy==2.4.1 ; python_full_version >= '3.11'
169168
oauthlib==3.3.1
170-
openai==2.15.0
169+
openai==2.16.0
171170
openapi-pydantic==0.5.1
172171
openpyxl==3.1.5
173172
opentelemetry-api==1.39.1
@@ -180,7 +179,7 @@ opentelemetry-proto==1.39.1
180179
opentelemetry-sdk==1.39.1
181180
opentelemetry-semantic-conventions==0.60b1
182181
opentelemetry-util-http==0.60b1
183-
orjson==3.11.5
182+
orjson==3.11.6
184183
oyaml==1.0
185184
packaging==26.0
186185
paramiko==4.0.0
@@ -189,16 +188,16 @@ paste==3.10.1
189188
pastedeploy==3.1.0
190189
pathable==0.4.4
191190
pathvalidate==3.3.1
192-
pebble==5.1.3
191+
pebble==5.2.0
193192
pillow==12.1.0
194193
platformdirs==4.5.1
195194
prometheus-client==0.24.1
196195
prompt-toolkit==3.0.52
197196
propcache==0.4.1
198197
proto-plus==1.27.0
199-
protobuf==6.33.4
198+
protobuf==6.33.5
200199
prov==1.5.1
201-
psutil==7.2.1
200+
psutil==7.2.2
202201
pulsar-galaxy-lib==0.15.14
203202
py-key-value-aio==0.3.0
204203
py-key-value-shared==0.3.0
@@ -220,7 +219,7 @@ pydot==4.0.1
220219
pyeventsystem==0.1.0
221220
pyfaidx==0.9.0.3
222221
pygments==2.19.2
223-
pyjwt==2.10.1
222+
pyjwt==2.11.0
224223
pykwalify==1.8.0
225224
pylibmagic==0.5.0
226225
pynacl==1.6.2
@@ -264,7 +263,7 @@ s3fs==2026.1.0
264263
s3transfer==0.16.0
265264
schema-salad==8.9.20251102115403
266265
secretstorage==3.5.0 ; sys_platform == 'linux'
267-
setuptools==80.10.1
266+
setuptools==80.10.2
268267
shellingham==1.5.4
269268
six==1.17.0
270269
slowapi==0.1.9
@@ -283,13 +282,13 @@ temporalio==1.20.0
283282
tenacity==9.1.2
284283
text-unidecode==1.3
285284
tifffile==2025.5.10 ; python_full_version < '3.11'
286-
tifffile==2026.1.14 ; python_full_version >= '3.11'
285+
tifffile==2026.1.28 ; python_full_version >= '3.11'
287286
tiktoken==0.12.0
288287
tinydb==4.8.2
289288
tokenizers==0.22.2 ; sys_platform != 'emscripten'
290289
tomli==2.4.0 ; python_full_version < '3.11'
291290
tornado==6.5.4
292-
tqdm==4.67.1
291+
tqdm==4.67.2
293292
tuspy==1.1.0
294293
tuspyserver==4.2.3
295294
typer==0.21.1
@@ -304,7 +303,7 @@ urllib3==2.6.3
304303
uvicorn==0.40.0
305304
uvloop==0.22.1
306305
vine==5.1.0
307-
wcwidth==0.3.2
306+
wcwidth==0.5.2
308307
webencodings==0.5.1
309308
webob==1.8.9
310309
websockets==15.0.1

0 commit comments

Comments
 (0)