Repository navigation
Install s2conv from PyPI in the notebooks - #11
Merged
Merged
Conversation
s2conv 0.1.0 is on PyPI, so the inline script metadata of both notebooks, which molab and marimo --sandbox read, now requires s2conv>=0.1.0 instead of installing it from GitHub, and the notebook headers, the README and the notebooks guide install the notebook extras from PyPI with pip install "s2conv[notebooks]". Verified: in a clean virtual environment with the dependencies of the script metadata from PyPI (s2conv 0.1.0, s2fft 1.5.0, JAX 0.11.2), both notebooks run to completion as scripts on the CPU, outside the repository (real_fields.py downloading its fields from GitHub), without errors; the Sphinx docs build with -W. Harness: Claude Code 2.1.296 Co-Authored-By: Claude Opus 5.5
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
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.
Follow-up to the v0.1.0 release. Closes #9.
notebooks/lifted_convolutions.pyandnotebooks/real_fields.py(read by molab andmarimo edit --sandbox) requiress2conv>=0.1.0from PyPI instead ofs2conv @ git+https://github.com/astro-informatics/s2conv.pip install "s2conv[notebooks]". The README and installation guide already install from PyPI (Prepare the first release, v0.1.0 #10).Checked: in a clean venv with the script-metadata dependencies from PyPI (s2conv 0.1.0, s2fft 1.5.0, JAX 0.11.2), both notebooks run to completion as scripts on the CPU outside the repository; the docs build with
-W. The edit toreal_fields.pywas agreed with the session that maintains it; it touches only the header comments, so the paper-figure export is unaffected.🤖 Generated with Claude Code