Fix Colab runtime issues in notebooks 3 and 4#12
Merged
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
bernalde
commented
May 11, 2026
bernalde
left a comment
Member
Author
There was a problem hiding this comment.
No blocking issues found. The bootstrap policy change is scoped to Colab by default, the Python notebook import now matches the Ocean SDK package surface, and the added smoke targets cover the reported Colab failure modes across the Julia notebook envs and the fresh Ocean SDK install path. Local targeted tests, the full unit suite, Colab runtime smokes, and the book build passed; CI is green. I attempted to submit this as APPROVE, but GitHub rejected it because the authenticated account is the PR author.
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
dwave.samplers.SimulatedAnnealingSamplerinstead of the legacynealimport path.Tests run
python -m unittest tests.test_notebook4_pair_sync tests.test_verify_notebooks- passed, 28 tests.~/.local/bin/uv run --group qubo python -c "from dwave.samplers import SimulatedAnnealingSampler; print(SimulatedAnnealingSampler.__name__)"- passed, printedSimulatedAnnealingSampler.make verify-julia-colab-mismatch-smoke- passed; real notebook envs1-MathProg,2-QUBO,3-GAMA,4-DWave, and5-Benchmarkingwarned and continued under Julia 1.12.0, then the synthetic strict-mode manifest failed with the expected message.make verify-colab-python-runtime-smoke- passed; temporary venv installed onlydwave-ocean-sdkand imported/sampled withdwave.samplers.~/.local/bin/uv run --group docs python -m unittest discover -s tests- passed, 62 tests.~/.local/bin/uv run --group docs jupyter book build --html --ci- passed; built 13 pages. The build still reports existing link warnings in several Python notebooks.git diff --check- passed.Notes about tests not run
Closes #9