Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Nimble dependency to 8.0.0..<9.0.0 #13

Closed
phlippieb opened this issue Sep 14, 2019 · 1 comment
Closed

Update Nimble dependency to 8.0.0..<9.0.0 #13

phlippieb opened this issue Sep 14, 2019 · 1 comment

Comments

@phlippieb
Copy link
Contributor

Linenoise depends on Nimble, and specifies 7.0.1 upwards as the required version. This creates a conflict in packages that also depend on nimble, but are using the more recent 8.* versions.

For example, the following simple Package.swift...

// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "swiftpm",
    dependencies: [
        .package(url: "https://github.com/andybest/linenoise-swift.git", from: "0.0.0"),
        .package(url: "https://github.com/Quick/Nimble.git", from: "8.0.0")
    ],
    targets: [which this package depends on.
        .target(
            name: "swiftpm",
            dependencies: ["LineNoise", "Nimble"]),
        .testTarget(
            name: "swiftpmTests",
            dependencies: ["swiftpm"]),
    ]
)

... fails with the error:

error: the package dependency graph could not be resolved; possibly because of these requirements:    https://github.com/andybest/linenoise-swift.git @ 0.0.0..<1.0.0
@phlippieb
Copy link
Contributor Author

#14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants