Repository navigation
Distribute native wheels through PyPI and automate release updates - #20
Open
eiad-hamwi wants to merge 5 commits into
Open
eiad-hamwi wants to merge 5 commits into
eiad-hamwi wants to merge 5 commits into
Conversation
This branch has not been deployed
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.
Pip and uv installations currently need an externally built PALSParserCpp library. This adds platform wheels with PALSParserCpp v0.0.4 bundled, so supported installations can use the parser without a compiler or neighboring checkout.
PALS_BUNDLE_NATIVE=0, also selected by conda-build). Explicit library/checkouts override the bundled library.native-lock.json, statically bundle rapidyaml/PCRE2/APC, include their notices in wheels, and ship complete native sources/submodules in the sdist.py3-nonewheels from that sdist for Linux x86-64, macOS Intel/ARM, and Windows x86-64. Run installed-package tests outside the checkout on Python 3.10, plus a uv install/test on Python 3.14.pypienvironment and Trusted Publishing. Monthly Dependabot updates cover Actions and Python build dependencies.Validation: native ARM macOS sdist-to-wheel build and uv installation passed; installed suite: 148 passed, 6 optional xtrack tests skipped. Native dylib dependencies are only libc++/libSystem. External-library-only build produced a pure Python wheel. Actionlint and Python compilation checks passed. All four platform wheel builds and installed-package suites passed, as did uv installation/testing on Python 3.14: https://github.com/pals-project/PALSParserPy/actions/runs/45042440079. Publication was skipped as expected on the PR run. The real native updater path was also checked on temporary files from v0.0.3 to v0.0.4, including dependency pins and supported-range extension.
Before first publication, an administrator must configure the PyPI Trusted Publisher for
pals-project/PALSParserPy,wheels.yml, environmentpypi; protect that GitHub environment with a required reviewer; and allow Actions to create update PRs. No release or PyPI upload has been made. Full setup and maintenance instructions are indocs/src/guide/releases.md.Prepared with AI assistance.