Failed to build tree_sitter_java for me.
Sadly, tree-sitter hasn’t released Python 3.15 wheels yet, so I disabled syntax highlighting on platforms unlikely to be able to build it from source (e.g. Windows). I figured Linux and macOS users can pretty easily install a compiler to build it form source. What platform are you using and I wonder why it’s trying to build tree_sitter_java.
I don’t think there’s much can be done other than disable tree-sitter support on your platform and wait for 3.15 wheels.
@smontanaro if you’re inclined, please file a bug.
I tried both on my Mac (MacOS 27 Golden Gate) and just now on my old Ubuntu-based laptop (26.04 something). The Mac failed to build tree_sitter_java. On Ubuntu it appears to be complaining about tree_sitter_toml.
After explicitly pip installing tree-sitter, I tried again on Ubuntu and got a different failure:
$ uvx --python 3.15 whatsnewt
Built tree-sitter-regex==0.25.0 error: Failed to download and build `tree-sitter-regex==0.25.0`
cause: The built wheel `tree_sitter_regex-0.25.0-cp310-abi3-linux_x86_64.whl` is not compatible with
the current Python 3.15t on Linux x86_64
hint: `tree-sitter-regex` (v0.25.0) was included because `whatsnewt` (v3.15.2) depends on `textual[syntax]` (v8.2.8) which depends on `tree-sitter-regex`
Might the problem be caused by my configure args?
--disable-gil
--with-tail-call-interp
--enable-optimizations
--prefix=/Users/skip/.local
CC=clang
I think this is getting off-topic for the 3.15.0 release announcement. I’m going to ask you all move it to the appropriate issue tracker.
TL;DR: it’s tree-sitter
If I had any idea what I was doing, I might. ![]()
I tried the uvx command again. Now the only output is:
error: Failed to spawn: whatsnewt
cause: No such file or directory (os error 2)
I know everybody raves about uv. I’ve never used it though. I assume uvx is part of that universe. Not the best intro to it.
I gave up on uv and just ran python -m pip install whatsnewt…
Hmm… worked for me on my ubuntu 26.04.1
I am running on latest version of uv though! uv 0.13.0 may be you can update uv to latest version? uv self update
I released whatsnewt 3.15.3 which switches from tree-sitter to Pygments for syntax highlighting. This should be much more portable and doesn’t require a C compiler. I don’t know what your uvx problems might be. Try this:
uvx --refresh --python 3.15 whatsnewt
Thanks @barry. That works now.