fix: Python 3.13 and 3.14 compatibility, arbor 0.12, and MPI fixes - #249
Merged
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… API - Replace @classmethod @Property combos in arborize with plain class attributes (chaining was deprecated in Python 3.11, removed in 3.13) - Fix MockedWindowController to use Get_size/Get_rank for real MPI comms vs get_size/get_rank for the mock MPI module - Fix __annotations__ access in bsb/__init__.py to go through sys.modules to avoid NameError under some import orderings - Add root CLAUDE.md with project guidance for AI agents Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #249 +/- ##
==========================================
- Coverage 82.81% 80.97% -1.85%
==========================================
Files 164 179 +15
Lines 16778 18214 +1436
Branches 1983 2192 +209
==========================================
+ Hits 13895 14749 +854
- Misses 2402 2895 +493
- Partials 481 570 +89 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was
linked to
issues
Jun 30, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D1jfhndu3GQSV9pNN4jtBj
drodarie
requested changes
Jul 30, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011tH4Y8iq2GgTAKi7LVj4by
drodarie
approved these changes
Jul 31, 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.
Summary
@classmethod @propertychaining in arborize (removed in Python 3.13+), replaced with plain class attributesMockedWindowController(Get_size/Get_rankfor real comms vsget_size/get_rankfor mock)__annotations__access inbsb/__init__.pyto go throughsys.modulesto avoidNameErrorunder some import orderings~=0.12and fix arborize test formech.valueslist-of-tuples API change.claude/This PR closes
Closes #233
Closes #231
Test plan
bsb-coresimulation tests pass (11/11)bsb-arbortests pass with arbor 0.12.2 (2/2)🤖 Generated with Claude Code
📚 Documentation preview 📚: https://bsb-hdf5--249.org.readthedocs.build/en/249/
📚 Documentation preview 📚: https://nmodl-glia--249.org.readthedocs.build/en/249/
📚 Documentation preview 📚: https://arborize--249.org.readthedocs.build/en/249/
📚 Documentation preview 📚: https://bsb-otel--249.org.readthedocs.build/en/249/
📚 Documentation preview 📚: https://bsb-core--249.org.readthedocs.build/en/249/
📚 Documentation preview 📚: https://bsb-arbor--249.org.readthedocs.build/en/249/
📚 Documentation preview 📚: https://nrn-patch--249.org.readthedocs.build/en/249/
📚 Documentation preview 📚: https://bsb--249.org.readthedocs.build/en/249/
📚 Documentation preview 📚: https://bsb-neuron--249.org.readthedocs.build/en/249/