Skip to content

Commit 06df84d

Browse files
Upgrade pinned Python dependencies (#13290)
Co-authored-by: LocalStack Bot <[email protected]> Co-authored-by: Benjamin Simon <[email protected]>
1 parent aba1ee8 commit 06df84d

File tree

8 files changed

+70
-71
lines changed

8 files changed

+70
-71
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
repos:
44
- repo: https://github.com/astral-sh/ruff-pre-commit
55
# Ruff version.
6-
rev: v0.14.0
6+
rev: v0.14.1
77
hooks:
88
- id: ruff
99
args: [--fix, --exit-non-zero-on-fix]

localstack-core/localstack/services/ses/provider.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from typing import TYPE_CHECKING, Any
99

1010
from botocore.exceptions import ClientError
11-
from moto.core.parsers import XFormedDict
1211
from moto.ses import ses_backends
1312
from moto.ses.models import SESBackend
1413

@@ -688,7 +687,7 @@ def _client_for_topic(topic_arn: str) -> "SNSClient":
688687
def notify_event_destinations(
689688
context: RequestContext,
690689
# FIXME: Moto stores the Event Destinations as a single value when it should be a list
691-
event_destinations: XFormedDict,
690+
event_destinations: EventDestination | list[EventDestination],
692691
payload: EventDestinationPayload,
693692
email_type: EmailType,
694693
):
@@ -698,14 +697,14 @@ def notify_event_destinations(
698697
event_destinations = [event_destinations]
699698

700699
for event_destination in event_destinations:
701-
if not event_destination["enabled"]:
700+
if not event_destination["Enabled"]:
702701
continue
703702

704-
sns_destination_arn = event_destination.get("sns_destination", {}).get("topic_arn")
703+
sns_destination_arn = event_destination.get("SNSDestination", {}).get("TopicARN")
705704
if not sns_destination_arn:
706705
continue
707706

708-
matching_event_types = event_destination.get("matching_event_types") or []
707+
matching_event_types = event_destination.get("MatchingEventTypes") or []
709708
if EventType.send in matching_event_types:
710709
emitter.emit_send_event(
711710
payload, sns_destination_arn, emit_source_arn=email_type != EmailType.TEMPLATED

requirements-base-runtime.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ click==8.3.0
3232
# via localstack-core (pyproject.toml)
3333
constantly==23.10.4
3434
# via localstack-twisted
35-
cryptography==46.0.2
35+
cryptography==46.0.3
3636
# via
3737
# localstack-core (pyproject.toml)
3838
# pyopenssl
@@ -123,7 +123,7 @@ priority==1.3.0
123123
# via
124124
# hypercorn
125125
# localstack-twisted
126-
psutil==7.1.0
126+
psutil==7.1.1
127127
# via localstack-core (pyproject.toml)
128128
pycparser==2.23
129129
# via cffi

requirements-basic.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ charset-normalizer==3.4.4
1414
# via requests
1515
click==8.3.0
1616
# via localstack-core (pyproject.toml)
17-
cryptography==46.0.2
17+
cryptography==46.0.3
1818
# via localstack-core (pyproject.toml)
1919
dill==0.3.6
2020
# via localstack-core (pyproject.toml)
@@ -30,7 +30,7 @@ mdurl==0.1.2
3030
# via markdown-it-py
3131
plux==1.13.0
3232
# via localstack-core (pyproject.toml)
33-
psutil==7.1.0
33+
psutil==7.1.1
3434
# via localstack-core (pyproject.toml)
3535
pycparser==2.23
3636
# via cffi

requirements-dev.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ coveralls==3.3.1
9999
# via localstack-core (pyproject.toml)
100100
crontab==1.0.5
101101
# via localstack-core
102-
cryptography==46.0.2
102+
cryptography==46.0.3
103103
# via
104104
# joserfc
105105
# localstack-core
106106
# localstack-core (pyproject.toml)
107107
# moto-ext
108108
# pyopenssl
109-
cython==3.1.4
109+
cython==3.1.5
110110
# via localstack-core (pyproject.toml)
111111
decorator==5.2.1
112112
# via jsonpath-rw
@@ -178,7 +178,7 @@ importlib-resources==6.5.2
178178
# via jsii
179179
incremental==24.7.2
180180
# via localstack-twisted
181-
iniconfig==2.1.0
181+
iniconfig==2.3.0
182182
# via pytest
183183
isodate==0.7.2
184184
# via openapi-core
@@ -252,7 +252,7 @@ mdurl==0.1.2
252252
# via markdown-it-py
253253
more-itertools==10.8.0
254254
# via openapi-core
255-
moto-ext==5.1.14.post34
255+
moto-ext==5.1.15.post10
256256
# via localstack-core
257257
mpmath==1.3.0
258258
# via sympy
@@ -322,7 +322,7 @@ priority==1.3.0
322322
# via
323323
# hypercorn
324324
# localstack-twisted
325-
psutil==7.1.0
325+
psutil==7.1.1
326326
# via
327327
# localstack-core
328328
# localstack-core (pyproject.toml)
@@ -334,13 +334,13 @@ publication==0.0.3
334334
# aws-cdk-lib
335335
# constructs
336336
# jsii
337-
py-partiql-parser==0.6.1
337+
py-partiql-parser==0.6.3
338338
# via moto-ext
339339
pyasn1==0.6.1
340340
# via rsa
341341
pycparser==2.23
342342
# via cffi
343-
pydantic==2.12.2
343+
pydantic==2.12.3
344344
# via
345345
# aws-sam-translator
346346
# localstack-core
@@ -402,7 +402,7 @@ referencing==0.36.2
402402
# jsonschema
403403
# jsonschema-path
404404
# jsonschema-specifications
405-
regex==2025.9.18
405+
regex==2025.10.22
406406
# via cfn-lint
407407
requests==2.32.5
408408
# via
@@ -441,7 +441,7 @@ rsa==4.7.2
441441
# via awscli
442442
rstr==3.2.2
443443
# via localstack-core (pyproject.toml)
444-
ruff==0.14.0
444+
ruff==0.14.1
445445
# via localstack-core (pyproject.toml)
446446
s3transfer==0.14.0
447447
# via
@@ -503,7 +503,7 @@ werkzeug==3.1.3
503503
# openapi-core
504504
# pytest-httpserver
505505
# rolo
506-
wrapt==1.17.3
506+
wrapt==2.0.0
507507
# via aws-xray-sdk
508508
wsproto==1.2.0
509509
# via hypercorn

requirements-runtime.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ constantly==23.10.4
7272
# via localstack-twisted
7373
crontab==1.0.5
7474
# via localstack-core (pyproject.toml)
75-
cryptography==46.0.2
75+
cryptography==46.0.3
7676
# via
7777
# joserfc
7878
# localstack-core
@@ -187,7 +187,7 @@ mdurl==0.1.2
187187
# via markdown-it-py
188188
more-itertools==10.8.0
189189
# via openapi-core
190-
moto-ext==5.1.14.post34
190+
moto-ext==5.1.15.post10
191191
# via localstack-core (pyproject.toml)
192192
mpmath==1.3.0
193193
# via sympy
@@ -227,17 +227,17 @@ priority==1.3.0
227227
# via
228228
# hypercorn
229229
# localstack-twisted
230-
psutil==7.1.0
230+
psutil==7.1.1
231231
# via
232232
# localstack-core
233233
# localstack-core (pyproject.toml)
234-
py-partiql-parser==0.6.1
234+
py-partiql-parser==0.6.3
235235
# via moto-ext
236236
pyasn1==0.6.1
237237
# via rsa
238238
pycparser==2.23
239239
# via cffi
240-
pydantic==2.12.2
240+
pydantic==2.12.3
241241
# via
242242
# aws-sam-translator
243243
# localstack-core (pyproject.toml)
@@ -280,7 +280,7 @@ referencing==0.36.2
280280
# jsonschema
281281
# jsonschema-path
282282
# jsonschema-specifications
283-
regex==2025.9.18
283+
regex==2025.10.22
284284
# via cfn-lint
285285
requests==2.32.5
286286
# via
@@ -355,7 +355,7 @@ werkzeug==3.1.3
355355
# moto-ext
356356
# openapi-core
357357
# rolo
358-
wrapt==1.17.3
358+
wrapt==2.0.0
359359
# via aws-xray-sdk
360360
wsproto==1.2.0
361361
# via hypercorn

requirements-test.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ constantly==23.10.4
8888
# via localstack-twisted
8989
constructs==10.4.2
9090
# via aws-cdk-lib
91-
coverage==7.10.7
91+
coverage==7.11.0
9292
# via localstack-core (pyproject.toml)
9393
crontab==1.0.5
9494
# via localstack-core
95-
cryptography==46.0.2
95+
cryptography==46.0.3
9696
# via
9797
# joserfc
9898
# localstack-core
@@ -159,7 +159,7 @@ importlib-resources==6.5.2
159159
# via jsii
160160
incremental==24.7.2
161161
# via localstack-twisted
162-
iniconfig==2.1.0
162+
iniconfig==2.3.0
163163
# via pytest
164164
isodate==0.7.2
165165
# via openapi-core
@@ -233,7 +233,7 @@ mdurl==0.1.2
233233
# via markdown-it-py
234234
more-itertools==10.8.0
235235
# via openapi-core
236-
moto-ext==5.1.14.post34
236+
moto-ext==5.1.15.post10
237237
# via localstack-core
238238
mpmath==1.3.0
239239
# via sympy
@@ -281,7 +281,7 @@ priority==1.3.0
281281
# via
282282
# hypercorn
283283
# localstack-twisted
284-
psutil==7.1.0
284+
psutil==7.1.1
285285
# via
286286
# localstack-core
287287
# localstack-core (pyproject.toml)
@@ -293,13 +293,13 @@ publication==0.0.3
293293
# aws-cdk-lib
294294
# constructs
295295
# jsii
296-
py-partiql-parser==0.6.1
296+
py-partiql-parser==0.6.3
297297
# via moto-ext
298298
pyasn1==0.6.1
299299
# via rsa
300300
pycparser==2.23
301301
# via cffi
302-
pydantic==2.12.2
302+
pydantic==2.12.3
303303
# via
304304
# aws-sam-translator
305305
# localstack-core
@@ -358,7 +358,7 @@ referencing==0.36.2
358358
# jsonschema
359359
# jsonschema-path
360360
# jsonschema-specifications
361-
regex==2025.9.18
361+
regex==2025.10.22
362362
# via cfn-lint
363363
requests==2.32.5
364364
# via
@@ -449,7 +449,7 @@ werkzeug==3.1.3
449449
# openapi-core
450450
# pytest-httpserver
451451
# rolo
452-
wrapt==1.17.3
452+
wrapt==2.0.0
453453
# via aws-xray-sdk
454454
wsproto==1.2.0
455455
# via hypercorn

0 commit comments

Comments
 (0)