Skip to content

Commit 1054966

Browse files
committed
Move release dependencies to pyproject.toml
1 parent 1cc5ea0 commit 1054966

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ jobs:
7777
run: |
7878
git fetch --tags
7979
git checkout ${{ steps.tag_version.outputs.new_tag }}
80-
uv run pip install build check-wheel-contents
81-
uv run python -m build --sdist --wheel --outdir dist/ .
80+
uv run --extra=release python -m build --sdist --wheel --outdir dist/ .
8281
uv run check-wheel-contents dist/*.whl
8382
8483
# We use PyPI trusted publishing rather than a PyPI API token.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ optional-dependencies.dev = [
7777
"vws-test-fixtures==2023.3.5",
7878
]
7979
urls.Documentation = "https://vws-python.readthedocs.io/en/latest/"
80+
optional-dependencies.release = ["build", "check-wheel-contents"]
8081
urls.Source = "https://github.com/VWS-Python/vws-python"
8182

8283
[tool.setuptools]

0 commit comments

Comments
 (0)