Status: describes the procedure for publishing a release. The publish job of the wheel workflow and the documentation deploy job run only when the repository is public.
A release connects an immutable source tag, installable software and the records needed to reproduce its calculations. The manuscript has its own submission and version history. Keep software and data provenance independent of manuscript revisions.
Version and source¶
Version describes the version in meson.build and its
registered copies. Run the checker from the selected source tree:
pixi run -e docs python scripts/check_version_sot.py
It checks generated metadata, citation fields and native package manifests.
The version identifies software. The C ABI is checked separately: the meson
test test_capi_abi_symbols compares gpr/capi/gpridge_c.h,
abi/gpridge_c.symbols and the built library, and
scripts/abidiff_capi.sh OLD.so NEW.so compares two builds with abidiff. Make the release tag on the tested source and
keep the tag immutable. A candidate tag is suitable for installation
validation and must retain its candidate suffix in the release record.
The supported repository branches are develop for integration and main
for the released source. Integrate reviewed upstream changes into
develop, then bring the release source into main through a normal
merge or fast-forward. Record the tag that downstream projects consume.
Installed packages¶
The native package guide gives checks for
C/C++, Fortran, Rust, R and Julia clients. The native-registries workflow
builds and tests those packages and the conda recipe. Registry uploads
are separate publication actions. The recipe in packaging/conda/ and the source
packages in this tree are build inputs; check registry availability
before advertising an installation command for a published package.
For Python, build a source distribution and a wheel from that source distribution. Verify their package metadata and exercise the installed wheel from a directory outside the source checkout:
python -m twine check dist/*
python -m gpridge.wheel_smoke
The smoke command runs a short GP-dimer search on the Muller-Brown surface
and prints one line with the package version, the number of oracle calls,
the absolute energy and the termination reason. The wheel workflow installs
each wheel in a clean uv environment on Linux x86_64 and aarch64 and on
macOS arm64 and x86_64 runners and runs this command. Record the interpreter,
platform and artifact checksum with each result, and the software development
kit (SDK) of the check. Portable wheel distribution also requires platform
repair and validation.
The wheel workflow uploads only from a public repository and a stable
version tag. Before an authorized upload, it calls
scripts/check_publish_artifacts.py to require that every distribution’s
name and version match the tag. The upload job selects stable release tags. Documentation deployment also requires public repository visibility
and its deployment setting.
If the release reaches main while the repository is private, an authorized
visibility change can precede a manual documentation run. With GitHub Pages
configured for Actions and DOCS_DEPLOY=true, run Build GPRidge docs on
main. Its reference, example and site-build jobs precede deployment.
Reproduction archive¶
A deposit contains the tagged software or its exact source archive, workflow, external inputs or their retrievable checksums, results and machine-readable provenance. Keep the manuscript, cover letter and review correspondence out of this payload. Identify the software by a release tag and each archive by a cryptographic checksum.
The reproduction repository records search calls, validation calls, acceptance criteria and resource settings. Keep repeated measurements separate, including unsuccessful runs. Report the observed device, compiler and backend with a timing; a kernel timing and a complete search time answer different questions.
Publish a new archive version when its software, inputs or results change. A manuscript prose edit keeps the deposit’s digital object identifier (DOI).
Release order¶
Integrate the source and record the installed-package and scientific validation results against the selected immutable candidate.
Put the accepted release source on
mainand tag it. Update downstream dependencies to that release tag.Prepare and verify the software and reproduction archives, then publish the packages and deposit under the project’s publication authorization.
Check the published installation routes, documentation links and citations from a clean client environment.
Repository visibility, registry uploads and deposits each require a publication action under the project’s authorization.