Skip to content

Commit

Permalink
uv pip install --system
Browse files Browse the repository at this point in the history
  • Loading branch information
shimizukawa committed Jun 16, 2024
1 parent 6a47635 commit e315f55
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/on_create_command.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# setup

pip install -U uv
uv pip install -r dev-requires.txt
curl -LsSf https://astral.sh/uv/install.sh | sh
uv pip install --system -r dev-requires.txt
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Install dependencies
run: |
pip install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
uv pip install -U setuptools_scm build twine
- name: Build package
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-examples-proj1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
- name: Install dependencies
working-directory: examples/proj1
run: |
pip install uv
uv pip install -r requirements.txt
uv pip install psycopg2-binary
curl -LsSf https://astral.sh/uv/install.sh | sh
uv pip install --system -r requirements.txt
uv pip install --system psycopg2-binary
- name: tests
working-directory: examples/proj1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade tox-uv tox-gh-actions
curl -LsSf https://astral.sh/uv/install.sh | sh
uv pip install --system --upgrade tox-uv tox-gh-actions
- name: Tox tests
run: |
Expand Down

0 comments on commit e315f55

Please sign in to comment.