Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,38 @@ requires = ["poetry-core>=1.7.1"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.dependencies]
python = "~3.12.7"
python = "~3.15.0"
aws-embedded-metrics = "1.0.8"
aws-xray-sdk = "2.14.0"
aws-xray-sdk = "2.16.0"
# PaaS
awscli-cwlogs = "1.4.6"
boto = "2.49.0"

cachelib = "0.12.0"
celery = {extras = ["sqs"], version = "5.6.3"}
cachelib = "0.17.2"
celery = {extras = ["sqs"], version = "5.7.0"}
# Pin kombu to merge of PR #2342 (SQS fair queue / MessageGroupId support) until kombu 5.7 is released
kombu = { git = "https://github.com/celery/kombu.git", rev = "860e40a6c904c4d8551577d9f4e8c00f03b6e06c" }

# Pinned dependencies
certifi = "^2026.10.19" # pinned for security reasons: CA bundle update (CVE-2026-111943)
cffi = "2.0.0"
click-datetime = "0.2"
cffi = "2.1.1"
click-datetime = "0.4.0"
docopt = "0.6.2"
dogpile-cache = { version = "^1.3", extras = ["redis"] }
environs = "9.5.0" # pyup: <9.3.3 # marshmallow v3 throws errors"
fido2 = "^2.2.0"
#git+https://github.com/mitsuhiko/flask-sqlalchemy.git@500e732dd1b975a56ab06a46bd1a20a21e682262#egg=Flask-SQLAlchemy==2.3.2.dev20190108
Flask = "3.1.3"
Flask-Bcrypt = "1.0.1"
flask-marshmallow = "1.3.0"
flask-marshmallow = "1.5.0"
Flask-Migrate = "4.1.0"
Flask-SQLAlchemy = "3.1.1"
gevent = "23.9.1" # See if we can get rid of it now that we use gthread
greenlet = "3.1.1"
greenlet = "3.5.6"

gunicorn = "23.0.0"
# Pinned dependencies
idna = "3.15" # pinned to align with test moto dependency requirements (for <=2.9)
idna = "3.20" # pinned to align with test moto dependency requirements (for <=2.9)
iso8601 = "2.1.0"
urllib3 = ">=2.6.3,<3" # Pinned this transitive dependency to resolve a number of high security vulnerabilities: https://github.com/cds-snc/notification-api/pull/2806
# REVIEW: v2 is using sha512 instead of sha1 by default (in v1)
Expand All @@ -57,7 +57,7 @@ marshmallow = "3.26.2"
marshmallow-sqlalchemy = "0.30.0"
more-itertools = "8.14.0"
nanoid = "2.0.0"
notifications-python-client = "12.1.0"
notifications-python-client = "12.2.0"
opentelemetry-instrumentation-celery = "0.55b1"
opentelemetry-instrumentation-flask = "0.55b1"
opentelemetry-instrumentation-redis = "0.55b1"
Expand All @@ -77,32 +77,32 @@ SQLAlchemy = "2.1.8"
tldextract = "3.5.0"
types-psycopg2 = "^2.9.21.20250516"
# rsa = "4.9 # awscli 1.22.38 depends on rsa<4.8
typing-extensions = "4.12.2"
unidecode = "1.3.8"
typing-extensions = "4.16.0"
unidecode = "1.4.0"
# Putting upgrade on hold due to new version introducing breaking changes
Werkzeug = "3.1.6"

[tool.poetry.group.test.dependencies]
brotli = "1.2.1" # not directly required (locust -> geventhttpclient), pinned to fix CVE-2026-111497
coveralls = "3.3.1"
fakeredis = { version = "2.35.1", extras = ["lua"] }
fakeredis = { version = "2.40.0", extras = ["lua"] }
freezegun = "1.5.5"
gprof2dot = "2024.6.6"
# used for creating manifest file locally
jinja2-cli = { extras = ["yaml"], version = "0.8.2" }
locust = "2.31.3"
locust = "2.47.0"
moto = "4.2.14"
mypy = "1.5"
mypy = "1.20.2"
networkx = "2.8.8" # not directly required, pinned by Snyk to avoid a vulnerability
pytest = "7.4.4"
pytest-cov = "3.0.0"
pytest-env = "0.8.2"
pytest-mock = "3.14.0"
pytest-mock = "3.17.0"
pytest-mock-resources = { extras = ["redis"], version = "2.15.0" }
pytest-xdist = "2.5.0"
requests-mock = "1.12.1"
rfc3987 = "1.3.8"
ruff = "^0.8.2"
ruff = "^0.17.0"
snakeviz = "2.2.2"
sortedcontainers = "2.4.0"
sqlalchemy2-stubs = "0.0.2a38" # not directly required, pinned by Snyk to avoid a vulnerability
Expand All @@ -114,7 +114,7 @@ types-mock = "4.0.15.2"
types-python-dateutil = "2.9.0.20251115"
types-pytz = "2022.7.1.2"
types-redis = "4.6.0.20241004"
types-requests = "2.32.4.20250913"
types-requests = "2.33.0.20261030"


[tool.ruff]
Expand Down
2 changes: 1 addition & 1 deletion tests-simulate-prod-data/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
click==8.3.1
click==8.5.1
python-dateutil==2.9.0.post0
python-dotenv==1.2.2
sqlalchemy==1.4.54
Expand Down
Loading
Loading