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 another incorrect removal of "ruby" platform from lockfile when changing path sources #6784

Merged
merged 1 commit into from Jul 2, 2023

Conversation

deivid-rodriguez
Copy link
Member

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

When dependencies in path sources have changed, and lockfile includes the RUBY platform among others, we'll incorrectly remove the RUBY platform.

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

In this case, we'll be re-resolving, and we can't really know whether the resolution will be valid or invalid for the Ruby platform, so skip the removal in that case.

This is very similar to a previous bug fix and I think it's the last bug fix in preparation for Universal lockfiles, which I expect to finish up very soon!

Make sure the following tasks are checked

When dependencies in path sources have changed, we'll be re-resolving,
and we can't really know whether the resolution will be valid or invalid
for the Ruby platform, so skip the removal in that case.
@simi simi merged commit 84b288c into master Jul 2, 2023
92 checks passed
@simi simi deleted the another-incorrect-ruby-platform-removal branch July 2, 2023 02:06
deivid-rodriguez pushed a commit that referenced this pull request Jul 6, 2023
…m-removal

Fix another incorrect removal of "ruby" platform from lockfile when changing path sources

(cherry picked from commit 84b288c)
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.

None yet

2 participants