Skip to content

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.

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