From b7a3a16013aa4a9210cc8985f53775407e288dd0 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Mon, 17 Apr 2023 19:03:23 +0200 Subject: [PATCH] Install twine with --force for package verification (#30683) In some cases when the machine has been reused across builds, pipx installed twine might seem both installed and removed (this happens when builds are cancelled while installing twine. Installing twine with --force should fix the problem. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5cff0259e32ae..af714083edcb7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -735,10 +735,10 @@ jobs: - name: "Prepare airflow package: ${{matrix.package-format}}" run: breeze release-management prepare-airflow-package --version-suffix-for-pypi dev0 - name: "Verify wheel packages with twine" - run: pipx install twine && twine check dist/*.whl + run: pipx install twine --force && twine check dist/*.whl if: matrix.package-format == 'wheel' - name: "Verify sdist packages with twine" - run: pipx install twine && twine check dist/*.tar.gz + run: pipx install twine --force && twine check dist/*.tar.gz if: matrix.package-format == 'sdist' - name: "Test providers issue generation automatically" run: >