File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
# 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
3
lit
4
4
numpy
5
5
pytest
Original file line number Diff line number Diff line change @@ -275,8 +275,12 @@ run_minicore_tests() {
275
275
cd $TRITON_PROJ /python/test/unit
276
276
ensure_spirv_dis
277
277
278
+ # Ignore language/test_frontend.py when Python < 3.10.
279
+ # The test requires Python package filecheck which is not available for Python < 3.10.
280
+ # https://github.com/intel/intel-xpu-backend-for-triton/issues/4443
278
281
TRITON_DISABLE_LINE_INFO=1 TRITON_TEST_SUITE=language \
279
282
run_pytest_command -vvv -n ${PYTEST_MAX_PROCESSES:- 8} --device xpu language/ --ignore=language/test_line_info.py --ignore=language/test_subprocess.py --ignore=language/test_warp_specialization.py \
283
+ $( python -c ' import sys; print("--ignore=language/test_frontend.py" if sys.version_info < (3, 10) else "")' ) \
280
284
-k " not test_mxfp and not test_scaled_dot"
281
285
282
286
TRITON_DISABLE_LINE_INFO=1 TRITON_TEST_SUITE=subprocess \
Original file line number Diff line number Diff line change @@ -804,7 +804,7 @@ def get_git_version_suffix():
804
804
description = "A language and compiler for custom Deep Learning operations" ,
805
805
long_description = "" ,
806
806
install_requires = [
807
- "filecheck>=1.0.0" ,
807
+ "filecheck>=1.0.0; python_version >= '3.10' " ,
808
808
"setuptools>=78.1.0" ,
809
809
"importlib-metadata; python_version < '3.10'" ,
810
810
],
You can’t perform that action at this time.
0 commit comments