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

Spurious Dependency Conflict Warning Caused By a .git Difference in URLs in Different Packages #8037

Open
1 task done
MahdiBM opened this issue Oct 13, 2024 · 0 comments
Open
1 task done
Labels

Comments

@MahdiBM
Copy link

MahdiBM commented Oct 13, 2024

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

  • Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description

Screenshot 2024-10-10 at 11 04 51 PM

Expected behavior

No warnings.

Actual behavior

Does emit warnings.

Steps to reproduce

Add 2 dependencies to a package, on referencing a package with a .git URL, the other referencing the same package with the same URL, just not including .git.

Or clone vapor/penny-bot and checkout 6000ed123d09813d095b4307290fa6257da83f0a, then build.

Swift Package Manager version/commit hash

Swift Package Manager - Swift 6.0.0-dev

Swift & OS version (output of swift --version ; uname -a)

swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.11 clang-1600.0.26.2)
Target: arm64-apple-macosx15.0
Darwin Macbook.local 24.1.0 Darwin Kernel Version 24.1.0: Tue Sep 17 07:46:59 PDT 2024; root:xnu-11215.40.59~38/RELEASE_ARM64_T6000 arm64
@MahdiBM MahdiBM added the bug label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant