Fix compatibility issue with lsprotocol by pinning version in pyproject.toml #311
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As discussed in issue #302, the latest version of
lsprotocol
(2024.0.0a1
) has deprecated theTraceValues
fromlsprotocol.types
, which caused failures when initiating thejedi-language-server
. This issue led to an inability to start the server as detailed in the error logs.To resolve this, I have proposed a change in the
pyproject.toml
to pin thelsprotocol
version to<=2023.0.1
. Additionally, I have updated thepoetry.lock
file to reflect this change.Please note that this is my first pull request outside of my personal projects. I welcome any feedback or corrections if there are better ways to handle this issue. Thank you for considering this contribution!