From c5b870bde959c7ebdd2798ae91e3c19ff4af62e5 Mon Sep 17 00:00:00 2001 From: Benjamin Kiessling Date: Wed, 24 Jul 2024 16:26:39 +0200 Subject: [PATCH] Pin python-bidi to 0.4.x 0.5.0 breaks backwards compatibility which is restored in 0.5.1 but doesn't have python 3.8 support anymore. Fixes #628 --- conda/recipe.yaml | 2 +- environment.yml | 2 +- environment_cuda.yml | 2 +- setup.cfg | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conda/recipe.yaml b/conda/recipe.yaml index cdeca881f..9d8ed34ae 100644 --- a/conda/recipe.yaml +++ b/conda/recipe.yaml @@ -22,7 +22,7 @@ requirements: - python>=3.8,<3.12 run: - python>=3.8,<3.12 - - python-bidi + - python-bidi~=0.4.0 - lxml - regex - requests diff --git a/environment.yml b/environment.yml index be2050ffa..47e991eeb 100644 --- a/environment.yml +++ b/environment.yml @@ -4,7 +4,7 @@ channels: - conda-forge dependencies: - python>=3.9 - - python-bidi + - python-bidi~=0.4.0 - lxml - regex - requests diff --git a/environment_cuda.yml b/environment_cuda.yml index 392284508..fa0e3edc9 100644 --- a/environment_cuda.yml +++ b/environment_cuda.yml @@ -4,7 +4,7 @@ channels: - conda-forge dependencies: - python>=3.9 - - python-bidi + - python-bidi~=0.4.0 - lxml - regex - requests diff --git a/setup.cfg b/setup.cfg index 5f675f35e..1400d5d12 100644 --- a/setup.cfg +++ b/setup.cfg @@ -51,7 +51,7 @@ install_requires = protobuf>=3.0.0 coremltools~=6.0 jinja2~=3.0 - python-bidi + python-bidi~=0.4.0 torchvision>=0.5.0 torch~=2.1.0 scikit-learn~=1.2.1