Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with recent versions of textual #58

Open
wookayin opened this issue Sep 25, 2024 · 1 comment
Open

Not compatible with recent versions of textual #58

wookayin opened this issue Sep 25, 2024 · 1 comment

Comments

@wookayin
Copy link

As of toolong==1.5.0, textualize is pinned to be at 0.58 but this is too old (latest: textual==0.80.1). With textual==0.80.1, tl cannot launch:

$ echo 'hi' | tl

...
AttributeError: 'UI' object has no attribute 'namespace_bindings'

.../toolong/log_view.py:244 in watch_can_tail
244     await self.mount_keys()
.../toolong/log_view.py:206 in mount_keys
206     for (_, binding) in self.app.namespace_bindings.values()

Also toolong should support and remain compatible with recent versions of textual, relaxing dependency requirements as many downside applications that depend on textual may have incompatible ranges of versions and conflicting dependency. Ideally toolong should be free of breaking changes, but since breaking changes are inevitable during the development cycle, it'd be great if we can catch up with textual changes more often; or a better (semantic) version scheme of textual will be also beneficial.

@bluefing
Copy link

See this PR #63

Would be great if you could test that it works for you.
This fork https://github.com/scirenihil/toolong is the source of the 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

No branches or pull requests

2 participants