Skip to content

Commit f799e78

Browse files
committed
Fix old python deprecation check in x.py
The warning suppression variable was not checked correctly.
1 parent 69a6373 commit f799e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
# soft deprecation of old python versions
3333
skip_check = os.environ.get("RUST_IGNORE_OLD_PYTHON") == "1"
34-
if major < 3 or (major == 3 and minor < 6):
34+
if not skip_check and (major < 3 or (major == 3 and minor < 6)):
3535
msg = cleandoc("""
3636
Using python {}.{} but >= 3.6 is recommended. Your python version
3737
should continue to work for the near future, but this will

0 commit comments

Comments
 (0)