From 97fbbd657f9afd68f7dd03ac5349fbd5ac56be02 Mon Sep 17 00:00:00 2001 From: Stella Stamenova Date: Tue, 7 Feb 2023 14:24:55 -0800 Subject: [PATCH] [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 --- mlir/python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/python/requirements.txt b/mlir/python/requirements.txt index aaf480f0bdc72f..16a3dd39c7fcfe 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