Skip to content

Commit dcaeb36

Browse files
committed
Update pyproject.toml to refine sdist inclusion and modify GitHub Actions workflow
- Added specific files to the sdist include list in pyproject.toml to prevent unnecessary internal dev tooling from being uploaded to PyPI. - Removed the lockfile validation step from the GitHub Actions test workflow to streamline the CI process. These changes enhance package management and optimize the CI workflow.
1 parent 801efdd commit dcaeb36

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ jobs:
2626
run: |
2727
uv sync --all-extras
2828
29-
- name: Validate lockfile
30-
run: |
31-
uv lock --locked
32-
3329
- name: Run Tests
3430
run: |
3531
uv run pytest tests/ -v

‎pyproject.toml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,21 @@ build-backend = "hatchling.build"
7373
[tool.hatch.build.targets.wheel]
7474
packages = ["robosystems_client"]
7575

76+
# Keep internal dev tooling out of the sdist uploaded to PyPI. Hatchling
77+
# defaults to "everything not in .gitignore", which would drag along
78+
# `.claude/`, `.vscode/`, `.githooks/`, and other repo-local config. The
79+
# wheel target above is unaffected — it only includes the package dir.
80+
[tool.hatch.build.targets.sdist]
81+
include = [
82+
"/robosystems_client",
83+
"/tests",
84+
"/README.md",
85+
"/LICENSE",
86+
"/pyproject.toml",
87+
"/pytest.ini",
88+
"/ruff.toml",
89+
]
90+
7691
[tool.basedpyright]
7792
include = ["robosystems_client/extensions"]
7893
exclude = ["robosystems_client/extensions/tests"]

0 commit comments

Comments
 (0)