Skip to content

Register HowToFit as a build target - #55

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/howtofit-register
Apr 22, 2026
Merged

Register HowToFit as a build target#55
Jammy2211 merged 1 commit into
mainfrom
feature/howtofit-register

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Register howtofit as a first-class build target in PyAutoBuild so the release pipeline checks out, tests, Colab-bumps, and publishes the standalone HowToFit repository (https://github.com/PyAutoLabs/HowToFit) alongside HowToGalaxy and HowToLens. This mirrors the pattern established for those repos in #53 and completes the HowToFit extraction umbrella (PyAutoLabs/autofit_workspace#38, sub-4/4).

Closes #54.

Files touched:

  • pre_build.sh — new run_workspace "HowToFit" "howtofit" entry
  • .github/workflows/release.yml — HowToFit checkout, script_matrix.py arg, test-matrix entry, two resolver branches, and release-matrix entry (six edits mirroring the HowToLens blocks)
  • autobuild/bump_colab_urls.sh — extend comment and regex alternation to include HowToFit
  • autobuild/config/copy_files.yaml — add empty howtofit: entry
  • autobuild/config/no_run.yaml — add howtofit: [] entry

API Changes

None — internal build-infrastructure changes only. No Python library API is affected; this extends the release-workflow matrix and config files so HowToFit participates in the same pipeline as the other workspaces.
See full details below.

Test Plan

  • python -m pytest tests/ — 38 passed (one pre-existing unrelated failure in test_parse_no_run_reasons deselected; broken on main after an earlier snake_case rename).
  • python autobuild/script_matrix.py autofit autogalaxy autolens autofit_test autolens_test howtogalaxy howtolens howtofit exits zero.
  • First release workflow dispatch post-merge: confirm HowToFit is checked out, tested, Colab-URL-bumped, and published alongside the other targets.
Full API Changes (for automation & release notes)

Added

  • Build target howtofit is now recognised by the PyAutoBuild release pipeline:
    • pre_build.sh orchestrates it via run_workspace "HowToFit" "howtofit".
    • .github/workflows/release.yml includes a HowToFit checkout, adds howtofit to the script_matrix.py argument list, adds it to the generate_notebooks matrix, adds resolver branches in both script-run and notebook-run configure steps (mapping howtofitPyAutoLabs/PyAutoFit + PyAutoLabs/HowToFit + project::autofit), and adds it to the release-publish matrix with package: PyAutoFit.
    • autobuild/bump_colab_urls.sh regex alternation now includes HowToFit, so Colab notebook URLs for HowToFit are version-bumped in lockstep with the other workspaces.
    • autobuild/config/copy_files.yaml and autobuild/config/no_run.yaml both gain howtofit entries (empty/[]) so the per-workspace config machinery recognises the new target.

Removed

None.

Renamed

None.

Changed Signature

None.

Changed Behaviour

None — all edits are additive. Existing workspaces and how-to repos continue to build exactly as before.

Migration

None — additive only.

🤖 Generated with Claude Code

Mirror the HowToLens / HowToGalaxy pattern across pre_build.sh,
release.yml, bump_colab_urls.sh, copy_files.yaml, and no_run.yaml so
the standalone HowToFit repo is checked out, tested, Colab-bumped, and
published by the release pipeline. Completes the HowToFit extraction
umbrella (PyAutoLabs/autofit_workspace#38, sub-4/4).
@Jammy2211 Jammy2211 added the pending-release Merged PR awaiting inclusion in the next release build label Apr 22, 2026
@Jammy2211
Jammy2211 merged commit a47fa7f into main Apr 22, 2026
@Jammy2211
Jammy2211 deleted the feature/howtofit-register branch April 22, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release Merged PR awaiting inclusion in the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: register HowToFit as a build target

1 participant