summaryrefslogtreecommitdiff
path: root/debian/patches/0002-dont-bump-cryptography.patch
blob: 88e6c3a158ad30ab24af3eae4079ef226da00a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Andrej Shadura <andrewsh@debian.org>
Date: Wed, 7 Apr 2021 13:48:48 +0200
Subject: Drop a version bump unnecessary in Debian

In Debian, python3-cryptography doesn’t bundle openssl anyway.
---
 synapse/python_dependencies.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index d844fbb..5ca1f2f 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -84,9 +84,7 @@ REQUIREMENTS = [
     "Jinja2>=2.9",
     "bleach>=1.4.3",
     "typing-extensions>=3.7.4",
-    # We enforce that we have a `cryptography` version that bundles an `openssl`
-    # with the latest security patches.
-    "cryptography>=3.4.7",
+    "cryptography",
     "ijson>=3.1",
     "matrix-common==1.0.0",
 ]