Open igor-makarov opened 3 years ago
LGTM
awesome! really cool to see this organized!
I forgot one thing, it's better to include this PR https://github.com/CocoaPods/CocoaPods/pull/10324
@jasl I'm not sure, why do you think so? It seems to be general Ruby 3 compat, not ARM compat. We went with nio4r
'pure' implementation for ARM arch, so native fibers aren't a requirement. WDYT?
@jasl I'm not sure, why do you think so? It seems to be general Ruby 3 compat, not ARM compat. We went with
nio4r
'pure' implementation for ARM arch, so native fibers aren't a requirement. WDYT?
That PR contains:
I also do these in https://github.com/CocoaPods/Core/pull/671
I think our major target is ARM native support, but we can also get Ruby 2.6+ compatible during this work (CocoaPods won't work on Ruby 3.0), it can be considered as by-product.
Support Ruby 3.0 has an advantage, it's good for full stack devlopers who may both working on Ruby and iOS development
native fibers aren't a requirement
We're not aim for native fibers, I just wanna ensure CocoaPods can running on Ruby 2.6 to latest versions,
without that PR, CocoaPods will gain deprecation warning on Ruby 2.7 because of Separation of positional and keyword arguments
and get error on Ruby 3.0
@jasl I agree, full support for Ruby 3 is definitely desired, including resolving the deprecations. However, it does not seem to be a blocker for ARM, and also a little bit farther away in terms of effort required.
If it's separate, we'll be able to ship ARM support sooner.
Or am I missing something?
@jasl I agree, full support for Ruby 3 is definitely desired, including resolving the deprecations. However, it does not seem to be a blocker for ARM, and also a little bit farther away in terms of effort required.
If it's separate, we'll be able to ship ARM support sooner.
Or am I missing something?
Yeah It's not blocker for ARM.
I mean that PR can be part of Bump minimum Ruby version to 2.6 in CocoaPods
, It also need to update CI matrix (remove 2.3 - 2.5), and because the PR is already here, we can based on it and adding:
Anyway, that's not a big deal, but if @segiddins has time to finish that PR, I'm glad to see we can merge it first, that's can parallel with this issue listed tasks.
@jasl yeah let's keep it parallel and see if it gets merged soon...
"1 Bump minimum Ruby version to 2.6 in Core" is merged
These are the tasks that are to be finished before CocoaPods is ARM-compatible:
async
gem https://github.com/CocoaPods/Core/pull/671 MERGED 🚀typhoeus
in Core withasync-http
- blocked by (1) https://github.com/CocoaPods/Core/pull/669typhoeus
with nativeopen_uri
in CocoaPods https://github.com/CocoaPods/CocoaPods/pull/10346 MERGED 🚀typhoeus
removal - blocked by (2) & (5) PR TBDSide note: @segiddins has tried adding Ruby 3 tests before this effort began. (5) might unblock that PR (https://github.com/CocoaPods/CocoaPods/pull/10324).
@jasl @dnkoutso let me know if I missed anything and I'll add it.