Repository navigation
Release braintools 0.4.0 - #134
Merged
Merged
Conversation
- Bump the version to 0.4.0. - Consolidate the unreleased 0.4-0.8 roadmap notes into one 0.4.0 release note with highlights, upgrade notes, and the full deprecation table. - Rewrite docstring and doc references to versions that will never be published (0.5-0.8) to 0.4.0 or 0.3. - Require Python >= 3.12 and declare 3.12-3.15 classifiers; drop 3.11 from the CI matrix. - Force the Agg matplotlib backend in scripts/run_doctests.py, as conftest.py does for pytest.
Contributor
|
Sorry @chaoming0625, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 5 days and 21 hours by commenting |
Contributor
Reviewer's GuideThis release-preparation PR publishes braintools 0.4.0 by updating version and release documentation to consolidate all roadmap work since 0.3.0, documenting the resulting API and behavior changes, raising support to Python 3.12+, and aligning CI and doctest execution with the release configuration. Flow diagram for braintools 0.4.0 compatibility changesflowchart TD
Python312[Python 3.12 or newer] --> CI[CI matrix 3.12 to 3.14]
CI --> Package[Package metadata requires Python 3.12+]
Package --> Version[braintools version 0.4.0]
Version --> Release[Published release]
Python311[Python 3.11] --> Dropped[Support dropped]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Summary
Prepares the braintools 0.4.0 release, which ships all of the roadmap work merged since 0.3.0 (#129–#133):
braintools.analysis,braintools.spike,braintools.fit,quadtrajectories, scalableconnnetworks, readout learning, neuroscience data formats, full type checking and doctested examples.Changes
braintools/_version.py:0.3.0→0.4.0.changelog.md: the five unreleased phase sections (0.4–0.8) are merged into one 0.4.0 release note, with highlights, upgrade notes, Added / Changed / Deprecated / Removed / Fixed, and packaging.versionchanged:: 0.7.0→0.4.0, and comparisons such as "differs from 0.6" → "0.3".requires-python >=3.12, with classifiers for 3.12–3.15. 3.11 is dropped from the CI matrix, andCONTRIBUTING.mdis updated to match.scripts/run_doctests.pyforces the Agg matplotlib backend, matchingconftest.py.Local verification
mypy: no issues in 148 source files.sphinx-build -W --keep-going: succeeded.braintools.file, which needspynwb,neoandquantities; those weren't installed locally and are covered by the doctest workflow here.python -m buildandtwine check: passed. The wheel metadata reportsVersion: 0.4.0andRequires-Python: >=3.12.Summary by Sourcery
Prepare braintools 0.4.0 as the consolidated release of the roadmap features and updated Python support.
Enhancements:
Build:
CI:
Documentation:
Tests: