From a2ded0d7b7ce2e2d94b41f9d0d70bbc173b0494c Mon Sep 17 00:00:00 2001 From: matham Date: Sun, 29 Dec 2019 14:02:59 -0500 Subject: [PATCH] Latest twine doesn't support py3.5 [build wheel] --- .ci/ubuntu_ci.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.ci/ubuntu_ci.sh b/.ci/ubuntu_ci.sh index 0203b7c49..5e4038789 100644 --- a/.ci/ubuntu_ci.sh +++ b/.ci/ubuntu_ci.sh @@ -30,7 +30,12 @@ install_kivy_test_run_pip_deps() { "from kivy.tools.packaging.cython_cfg import get_cython_versions; print(get_cython_versions()[0])" \ --config "kivy:log_level:error" ) - python3 -m pip install -I "$CYTHON_INSTALL" coveralls twine + python3 -m pip install -I "$CYTHON_INSTALL" coveralls + if [ $(python3 -c 'import sys; print("{}{}".format(*sys.version_info))') -le "35" ]; then + python3 -m pip install twine~=1.15.0 + else + python3 -m pip install twine + fi } install_kivy_test_wheel_run_pip_deps() {