Prepare for release of PyNWB 4.0.0#2201
Draft
rly wants to merge 2 commits into
Draft
Conversation
Update the copyright year from 2017-2025 to 2017-2026 in Legal.txt, license.txt, README.rst, and docs/source/conf.py. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bump pinned dependency versions to the latest compatible releases via `pur` on requirements.txt, requirements-dev.txt, and requirements-opt.txt (requirements.txt and requirements-dev.txt were already current). Sync the matching linkml-runtime pin in requirements-doc.txt and manually update environment-ros3.yml, keeping its shared pins consistent with the resolved versions (numpy and pandas stay within hdmf's and pynwb's ceilings) and bumping the ros3-only matplotlib and dandi to latest. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #2201 +/- ##
=======================================
Coverage 95.29% 95.29%
=======================================
Files 30 30
Lines 3038 3038
Branches 450 450
=======================================
Hits 2895 2895
Misses 87 87
Partials 56 56
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:
|
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.
Draft release PR for PyNWB 4.0.0. Opened early for tracking; a few PRs still need to be merged to
devfirst, and the testing/docs/CI steps have not been run yet.Before merging:
dev.requirements.txt,requirements-dev.txt,requirements-doc.txt,requirements-opt.txt, andenvironment-ros3.ymlto the latest versions,and update dependency ranges in
pyproject.tomland minimums inrequirements-min.txtas needed.Run
pip install pur && pur -r requirements-dev.txt -r requirements.txt -r requirements-opt.txtand manually update
environment-ros3.yml. Done viapur;requirements.txt/requirements-dev.txtwere already current.numpy/pandaskept withinhdmfandpandas<3ceilings.requirements-min.txtandpyproject.tomlranges left unchanged (no change needed). Not yet validated by the test/CI steps below.Legal.txt,license.txt,README.rst,docs/source/conf.py,and any other locations as needed Copyright year updated 2017-2025 → 2017-2026.
pyproject.tomlas needed No change needed; version is derived dynamically from the git tag.README.rstas needed Copyright year updated.src/pynwb/nwb-schemasubmodule as needed. Check the version number and commit SHAmanually. Make sure we are using the latest release and not the latest commit on the
mainbranch. Already at the2.10.0release tag.CHANGELOG.mdand any other docs as needed Left as(Upcoming)until the release date is known.(
python test.py -v -p -i -b -w -r > out.txt 2>&1). Try to remove all warnings.cd docs; make clean && make htmlbranch by going to https://github.com/NeurodataWithoutBorders/pynwb/actions/workflows/run_all_tests.yml, selecting
"Run workflow" on the right, selecting this branch, and clicking "Run workflow". Make sure all tests pass.
After merging:
docs/source/make_a_release.rstor use aliasgit pypi-release [tag]if set upGitHub releases page with the changelog
regro-cf-autotick-bot bot to create a PR updating the version of HDMF to the latest PyPI release, usually within
24 hours of release, or manually create a PR updating
recipe/meta.yamlwith the latest version numberand SHA256 retrieved from PyPI > PyNWB > Download Files > View hashes for the
.tar.gzfile. Re-render and updatedependencies as needed.
🤖 Generated with Claude Code