From 1ef2eeb4560e810ff3db80e2625ab0643a1b8f3b Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 28 Apr 2025 07:07:59 +0200 Subject: [PATCH 1/3] chore(ci): reenable htx online tests through proxy --- tests/exchange_online/conftest.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/exchange_online/conftest.py b/tests/exchange_online/conftest.py index 2edc8b322..ba55bfb1d 100644 --- a/tests/exchange_online/conftest.py +++ b/tests/exchange_online/conftest.py @@ -408,14 +408,14 @@ EXCHANGES = { "candle_count": 200, "orderbook_max_entries": 50, }, - # TODO: verify why htx is not working in CI. - # "htx": { - # "pair": "ETH/BTC", - # "stake_currency": "BTC", - # "hasQuoteVolume": True, - # "timeframe": "1h", - # "candle_count": 1000, - # }, + "htx": { + "pair": "ETH/BTC", + "use_ci_proxy": True, + "stake_currency": "BTC", + "hasQuoteVolume": True, + "timeframe": "1h", + "candle_count": 1000, + }, "bitvavo": { "pair": "BTC/EUR", "stake_currency": "EUR", From 5954c64cc3b31655e237da51fb856639698074cb Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 1 May 2025 08:55:35 +0200 Subject: [PATCH 2/3] chore: use ubuntu 24.04 for online tests --- .github/workflows/ci.yml | 2 +- tests/exchange_online/conftest.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e12fa283..a3a8e79dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -434,7 +434,7 @@ jobs: build-linux-online: # Run pytest with "live" checks - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: diff --git a/tests/exchange_online/conftest.py b/tests/exchange_online/conftest.py index ba55bfb1d..f7cf49aa4 100644 --- a/tests/exchange_online/conftest.py +++ b/tests/exchange_online/conftest.py @@ -410,7 +410,6 @@ EXCHANGES = { }, "htx": { "pair": "ETH/BTC", - "use_ci_proxy": True, "stake_currency": "BTC", "hasQuoteVolume": True, "timeframe": "1h", From e27568a9d8e1a333d1bd01528efa6e92ced803b9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 1 May 2025 16:22:47 +0200 Subject: [PATCH 3/3] chore: pin certifi until upstream issue is fixed problematic point: https://github.com/certifi/python-certifi/issues/349 --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index d69189213..62aa2a80a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,6 +15,7 @@ humanize==4.12.2 cachetools==5.5.2 requests==2.32.3 urllib3==2.4.0 +certifi==2025.01.31 jsonschema==4.23.0 TA-Lib==0.4.38 technical==1.5.0