Open
Conversation
aa8b4b7 to
35345b0
Compare
- Add setuptools-scm>=8 to build-system requires - Add [tool.setuptools_scm] with version_file - Replace hardcoded __version__ with import from generated _version.py - Remove version from [tool.setuptools.dynamic] (scm provides it) - Remove MANIFEST.in (setuptools-scm auto-includes git-tracked files) - Add unittest2pytest/_version.py to .gitignore
- Remove [tool.zest-releaser] from pyproject.toml - Remove zest.releaser and check-manifest from tests/requirements.txt - Add make_changelog.py for preparing releases and adding UNRELEASED - Add check_changelog.py CI check (diffs UNRELEASED against main on PRs, verifies version section on tags) - Add RELEASE_PROCESS.md documenting the tag-based release flow - Merge deploy workflow into CI: publish is gated on tests passing - Add MANIFEST.in to exclude dev files from sdist
35345b0 to
ffb31cd
Compare
Update RELEASING.rst with the setuptools-scm tag-based release process and delete RELEASE_PROCESS.md.
4ab127b to
02ccefe
Compare
Member
Author
Setup required before merging1. Create GitHub environmentGo to Settings → Environments → New environment, name it Optionally add a protection rule requiring approval from maintainers. 2. Configure PyPI trusted publisherGo to https://pypi.org/manage/project/unittest2pytest/settings/publishing/ and add:
3. Test the workflowAfter merging, run: |
0b1108f to
da4036a
Compare
35739da to
f5e8628
Compare
Add release.yml workflow that handles the full release: prepare changelog, commit, tag, build, test, publish to PyPI, create GitHub release, and start next development cycle. Move publish jobs out of test.yml (CI only tests now). Update RELEASING.rst with instructions to run the workflow.
f5e8628 to
125bc2e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
whl diff between setup-cfg and setuptools-scm branches
whl diff
Sdist diff