From f07b271524d71c18b03fdffbf70440ee88264059 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Tue, 8 Oct 2024 02:55:15 +0100 Subject: [PATCH 1/2] Use uv instead of 'build' for building --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bdca6c4..25de8e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,8 +77,8 @@ jobs: run: | git fetch --tags git checkout ${{ steps.tag_version.outputs.new_tag }} - uv run --extra=release python -m build --sdist --wheel --outdir dist/ . - uv run check-wheel-contents dist/*.whl + uv build --sdist --wheel --out-dir dist/ + uv run --extra=release check-wheel-contents dist/*.whl # We use PyPI trusted publishing rather than a PyPI API token. # See https://github.com/pypa/gh-action-pypi-publish/tree/release/v1/?tab=readme-ov-file#trusted-publishing. From f2be88cb9dbd12be236b35ca53e7611783cbffb2 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Tue, 8 Oct 2024 02:56:41 +0100 Subject: [PATCH 2/2] Use uv instead of 'build' for building --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a06258a..b3025c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,7 +71,7 @@ optional-dependencies.dev = [ ] optional-dependencies.packaging = [ ] -optional-dependencies.release = [ "build==1.2.2.post1", "check-wheel-contents==0.6.0" ] +optional-dependencies.release = [ "check-wheel-contents==0.6.0" ] urls.Source = "https://github.com/VWS-Python/vws-test-fixtures" entry-points.pytest11.vws_test_fixtures = "vws_test_fixtures.plugin"