Skip to content

Install s2conv from PyPI in the notebooks - #11

Merged
jasonmcewen merged 1 commit into
mainfrom
notebooks-pypi
Oct 10, 2026
Merged

jasonmcewen merged 1 commit into
mainfrom
notebooks-pypi

Conversation

@jasonmcewen

Copy link
Copy Markdown
Contributor

Follow-up to the v0.1.0 release. Closes #9.

  • The inline script metadata of notebooks/lifted_convolutions.py and notebooks/real_fields.py (read by molab and marimo edit --sandbox) requires s2conv>=0.1.0 from PyPI instead of s2conv @ git+https://github.com/astro-informatics/s2conv.
  • The notebook headers, the README and the notebooks guide install the extras with 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 to real_fields.py was agreed with the session that maintains it; it touches only the header comments, so the paper-figure export is unaffected.

🤖 Generated with Claude Code

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

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jasonmcewen
jasonmcewen merged commit 559441c into main Oct 10, 2026
6 checks passed
@jasonmcewen
jasonmcewen deleted the notebooks-pypi branch October 10, 2026 16:31
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.

Release s2conv on PyPI

1 participant