You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 5.1.0 the F# Core dependency is >= 5.0.2, which is very convenient for a test library, as it allows seamless testing for a large variety of F# versions.
From version 5.2.0 this jumps to >= 6.0.7, which is a big leap and for a bunch of projects (mostly projects that need to use "lowest denominator", like NuGet packages and libs), this causes warnings like these
warning NU1605: Detected package downgrade: FSharp.Core from 6.0.7 to 6.0.3.
Repro steps
Repro is simple: create a lib that uses an older F# Core, then create a test project with FsUnit for it.
Expected behavior
Lowest possible dependency, as this library is widely used. While I understand that a bump to 6.x is necessary at some point (should perhaps be a major version upgrade?), for instance for using task, I would argue that 6.0.2 or thereabouts should be fine.
Actual behavior
See above.
Known workarounds
Use lower dependency, or force-reference F# Core to remove the warning.
The text was updated successfully, but these errors were encountered:
Hi @abelbraaksma,
you're right. I didn't change back the FSharp.Core version as I dropped the net7.0 some updates ago.
I'll change this in the next days.
Thanks, let me know if I need to test anything for you, happy to help!
abelbraaksma
changed the title
Is FSharp.Core 6.0.7 really the lowest dependency for F# Core?
Is FSharp.Core 6.0.7 really the lowest dependency for FsUnit?
Jun 5, 2023
Description
In version 5.1.0 the F# Core dependency is
>= 5.0.2
, which is very convenient for a test library, as it allows seamless testing for a large variety of F# versions.From version 5.2.0 this jumps to
>= 6.0.7
, which is a big leap and for a bunch of projects (mostly projects that need to use "lowest denominator", like NuGet packages and libs), this causes warnings like theseRepro steps
Repro is simple: create a lib that uses an older F# Core, then create a test project with FsUnit for it.
Expected behavior
Lowest possible dependency, as this library is widely used. While I understand that a bump to 6.x is necessary at some point (should perhaps be a major version upgrade?), for instance for using
task
, I would argue that6.0.2
or thereabouts should be fine.Actual behavior
See above.
Known workarounds
Use lower dependency, or force-reference F# Core to remove the warning.
The text was updated successfully, but these errors were encountered: