Skip to content

Commit 3778bdf

Browse files
authored
[Fortran/gfortran] Add minimum python version (#194)
1 parent 6e9e585 commit 3778bdf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Fortran/gfortran/utils/update-test-config.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
import re
2222
import shutil
2323
import yaml
24+
import sys
25+
26+
if (sys.version_info.major, sys.version_info.minor) < (3, 10):
27+
print("Error: Python version 3.10 or later is required.")
28+
sys.exit(1)
2429

2530
# Class representing a single test. The fields of the test should be those that
2631
# are eventually serialized into the test configuration. The configuration will

0 commit comments

Comments
 (0)