This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new b7a3a16013 Install twine with --force for package verification (#30683)
b7a3a16013 is described below
commit b7a3a16013aa4a9210cc8985f53775407e288dd0
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Apr 17 19:03:23 2023 +0200
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 5cff0259e3..af714083ed 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: >