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

Pin FSharp.Core dependency #75

Merged
merged 9 commits into from
Dec 17, 2024
Merged

Conversation

bartelink
Copy link
Member

@bartelink bartelink commented Apr 9, 2024

Triggered by SwensenSoftware/unquote#169

  • Add an explicit FSharp.Core dependency
  • Adjust inadvertent leak of Dotnet.ReproducibleBuilds into the package deps
  • Remove misleading inert superseded settings

@bartelink bartelink marked this pull request as ready for review April 9, 2024 08:59
@bartelink bartelink changed the title Pin deps Pin FSharp.Core dependency Apr 9, 2024
@samritchie
Copy link
Collaborator

Build failure looks like it’s related to the StructuredLogger version in build.fsx, I’ll see if I can work out what it should be

@samritchie
Copy link
Collaborator

Looks like bumping it to 2.2.206 should work - @bartelink is it easier for you to update your branch?

@samritchie
Copy link
Collaborator

Also note I’ve considered bumping FSharp.Core to 6.0.7 as it looks like it will make life easier with tasks - I’ve been working on streams support using a Task based API. Not sure of the tradeoffs here though - open to suggestions.

@bartelink
Copy link
Member Author

I think 6.0.7 is a good call - there's probably the odd gap closed in Arrray, Seq and stuff too
You should be able to push to my branch if you gh pr to retrieve it (and 101 other ways) - in general feel free to do that, but I'll try now
Yes it dos stand to reason the template is gone
my main thing in all of this is for the package not to get a random dependency update due to unqote some day

@bartelink
Copy link
Member Author

(Giving up for now; have time-sensitive stuff this side...)

@samritchie
Copy link
Collaborator

samritchie commented Apr 10, 2024 via email

@bartelink
Copy link
Member Author

Thanks; it's not time sensitive from my perspective.
If unquote reduces dependency to 6.0.0, probably updating unquote can be done as a follow-up to include in the next release
... or not yet, depending on when you want to do task stuff

@bartelink
Copy link
Member Author

@samritchie Thanks to hard work from Stephen, we can up the Unquote dependency to v 7.0.1 (if we are willing to up FSharp.Core dep to 6.0.0).

I feel it would be good to get this in now though, in advance of that, so the minimum FSharp.Core dependency we force directly from this package is explicit, vs being an accidental thing implied by the Unquote dependency. see https://www.nuget.org/packages/fsharp.aws.dynamodb#dependencies-body-tab

Alternately, we could let the Unquote dependency float (and trust there not to be breaking changes in its interface) by changing to specify: nuget Unquote 6.1.0 in paket.dependencies.

I have no particular preference; my main desire is that the transitive dependencies forced by this package to be something that has been a conscious choice (and in general be minimal)

@samritchie
Copy link
Collaborator

@bartelink I’ll merge this & push a release so we can then move on bumping Core. I may need input on the observability work - I’ve seen mention of System.Diagnostics.DiagnosticSource not properly supporting some netstandard2.0 platforms, but I’m not sure I follow the implications.

@samritchie samritchie merged commit 680ee2b into fsprojects:master Dec 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants