Mint icon indicating copy to clipboard operation
Mint copied to clipboard

[BUG] Version comparison fails when it should actually succeed

Open marlonrichert opened this issue 3 years ago • 0 comments

% mint version
Version: 0.17.1

% mint install swiftyfinch/rugby@main
🌱 Cloning rugby main
🌱 Resolving package
error: Dependencies could not be resolved because no versions of 'xcbeautify' match the requirement 0.13.0..<1.0.0 and root depends on 'xcbeautify' 0.13.0..<1.0.0.
🌱 Encountered error during "swift package resolve". Use --verbose to see full output
🌱  Failed to resolve rugby main with SPM

% mint install tuist/xcbeautify
🌱 Finding latest version of xcbeautify
🌱 Cloning xcbeautify 0.13.0
🌱 Resolving package
error: Dependencies could not be resolved because no versions of 'xmlcoder' match the requirement 0.13.1..<1.0.0 and root depends on 'xmlcoder' 0.13.1..<1.0.0.
🌱 Encountered error during "swift package resolve". Use --verbose to see full output
🌱  Failed to resolve xcbeautify 0.13.0 with SPM

The version of xcbeautify shown here is 0.13.0, which should satisfy rugby's dependency requirement of 'xcbeautify' 0.13.0..<1.0.0, but it unexpectedly does not.

macOS Monterey version 12.4 (21F79)

marlonrichert avatar Jun 03 '22 13:06 marlonrichert