Skip to content

Clean up packaging metadata and build config#257

Merged
zonca merged 10 commits intogalsci:mainfrom
zonca:fix/packaging-metadata-cleanup
Apr 2, 2026
Merged

Clean up packaging metadata and build config#257
zonca merged 10 commits intogalsci:mainfrom
zonca:fix/packaging-metadata-cleanup

Conversation

@zonca
Copy link
Copy Markdown
Member

@zonca zonca commented Apr 2, 2026

This PR cleans up a set of packaging issues that showed up during release prep and artifact verification. Each fix is isolated in its own commit for easier review.

Included changes:

  • remove the stale Python 3.8 classifier to match requires-python >=3.9
  • remove the dead importlib_metadata conditional dependency
  • update the release instructions to install .[test] before running pytest
  • remove stale Python pandoc package entries from docs dependencies
  • preserve the src/ layout in sdists so hatch-vcs can write src/pysm3/_version.py
  • remove the redundant wheel force-include that broke wheel builds from sdists
  • fix README RST markup so the long description renders on PyPI

Verification:

  • python -m build
  • python -m twine check dist/*

@zonca zonca enabled auto-merge (squash) April 2, 2026 23:03
@zonca zonca merged commit 781bfa9 into galsci:main Apr 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant