Skip to content
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

pinning sprockets at 3.7.2 #6828

Open
wants to merge 1 commit into
base: 4.x-stable
Choose a base branch
from

Conversation

rkoonts4
Copy link

@rkoonts4 rkoonts4 commented Jun 6, 2024

Fixes

Fixes #6826

Summary

Pins sprockets at 3.7.2 on 4.x-stable branch

@cudevmaxwell
Copy link
Contributor

cudevmaxwell commented Sep 4, 2024

I don't think the pessimistic version constraint operator (~>) is correct here, since '~> 3.7.2' would still pull down 3.7.3.

@@ -82,7 +82,7 @@ SUMMARY
spec.add_dependency 'tinymce-rails', '~> 5.10'
spec.add_dependency 'valkyrie', '~> 3.0.1'
spec.add_dependency 'view_component', '~> 2.74.1' # Pin until blacklight is updated with workaround for https://github.com/ViewComponent/view_component/issues/1565
spec.add_dependency 'sprockets', '~> 3.7'
spec.add_dependency 'sprockets', '~> 3.7.2' # Pin at 3.7.2 as 3.7.3 creates PermissionsControl error
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As @cudevmaxwell noted this will allow 3.7.3. How about restricting to 3.7.x less than 3.7.3?

Suggested change
spec.add_dependency 'sprockets', '~> 3.7.2' # Pin at 3.7.2 as 3.7.3 creates PermissionsControl error
spec.add_dependency 'sprockets', '~> 3.7', '< 3.7.3' # Pin below 3.7.3 because it creates a PermissionsControl error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants