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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Apr 1 12:07:14 PDT 2024


Author: Kirill Podoprigora
Date: 2024-04-01T12:07:10-07:00
New Revision: 4cd7bb07c7540bf83a7a60a67aa282e99461ca2f

URL: https://github.com/llvm/llvm-project/commit/4cd7bb07c7540bf83a7a60a67aa282e99461ca2f
DIFF: https://github.com/llvm/llvm-project/commit/4cd7bb07c7540bf83a7a60a67aa282e99461ca2f.diff

LOG: [mlir] Remove ``dataclasses`` package from mlir ``requirements.txt`` (#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.

Added: 
    

Modified: 
    mlir/python/requirements.txt

Removed: 
    


################################################################################
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