Skip to content

Commit d3ca779

Browse files
[MLGO] Remove python-38 flag from tests (#96961)
Previously, we had a python-38 flag for the mlgo-utils tests as they needed a python version higher than what LLVM required by default due to type annotations. Now that LLVM's default Python version minimum is 3.8, we can remove this flag.
1 parent ecfbb85 commit d3ca779

File tree

7 files changed

+6
-11
lines changed

7 files changed

+6
-11
lines changed

llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_script.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: python-38, system-linux
1+
# REQUIRES: system-linux
22

33
## Testing that the combine_trainig_corpus script works as expected when
44
## invoked.

llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: python-38, system-linux
1+
# REQUIRES: system-linux
22

33
## Test the functionality of combine_training_corpus_lib
44

llvm/utils/mlgo-utils/tests/corpus/extract_ir_script.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: python-38, system-linux
1+
# REQUIRES: system-linux
22

33
## Test that invoking the extract_ir script work as expected.
44

llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: python-38, system-linux
1+
# REQUIRES: system-linux
22

33
## Test the functionality of extract_ir_lib
44

llvm/utils/mlgo-utils/tests/corpus/make_corpus_script.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: python-38, system-linux
1+
# REQUIRES: system-linux
22

33
## Testing that the make_corpus script works as expected when invoked.
44

llvm/utils/mlgo-utils/tests/corpus/make_corpus_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: python-38, system-linux
1+
# REQUIRES: system-linux
22

33
## Test the functionality of make_corpus_lib
44

llvm/utils/mlgo-utils/tests/lit.local.cfg

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import sys
22

3-
# TODO(boomanaiden154): Remove this flag once the minimum Python version for
4-
# the entire project has been bumped to 3.8.
5-
if sys.version_info > (3,8):
6-
config.available_features.add("python-38")
7-
83
# TODO(boomanaiden154): Remove this flag once we enable type checking in the
94
# precommit CI.
105
try:

0 commit comments

Comments
 (0)