diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2022-03-08 15:58:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 15:58:14 +0000 |
commit | 562718278847375636ead2ed3afcc9d9d482ef96 (patch) | |
tree | 3f2ac3d4e32b0e8e62b251055daeccc30d122bfe /synapse/python_dependencies.py | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-562718278847375636ead2ed3afcc9d9d482ef96.tar.xz |
Use `ParamSpec` in type hints for `synapse.logging.context` (#12150)
Signed-off-by: Sean Quah <seanq@element.io>
Diffstat (limited to 'synapse/python_dependencies.py')
-rw-r--r-- | synapse/python_dependencies.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py index b40a7bbb76..1dd39f06cf 100644 --- a/synapse/python_dependencies.py +++ b/synapse/python_dependencies.py @@ -76,7 +76,8 @@ REQUIREMENTS = [ "netaddr>=0.7.18", "Jinja2>=2.9", "bleach>=1.4.3", - "typing-extensions>=3.7.4", + # We use `ParamSpec`, which was added in `typing-extensions` 3.10.0.0. + "typing-extensions>=3.10.0", # We enforce that we have a `cryptography` version that bundles an `openssl` # with the latest security patches. "cryptography>=3.4.7", |