Skip to content

Set the development version to 2.0.0dev0 - #1518

Merged
bruAristimunha merged 2 commits into
braindecode:masterfrom
bruAristimunha:bd2-compat-dev-version
Nov 2, 2026
Merged

bruAristimunha merged 2 commits into
braindecode:masterfrom
bruAristimunha:bd2-compat-dev-version

Conversation

@bruAristimunha

Copy link
Copy Markdown
Collaborator

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 on braindecode > 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.

bd2-downstream and others added 2 commits November 2, 2026 12:56
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.
Copilot AI balanced review requested due to automatic review settings November 2, 2026 13:26
@bruAristimunha
bruAristimunha merged commit a4de2dc into braindecode:master Nov 2, 2026
3 of 7 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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
Comment thread docs/whats_new.rst
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``).
@codecov

codecov Bot commented Nov 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.34%. Comparing base (7c25ac0) to head (84b4c1e).
⚠️ Report is 7 commits behind head on master.

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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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