[Mlir-commits] [mlir] [mlir] Remove ``dataclasses`` package from mlir ``requirements.txt`` (PR #87223)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Apr 1 01:37:30 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Kirill Podoprigora (Eclips4)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/87223.diff
1 Files Affected:
- (modified) mlir/python/requirements.txt (+1-2)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/87223
More information about the Mlir-commits
mailing list