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

Cannot satisfy the dependency problem #432

Closed
vegansk opened this issue Nov 15, 2017 · 3 comments
Closed

Cannot satisfy the dependency problem #432

vegansk opened this issue Nov 15, 2017 · 3 comments

Comments

@vegansk
Copy link

vegansk commented Nov 15, 2017

The project depends on package via tempfile#head which is of version 0.1.5, and have transitive dependency on the same package: tempfile >= 0.1.5. nimble install -d raises an error:

Error: Cannot satisfy the dependency on tempfile #head and tempfile 0.1.5
@dom96
Copy link
Collaborator

dom96 commented Nov 15, 2017

If there is a transitive dependency on tempfile >= 0.1.5 then that shouldn't be a problem. Are you sure it's tempfile >= 0.1.5 and not tempfile 0.1.5?

Another possible issue could be that tempfile#head's version is actually < 0.1.5.

@dom96
Copy link
Collaborator

dom96 commented Nov 15, 2017

On the other hand, I can see this being a bug. But please verify, and if you can create a project that reproduces this.

@stefantalpalaru
Copy link

Here's a reproducible test case. Relevant *.nimble section:

requires "https://github.com/nimble-test/packagea#head",
         "https://github.com/nimble-test/packagebin2"

Command:
rm -rf ~/.nimble; nimble install -y --depsOnly; nimble install -y --depsOnly

The second nimble run fails with:

Error: Cannot satisfy the dependency on PackageA 0.6.0 and PackageA #head

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

No branches or pull requests

3 participants