ci: migrate from versioneer to release-please + setuptools-scm#343
Merged
Conversation
Replaces the manual release process (update two files, push a tag) with an automated release-please workflow that: - Creates release PRs with CHANGELOG on conventional commits to main - Tags, updates plugin.json / src/nyx/version.h / .version via ci-utils/sync_version.py, and dispatches all four publish workflows (PyPI CPU, CUDA 11, CUDA 12, Docker) on merge Version management changes: - Remove versioneer.py and versioneer-generated _version.py - Add pyproject.toml with setuptools-scm (version derived from git tags) - Add .version, .release-please-manifest.json, release-please-config.json - Extend ci-utils/sync_version.py to also update .version file - Update setup.py to use setuptools_scm.get_version() instead of versioneer - Update environment.yml: replace versioneer with setuptools-scm>=8 Workflow changes: - Add .github/workflows/release-please.yml (new) - All publish_*.yml: remove release: published trigger (now dispatched by release-please); add fetch-depth/fetch-tags + version verification - All build_*_wheels.yml: add fetch-depth/fetch-tags + sync_version step Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace versioneer's get_versions()['version'] API with the simpler __version__ string written by setuptools-scm. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Replaces the manual release process (update two files, push a tag) with an automated release-please workflow that:
Version management changes:
Workflow changes: