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

Packages framework restriction are propagated incorrectly #1213

Closed
vbfox opened this Issue Nov 12, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@vbfox
Contributor

vbfox commented Nov 12, 2015

Using this paket.dependencies file :

framework: >= net40

source https://nuget.org/api/v2

nuget Newtonsoft.Json redirects: on
nuget Nancy.Serialization.JsonNet ~> 1.2 framework: >= net451

The resulting lock file is :

FRAMEWORK: >= NET40
NUGET
  remote: https://nuget.org/api/v2
  specs:
    Nancy (1.4.1) - framework: >= net451
    Nancy.Serialization.JsonNet (1.4.1) - framework: >= net451
      Nancy (>= 1.4.1)
      Newtonsoft.Json
    Newtonsoft.Json (7.0.1) - redirects: on, framework: >= net451

But the Newtonsoft.Json (7.0.1) - redirects: on, framework: >= net451 line is incorrect as the configuration intended for Newtonsoft.Json to be usable in framework: >= net40.

It seem that the framework restriction applied to Nancy.Serialization.JsonNet has unexpectedly propagated to one of it's dependencies.

@forki forki added the bug label Nov 12, 2015

@vbfox

This comment has been minimized.

Show comment
Hide comment
@vbfox

vbfox Nov 12, 2015

Contributor

First version with the bug seem to be 2.21.3 so it would point to #1190

Contributor

vbfox commented Nov 12, 2015

First version with the bug seem to be 2.21.3 so it would point to #1190

@forki forki closed this in db35ffc Nov 12, 2015

@forki

This comment has been minimized.

Show comment
Hide comment
@forki

forki Nov 12, 2015

Member

I'm very happy that we now have the integration test infrastructure in place. this one was really nasty and had a big chance to be regression to #1190. Anyways I think it's fixed. And I added your case as regression test.

Member

forki commented Nov 12, 2015

I'm very happy that we now have the integration test infrastructure in place. this one was really nasty and had a big chance to be regression to #1190. Anyways I think it's fixed. And I added your case as regression test.

@vbfox

This comment has been minimized.

Show comment
Hide comment
@vbfox

vbfox Nov 12, 2015

Contributor

👍

Perfect, we can now update to the latest version.

Thanks a lot.

Contributor

vbfox commented Nov 12, 2015

👍

Perfect, we can now update to the latest version.

Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment