diff options
author | David Robertson <davidr@element.io> | 2022-01-10 13:40:46 +0000 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2022-01-12 14:54:06 +0000 |
commit | 1b1aed38e3df1daca709b9bb57b1443b9e6da2bd (patch) | |
tree | 7ae88db60330cbd2c8085f1181debf47cfd03ec4 /changelog.d | |
parent | Fix documentation of supported PostgreSQL version (#11725) (diff) | |
download | synapse-1b1aed38e3df1daca709b9bb57b1443b9e6da2bd.tar.xz |
Deal with mypy errors w/ type-hinted pynacl 1.5.0 (#11714)
* Deal with mypy errors w/ type-hinted pynacl 1.5.0 Fixes #11644. I really don't like that we're monkey patching pynacl SignedKey instances with alg and version objects. But I'm too scared to make the changes necessary right now. (Ideally I would replace `signedjson.types.SingingKey` with a runtime class which wraps or inherits from `nacl.signing.SigningKey`.) C.f. https://github.com/matrix-org/python-signedjson/issues/16
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/11714.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11714.misc b/changelog.d/11714.misc new file mode 100644 index 0000000000..7f39bf0e3d --- /dev/null +++ b/changelog.d/11714.misc @@ -0,0 +1 @@ +Fix a typechecker problem related to our (ab)use of `nacl.signing.SigningKey`s. \ No newline at end of file |