Skip to content

Commit

Permalink
Enable support for dowhy 0.10
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
  • Loading branch information
kbattocchi committed Aug 2, 2023
1 parent b798777 commit 91b9c7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions econml/dowhy.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class DoWhyWrapper:

def __init__(self, cate_estimator):
from pkg_resources import parse_version
if parse_version(dowhy.__version__) >= parse_version('0.9'):
warnings.warn("econml has not been tested with dowhy versions >= 0.9")
if parse_version(dowhy.__version__) >= parse_version('0.11'):
warnings.warn("econml has not been tested with dowhy versions >= 0.11")
self._cate_estimator = cate_estimator

def _get_params(self):
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ plt = [
"matplotlib < 3.6.0"
]
dowhy = [
"dowhy < 0.9"
"dowhy < 0.11"
]
all = [
# Disabled due to incompatibility with scikit-learn
Expand All @@ -75,7 +75,7 @@ all = [
"graphviz",
# Version capped due to shap incompatibility
"matplotlib < 3.6.0",
"dowhy < 0.9"
"dowhy < 0.11"
]

[build-system]
Expand Down

0 comments on commit 91b9c7f

Please sign in to comment.