From 16536f6746c343d7bebb6cdde03af70094bf41be Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Thu, 23 Jan 2025 06:21:54 +0000 Subject: [PATCH] Block twine 6.1.0, breaking ``test-release-openstack`` CI job As reported in [1], this new version is breaking the job ``test-release-openstack`` in any project of OpenStack, as seen in Zuul, since the day of the release of this new version [2]. [1]https://github.com/pypa/twine/issues/1218 [2]https://pypi.org/project/twine/#history Closes-Bug: #2095514 Change-Id: I44dc233d66be14819dabe32349b7bed3fa23aef4 --- 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 380f1ef53..2c5bc6f84 100644 --- a/roles/ensure-twine/tasks/main.yaml +++ b/roles/ensure-twine/tasks/main.yaml @@ -15,7 +15,7 @@ when: register_twine.rc != 0 block: - name: Ensure twine is installed - command: "{{ twine_python }} -m pip install twine!=1.12.0 requests-toolbelt!=0.9.0 --user" + command: "{{ twine_python }} -m pip install twine!=1.12.0,!=6.1.0 requests-toolbelt!=0.9.0 --user" - name: Set pypi_twine_executable set_fact: