From 2002726c46e2d7bbbfa002642e9ce97974f00851 Mon Sep 17 00:00:00 2001 From: Sara Papi Date: Tue, 25 Jun 2024 13:21:58 +0200 Subject: [PATCH] [!218][CI] Try update OmegaConf version from setup to avoid error reported in... # Why is the change needed? With the new version of pip, we got the error: ``` pip._vendor.packaging.requirements.InvalidRequirement: .* suffix can only be used with `==` or `!=` operators PyYAML (>=5.1.*) ``` # What changes does the patch introduce? Update the version of `omegaconf` to 2.1.1 that solves the issue, as described in: [https://github.com/facebookresearch/fairseq/issues/5436](https://github.com/facebookresearch/fairseq/issues/5436) # How was this patch tested? CI run --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d725f677..bae501f3 100644 --- a/setup.py +++ b/setup.py @@ -185,7 +185,7 @@ def do_setup(package_data): "cython", 'dataclasses; python_version<"3.7"', "hydra-core<1.1", - "omegaconf<2.1", + "omegaconf>=2.1.1", 'numpy<1.20.0; python_version<"3.7"', 'numpy; python_version>="3.7"', "regex",