Skip to content

julia: avoid cascading mbedtls in v1.12+#4905

Merged
haampie merged 1 commit into
developfrom
julia-1.12-mbedtls
May 20, 2026
Merged

julia: avoid cascading mbedtls in v1.12+#4905
haampie merged 1 commit into
developfrom
julia-1.12-mbedtls

Conversation

@wdconinc

@wdconinc wdconinc commented May 19, 2026

Copy link
Copy Markdown
Contributor

This PR removes the residual dependencies on mbedtls in v1.12+. In particular:

  • curl tls={mbedtls => openssl}
  • libssh2 crypto={mbedtls => openssl}
  • mbedtls itself

References: #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.

Copilot AI review requested due to automatic review settings May 19, 2026 22:34
@spackbot-triage spackbot-triage Bot added dependencies Modifications with a `depends_on()` directive update-package Modifications to packages in the repository labels May 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 curl dependency to tls=openssl for @1.12: (retain tls=mbedtls for @:1.11).
  • Switch libssh2 dependency to crypto=openssl for @1.12: (retain crypto=mbedtls for @:1.11).
  • Restrict the direct mbedtls dependency to @:1.11 only.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@haampie
haampie merged commit 5fa75e7 into develop May 20, 2026
18 checks passed
@haampie
haampie deleted the julia-1.12-mbedtls branch May 20, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Modifications with a `depends_on()` directive update-package Modifications to packages in the repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants