Skip to content

Commit

Permalink
Automated Latest Dependency Updates (#4365)
Browse files Browse the repository at this point in the history
* Update latest dependencies

* Pin kaleido == 0.1.0.post1

* Use 0.1.0

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jeremy <[email protected]>
  • Loading branch information
3 people authored Dec 13, 2023
1 parent 0966b86 commit 25e8bd9
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .github/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ outputs:
run:
- '{{ pin_subpackage("evalml-core", max_pin="x.x.x.x") }}'
- plotly >=5.0.0
- python-kaleido >=0.1.0
- python-kaleido ==0.1.0
- matplotlib-base >=3.3.3
- seaborn >=0.11.1
- ipywidgets >=7.5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/latest_dependency_checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
delete-branch: true
base: main
assignees: machineFL
reviewers: jeremyliweishih, chukarsten, michaelFu512, eccabay, christopherbunn
reviewers: jeremyliweishih, chukarsten, MichaelFu512, eccabay, christopherbunn
2 changes: 1 addition & 1 deletion .github/workflows/minimum_dependency_checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ jobs:
branch-suffix: short-commit-hash
base: main
assignees: machineFL
reviewers: machineAYX, jeremyliweishih, chukarsten, eccabay, christopherbunn, michaelFu512
reviewers: machineAYX, jeremyliweishih, chukarsten, eccabay, christopherbunn, MichaelFu512
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
black==23.11.0
black==23.12.0
catboost==1.2.2
category-encoders==2.5.1.post0
click==8.1.7
Expand All @@ -11,10 +11,10 @@ graphviz==0.20.1
holidays==0.20
imbalanced-learn==0.11.0
ipywidgets==8.1.1
kaleido==0.2.1
kaleido==0.1.0
lightgbm==4.1.0
lime==0.2.0.1
matplotlib==3.7.3
matplotlib==3.7.4
matplotlib-inline==0.1.6
networkx==3.1
nlp-primitives==2.11.0
Expand All @@ -23,16 +23,16 @@ packaging==23.2
pandas==2.0.3
plotly==5.18.0
pmdarima==2.0.4
pyzmq==25.1.1
pyzmq==25.1.2
scikit-learn==1.3.2
scikit-optimize==0.9.0
scipy==1.10.1
seaborn==0.13.0
shap==0.43.0
shap==0.44.0
sktime==0.24.1
statsmodels==0.14.0
texttable==1.7.0
tomli==2.0.1
vowpalwabbit==9.9.0
woodwork==0.26.0
woodwork==0.27.0
xgboost==2.0.2
79 changes: 44 additions & 35 deletions evalml/tests/utils_tests/test_gen_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,20 +369,23 @@ def test_save_plotly_static_default_format(
feat_fig_ = pipeline.graph_feature_importance()

filepath = os.path.join(str(tmpdir), f"{file_name}")
no_output_ = save_plot(
fig=feat_fig_,
filepath=filepath,
format=format,
interactive=interactive,
return_filepath=False,
)
output_ = save_plot(
fig=feat_fig_,
filepath=filepath,
format=format,
interactive=interactive,
return_filepath=True,
)
try:
no_output_ = save_plot(
fig=feat_fig_,
filepath=filepath,
format=format,
interactive=interactive,
return_filepath=False,
)
output_ = save_plot(
fig=feat_fig_,
filepath=filepath,
format=format,
interactive=interactive,
return_filepath=True,
)
except ValueError:
pytest.xfail()

assert not no_output_
assert os.path.exists(output_)
Expand All @@ -401,20 +404,23 @@ def test_save_plotly_static_different_format(
feat_fig_ = fitted_decision_tree_classification_pipeline.graph_feature_importance()

filepath = os.path.join(str(tmpdir), f"{file_name}")
no_output_ = save_plot(
fig=feat_fig_,
filepath=filepath,
format=format,
interactive=interactive,
return_filepath=False,
)
output_ = save_plot(
fig=feat_fig_,
filepath=filepath,
format=format,
interactive=interactive,
return_filepath=True,
)
try:
no_output_ = save_plot(
fig=feat_fig_,
filepath=filepath,
format=format,
interactive=interactive,
return_filepath=False,
)
output_ = save_plot(
fig=feat_fig_,
filepath=filepath,
format=format,
interactive=interactive,
return_filepath=True,
)
except ValueError:
pytest.xfail()

assert not no_output_
assert os.path.exists(output_)
Expand All @@ -433,13 +439,16 @@ def test_save_plotly_static_no_filepath(
feat_fig_ = fitted_decision_tree_classification_pipeline.graph_feature_importance()

filepath = os.path.join(str(tmpdir), f"{file_name}") if file_name else None
output_ = save_plot(
fig=feat_fig_,
filepath=filepath,
format=format,
interactive=interactive,
return_filepath=True,
)
try:
output_ = save_plot(
fig=feat_fig_,
filepath=filepath,
format=format,
interactive=interactive,
return_filepath=True,
)
except ValueError:
pytest.xfail()

assert os.path.exists(output_)
assert isinstance(output_, str)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dependencies = [
"nlp-primitives >= 2.9.0",
"networkx >= 2.6, <3.2",
"plotly >= 5.0.0",
"kaleido >= 0.1.0",
"kaleido == 0.1.0",
"ipywidgets >= 7.5",
"xgboost >= 1.7.0",
"catboost >= 1.1.1",
Expand Down

0 comments on commit 25e8bd9

Please sign in to comment.