JuliaPhysics / SolidStateDetectors.jl

Solid state detector field and charge drift simulation in Julia
Other
77 stars 29 forks source link

Add Downgrade CI #372

Closed fhagemann closed 7 months ago

fhagemann commented 7 months ago

This was a bit of PITA and took quite some time, but it's for a good cause!

Downgrade CI can be used to check whether the versions bounds in compat are actually supported.

Why wouldn't that be? If a package introduces some functionality in its newest version and it is added to the project, the compat lower bound is not automatically updated because it might not be tested. Downgrade CI tests the package with the lowest allowed compat bounds and, then, runs the test. This way, compat lower bounds will also be tested and can be updated if necessary.

In SSD, three packages were listed with compat bounds too low:

When running Downgrade, a series of other incompatibilities appeared:

While running the tests, some deprecation warnings for range(start, stop) appeared. They are also fixed in this PR.

oschulz commented 7 months ago

Very nice! Definitely something for the ToDo-list of lots of other packages ... :-)

oschulz commented 7 months ago

Please merge at your convenience, @fhagemann