summaryrefslogtreecommitdiff
path: root/mlir/python
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2023-02-07 14:24:55 -0800
committerStella Stamenova <stilis@microsoft.com>2023-02-07 14:24:55 -0800
commit97fbbd657f9afd68f7dd03ac5349fbd5ac56be02 (patch)
tree8cd875b1c69893e7cd4c64e61872d1e99c2428ed /mlir/python
parent7045966982f29f2ee85dde282f76766262fe0c6e (diff)
downloadllvm-97fbbd657f9afd68f7dd03ac5349fbd5ac56be02.tar.gz
[mlir] Relax version requirement for PyYAML in mlir
Some Ubuntu 20.04 images come with PyYAML 5.3.1 pre-installed through distutils. This makes pip very angry. See https://github.com/yaml/pyyaml/issues/349. Since older versions of PyYAML should work for mlir, relax the version requirement to ease developer setup. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D143523
Diffstat (limited to 'mlir/python')
-rw-r--r--mlir/python/requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/python/requirements.txt b/mlir/python/requirements.txt
index aaf480f0bdc7..16a3dd39c7fc 100644
--- a/mlir/python/requirements.txt
+++ b/mlir/python/requirements.txt
@@ -1,4 +1,4 @@
numpy>=1.19.5, <=1.23.5
pybind11>=2.8.0, <=2.10.3
-PyYAML==6.0
+PyYAML>= 5.3.1, <=6.0
dataclasses>=0.6, <=0.8