We agree that LSP needs fixing for Pydantic v2. However the statement that uv has nothing to do with this versioning problem, and cannot solve it, is 100% incorrect. Indeed, uv provides the only solution until LSP is ported to v2.UV have nothing to do with this problem and cannot solve it, the problem is that the lsp plugin need to be upgraded to V2, UV is just another venv/pyenv + pip + other things, a package and environment manager to separate environments to ease the development and its dependencies!...pydantic_v1, it is a good solution, but unfortunately again it does not support python 3.14... the only solution is to upgrade the plugin to V2
The uv system addresses deficiencies in venv, pip, pipx, et al. It can embed whatever necessary Python version LSP wants. The old "pip" or "venv" methods only work inside Python; uv installs Pythons too, not just packages.
So until LSP ports to Pydantic v2, the "v1 API" can work today. All the "v1 API" needs is a lower Python version than 3.14, which uv can install with Pydantic 2.
For that matter, uv could install Pydantic v1 with the last Python that most recently worked with v1. Then the LSP code will function without even touching it, right now.
Someone familiar with LSP code should decide which route is minimum work. I just explain here that uv provides two different ways to make LSP work now, with (a) almost or (b) exactly no changes. Of course, I still want LSP ported to v2.
If you're not familiar with uv, then you may not know pixi.sh either. It's like uv, and uses some uv code internally. However it handles more languages than Python. For strictly Python purposes, uv is best.
Thank you! I appreciate the interaction and look forward to CudaText improvements. It's a fantastic app!