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

feat: Remove erronous? lock to x86_64-linux #150

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

daemonsy
Copy link
Contributor

What's up?

Hoping this will resolve #144 , where it seems like folks using M1 might have issue with the platform being forced to use the linux binary. Also updates bundler to the latest/greatest, which keeps turning up when you search for M1 compatibility issues, though not directly related to this one.

Hopefully the bundler update accounts for the fact there are multiple mac platform types better.

This platform change was introduced by semantic release bot in 631ebfe#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731fR44 which could be a bundler bug 🤷

@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|

spec.add_dependency 'graphql', '>= 1.9.8'

spec.add_runtime_dependency 'google-protobuf', '~> 3.7'
spec.add_runtime_dependency 'google-protobuf', '~> 3.13.0'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wanted to only keep the minor to 3.13 since this PR is only about removing the platform lock.

Also guessing typically if we wanted to lock versions, having it locked to patch and having the maintainers manually bump minor/major versions is more intention revealing.

@daemonsy
Copy link
Contributor Author

Kudos to @toreriklinnerud for debugging this with me. More context, bundler 2.20 introduced the specific platform locking and may have contributed to this. For more context:

rubygems/rubygems#4269 (comment)
rubygems/rubygems#4127

@daemonsy daemonsy changed the title Remove erronous? lock to x86_64-linux feat: Remove erronous? lock to x86_64-linux Jan 14, 2022
@daemonsy daemonsy requested a review from geshwho January 25, 2022 21:37
Copy link
Collaborator

@geshwho geshwho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@daemonsy daemonsy merged commit ff53ea6 into Gusto:main Jan 26, 2022
@daemonsy daemonsy deleted the remove_platform_lock branch January 26, 2022 01:51
@rylanc
Copy link
Contributor

rylanc commented Jan 27, 2022

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compatibility with Mac M1's
3 participants