Explicitly install decorator 4.4.2 as httpbin dependency

The latest version doesn't work with Python 2 any more and installing it
breaks Travis CI builds still using Python 2.
This commit is contained in:
Vadim Zeitlin
2021-04-03 19:41:55 +02:00
parent 6aac8fcf1f
commit b78508615a

View File

@@ -30,7 +30,9 @@ launch_httpbin() {
;; ;;
esac esac
pip install httpbin --user $pip_args # decorator 5+ is incompatible with Python 2 which we still use under in
# some builds, so explicitly select version 4.4 which is known to work.
pip install decorator==4.4.2 httpbin --user $pip_args
python -m httpbin.core & python -m httpbin.core &
WX_TEST_WEBREQUEST_URL="http://localhost:5000" WX_TEST_WEBREQUEST_URL="http://localhost:5000"