From d262ef22dd161cf9935e629d588421ee1d4b5b3f Mon Sep 17 00:00:00 2001 From: John Howe <89397553+timerring@users.noreply.github.com> Date: Fri, 24 Jul 2026 10:55:42 +0800 Subject: [PATCH] Fix ImportError on CircleCI: add missing h2 dependency geetest_crack.py creates httpx.Client(http2=True) which requires the 'h2' package. On CircleCI the h2 package was not installed, causing ImportError at runtime. - Added httpx[http2] to requirements.txt (replaces bare httpx) - Updated CircleCI pip install to include httpx[http2] Co-Authored-By: Oz --- .circleci/config.yml | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 47a27a1..7c62d75 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,7 +70,7 @@ jobs: name: Install dependencies command: | python -m pip install --upgrade pip - pip install python-dotenv httpx cryptography openai + pip install python-dotenv 'httpx[http2]' cryptography openai - run: name: Run SakuraFrp signin command: | diff --git a/requirements.txt b/requirements.txt index 2f5195a..a7f9555 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,6 @@ requests 2captcha-python curl_cffi python-dotenv -httpx +httpx[http2] cryptography openai