mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
chore: update conditional check for python version
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
__main__.py for Freqtrade
|
__main__.py for Freqtrade
|
||||||
To launch Freqtrade as a module
|
To launch Freqtrade as a module
|
||||||
|
|
||||||
> python -m freqtrade (with Python >= 3.9)
|
> python -m freqtrade (with Python >= 3.10)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from freqtrade import main
|
from freqtrade import main
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ from typing import Any, List, Optional
|
|||||||
|
|
||||||
|
|
||||||
# check min. python version
|
# check min. python version
|
||||||
if sys.version_info < (3, 9): # pragma: no cover
|
if sys.version_info < (3, 10): # pragma: no cover
|
||||||
sys.exit("Freqtrade requires Python version >= 3.9")
|
sys.exit("Freqtrade requires Python version >= 3.10")
|
||||||
|
|
||||||
from freqtrade import __version__
|
from freqtrade import __version__
|
||||||
from freqtrade.commands import Arguments
|
from freqtrade.commands import Arguments
|
||||||
|
|||||||
Reference in New Issue
Block a user