Open Earlopain opened 2 months ago
There should be a new release of Prism today, which will unblock this: ~https://github.com/Shopify/ruby-lsp/pull/1913~ https://github.com/Shopify/ruby-lsp/pull/1953
Discussed with the team today:
This is still occurring. Prism is resolving to 0.29, but ruby-lsp resolves to v11.2 because v16.6 requires prism <0.28. This is a pretty significant regression.
Can we maybe consider using pessimistic dependencies here so that new versions don't downgrade us?
s.add_dependency("prism", "~>0.23")
@kddnewton
confirmed the next release of Prism will be 1.0, so this will become less of a problem soon.
Noting that I ran into this again today while working on RuboCop since it aggressively keeps up with prism updates.
We've updated for Prism v0.30.0, and will release shortly.
This should be the last time we run into this.
Description
rubocop
currently has a dev dependency on the latest prism version>= 0.25
which this gem doesn't advertise support for at the moment.During resolution, this results in a
ruby-lsp
version without prism as a dependency to be choosen,0.11.2
from october last year. It seems to mostly work but obviously a bunch of stuff is missing.