Skip to content

Commit

Permalink
[!218][CI] Try update OmegaConf version from setup to avoid error rep…
Browse files Browse the repository at this point in the history
…orted 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
  • Loading branch information
sarapapi authored and mgaido91 committed Jul 1, 2024
1 parent 4dde0ea commit 2002726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2002726

Please sign in to comment.