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

Enable specific_platform by default #4015

Merged
merged 2 commits into from Nov 12, 2020

Conversation

deivid-rodriguez
Copy link
Member

@deivid-rodriguez deivid-rodriguez commented Oct 13, 2020

To properly support gems providing native platform versions with different dependencies than their pure ruby counterparts.

Nokogiri will start doing this soon. In particular, for each version, the pure ruby variant will not have a required_ruby_version upper bound, but the native variant will. Bundler should always install a valid bundle in this case.

Closes #3200.
Closes #4012.

Make sure he following tasks are checked

To properly support gems providing native platform versions with
different dependencies than their pure ruby counterparts.

Nokogiri will start doing this soon. In particular, for each version,
the pure ruby variant will not have a `required_ruby_version` upper
bound, but the native variant will. Bundler should always install a
valid bundle in this case.
With specific platforms by default, it sounds like we can fix a
previous "duplicated spec groups" issue by calling uniq on the array of
definition platforms.
@deivid-rodriguez
Copy link
Member Author

Let's do this!

@deivid-rodriguez deivid-rodriguez merged commit 824f272 into master Nov 12, 2020
@deivid-rodriguez deivid-rodriguez deleted the specific_platform_by_default branch November 12, 2020 12:00
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
Enable `specific_platform` by default

(cherry picked from commit 824f272)
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
Enable `specific_platform` by default

(cherry picked from commit 824f272)
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
Enable `specific_platform` by default

(cherry picked from commit 824f272)
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
Enable `specific_platform` by default

(cherry picked from commit 824f272)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants