From dc7b8ac7babf5443c447498dffe6d78636e137ee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Jan 2023 03:01:13 +0000 Subject: [PATCH 1/2] Bump ccxt from 2.6.6 to 2.6.24 Bumps [ccxt](https://github.com/ccxt/ccxt) from 2.6.6 to 2.6.24. - [Release notes](https://github.com/ccxt/ccxt/releases) - [Changelog](https://github.com/ccxt/ccxt/blob/master/exchanges.cfg) - [Commits](https://github.com/ccxt/ccxt/compare/2.6.6...2.6.24) --- updated-dependencies: - dependency-name: ccxt dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5a6931507..d9815347d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ numpy==1.24.1 pandas==1.5.2 pandas-ta==0.3.14b -ccxt==2.6.6 +ccxt==2.6.24 # Pin cryptography for now due to rust build errors with piwheels cryptography==38.0.1; platform_machine == 'armv7l' cryptography==38.0.4; platform_machine != 'armv7l' From 0296061e49e0e788dbc87bbcc3ebd64747fcc7b7 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 16 Jan 2023 06:54:29 +0100 Subject: [PATCH 2/2] Fix version comparison to use packaging.version --- freqtrade/util/binance_mig.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/freqtrade/util/binance_mig.py b/freqtrade/util/binance_mig.py index cba02ac9f..baa61c2cb 100644 --- a/freqtrade/util/binance_mig.py +++ b/freqtrade/util/binance_mig.py @@ -1,5 +1,7 @@ import logging +from packaging import version + from freqtrade.constants import Config from freqtrade.enums.tradingmode import TradingMode from freqtrade.exceptions import OperationalException @@ -19,7 +21,7 @@ def migrate_binance_futures_names(config: Config): # only act on new futures return import ccxt - if "2.6.6" > ccxt.__version__: + if version.parse("2.6.6") > version.parse(ccxt.__version__): raise OperationalException( "Please follow the update instructions in the docs " "(https://www.freqtrade.io/en/latest/updating/) to install a compatible ccxt version.")