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

CompatHelper: add new compat entry for Statistics at version 1.6, (keep existing compat) #108

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 29, 2023

This pull request sets the compat entry for the Statistics package to 1.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.

@github-actions github-actions bot force-pushed the compathelper/new_version/2023-10-29-00-09-57-635-01430926315 branch from ae47165 to 4537265 Compare October 29, 2023 00:10
@sethaxen sethaxen closed this Oct 29, 2023
@sethaxen sethaxen reopened this Oct 29, 2023
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"
Copy link
Member

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

Suggested change
Statistics = "1"
Statistics = "1.6"

?

Copy link
Member

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.

Copy link
Member

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.

Copy link
Member

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
Copy link

codecov bot commented Oct 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cc306c6) 96.65% compared to head (f8ef61f) 96.65%.

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.
📢 Have feedback on the report? Share it here.

@sethaxen sethaxen changed the title CompatHelper: add new compat entry for Statistics at version 1, (keep existing compat) CompatHelper: add new compat entry for Statistics at version 1.6, (keep existing compat) Oct 29, 2023
@sethaxen sethaxen merged commit 350d522 into main Oct 30, 2023
11 checks passed
@delete-merged-branch delete-merged-branch bot deleted the compathelper/new_version/2023-10-29-00-09-57-635-01430926315 branch October 30, 2023 07:01
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