changed constraint as it affects internal-apis changes. #21

Merged
tiger5226 merged 1 commit from cast_constraint_update into master 2018-07-11 18:43:40 +02:00
tiger5226 commented 2018-07-11 17:55:29 +02:00 (Migrated from github.com)

The dependencies were updated but the constraint was not. So the effect was that it was constrained to v1.1 but the lock file was for 1.2. Not a problem here, but if you try to build this as a dep of another project, you run into

Solving failure: No versions of github.com/lbryio/lbry.go met constraints:
	master: Could not introduce github.com/lbryio/lbry.go@master, as it has a dependency on github.com/spf13/cast with constraint ^1.1.0, which has no overlap with existing constraint 8965335b8c7107321228e3e3702cab9832751bac from (root)
	master: Could not introduce github.com/lbryio/lbry.go@master, as it has a dependency on github.com/spf13/cast with constraint ^1.1.0, which has no overlap with existing constraint 8965335b8c7107321228e3e3702cab9832751bac from (root)
	automation-support: Could not introduce github.com/lbryio/lbry.go@automation-support, as it is not allowed by constraint master from project github.com/lbryio/internal-apis/app.

The dependencies were updated but the constraint was not. So the effect was that it was constrained to v1.1 but the lock file was for 1.2. Not a problem here, but if you try to build this as a dep of another project, you run into ``` Solving failure: No versions of github.com/lbryio/lbry.go met constraints: master: Could not introduce github.com/lbryio/lbry.go@master, as it has a dependency on github.com/spf13/cast with constraint ^1.1.0, which has no overlap with existing constraint 8965335b8c7107321228e3e3702cab9832751bac from (root) master: Could not introduce github.com/lbryio/lbry.go@master, as it has a dependency on github.com/spf13/cast with constraint ^1.1.0, which has no overlap with existing constraint 8965335b8c7107321228e3e3702cab9832751bac from (root) automation-support: Could not introduce github.com/lbryio/lbry.go@automation-support, as it is not allowed by constraint master from project github.com/lbryio/internal-apis/app. ```
lyoshenka (Migrated from github.com) reviewed 2018-07-11 17:55:29 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry.go#21
No description provided.