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 case of not properly falling back to ruby variant when materializing #6261

Merged
merged 3 commits into from
Jan 11, 2023

Conversation

deivid-rodriguez
Copy link
Member

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

In rubygems/rubygems.org#3332, another case where Bundler is not properly falling back to the generic version of nokogiri was surfaced. It's very similar to #6221, but in frozen mode.

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

My fix is to not materialize to a non installable version in frozen mode when verifying whether we need to fallback to the generic platform.

Make sure the following tasks are checked

It makes spec wording unnecessarily verbose and some of the specs here
don't need setting the platform at all and are unrelated to MacOS.
…date

In this case, when materializing a legacy lockfile using only "ruby"
platform, and in frozen mode.
In particular, why we may materialize a non-installable gem in frozen
mode.
@deivid-rodriguez deivid-rodriguez merged commit f2084b1 into master Jan 11, 2023
@deivid-rodriguez deivid-rodriguez deleted the fix-another-materialization-issue branch January 11, 2023 11:15
deivid-rodriguez added a commit that referenced this pull request Jan 13, 2023
Fix another case of not properly falling back to ruby variant when materializing

(cherry picked from commit f2084b1)
CvX added a commit to CvX/licensed that referenced this pull request Jan 17, 2023
…to fix bundler 2.4.4 incompatiblity

rubygems/rubygems#6261 changed the arity of `__materialize__` method again, which broke `licensed`
See also: github#522 😅
hsbt pushed a commit that referenced this pull request Jun 6, 2023
…able candidate"

In this case, when materializing a legacy lockfile using only "ruby"
platform, and in frozen mode.

=====

Commit adapted from: #6261
Specific PR's commit hash: 93af31a
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

1 participant