julia: avoid cascading mbedtls in v1.12+#4905
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the julia package recipe to ensure Julia v1.12+ no longer pulls mbedtls transitively via curl/libssh2, aligning the dependency stack with the upstream switch to OpenSSL.
Changes:
- Switch
curldependency totls=opensslfor@1.12:(retaintls=mbedtlsfor@:1.11). - Switch
libssh2dependency tocrypto=opensslfor@1.12:(retaincrypto=mbedtlsfor@:1.11). - Restrict the direct
mbedtlsdependency to@:1.11only.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
giordano
approved these changes
May 20, 2026
haampie
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR removes the residual dependencies on
mbedtlsin v1.12+. In particular:curl tls={mbedtls => openssl}libssh2 crypto={mbedtls => openssl}mbedtlsitselfReferences: #2033, JuliaLang/julia#56708
Not built locally yet since it is not part of my usual environment. But I'm picking up this PR for a cloud build and will report here.Build with this commit successful inside our CI environment at https://eicweb.phy.anl.gov/containers/eic_container/-/jobs/7869745#L1. This was previously failing not in the julia build, but downstream since curl with mbedtls cannot handle US DOE MITM/DPI certificate rewrites.