warn on python 3.9,3.10

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-10-24 14:19:23 -04:00
parent d18c040435
commit f933e30ec5
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -21,6 +21,8 @@
- **Quantization**
- improved SDNQ SVD and low-bit matmul performance
- **Other**
- change default schedulers for sdxl
- warn on `python==3.9` end-of-life and `python==3.10` not actively supported
- **scheduler** add base and max shift parameters for flow-matching samplers
- enhance `--optional` flag to pre-install optional packages
- add `[lora]` to recognized filename patterns
+3 -1
View File
@@ -589,8 +589,10 @@ def check_python(supported_minors=[], experimental_minors=[], reason=None):
sys.exit(1)
if int(sys.version_info.minor) == 12:
os.environ.setdefault('SETUPTOOLS_USE_DISTUTILS', 'local') # hack for python 3.11 setuptools
if int(sys.version_info.minor) == 10:
log.warning(f"Python: version={platform.python_version()} is not actively supported")
if int(sys.version_info.minor) == 9:
log.warning("Python 3.9 support is scheduled to be removed")
log.warning(f"Python: version={platform.python_version()} is end-of-life")
if not args.skip_git:
git_cmd = os.environ.get('GIT', "git")
if shutil.which(git_cmd) is None: