Skip to content

In the future release, deps does not load package dependencies transitively #15511

Description

@AllanBlanchard

For the Frama-C team.

In our tests, we use dune rules to execute our tests. We have a special format that list direct dependencies of the tests so that we list the packages that are used by the test and we expected deps to load the dependencies transitively. From this commit:

95da007

deps does not load dependencies anymore and this is a big problem for us, since we now have to list all dependencies by hand, which means that if our components slightly change we have to update dependencies everywhere. Or we could eventually build a dependency walker ... while dune has all necessary information.

Is there a way for us to keep the previous behavior? If not, is there a workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    package managementDune's package management — `(pkg)` stanza, lockdirs, `dune pkg` commandsquestionThis issue is a question about somethingrequires-team-discussionThis topic requires a team discussion

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions