From 37cf2dbbd6b41c9935b488a997f86219a8604bbd Mon Sep 17 00:00:00 2001 From: "Paul A. Jungwirth" Date: Wed, 11 Feb 2026 14:14:24 -0800 Subject: [PATCH v1 3/3] Allow pycryptodomex up to 3.23.0 Our `requirements.txt` file pins pycryptodomex to very old versions: pycryptodomex>=3.4.7,<3.5 3.4.12 was released in 2018. Running `./manage.py migrate` fails with a syntax error, because it's using the old Python 2 comma syntax for an `except` clause. I don't recall Python 3 ever supporting that syntax, so I'm not sure how this `requirements.txt` file ever worked before. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6faba9be..e17a7877 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ Django>=4.2,<4.3 psycopg2==2.8.6 -pycryptodomex>=3.4.7,<3.5 +pycryptodomex>=3.4.7,<=3.23.0 Markdown==3.0.1 requests-oauthlib==1.0.0 cvss==2.2 -- 2.47.3