Skip to content

Commit 67a7c5d

Browse files
Add packaging group; fix dev group; fix python-packaging workflow call
The packaging dependency group was missing entirely. The dev group was missing packaging and wheels. The python-packaging workflow was being called with working-directory (a job-level key, silently ignored in workflow_call) instead of the correct pyproject-directory input. Remove wheels from dev dependency group Update uv.lock
1 parent fa4555d commit 67a7c5d

3 files changed

Lines changed: 306 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313

1414
packaging:
1515
name: Python packaging
16-
uses: tskit-dev/.github/.github/workflows/python-packaging.yml@v4
16+
uses: tskit-dev/.github/.github/workflows/python-packaging.yml@main
1717
with:
18-
working-directory: python
18+
pyproject-directory: python
1919
cli-test-cmd: tskit --help
2020

2121
test-c:

python/pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ wheels = [
9999
"cibuildwheel",
100100
]
101101

102+
packaging = [
103+
"twine",
104+
"validate-pyproject[all]",
105+
]
106+
102107
# Fully pin lint requirements for determinism.
103108
lint = [
104109
"clang-format==21.1.8",
@@ -110,6 +115,7 @@ dev = [
110115
{include-group = "docs"},
111116
{include-group = "lint"},
112117
{include-group = "test"},
118+
{include-group = "packaging"},
113119
]
114120

115121
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)