Closed OriolAbril closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 86.98%. Comparing base (
ab82f80
) to head (8e8feaf
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Should be ready to merge!
So the current setup tests some github repo too, but we would skip these?
The preview job currently installs xarray from github. With this change it won't install from github but it will install nigthly versions for xarray, numpy, scipy, h5py, matplotlib... So when it comes to xarray the behaviour is quite similar, at most testing on a day old nightly instead of exact present moment github version. But for all other scientific python libraries we will catch breaks and issues way earlier than we did before.
Description
The initial goal of the PR was to test if ArviZ was already compatible with numpy 2.0 (which had just been pre-released as a beta version). Several dependencies weren't compatible yet, so it wasn't feasible to do. While waiting for this, we also saw ArviZ wasn't compatible with the latest scipy pre-release https://github.com/arviz-devs/arviz/issues/2330, and the fix wasn't released before the actual release, generating many more issues like https://github.com/arviz-devs/arviz/issues/2336. Moreover, even though the goal is to follow SPEC 0 guidance on dependency minimum version, having numba as optional dependency in fact pushes us the other way around, it often takes months after the release of a minor python version until we can incorporate it into our CI.
To try and handle all this, this PR updates our testing environments from 4 to 5. Now the environments are:
Checklist
📚 Documentation preview 📚: https://arviz--2321.org.readthedocs.build/en/2321/