From 2dcd89f4c89c37591265eef565474c5a7602bfbd Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Thu, 21 Sep 2023 16:44:50 +0000 Subject: [PATCH] pyproject.toml: bump packaging minimum version to 20.0. Signed-off-by: Maxwell G --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b6b477505030..2b6b12b4d249 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -210,7 +210,8 @@ cryptography = ">=3.4.7" ijson = ">=3.1.4" matrix-common = "^1.3.0" # We need packaging.requirements.Requirement, added in 16.1. -packaging = ">=16.1" +# We need packaging.verison.Version(...).major added in 20.0. +packaging = ">=20.0" # We support pydantic v1 and pydantic v2 via the pydantic.v1 compat module. # See https://github.com/matrix-org/synapse/issues/15858 pydantic = ">=1.7.4, <3"