arviz-devs / arviz

Exploratory analysis of Bayesian models with Python
https://python.arviz.org
Apache License 2.0
1.56k stars 386 forks source link

general maintenance #2315

Closed OriolAbril closed 4 months ago

OriolAbril commented 4 months ago

Description

General maintenance of the library. Fix several deprecations and warnings due to new releases of pandas and xarray, prepare for numpy 2.0 and some compatibility changes for bokeh >3.0.

There are still many changes left to do with bokeh >3.0 but it isn't yet usable for us, most plots don't work due to bugs such as https://github.com/bokeh/bokeh/issues/13378 (fixed in current pre-release only) or https://github.com/bokeh/bokeh/issues/13436 (no fix yet). Thus I have pinned bokeh so our docs work and generate all the plots of the example gallery which is currently not happening.

Last but not least, numba already supports 3.12, so I am moving the python versions in CI up: 3.10-3.12

Checklist


📚 Documentation preview 📚: https://arviz--2315.org.readthedocs.build/en/2315/

codecov[bot] commented 4 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (0a91faf) 86.72% compared to head (6564adc) 86.79%. Report is 2 commits behind head on main.

Files Patch % Lines
arviz/plots/backends/bokeh/compareplot.py 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2315 +/- ## ========================================== + Coverage 86.72% 86.79% +0.06% ========================================== Files 122 123 +1 Lines 12709 12728 +19 ========================================== + Hits 11022 11047 +25 + Misses 1687 1681 -6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ahartikainen commented 4 months ago

We could pin asv to 0.6.1 until a new version is added to pypi.