Skip to content

Commit

Permalink
Revert "CI and Sandbox: Temporarily remove use of uv"
Browse files Browse the repository at this point in the history
This reverts commit 76e6494.
  • Loading branch information
amotl committed Dec 5, 2024
1 parent 6c6409a commit 4669afa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,13 @@ jobs:
requirements.txt
requirements-dev.txt
- name: Set up uv
uses: astral-sh/setup-uv@v4

- name: Set up project
run: |
# Install runtime and development requirements.
pip install --upgrade -r requirements.txt -r requirements-dev.txt
uv pip install --system --upgrade -r requirements.txt -r requirements-dev.txt
- name: Run linter and software tests
run: |
Expand Down
10 changes: 7 additions & 3 deletions DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ docker run --rm -it --name=cratedb \
--env=CRATE_HEAP_SIZE=2g crate:latest -Cdiscovery.type=single-node
```

Install Python package and project manager [uv].
```shell
{apt,brew,pip,zypper} install uv
```

Set up Python environment and install requirements.
```shell
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade -r requirements.txt -r requirements-dev.txt
uv venv --python=python3.12
uv pip install --upgrade -r requirements.txt -r requirements-dev.txt
```

Invoke linters and software tests.
Expand Down

0 comments on commit 4669afa

Please sign in to comment.