[Mlir-commits] [mlir] 97fbbd6 - [mlir] Relax version requirement for PyYAML in mlir
Stella Stamenova
llvmlistbot at llvm.org
Tue Feb 7 14:25:32 PST 2023
Author: Stella Stamenova
Date: 2023-02-07T14:24:55-08:00
New Revision: 97fbbd657f9afd68f7dd03ac5349fbd5ac56be02
URL: https://github.com/llvm/llvm-project/commit/97fbbd657f9afd68f7dd03ac5349fbd5ac56be02
DIFF: https://github.com/llvm/llvm-project/commit/97fbbd657f9afd68f7dd03ac5349fbd5ac56be02.diff
LOG: [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
Added:
Modified:
mlir/python/requirements.txt
Removed:
################################################################################
diff --git a/mlir/python/requirements.txt b/mlir/python/requirements.txt
index aaf480f0bdc72..16a3dd39c7fcf 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
More information about the Mlir-commits
mailing list