Skip to content

Handle textual v8, unpin textual in pyproject.toml#691

Open
AdityaGupta716 wants to merge 3 commits into
neuroinformatics-unit:mainfrom
AdityaGupta716:handle_textual_v8
Open

Handle textual v8, unpin textual in pyproject.toml#691
AdityaGupta716 wants to merge 3 commits into
neuroinformatics-unit:mainfrom
AdityaGupta716:handle_textual_v8

Conversation

@AdityaGupta716
Copy link
Copy Markdown
Contributor

@AdityaGupta716 AdityaGupta716 commented Feb 24, 2026

Fixes #688

Changes
Updated textual dependency in pyproject.toml from >=3.4.0,<8 to >=8.0.0, removing the temporary pin added in #689
Fixed InvalidSelectValueError in configs_content.py by replacing select.value = False with select.clear(), which is the correct API in textual v8
Before
Selecting an existing project crashed with
`InvalidSelectValueError:

Screenshot 2026-02-25 at 3 15 40 AM

After
Existing projects load correctly with textual v8.
Screenshot 2026-02-25 at 3 09 23 AM

@JoeZiminski
Copy link
Copy Markdown
Member

Thanks for this @AdityaGupta716! That looks like a good fix, will look into this after the next release

Copy link
Copy Markdown
Member

@JoeZiminski JoeZiminski left a comment

Choose a reason for hiding this comment

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

Thanks @AdityaGupta716! This works great, I tested it also on v3.4.0 and it works well for old versions, so I kept the pin >=3.4.0 so any textual version can be used, just in case. But most users will default to the latest version. Cheers!

@AdityaGupta716
Copy link
Copy Markdown
Contributor Author

hii @JoeZiminski, thanks for the testing and confirmation,i looked into the failing test and it seems to be pre-existing , not related to this PR. The test asserts "size changed" in the error message, but the CI's rclone version now produces a different error string. The same issue exists in test_tui_transfer.py too. should i fix it in this PR?

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.

handle textual version 8

2 participants