Skip to content

Commit ef22c09

Browse files
authored
Fix build configuration in pyproject.toml (#605)
* update build configuration * test wheel install before publishing * update CHANGELOG * update pyproject.toml * update CHANGELOG * update CHANGELOG
1 parent d04d350 commit ef22c09

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.github/workflows/auto-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
python -m pip install --upgrade build
2323
- name: Build package
2424
run: python -m build
25+
- name: Test wheel installation
26+
run: |
27+
python -m pip install dist/*.whl
28+
python -c "import nwbinspector"
2529
- name: pypi-publish
2630
uses: pypa/gh-action-pypi-publish@v1.4.2
2731
with:

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# v0.6.5 (July 25, 2025)
2+
3+
### Fixes
4+
* Fixed build configuration error in pyproject.toml [#605](https://github.com/NeurodataWithoutBorders/nwbinspector/pull/605)
5+
16
# v0.6.4 (July 24, 2025)
27

38
### New Checks

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "nwbinspector"
7-
version = "0.6.4"
7+
version = "0.6.5"
88
description = "Tool to inspect NWB files for best practices compliance."
99
readme = "README.md"
1010
authors = [
@@ -55,9 +55,11 @@ dandi = [
5555
]
5656

5757
[tool.hatch.build.targets.sdist]
58-
packages = ["src/nwbinspector"]
59-
[tool.hatch.build.targets.sdist.force-include]
60-
"license.txt" = "license.txt"
58+
exclude = [
59+
".git*",
60+
"codecov.yml",
61+
".pre-commit-config.yaml",
62+
]
6163

6264
[tool.hatch.build.targets.wheel]
6365
packages = ["src/nwbinspector"]

0 commit comments

Comments
 (0)