From 3f31840bbcb3978064bca611f66d530bfea2b22f Mon Sep 17 00:00:00 2001 From: Raphael Hiesgen Date: Fri, 12 Jun 2026 14:38:26 +0100 Subject: [PATCH] Raise swift-crypto upper version limit (#300) **Motivation:** Dependencies that depend on the swift-crypto beta version and also want to use swift-certificates run into a dependency resolution conflict. This change allows swift-certificates to use the beta and potential release of the next swift-crypto version. This is targeting the branch `swift-crypto-5.x` **Modifications:** Raise the upper limit of allowed swift-crypto dependencies to `5.0.0-beta.max`, which includes 5.x beta releases. **Results:** Enable depending on swift-cryto 5.x beta and swift-certificates. --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 18b9b98..a7ed8b1 100644 --- a/Package.swift +++ b/Package.swift @@ -75,7 +75,7 @@ let package = Package( // we can depend on local versions of our dependencies instead of fetching them remotely. if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil { package.dependencies += [ - .package(url: "https://github.com/apple/swift-crypto.git", "3.12.3"..<"5.0.0"), + .package(url: "https://github.com/apple/swift-crypto.git", "3.12.3"..<"5.0.0-beta.max"), .package(url: "https://github.com/apple/swift-asn1.git", from: "1.1.0"), ] } else {