handley-lab / anesthetic

Nested Sampling post-processing and plotting
https://anesthetic.readthedocs.io
MIT License
56 stars 16 forks source link

Pandas 2.2.0 #359

Closed AdamOrmondroyd closed 6 months ago

AdamOrmondroyd commented 7 months ago

Description

Pandas 2.2.0 just released, with a flurry of changes to the plotting to become more stateless (though not even close to achieving it), and a whole flood of deprecations ready for pandas 3.0 (!!!!!!!)

Unfortunately, the changes to the plotting are incompatible with the old

I'm yet to do anything about the warnings

Fixes # (issue)

Checklist:

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (54170d8) to head (a009988).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #359 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 36 36 Lines 3043 3032 -11 ========================================= - Hits 3043 3032 -11 ```

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

AdamOrmondroyd commented 7 months ago

I think that's all the new deprecation warnings, aside from the warnings about constructing from a BlockManager. Discussion on this seems to be ongoing, so I'm tempted to wait until pandas 2.2.1 to see if I still need to deal with these. https://github.com/pandas-dev/pandas/issues/57032

AdamOrmondroyd commented 6 months ago

PR here which may clean up some of the BlockManager mess, https://github.com/pandas-dev/pandas/pull/57553

Edit: I've just run anesthetic with this branch of pandas, and all the BlockManager warnings seem to have gone away, so I'm not going to worry about them any further