Skip to content

Commit 7bf01c1

Browse files
authored
Merge pull request #110 from browniebroke/packaging/uv
Migrate to uv for packaging
2 parents d58604f + 2a0bf81 commit 7bf01c1

File tree

4 files changed

+605
-6
lines changed

4 files changed

+605
-6
lines changed

.github/workflows/release.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ jobs:
1818
uses: actions/setup-python@v5
1919
with:
2020
python-version: "3.x"
21-
- name: Install pypa/build
22-
run:
23-
python3 -m pip install build --user
21+
- uses: astral-sh/setup-uv@v5
2422
- name: Build a binary wheel and a source tarball
25-
run: python3 -m build
23+
run: uv build
2624
- name: Store the distribution packages
2725
uses: actions/upload-artifact@v4
2826
with:

.github/workflows/test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
- uses: actions/setup-python@v5
3535
with:
3636
python-version: ${{ matrix.python-version }}
37-
- run: python -m pip install tox
37+
- uses: astral-sh/setup-uv@v5
38+
- run: uv pip install --system tox tox-uv
3839
- run: tox -f py$(echo ${{ matrix.python-version }} | tr -d .)
3940
- uses: codecov/codecov-action@v4
4041
with:

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencies = [
3333
"openpyxl>=2.4",
3434
]
3535

36-
[project.optional-dependencies]
36+
[dependency-groups]
3737
dev = [
3838
"django-coverage-plugin",
3939
"ipython",

0 commit comments

Comments
 (0)