ci/cd: modernize release pipeline and switch project versioning to setuptools_scm#299
Open
mxamin wants to merge 1 commit intolericson:masterfrom
Open
ci/cd: modernize release pipeline and switch project versioning to setuptools_scm#299mxamin wants to merge 1 commit intolericson:masterfrom
mxamin wants to merge 1 commit intolericson:masterfrom
Conversation
…tuptools_scm - Reworked CD workflow in .github/workflows/cd.yml: - Added workflow concurrency controls and default least-privilege permissions. - Added a dedicated sdist build job using Python 3.14 with memcached service validation. - Added dynamic wheel matrix generation using cibuildwheel build identifiers. - Switched wheel builds to pypa/cibuildwheel action and per-target artifact naming. - Updated checkout/setup actions and Linux QEMU setup for broader architecture support. - Ran tests using generated wheel artificat - Reworked release job to download merged wheel/sdist artifacts and publish draft GitHub releases. - Removed legacy artifact zip packaging flow and old action versions. - Updated CI workflow in .github/workflows/ci.yml: - Normalized trigger syntax for push and pull_request events. - Extended test matrix with Python 3.14. - Upgraded checkout/setup-python action versions and enabled tag fetching. - Removed obsolete LIBMEMCACHED_VERSION environment usage. - Introduced pyproject.toml build configuration: - Added setuptools build-system metadata with setuptools_scm integration. - Configured setuptools_scm to write src/pylibmc/_version.py and disable local version suffixes. - Added cibuildwheel global config, per-platform arch settings, and platform-specific dependency install overrides. - Updated packaging/runtime integration: - setup.py now uses SCM-derived versions (use_scm_version + setup_requires). - src/pylibmc/__init__.py now prefers generated package version with extension version fallback. - Added setuptools_scm to requirements_test.txt. - Added src/pylibmc/_version.py to .gitignore. - Made bin/runtests.py shebang interpreter-agnostic by using "python" instead of "python3".
Author
|
@lericson Can you take a look when you have time? |
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.
Reworked CD workflow in .github/workflows/cd.yml:
Updated CI workflow in .github/workflows/ci.yml:
Introduced pyproject.toml build configuration:
Updated packaging/runtime integration: