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

Weird behavior with evicted dependencies #66

Open
nigredo-tori opened this issue Feb 7, 2019 · 0 comments
Open

Weird behavior with evicted dependencies #66

nigredo-tori opened this issue Feb 7, 2019 · 0 comments

Comments

@nigredo-tori
Copy link

nigredo-tori commented Feb 7, 2019

There is a weird interaction between libraryDependencies in sub-projects that depend on one another. If the dependee has an older version of a dependency than the depender, then this old version might be used in the depender when running unidoc!

I've made an example project here. Note that with compile the depender sub-project uses the new cats-effect version (and compiles OK), yet with unidoc it uses the old version and fails. This is also flaky in a weird way - the behavior seems to depend on the folder in which the build is located. For me, the bug is always present when running the example project from /tmp/sbt-test, but can't be reproduced in /home/nigredo/dev/various-examples...

A workaround for this issue might be to ensure all the sub-projects use consistent dependencies - but this looks painful in the long run.

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

No branches or pull requests

1 participant