Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] use uv to install dependencies #2204

Merged
merged 12 commits into from
Nov 26, 2024
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
Loading