[Mlir-commits] [mlir] [mlir] [python] Update PyYAML minimum version to 5.4 (PR #102178)

Nhat Nguyen llvmlistbot at llvm.org
Tue Aug 6 10:28:02 PDT 2024


https://github.com/nhat-nguyen updated https://github.com/llvm/llvm-project/pull/102178

>From 427ef37e3a69e5ef61de2dd0819a16881c728146 Mon Sep 17 00:00:00 2001
From: Nhat Nguyen <hoangnhat2911 at gmail.com>
Date: Tue, 6 Aug 2024 12:37:55 -0400
Subject: [PATCH 1/3] Update requirements.txt

---
 mlir/python/requirements.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mlir/python/requirements.txt b/mlir/python/requirements.txt
index 6ec63e43adf896..4d86dd2134e8e0 100644
--- a/mlir/python/requirements.txt
+++ b/mlir/python/requirements.txt
@@ -1,4 +1,4 @@
 numpy>=1.19.5, <=1.26
 pybind11>=2.9.0, <=2.10.3
-PyYAML>=5.3.1, <=6.0.1
-ml_dtypes   # provides several NumPy dtype extensions, including the bf16
\ No newline at end of file
+PyYAML>=5.4, <=6.0.1
+ml_dtypes   # provides several NumPy dtype extensions, including the bf16

>From cecfa8f97af0a950dcb0db10c1bde33848ea08f3 Mon Sep 17 00:00:00 2001
From: Nhat Nguyen <hoangnhat2911 at gmail.com>
Date: Tue, 6 Aug 2024 12:56:36 -0400
Subject: [PATCH 2/3] Update ml_dtypes dep

---
 mlir/python/requirements.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mlir/python/requirements.txt b/mlir/python/requirements.txt
index 4d86dd2134e8e0..39a24ccef8ec90 100644
--- a/mlir/python/requirements.txt
+++ b/mlir/python/requirements.txt
@@ -1,4 +1,4 @@
 numpy>=1.19.5, <=1.26
 pybind11>=2.9.0, <=2.10.3
-PyYAML>=5.4, <=6.0.1
-ml_dtypes   # provides several NumPy dtype extensions, including the bf16
+PyYAML>=5.4.0, <=6.0.1
+ml_dtypes>=0.4.0   # provides several NumPy dtype extensions, including the bf16

>From 09f00454bc8b588efdc431a112921937f51b8d21 Mon Sep 17 00:00:00 2001
From: Nhat Nguyen <hoangnhat2911 at gmail.com>
Date: Tue, 6 Aug 2024 13:27:52 -0400
Subject: [PATCH 3/3] Update ml_dtypes dep

---
 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 39a24ccef8ec90..222c7bc68c1950 100644
--- a/mlir/python/requirements.txt
+++ b/mlir/python/requirements.txt
@@ -1,4 +1,4 @@
 numpy>=1.19.5, <=1.26
 pybind11>=2.9.0, <=2.10.3
 PyYAML>=5.4.0, <=6.0.1
-ml_dtypes>=0.4.0   # provides several NumPy dtype extensions, including the bf16
+ml_dtypes<=0.4.0   # provides several NumPy dtype extensions, including the bf16



More information about the Mlir-commits mailing list