-
Notifications
You must be signed in to change notification settings - Fork 6
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
CompatHelper: add new compat entry for Statistics at version 1.6, (keep existing compat) #108
CompatHelper: add new compat entry for Statistics at version 1.6, (keep existing compat) #108
Conversation
… existing compat)
ae47165
to
4537265
Compare
Project.toml
Outdated
@@ -24,6 +24,7 @@ DataStructures = "0.18.3" | |||
Distributions = "0.25" | |||
MLJModelInterface = "1.6" | |||
SpecialFunctions = "0.8, 0.9, 0.10, 1, 2" | |||
Statistics = "1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we follow the recommendation in https://discourse.julialang.org/t/psa-compat-requirements-in-the-general-registry-are-changing/104958 and rather use
Statistics = "1" | |
Statistics = "1.6" |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It depends. Will it be possible to install an older version of a stdlib than the Julia version? That post doesn't state explicitly. My guess is no, since an older version of the stdlib may depend on a newer language feature, since they were coupled in the past. If so, then I don't see any reason to prefer one way over the other.
If specifying the same bound as the version number is preferable, it would be nice if CompatHelper did this by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were basically my thoughts as well. I just assumed that maybe the announcement would be more trustworthy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, we can go that route. I'll update the PRs accordingly.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #108 +/- ##
=======================================
Coverage 96.65% 96.65%
=======================================
Files 11 11
Lines 867 867
=======================================
Hits 838 838
Misses 29 29 ☔ View full report in Codecov by Sentry. |
This pull request sets the compat entry for the
Statistics
package to1.6
.This keeps the compat entries for earlier versions.
Note: I have not tested your package with this new compat entry.
It is your responsibility to make sure that your package tests pass before you merge this pull request.
Note: Consider registering a new release of your package immediately after merging this PR, as downstream packages may depend on this for tests to pass.