Skip to content

Commit

Permalink
[DRAFT] use uv to install dependencies (#2204)
Browse files Browse the repository at this point in the history
* use uv to install dependencies

Signed-off-by: Huong Nguyen <huongg1409@gmail>

* include install uv before run it

Signed-off-by: Huong Nguyen <huongg1409@gmail>

* install uv in setup test

Signed-off-by: Huong Nguyen <huongg1409@gmail>

* combine uv and install dependencies

Signed-off-by: Huong Nguyen <huongg1409@gmail>

* try --system to install dependencies

Signed-off-by: Huong Nguyen <huongg1409@gmail>

* fix formatting

Signed-off-by: Sajid Alam <[email protected]>

* remove uv install from setup

Signed-off-by: Sajid Alam <[email protected]>

* only install node and fe dependencies if e2e tests run

Signed-off-by: Huong Nguyen <huongg1409@gmail>

* remove the condition as it will be done in a separate ticket

Signed-off-by: Huong Nguyen <huongg1409@gmail>

* Extra line at the end

Signed-off-by: Huong Nguyen <[email protected]>

---------

Signed-off-by: Huong Nguyen <huongg1409@gmail>
Signed-off-by: Sajid Alam <[email protected]>
Signed-off-by: Huong Nguyen <[email protected]>
Co-authored-by: Huong Nguyen <huongg1409@gmail>
Co-authored-by: Sajid Alam <[email protected]>
Co-authored-by: Huong Nguyen <[email protected]>
  • Loading branch information
4 people authored Nov 26, 2024
1 parent eac8d39 commit 6c6e8f1
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/actions/install_kedro_and_python_dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ description: Installs Kedro from the main branch and other Python dependencies,
runs:
using: composite
steps:
- name: Install Python dependencies
run: |-
pip install git+https://github.com/kedro-org/kedro@main
pip install -r package/test_requirements.txt -r demo-project/src/docker_requirements.txt -U
shell: bash
- name: Echo package versions
run: |-
python -V
pip freeze
shell: bash
- name: Install `uv`
run: |
python -m pip install "uv==0.5.4"
shell: bash
- name: Install Python dependencies
run: |-
uv pip install --system git+https://github.com/kedro-org/kedro@main
uv pip install --system -r package/test_requirements.txt -r demo-project/src/docker_requirements.txt -U
shell: bash
- name: Echo package versions
run: |-
python -V
pip freeze
shell: bash

0 comments on commit 6c6e8f1

Please sign in to comment.