Allow version 0.19 of DataStructures#101
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
preinstead ofnightly.