From 2f36c1fb47323bf12576e182ba50afe0d61a05d0 Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Thu, 20 Apr 2023 17:41:27 -0700 Subject: [PATCH] Change version dependency on `swift-argument-parser` to from `upToNextMinor` to `upToNextMajor` This will make SourceKit-LSP more tolerant with regard to which swift-argument-parser version it needs, resulting in fewer version conflicts for people who depend on SourceKit-LSP as a package dependency. --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 88f6feb89..d8f5a496c 100644 --- a/Package.swift +++ b/Package.swift @@ -252,7 +252,7 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil { .package(name: "IndexStoreDB", url: "https://github.com/apple/indexstore-db.git", branch: "main"), .package(name: "SwiftPM", url: "https://github.com/apple/swift-package-manager.git", branch: "main"), .package(url: "https://github.com/apple/swift-tools-support-core.git", branch: "main"), - .package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "1.2.2")), + .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.2"), .package(url: "https://github.com/apple/swift-syntax.git", branch: "main"), ] } else {