From d601e723729c317edeebe95c04212d0ec3ef4d0a Mon Sep 17 00:00:00 2001 From: Sylvain Leclerc Date: Tue, 9 Jul 2024 09:18:19 +0200 Subject: [PATCH] Fix dependencies versions for python > 3.8 Signed-off-by: Sylvain Leclerc --- requirements.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 76c4f75c54..5ca7ac0c26 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,12 +22,16 @@ pydantic~=1.9.0 PyQt5~=5.15.6 python-json-logger~=2.0.7 python-multipart~=0.0.5 -PyYAML~=5.4.1 +# See https://github.com/yaml/pyyaml/issues/724#issuecomment-1638801106 +PyYAML>=5.3.1; python_version <= '3.5' +PyYAML>=5.3.1,!=5.4.0,!=5.4.1; python_version >= '3.6' and python_version <= '3.11' +PyYAML>=5.3.1,!=5.4.0,!=5.4.1,!=6.0.0; python_version >= '3.12' redis~=4.1.2 requests~=2.27.1 SQLAlchemy~=1.4.46 starlette~=0.17.1 -tables==3.6.1 +tables==3.6.1; python_version <= '3.8' +tables==3.9.2; python_version > '3.8' typing_extensions~=4.7.1 uvicorn[standard]~=0.15.0 xlsxwriter~=3.2.0