Skip to content

Commit 8d62a76

Browse files
committed
Install filecheck>=1.0.0 for python_version >= 3.10
Signed-off-by: Pavel Chekin <[email protected]>
1 parent 2489ff1 commit 8d62a76

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/requirements-test.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Keep in sync with extra_require.tests from setup.py
2-
filecheck>=1.0.0
2+
filecheck>=1.0.0; python_version >= '3.10'
3+
filecheck; python_version < '3.10'
34
lit
45
numpy
56
pytest

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,8 @@ def get_git_version_suffix():
804804
description="A language and compiler for custom Deep Learning operations",
805805
long_description="",
806806
install_requires=[
807-
"filecheck>=1.0.0",
807+
"filecheck>=1.0.0; python_version >= '3.10'",
808+
"filecheck; python_version < '3.10'",
808809
"setuptools>=78.1.0",
809810
"importlib-metadata; python_version < '3.10'",
810811
],

0 commit comments

Comments
 (0)