mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
warn on python 3.9,3.10
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user