Skip to content

Some update to the release process - #15489

Merged
Carreau merged 2 commits into
ipython:mainfrom
Carreau:claude/youthful-ptolemy-gzdq3v
Nov 23, 2026
Merged

Carreau merged 2 commits into
ipython:mainfrom
Carreau:claude/youthful-ptolemy-gzdq3v

Conversation

@Carreau

@Carreau Carreau commented Nov 21, 2026

Copy link
Copy Markdown
Member

Summary

Last release failed, so asked claude to work on the release script.

References

AI usage

  • Tool: Claude
  • Model: Opus 5.5
  • Effort level:
  • [x]: Human supervision (did a person direct the work, read the whole diff and run the change?)

I need to review this later

…fault

The publish workflow compares the tag name with the built version and
refuses to publish on mismatch; the 9.19 release was tagged '9.19' while
release.py produced '9.19.0', so nothing was published.

- Re-prompt until VERSION is X.Y.Z.
- Before committing/tagging, check that IPython/core/release.py computes
  exactly VERSION, and stop otherwise.
- Building the docs and building/uploading with twine are now skipped
  unless 'y' is pressed, since RTD and the publish workflow handle them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FHovDX4Gix74We1WPvfnjV
- Set major/minor/patch in release.py from VERSION for the release and
  from NEXT_VERSION (defaulting to the next minor on main, next patch on
  a maintenance branch) for the dev bump, and check the result. The old
  'sed -i bkp' was BSD-only; use the portable 'sed -i.bkp'.
- Every command goes through run_cmd, which prints it as written and
  with VERSION/BRANCH/... expanded, then runs or skips it.
- Before starting, check we are on BRANCH and that the tag does not
  already exist locally or on the remote; make the remote configurable.
- Missing optional modules (sphinx, twine, ...) are warnings, not
  tracebacks; maybe_edit works in bash as well as zsh.
- Document the X.Y.Z tag requirement in the release docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FHovDX4Gix74We1WPvfnjV
@Carreau
Carreau merged commit 9223a14 into ipython:main Nov 23, 2026
24 checks passed
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.

2 participants