File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 2929# configuration has its python sgtk/tank module imported directly, it will associate
3030# itself with the primary config rather than with the config where the code is located.
3131
32+ import inspect
3233import os
3334import sys
3435import uuid
35- import inspect
36+ import warnings
3637
3738if sys .version_info < (3 , 7 ):
3839 raise Exception ("This module requires Python version 3.7 or higher." )
40+ elif sys .version_info < (3 , 9 ):
41+ warnings .warn (
42+ "Python versions older than 3.9 are no longer supported since 2025-03 "
43+ "and compatibility will be removed at any time after 2026-01. "
44+ "Please update to Python 3.9 or a newer supported version." ,
45+ DeprecationWarning ,
46+ stacklevel = 2
47+ )
48+
3949
4050def __fix_tank_vendor ():
4151 # Older versions of Flow Production Tracking left copies of tank_vendor in sys.modules,
You can’t perform that action at this time.
0 commit comments