Skip to content

Commit 60b8fe7

Browse files
committed
Move from Poetry to uv
1 parent fb91b81 commit 60b8fe7

File tree

6 files changed

+606
-689
lines changed

6 files changed

+606
-689
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ jobs:
1111
- uses: actions/setup-python@v5
1212
with:
1313
python-version: ${{ matrix.python-version }}
14-
- run: pip install --upgrade pip poetry
15-
- run: poetry install
16-
- run: poetry run make check-test
14+
- run: pip install --upgrade pip uv
15+
- run: uv sync
16+
- run: uv run make check-test
1717
check-dev:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
2121
- uses: actions/setup-python@v5
2222
with:
2323
python-version: '3.12'
24-
- run: pip install --upgrade pip poetry
25-
- run: poetry install
26-
- run: poetry run make check-lint
27-
- run: poetry run make check-format
28-
- run: poetry run poetry build
24+
- run: pip install --upgrade pip uv
25+
- run: uv sync
26+
- run: uv run make check-lint
27+
- run: uv run make check-format
28+
- run: uv build

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
- uses: actions/setup-python@v5
1212
with:
1313
python-version: '3.12'
14-
- run: pip install --upgrade pip poetry
15-
- run: poetry build
14+
- run: pip install --upgrade pip uv
15+
- run: uv build
1616
- uses: ncipollo/release-action@v1
1717
with:
1818
artifacts: "dist/*"
1919
token: ${{ secrets.GITHUB_TOKEN }}
2020
- name: Publish to PyPI
2121
env:
2222
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
23-
run: poetry publish
23+
run: uv publish

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ $ discolinks --url https://example.net
2626
## Development
2727

2828
```bash
29-
... # Activate virtualenv.
30-
poetry install
29+
... # Activate a virtualenv.
30+
uv sync
3131
make check
3232
```
3333

0 commit comments

Comments
 (0)