Skip to content

Drop Binder URLs, pin Colab URLs to workspace tag 2026.4.13.6 - #441

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/release-url-sweep-and-tag-pinning
Apr 18, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/release-url-sweep-and-tag-pinning

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Drop all mybinder.org URLs in favour of Google Colab. Pin every Colab URL to the
date-based workspace tag (currently 2026.4.13.6) so links stay aligned with the
PyPI-released library that users will have installed. Rewrite the GitHub owner
from Jammy2211 to PyAutoLabs.

What changed

  • URL rewrites across *.rst, *.md, *.ipynb, *.py:
    • mybinder.org/v2/gh/Jammy2211/<ws>/release?filepath=<path> → colab.research.google.com/github/PyAutoLabs/<ws>/blob/2026.4.13.6/<path>
    • mybinder.org/v2/gh/Jammy2211/<ws>/HEAD → colab.research.google.com/github/PyAutoLabs/<ws>/blob/2026.4.13.6/start_here.ipynb
    • colab…/Jammy2211/<ws>/blob/release/<path> → colab…/PyAutoLabs/<ws>/blob/2026.4.13.6/<path>
  • Badge swap: Binder badge images replaced with the official Colab badge
    (colab-badge.svg); RST |binder| substitution renamed to |colab|.
  • Prose cleanup: every "Binder" link caption / sentence rewritten to "Colab"
    (case-preserving) so link text matches link target.

Release-pipeline integration

The release workflow in PyAutoBuild (#49, merged) now invokes
bump_colab_urls.sh <new-tag> against this repo on every release, so the pinned
tag advances automatically. No manual maintenance is required after this PR.

Regression guard

Adds .github/workflows/url_check.yml which runs PyAutoBuild's
autobuild/url_check.sh on every push and pull request. Re-introducing any
mybinder.org URL, Jammy2211/ Colab owner, or /blob/release/ Colab ref will
fail CI.

Test Plan

  • url_check.yml workflow passes on this PR
  • Spot-check a Colab URL by clicking through to confirm the notebook loads at the pinned tag

🤖 Generated with Claude Code

Replace all mybinder.org URLs with equivalent Colab URLs, rewrite
Jammy2211 owner -> PyAutoLabs, and pin /blob/release/ -> /blob/2026.4.13.6/
across docs, READMEs, tutorials, and workspace start_here. Swap Binder
badge images for Colab badges and rename |binder| substitutions to |colab|
in READMEs.

Add .github/workflows/url_check.yml which runs PyAutoBuild's url_check.sh
on every push and PR, blocking re-introduction of forbidden URL forms.
The release pipeline now bumps Colab tag refs automatically on each release.
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Apr 18, 2026
@Jammy2211
Jammy2211 merged commit 543a3e2 into main Apr 18, 2026
5 checks passed
@Jammy2211
Jammy2211 deleted the feature/release-url-sweep-and-tag-pinning branch April 18, 2026 13:39
nataliehogg pushed a commit to nataliehogg/PyAutoLens that referenced this pull request Jun 3, 2026
Add autolens/analysis/latent.py with a registry of five tracer-derived
latent variables — total_lens_flux_mujy, total_lensed_source_flux_mujy,
total_source_flux_mujy, magnification, effective_einstein_radius — plus
the latent_keys_enabled() config reader. autolens/config/latent.yaml
provides the user-toggle layer with all keys default `false` (same
regression reasoning as PyAutoGalaxy PyAutoLabs#441: compute_latent_samples runs
on every fit, and magzero-requiring latents would crash existing users
if enabled by default).

AnalysisImaging gains LATENT_KEYS @Property + compute_latent_variables
method, dispatching through the shared registry. NotImplementedError
short-circuit when no latents are enabled keeps autofit's existing
handler path clean.

Helpers ab_mag_via_flux_from / flux_mujy_via_ab_mag_from are imported
from PyAutoGalaxy (shipped in PyAutoLabs#441) — no duplication. The latent
functions take a generic `fit` argument and use fit.tracer /
fit.galaxy_image_dict / fit.dataset.grids.lp — APIs shared between
FitImaging and FitInterferometer — so the registry can be wired into
AnalysisInterferometer in a follow-up without code duplication.

Refs: PyAutoLabs#533
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant