From 996469115b12063295926a8c7fdad4e3893a49c0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 3 Apr 2021 23:42:54 +0200 Subject: [PATCH] Fix httpbin installation with Python 2 for GitHub CI too This is the same as b78508615a (Explicitly install decorator 4.4.2 as httpbin dependency, 2021-04-03) for Travis CI. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56cfe50478..b5ad24e7bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -190,7 +190,10 @@ jobs: working-directory: tests run: | echo "Launching httpbin" - pip install httpbin + # Current decorator (>= 5) is incompatible with Python 2 which we + # still use under in some builds, so explicitly use a version which + # is known to work. + pip install decorator==4.4.2 httpbin python -m httpbin.core 2>&1 >httpbin.log & export WX_TEST_WEBREQUEST_URL=http://localhost:5000