Skip to content
This repository has been archived by the owner on May 21, 2020. It is now read-only.

Dependencies are incorrectly resolved #76

Open
kkodev opened this issue Apr 27, 2017 · 0 comments
Open

Dependencies are incorrectly resolved #76

kkodev opened this issue Apr 27, 2017 · 0 comments

Comments

@kkodev
Copy link

kkodev commented Apr 27, 2017

Consider following set of dependencies:

Cartfile: (main)
---
A ~> 1.0
B ~> 7.3
C ~> 2.9.0

Cartfile: (A)
---
C ~> 2.0

Cartfile: (B)
---
A ~> 1.0.3
C ~> 2.8.4

The result I get:

A "1.0.4" (correct)
B "7.3.0" (correct)
C "2.0.0" (wrong, should be 2.9.x)

It seems like that providing spec like "~> x.y" assumes you require "x.y.0", or "x.y.z" while it should mean "anything with major x and same or above y.z"
As a side thing, even if this assumption is made, this shouldn't even resolve properly.

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

No branches or pull requests

1 participant