From ef5d414360daecefb723af985a779206a2ec0d77 Mon Sep 17 00:00:00 2001 From: Sajid Alam Date: Mon, 25 Nov 2024 12:40:02 +0000 Subject: [PATCH] revert Signed-off-by: Sajid Alam --- .../action.yml | 13 +++++++++++++ .github/actions/setup_tests/action.yml | 8 +------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/actions/install_kedro_and_python_dependencies/action.yml b/.github/actions/install_kedro_and_python_dependencies/action.yml index 8f5eb6de5c..552d5dd3fd 100644 --- a/.github/actions/install_kedro_and_python_dependencies/action.yml +++ b/.github/actions/install_kedro_and_python_dependencies/action.yml @@ -6,8 +6,21 @@ runs: - name: Install `uv` run: | python -m pip install "uv==0.5.4" + shell: bash + + - name: Install uv dependencies + run: | + uv pip install --system requests + shell: bash + + - name: Install Python dependencies + run: |- uv pip install git+https://github.com/kedro-org/kedro@main uv pip install -r package/test_requirements.txt -r demo-project/src/docker_requirements.txt -U + shell: bash + + - name: Echo package versions + run: |- uv python -V uv pip freeze shell: bash diff --git a/.github/actions/setup_tests/action.yml b/.github/actions/setup_tests/action.yml index 37dfb700ab..4de29e785a 100644 --- a/.github/actions/setup_tests/action.yml +++ b/.github/actions/setup_tests/action.yml @@ -34,13 +34,7 @@ runs: key: ${{inputs.os}}-python-${{inputs.python-version}} - name: Install Kedro and other Python Dependencies - run: | - python -m pip install "uv==0.5.4" - uv pip install git+https://github.com/kedro-org/kedro@main - uv pip install -r package/test_requirements.txt -r demo-project/src/docker_requirements.txt -U - uv python -V - uv pip freeze - shell: bash + uses: "./.github/actions/install_kedro_and_python_dependencies" - name: Setup Node.js and Install Dependencies uses: "./.github/actions/install_node_dependencies"