-
Notifications
You must be signed in to change notification settings - Fork 28
Allow version 0.19 of DataStructures #101
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
Conversation
Looks like CI isn't using DataStructures 0.19. Example CI log: https://github.com/JuliaCollections/SortingAlgorithms.jl/actions/runs/16706927424/job/47286361683?pr=101
|
Okay. Then I'll set up CompatHelper. That will make it easier to resolve. |
CompatHelper won't fix this. The problem is that we load StatsBase in testing and StatsBase does not declare compatibility with |
I think we have two different problems here. Problem 1: Detecting this situationIn this PR, CI looks green, but didn't use the desired version of DataStructures. In This logic (in Problem 2: Chicken/egg problem between this package and StatsBaseI don't know of a built-in mechanism for solving this problem. It may be worth opening an issue on Pkg.jl. One manual workaround for us to use here might be:
|
CompatHelper is also good because that will give watchers a notification whenever a breaking release of DataStructures is cut. |
I'd squeeze step 10 into step 2 between "Get CI passing here with the latest 0.19 of DataStructures" and "merge PR here." |
Can we just remove StatsBase from the list of test dependencies? Circular dependencies are bad in general IMO. |
In this case, yes. But in general, that's not always viable. It's quite reasonable to want to use tooling packages when testing and it's also reasonable for tooling to have deps. |
Might be good to set up CompatHelper to simplify this although there is only a single dependency.
Might also be better to test on
pre
instead ofnightly
.