-
Notifications
You must be signed in to change notification settings - Fork 45
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
support typeguard 4.x #299
Comments
Thanks for the note regarding Python 3.7 and typeguard — I've updated that issue.
What can we do here then? Maybe I misunderstand you but if pygls does not support it then how can we resolve this issue? xref #229 |
Yeah, I imagine the first step is opening an issue with |
I've resolved this upstream in openlawlibrary/pygls#405, we'll bump our pygls and typeguard versions shortly. |
Should be resolved by #302 |
@zanieb - You rock, thank you. |
Amazing! |
ruff-lsp
currently depends onpygls
, which does not yet have a version that supportstypeguard >=4.0.0
. This prevents me from installing this tool in a python environment that relies on newer versions of that library (e.g.phantom-types >=2
).Note that while #187 asserts that dropping Python 3.7 support blocks typeguard upgrade, the typeguard version history and commit log indicate that Python 3.7 is supported up to version 4.1.2, so this could plausibly be independently addressed.
A couple of workarounds I'm aware of:
ruff-lsp
via a system package manager and the conflicting libraries only in individual virtual environmentsruff-lsp
via pipx, which provides isolated environments for each package under managementThe text was updated successfully, but these errors were encountered: