8000 Configuration-only dependencies should not take part in version resolution · Issue #1217 · dlang/dub · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
Configuration-only dependencies should not take part in version resolution #1217
Open
@atilaneves

Description

@atilaneves

Currently, if package foo has:

dependency "bar" version="*"
configuration "unittest" {
     dependency "unit-threaded" version="==0.7.1"

And package bar has:

configuration "unittest" {
    dependency "unit-threaded" version="==0.7.2"

Then foo will fail to build due to version mismatches, even though bar is using the default configuration, not unittest.

The fix would be to only consider bar dependencies applicable to the configuration actually being built (usually default but could be something else if subConfiguration is used).

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

      0