Tree-sitter version format incorrect (expects number only, gets descriptive string)

What happened?

On opening a file on emacs-29, I somewhat inconsistently get an error with the version of tree-sitter being in the wrong format (it’s 'emacs-tree-sitter@0.18.0andtsc-dyn-get-ensure` requires it to be a number). Tree-sitter seems to have an open issue to address this, but hasn’t had progress in ~9 months.

System information

Ubuntu-mate, hand compiled emacs0.29. Can provide details on the compilation if its useful but requires digging.

Loading data dump...