Skip to content

Reallow Bonsai without brickschema - #9479

Open
brunopostle wants to merge 1 commit into
v0.9.0from
reallow-bonsai-without-brickschema
Open

brunopostle wants to merge 1 commit into
v0.9.0from
reallow-bonsai-without-brickschema

Conversation

@brunopostle

@brunopostle brunopostle commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

6b62723 added a module-level from brickschema.persistent import Changeset to src/bonsai/bonsai/tool/brick.py, which made brickschema a hard dependency again - Bonsai fails to load without it.

This moves the import into the TYPE_CHECKING block, where the other brickschema imports already live, so it is only used for annotations.

See also #1860.

6b62723 made brickschema a hard dependency again, see also #1860
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.

1 participant