fslaborg / Deedle

Easy to use .NET library for data and time series manipulation and for scientific programming
http://fslab.org/Deedle/
BSD 2-Clause "Simplified" License
933 stars 195 forks source link

Deedle install fails when FSharp.Data (=2.0.14) dependency clashes with installed 2.1.0 #290

Closed philderbeast closed 9 years ago

philderbeast commented 9 years ago

Trying to install Deedle fails when FSharp.Data (=2.0.14) dependency clashes with installed 2.1.0.

package.config

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="FSharp.Data" version="2.1.0" targetFramework="net451" />
 </packages>

Package Manager Console

PM> Install-Package Deedle
Attempting to resolve dependency 'FSharp.Data (= 2.0.14)'.
Installing 'FSharp.Data 2.0.14'.
Successfully installed 'FSharp.Data 2.0.14'.
Installing 'Deedle 1.0.6'.
Successfully installed 'Deedle 1.0.6'.
Install failed. Rolling back...
Install-Package : Already referencing a newer version of 'FSharp.Data'.
At line:1 char:1
+ Install-Package Deedle
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
philderbeast commented 9 years ago

Uninstalling FSharp.Data allows Deedle to install but then FSharp.Data is not the later version.

PM> Uninstall-Package FSharp.Data -Force
Removing 'FSharp.Data 2.1.0' from Svc.Ob.
Successfully removed 'FSharp.Data 2.1.0' from Svc.Ob.

PM> Install-Package Deedle
Attempting to resolve dependency 'FSharp.Data (= 2.0.14)'.
Installing 'Deedle 1.0.6'.
Successfully installed 'Deedle 1.0.6'.
Adding 'FSharp.Data 2.0.14' to Svc.Ob.
Successfully added 'FSharp.Data 2.0.14' to Svc.Ob.
Adding 'Deedle 1.0.6' to Svc.Ob.
Successfully added 'Deedle 1.0.6' to Svc.Ob.
casbby commented 9 years ago

The resolution provided above will work on windows but unfortunately won't work on mono.

tpetricek commented 9 years ago

The PR #289 removes the FSharp.Data dependency and fixes this problem forever :-). Will try to merge this & release an update later this week.

tpetricek commented 9 years ago

New version of Deedle does not have dependency on F# Data, so this should be solved.