[Mlir-commits] [mlir] [mlir] Remove ``dataclasses`` package from mlir ``requirements.txt`` (PR #87223)

Kirill Podoprigora llvmlistbot at llvm.org
Mon Apr 1 01:36:45 PDT 2024


https://github.com/Eclips4 created https://github.com/llvm/llvm-project/pull/87223

The ``dataclasses`` package makes sense for Python 3.6, becauses ``dataclasses`` is only included in the standard library with 3.7 version. Now, 3.6 has reached EOL, so all current supported versions of Python (3.8, 3.9, 3.10, 3.11, 3.12) have this feature in their standard libraries.

Therefore there's no need to install the ``dataclasses`` package now.

>From 2a72442c0202735d1deb9fc75b995fb295eab99a Mon Sep 17 00:00:00 2001
From: Kirill Podoprigora <kirill.bast9 at mail.ru>
Date: Mon, 1 Apr 2024 11:20:04 +0300
Subject: [PATCH] Remove dataclasses package from requirements.txt

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

diff --git a/mlir/python/requirements.txt b/mlir/python/requirements.txt
index a596f8747ebe76..acd6dbb25edaf5 100644
--- a/mlir/python/requirements.txt
+++ b/mlir/python/requirements.txt
@@ -1,4 +1,3 @@
 numpy>=1.19.5, <=1.26
 pybind11>=2.9.0, <=2.10.3
-PyYAML>=5.3.1, <=6.0.1
-dataclasses>=0.6, <=0.8
\ No newline at end of file
+PyYAML>=5.3.1, <=6.0.1
\ No newline at end of file



More information about the Mlir-commits mailing list