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

Actually consider development dependencies #5969

Merged
merged 1 commit into from
Oct 25, 2022

Conversation

deivid-rodriguez
Copy link
Contributor

This fixes the issue reported by @jeffwidman at #5966 (comment).

Namely, we have a ~> 1.36.0 constraint on RuboCop, and still with the 1.37.0 release of it, now we're getting it installed in our development image.

The problem is fixed by 266038a, by I figured if development dependencies for subgems don't buy us much, so we can unify everything in the omnibus Gemfile.

@deivid-rodriguez deivid-rodriguez requested review from a team October 25, 2022 07:25
@deivid-rodriguez deivid-rodriguez requested a review from a team as a code owner October 25, 2022 07:25
@deivid-rodriguez deivid-rodriguez force-pushed the deivid-rodriguez/actuall-consider-dev-deps branch from 3f06a79 to 266038a Compare October 25, 2022 07:36
@deivid-rodriguez
Copy link
Contributor Author

I reverted the additional commit to drop development dependencies from subgems, since CI showed it's actually needed.

@deivid-rodriguez deivid-rodriguez changed the title Unify and actually consider development dependencies Actually consider development dependencies Oct 25, 2022
With this change, the dependency on rubocop 1.36.0 is actually pulled,
so that's what's now installed in the dev image, rather than the latest
version.

The problem that, unless you use the `gemspec` source, other Bundler
sources, like `path:`, will never pull development dependencies.
@deivid-rodriguez deivid-rodriguez force-pushed the deivid-rodriguez/actuall-consider-dev-deps branch from 266038a to f031a89 Compare October 25, 2022 09:25
@deivid-rodriguez deivid-rodriguez merged commit 38eb238 into main Oct 25, 2022
@deivid-rodriguez deivid-rodriguez deleted the deivid-rodriguez/actuall-consider-dev-deps branch October 25, 2022 09:32
@pavera pavera mentioned this pull request Oct 31, 2022
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.

None yet

2 participants