Skip to content

Is FSharp.Core 6.0.7 really the lowest dependency for FsUnit? #235

Closed
@abelbraaksma

Description

@abelbraaksma

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 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.

Metadata

Metadata

Assignees

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