Skip to content

Weird behavior with evicted dependencies #66

Description

@nigredo-tori

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions