toolong icon indicating copy to clipboard operation
toolong copied to clipboard

Not compatible with recent versions of textual

Open wookayin opened this issue 1 year ago • 1 comments

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.

wookayin avatar Sep 25 '24 05:09 wookayin

See this PR https://github.com/Textualize/toolong/pull/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

bluefing avatar Oct 27 '24 11:10 bluefing