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 e34b253ec2 Force install hatch in Test Open API job (#36938)
e34b253ec2 is described below

commit e34b253ec2c0b05f6943539612d50f7efcb17788
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Jan 22 07:58:37 2024 +0100

    Force install hatch in Test Open API job (#36938)
    
    The python hatch package might be installed from cache but fail to
    be available on commmand line. This PR forces hatch installation,
    whihc will also make it available as command.
---
 .github/workflows/ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 19b6d16471..518723c431 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -411,7 +411,8 @@ jobs:
       - name: Install hatch
         run: |
           python -m pip install --upgrade pipx
-          pipx install hatch
+          pipx ensurepath
+          pipx install hatch --force
       - name: Run tests
         run: hatch run run-coverage
         env:

Reply via email to