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

Nuget-style pessimistic version constraint isn't honored with other nugets when another nuget has the same indirect dependency #55

Closed
agross opened this issue Sep 4, 2014 · 1 comment
Labels

Comments

@agross
Copy link
Contributor

agross commented Sep 4, 2014

Direct dependency of N.B.Windsor is specified explicitly:

source "http://nuget.org/api/v2"

nuget "Castle.Windsor" "!>= 0"
nuget "Nancy.Bootstrappers.Windsor" "!~> 0.23"
NUGET
  remote: http://nuget.org/api/v2
  specs:
    Castle.Core (3.3.0)
    Castle.Windsor (3.3.0)  // should be 3.2.1
      Castle.Core (>= 3.3.0)
    Nancy (0.23.2)
    Nancy.Bootstrappers.Windsor (0.23.2)
      Nancy (>= 0.23.2)
      Castle.Windsor (>= 3.2.1)

Direct dependency of N.B.Windsor is specified indirectly through C.W-log4net:

source "http://nuget.org/api/v2"

nuget "Castle.Windsor-log4net" "!>= 0"
nuget "Nancy.Bootstrappers.Windsor" "!~> 0.23"
NUGET
  remote: http://nuget.org/api/v2
  specs:
    Castle.Core (3.3.0)
    Castle.Core-log4net (3.3.0)
      Castle.Core (>= 3.3.0)
      log4net (1.2.10)
    Castle.LoggingFacility (3.3.0)
      Castle.Core (>= 3.3.0)
      Castle.Windsor (>= 3.3.0)
    Castle.Windsor (3.3.0)  // should be 3.2.1
      Castle.Core (>= 3.3.0)
    Castle.Windsor-log4net (3.3.0)
      Castle.Core-log4net (>= 3.3.0)
      Castle.LoggingFacility (>= 3.3.0)
    Nancy (0.23.2)
    Nancy.Bootstrappers.Windsor (0.23.2)
      Nancy (>= 0.23.2)
      Castle.Windsor (>= 3.2.1)
    log4net (1.2.10)
@forki forki added the bug label Sep 5, 2014
forki added a commit that referenced this issue Sep 5, 2014
forki added a commit that referenced this issue Sep 5, 2014
@forki
Copy link
Member

forki commented Sep 5, 2014

I documented this as failing tests, but it's tricky. Please use the following workaround for now:

source "http://nuget.org/api/v2"

nuget "Nancy.Bootstrappers.Windsor" "!~> 0.23"

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

No branches or pull requests

2 participants