From a67822992c64f302c4f3d9ecc4680d2d344dd74b Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Tue, 7 Oct 2025 12:03:48 -0400 Subject: [PATCH] Update the package dependencies to build the same versions that are in the update-checkouts. --- Package.swift | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Package.swift b/Package.swift index f39bb5399ff..c7ee8f6e90e 100644 --- a/Package.swift +++ b/Package.swift @@ -1101,17 +1101,17 @@ if ProcessInfo.processInfo.environment["SWIFTPM_LLBUILD_FWK"] == nil { if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil { package.dependencies += [ - // The 'swift-argument-parser' version declared here must match that - // used by 'swift-driver' and 'sourcekit-lsp'. Please coordinate - // dependency version changes here with those projects. - .package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "1.5.1")), - .package(url: "https://github.com/apple/swift-crypto.git", .upToNextMinor(from: "3.0.0")), + // These need to match the versions in the swiftlang/swift repo, + // utils/update_checkout/update-checkout-config.json + // They are used to build the official swift toolchain. .package(url: "https://github.com/swiftlang/swift-syntax.git", branch: relatedDependenciesBranch), - .package(url: "https://github.com/apple/swift-system.git", from: "1.1.1"), - .package(url: "https://github.com/apple/swift-collections.git", "1.0.1" ..< "1.2.0"), - .package(url: "https://github.com/apple/swift-certificates.git", "1.0.1" ..< "1.6.0"), - .package(url: "https://github.com/swiftlang/swift-toolchain-sqlite.git", from: "1.0.0"), - // For use in previewing documentation + .package(url: "https://github.com/apple/swift-argument-parser.git", revision: "1.5.1"), + .package(url: "https://github.com/apple/swift-crypto.git", revision: "3.12.5"), + .package(url: "https://github.com/apple/swift-system.git", revision: "1.5.0"), + .package(url: "https://github.com/apple/swift-collections.git", revision: "1.1.6"), + .package(url: "https://github.com/apple/swift-certificates.git", revision: "1.10.1"), + .package(url: "https://github.com/swiftlang/swift-toolchain-sqlite.git", revision: "1.0.7"), + // Not in toolchain, used for use in previewing documentation .package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.1.0"), ] if !swiftDriverDeps.isEmpty {