Prepare for release of PyNWB 4.2.0 (take two) - #2261
Merged
Conversation
The 4.2.0 tag build produced a wheel with Metadata-Version 2.5, which hatchling 1.32.0 emits by default. pypa/gh-action-pypi-publish v1.14.1 pins twine 6.1.0 and packaging 25.0, which recognize metadata versions up to 2.4 only, so the upload step failed with InvalidDistribution and the release did not publish. v1.14.2 pins twine 7.0.0 and packaging 26.2, which accept 2.5. Add a "Check distribution metadata" step alongside every step that builds a distribution, running the same twine version the publish action bundles, so a pull request fails on metadata that the upload would reject. Record the pin coupling on the publish step and in the release checklist. Pin numcodecs in environment-ros3.yml. numcodecs publishes no cp314 wheel within the bound the zarr extra sets, so pip compiled the sdist inside the conda environment, where the conda-forge python's CFLAGS reach gcc as an unrecognized -partition=none. conda-forge has a prebuilt 0.15.1 for python 3.14 on linux-64. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Set the 4.2.0 release date to September 2, 2026. Point three changelog entries at the pull requests that made the change instead of the issues they closed, matching the rest of the file. Update actions/setup-python to v7 and astral-sh/ruff-action to v4, the latest releases. setup-python v7 drops the pip-install input, which no workflow here uses; ruff-action v4 moves to node24, which affects self-hosted runners only. Every other action already references its latest major. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #2261 +/- ##
=======================================
Coverage 96.17% 96.17%
=======================================
Files 30 30
Lines 3003 3003
Branches 437 437
=======================================
Hits 2888 2888
Misses 65 65
Partials 50 50
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
ruff-action publishes immutable releases from v4 onward, so no moving v4 tag exists to reference. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
rly
marked this pull request as ready for review
September 2, 2026 21:26
oruebel
approved these changes
Sep 2, 2026
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.
Re-cut of 4.2.0 after the first tag failed to publish.
actions/setup-pythonv6 → v7 andastral-sh/ruff-actionv3 → v4. setup-python v7 drops thepip-installinput, which no workflow here uses; ruff-action v4 moves to node24, which affects self-hosted runners only. Every other action already references its latest major.Checklist notes: all 15 PRs merged since 4.1.0 are represented in the changelog; the
awkextraction yields 25 non-empty lines of release notes; thenwb-schemasubmodule is at the 2.11.0 tag; legal dates already read 2017-2026. Local tests and docs were not run, CI covers them.🤖 Generated with Claude Code