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

Fix adding platforms to lockfile sometimes conflicting on ruby requirements #4371

Merged
merged 1 commit into from Feb 13, 2021

Conversation

deivid-rodriguez
Copy link
Member

What was the end-user or developer problem that led to this PR?

Since 1f7797a, adding platforms to lockfiles sometimes conflicts on ruby version requirements.

What is your fix for the problem, implemented in this PR?

Our previous logic for selecting platform specific dependencies was applying to metadata dependencies, which is unexpected. So consider metadata dependencies as generic, so that their spec groups never get platforms activated/deactivated dinamically.

Fixes #4366.

Make sure the following tasks are checked

@deivid-rodriguez deivid-rodriguez force-pushed the metadata_dependencies_resolver_regression branch from e82df32 to 85d3042 Compare February 13, 2021 00:22
Our previous logic for selecting platform specific dependencies was
applying to metadata dependencies, which is unexpected.
@deivid-rodriguez deivid-rodriguez force-pushed the metadata_dependencies_resolver_regression branch from 85d3042 to 11afb35 Compare February 13, 2021 11:43
@deivid-rodriguez deivid-rodriguez merged commit 1c70599 into master Feb 13, 2021
@deivid-rodriguez deivid-rodriguez deleted the metadata_dependencies_resolver_regression branch February 13, 2021 13:05
deivid-rodriguez added a commit that referenced this pull request Feb 15, 2021
…_regression

Fix adding platforms to lockfile sometimes conflicting on ruby requirements

(cherry picked from commit 1c70599)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bundle lock --add-platform x86_64-linux fails with raygun-apm
2 participants