Fix macOS ARM compatibility issues #264
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses multiple critical compatibility issues affecting JuliaCall on macOS ARM (M1/M2) systems that were causing CI failures and preventing proper usage with packages like diffeqr.
Issues Fixed
1. Version Parsing and Documentation Mismatch
julia_lts_version()
function to reliably get LTS versionsinstall_julia()
now properly handles both "lts" and "latest" strings2. Test Infrastructure Problems (25 failing tests)
curl
as suggested dependency to resolve network-related test failures3. Julia Package Dependency Management
install_dependency.jl
with robust error handling for ARM64 package conflictsTechnical Details
Root Causes Identified:
Changes Made:
R/installJulia.R:
julia_lts_version()
function with proper LTS detectioninstall_julia()
to handle both "lts" and "latest"R/zzz.R:
julia_setup()
default from "latest" to "lts"inst/julia/install_dependency.jl:
DESCRIPTION:
curl
as suggested dependency for test compatibilityTest Results
Impact on diffeqr
This resolves the compatibility issues affecting diffeqr on macOS ARM systems by:
Compatibility
🤖 Generated with Claude Code