Skip to content

Publish to PyPI

Create a stable tag of the form vX.Y.Z and use it to create a GitHub Release. Select main as the target, clear the prerelease checkbox, and click Publish release. Once checks pass, the workflow uploads the wheels and source distribution to PyPI and attaches them to the release.

After the package is published to PyPI, the release workflow archives the bilingual documentation from the same tag. Documentation versions

Check wheels before release

Run Build, Test, and Deploy manually in GitHub Actions. Select build_release_wheels and leave release_tag empty. The workflow builds and tests the release wheel matrix. Download the wheels from the run’s Artifacts section for inspection.

Resume an interrupted stable release

If a stable GitHub Release has been published but the build or upload was interrupted, run the same workflow manually from main and set release_tag to the existing tag. The workflow verifies that the tagged commit is reachable from main and that the published release is stable and targets main. It then rebuilds and publishes from that tagged commit.

See the GitHub workflow for the platform matrix and publication conditions.

Queue a benchmark for the next stable release

After all seven methods finish on all five datasets, set commit to the full measured SHA and set cases and results to the case-store and per-dataset result directories. The exporter checks case IDs, input hashes and source commits for all 35 runs and writes per-case CSVs, provenance, a summary and a separate checksum.

out=.local/exports
python -m benchmarks.dataset_xyz_benchmark.freeze --commit "$commit" --out "$out" \
  --dataset geom-qm9 "$cases/qm9.sqlite" "$results/geom-qm9" \
  --dataset geom-drugs "$cases/drugs.sqlite" "$results/geom-drugs" \
  --dataset borylxat "$cases/borylxat.sqlite" "$results/borylxat" \
  --dataset tmqmg-corrected "$cases/tmqmg.sqlite" "$results/tmqmg-corrected" \
  --dataset bde "$cases/bde.sqlite" "$results/bde"
gh release create benchmark-next --draft --title "Frozen benchmark" --notes "$commit" \
  "$out/molgr-benchmark-$commit.zip" "$out/molgr-benchmark-$commit.zip.sha256"

The next stable release job verifies and uploads both files, then renames the staging draft. The draft keeps the files accessible to repository writers until publication.