Pin Colab Julia toolchain for Julia notebook bootstrap#5
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the repo’s Julia notebook tooling and pinned Julia patch version to better match the current Colab runtime and enforce Manifest/kernel version consistency during Julia notebook bootstrap.
Changes:
- Pin default Julia version across local verification tooling to
1.11.5(scripts/Makefile/docs). - Add Julia Manifest parsing + runtime version validation to the Julia notebook bootstrap.
- Add an opt-in mechanism to checkout a specific QuIP git ref during Colab bootstrap via environment variable.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/verify_notebooks.py | Pins default Julia version used by local notebook execution/verification. |
| scripts/notebook_bootstrap.jl | Adds Manifest Julia version validation; adds optional git ref checkout for Colab bootstrap. |
| notebooks_jl/envs/1-MathProg/Manifest.toml | Updates julia_version metadata to 1.11.5. |
| notebooks_jl/envs/2-QUBO/Manifest.toml | Updates julia_version metadata to 1.11.5. |
| notebooks_jl/envs/3-GAMA/Manifest.toml | Updates julia_version metadata to 1.11.5. |
| notebooks_jl/envs/4-DWave/Manifest.toml | Updates julia_version metadata to 1.11.5. |
| notebooks_jl/envs/5-Benchmarking/Manifest.toml | Updates julia_version metadata to 1.11.5. |
| Makefile | Pins JULIA_VERSION default to 1.11.5 for notebook-related targets. |
| local-setup.md | Updates setup instructions to Julia 1.11.5 and documents new bootstrap env vars. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
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.
Summary
1.11.5, which matches the current Colab runtimeQUIP_REPO_REFin the Colab bootstrap so notebooks can clone the intended branch or commit instead of always defaulting tomain1.11.5and document the exact Colab toolchain expectationsValidation
JULIA="$(JULIA_VERSION=1.11.5 ./scripts/find_julia.sh)" make verify-julia-colab-notebooksJULIA="$(JULIA_VERSION=1.11.5 ./scripts/find_julia.sh)" make verify-julia-colab-smokes