From ee5d3853437d55cfe4f15d37a85a6e378f0a06a3 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Tue, 29 Jan 2019 15:17:16 -0600 Subject: [PATCH] Block installation of requests-toolbelt 0.9.0 This release of requests-toolbelt expects pyOpenSSL to be installed for urllib3, but does not have it in its default requirements. This is being tracked in [0], so should be fixed post 0.9.0. For now, block the use of the 0.9.0 version. [0] https://github.com/requests/toolbelt/compare/0.8.0...0.9.0 Change-Id: I06445adaaeecf244f6482b6db26db58a09426489 Signed-off-by: Sean McGinnis --- roles/ensure-twine/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ensure-twine/tasks/main.yaml b/roles/ensure-twine/tasks/main.yaml index c7c2832b2..8d966908d 100644 --- a/roles/ensure-twine/tasks/main.yaml +++ b/roles/ensure-twine/tasks/main.yaml @@ -11,7 +11,7 @@ - name: Ensure twine is installed block: - name: Ensure twine is installed - command: "{{ twine_python }} -m pip install twine!=1.12.0 readme_renderer[md]!=23.0 --user" + command: "{{ twine_python }} -m pip install twine!=1.12.0 readme_renderer[md]!=23.0 requests-toolbelt!=0.9.0 --user" - name: Set pypi_twine_executable set_fact: