Skip to content

[MLGO] Remove python-38 flag from tests #96961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# REQUIRES: python-38, system-linux
# REQUIRES: system-linux

## Testing that the combine_trainig_corpus script works as expected when
## invoked.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# REQUIRES: python-38, system-linux
# REQUIRES: system-linux

## Test the functionality of combine_training_corpus_lib

Expand Down
2 changes: 1 addition & 1 deletion llvm/utils/mlgo-utils/tests/corpus/extract_ir_script.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# REQUIRES: python-38, system-linux
# REQUIRES: system-linux

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

Expand Down
2 changes: 1 addition & 1 deletion llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# REQUIRES: python-38, system-linux
# REQUIRES: system-linux

## Test the functionality of extract_ir_lib

Expand Down
2 changes: 1 addition & 1 deletion llvm/utils/mlgo-utils/tests/corpus/make_corpus_script.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# REQUIRES: python-38, system-linux
# REQUIRES: system-linux

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

Expand Down
2 changes: 1 addition & 1 deletion llvm/utils/mlgo-utils/tests/corpus/make_corpus_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# REQUIRES: python-38, system-linux
# REQUIRES: system-linux

## Test the functionality of make_corpus_lib

Expand Down
5 changes: 0 additions & 5 deletions llvm/utils/mlgo-utils/tests/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import sys

# TODO(boomanaiden154): Remove this flag once the minimum Python version for
# the entire project has been bumped to 3.8.
if sys.version_info > (3,8):
config.available_features.add("python-38")

# TODO(boomanaiden154): Remove this flag once we enable type checking in the
# precommit CI.
try:
Expand Down
Loading