-
Notifications
You must be signed in to change notification settings - Fork 7
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
Relax prism version constraint #266
Comments
Prism might still go through breaking changes in the Ruby API while the team works to integrate it with the Ruby compiler. We can't relax the constraints until the API is stabilized or we risk breaking We're waiting for confirmation from the team working on Prism that the API is stable and then we can relax the constraints and use major versions as the indicator of breaking changes. |
But might this also be an indication that we don't have full confidence in |
I don't believe that's the case. We do have confidence in the test suite, but if we relax the constraint people will be able to upgrade Prism and break RBI regardless of the tests. Imagine this scenario:
|
Closing as we still want to restrict the Prism version while there are breaking changes. Hopefully not for too much longer. |
We should allow users to use any new version of prims they want, so they can report bugs (or not) to us. By restricting them we are artificially restricting what they do based on the possibility of anything breaking. If there were a security bug in prism, we would be the ones restricting people from upgrading. This isn't a good solution long term, and it is false sense security. If we are worried about prism breaking API, let's run CI every day with the main branch of prism to make sure we fix the problem before the release. |
Right now, we have an upper-bound version constraint on Prism here:
rbi/rbi.gemspec
Line 27 in 15448ad
It looks like the original reason for this was to prevent a breaking change from affecting RBI in 2abfa69. In practice, this works well in the moment, but when applications need to specify a new version of Prism, they can't (because RBI is being strict for seemingly no reason).
This seems to have caused more strain on maintainers of RBI to release a new version for every version bump of a dependency, and that doesn't make sense. Can we relax this dependency to either:
I'm asking because I got bit by this while testing a patch on Packwerk that's attempting to use Prism.
The text was updated successfully, but these errors were encountered: