ehrapy
ehrapy copied to clipboard
Python 3.12 support
PR Checklist
- [X] This comment contains a description of changes (with reason)
- [X] Referenced issue is linked (closes #786)
Description of changes
- Updated CI tests to Python 3.12
- Added
graphviz
as a dependency for the docs since it's required in the causal inference notebook - Fixed data retrieval for the causal effect estimator in
ep.pl.causal_effect(estimate)
. This change is necessary becausedowhy
currently does not support Python 3.12 (see here). The most recent version ofdowhy
compatible with Python 3.12 is 0.8, which stores the_data
attribute in theestimator
instead of theestimate
. We can remove the conditional data retrieval as soon asdowhy
supports Python 3.12.