From e1f26aeb4e9016888e70f06baa51d69ecd6f8aba Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 4 Jul 2025 08:48:29 +0200 Subject: [PATCH] chore!: drop support for python 3.10 --- freqtrade/__main__.py | 2 +- freqtrade/main.py | 4 ++-- ft_client/pyproject.toml | 3 +-- pyproject.toml | 3 +-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/freqtrade/__main__.py b/freqtrade/__main__.py index caa26ce0a..06dc49bbf 100755 --- a/freqtrade/__main__.py +++ b/freqtrade/__main__.py @@ -3,7 +3,7 @@ __main__.py for Freqtrade To launch Freqtrade as a module -> python -m freqtrade (with Python >= 3.10) +> python -m freqtrade (with Python >= 3.11) """ from freqtrade import main diff --git a/freqtrade/main.py b/freqtrade/main.py index d4aab3468..fd142452a 100755 --- a/freqtrade/main.py +++ b/freqtrade/main.py @@ -10,8 +10,8 @@ from typing import Any # check min. python version -if sys.version_info < (3, 10): # pragma: no cover # noqa: UP036 - sys.exit("Freqtrade requires Python version >= 3.10") +if sys.version_info < (3, 11): # pragma: no cover # noqa: UP036 + sys.exit("Freqtrade requires Python version >= 3.11") from freqtrade import __version__ from freqtrade.commands import Arguments diff --git a/ft_client/pyproject.toml b/ft_client/pyproject.toml index d69dad49d..f41331b26 100644 --- a/ft_client/pyproject.toml +++ b/ft_client/pyproject.toml @@ -13,14 +13,13 @@ authors = [ description = "Freqtrade - Client scripts" readme = "README.md" -requires-python = ">=3.10" +requires-python = ">=3.11" license = {text = "GPLv3"} # license = "GPLv3" classifiers = [ "Environment :: Console", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", diff --git a/pyproject.toml b/pyproject.toml index df6048cb6..dac02870a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,13 +13,12 @@ authors = [ description = "Freqtrade - Crypto Trading Bot" readme = "README.md" -requires-python = ">=3.10" +requires-python = ">=3.11" license = {text = "GPLv3"} classifiers = [ "Environment :: Console", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13",