Repository navigation
Set the development version to 2.0.0dev0 - #1518
Merged
bruAristimunha merged 2 commits intoNov 2, 2026
Merged
Conversation
master still reported 1.8.1 (no dev bump after the 1.8.1 release, unlike braindecode#1114 after 1.7.0), so downstream gates such as neuralbench "delete route_bypassed_qkv_lora once braindecode > 1.8.1 (braindecode#1194)" cannot tell master from 1.8.1; on master that hook applies the LaBraM qkv LoRA delta twice.
# Conflicts: # docs/whats_new.rst
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The version test rejects valid stable release tags, and the missing development changelog heading causes the monthly release workflow to abort before building or publishing.
2 open issues
What changed in this PR
This PR distinguishes development builds from release 1.8.1 so downstream version checks can disable the LaBraM LoRA workaround after the native qkv fix in #1194.
Changes:
- Sets the package version to
2.0.0dev0. - Adds a regression test for version ordering and prerelease status.
- Documents the version bump and its downstream motivation.
| File | Description |
|---|---|
test/unit_tests/test_version.py |
Adds version-ordering and prerelease assertions. |
docs/whats_new.rst |
Documents the development version and workaround gate. |
braindecode/version.py |
Changes __version__ to 2.0.0dev0. |
Review effort: Balanced
Comment on lines
+13
to
+14
| assert Version(braindecode.__version__) > Version("1.8.1") | ||
| assert Version(braindecode.__version__).is_prerelease |
| API and behavior changes | ||
| ======================== | ||
|
|
||
| - The development version is ``2.0.0dev0``; master reported ``1.8.1`` since the release, so downstream code could not tell it from 1.8.1 (NeuralBench gates its LaBraM LoRA workaround on ``braindecode > 1.8.1``). |
This was referenced Nov 2, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1518 +/- ##
==========================================
+ Coverage 91.33% 91.34% +0.01%
==========================================
Files 170 170
Lines 22100 22106 +6
==========================================
+ Hits 20184 20193 +9
+ Misses 1916 1913 -3 🚀 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.


Master still reported
__version__ == "1.8.1", so downstream code could not tell it from the release. Meta's neuralbench gates its LaBraM qkv LoRA workaround onbraindecode > 1.8.1. Because the check never fires, the workaround runs on master on top of #1194's native call, and the LoRA delta is applied twice, silently.This sets the development version to
2.0.0dev0, ahead of the 2.0 release, and adds a test that the dev version sorts after the last release.