diff options
author | Paarth Shah <mail@shahpaarth.com> | 2023-07-04 00:33:24 -0700 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2023-07-04 16:22:33 +0100 |
commit | 649848627c50777f8c93e8b980e903ab39ea019a (patch) | |
tree | fc2527cd6b72417c542818e12a60fceff6b3b815 /pyproject.toml | |
parent | Split out 2022 changes from the changelog (#15846) (diff) | |
download | synapse-649848627c50777f8c93e8b980e903ab39ea019a.tar.xz |
Pin `pydantic` to <2.0.0 (#15862)
Signed-off-by: Paarth Shah <mail@shahpaarth.com>
Diffstat (limited to '')
-rw-r--r-- | pyproject.toml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml index fc47b1ef71..67ee3f1738 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -207,7 +207,8 @@ packaging = ">=16.1" # which shipped in Python 3.8. This corresponds to version 1.4 of the backport. importlib_metadata = { version = ">=1.4", python = "<3.8" } # This is the most recent version of Pydantic with available on common distros. -pydantic = ">=1.7.4" +# We are currently incompatible with >=2.0.0: (https://github.com/matrix-org/synapse/issues/15858) +pydantic = "^1.7.4" # This is for building the rust components during "poetry install", which # currently ignores the `build-system.requires` directive (c.f. |