Skip to content

Commit 43a0714

Browse files
author
Martin Møldrup
committed
Update to use uv instead of poetry for managing environment
1 parent 8fbf140 commit 43a0714

File tree

5 files changed

+1684
-1868
lines changed

5 files changed

+1684
-1868
lines changed

.github/workflows/release.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
env:
1212
PACKAGE_NAME: "snappylapy"
13-
POETRY_VERSION: 2.0.0
13+
UV_VERSION: 0.7.7
1414

1515
jobs:
1616
details:
@@ -76,21 +76,20 @@ jobs:
7676
with:
7777
python-version: "3.12"
7878

79-
- name: Install Poetry
79+
- name: Install UV
8080
run: |
81-
curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }}
82-
echo "$HOME/.local/bin" >> $GITHUB_PATH
81+
curl -LsSf "https://astral.sh/uv/${{ env.UV_VERSION }}/install.sh" | sh
8382
84-
- name: Set project version with Poetry
85-
run: |
86-
poetry version ${{ needs.details.outputs.new_version }}
83+
# - name: Set project version with Poetry
84+
# run: |
85+
# poetry version ${{ needs.details.outputs.new_version }}
8786

88-
- name: Install dependencies
89-
run: poetry install --sync --no-interaction
87+
# - name: Install dependencies
88+
# run: poetry install --sync --no-interaction
9089

9190
- name: Build source and wheel distribution
9291
run: |
93-
poetry build
92+
uv build
9493
9594
- name: Upload artifacts
9695
uses: actions/upload-artifact@v4

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.9

0 commit comments

Comments
 (0)