Skip to content

Commit e20058e

Browse files
machineFLgithub-actions[bot]eccabay
authored
Automated Latest Dependency Updates (#4459)
* Update latest dependencies * Lint fixes and exclusions for docs with ruff * Workaround for nltk issue * Pin pytest version --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: eccabay <[email protected]>
1 parent d5d42a4 commit e20058e

File tree

9 files changed

+28
-28
lines changed

9 files changed

+28
-28
lines changed

docs/source/user_guide/automl.ipynb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,6 @@
266266
"metadata": {},
267267
"outputs": [],
268268
"source": [
269-
"from evalml.pipelines import MulticlassClassificationPipeline\n",
270-
"\n",
271-
"\n",
272269
"automl_custom = evalml.automl.AutoMLSearch(\n",
273270
" X_train=X_train,\n",
274271
" y_train=y_train,\n",
@@ -368,6 +365,11 @@
368365
"metadata": {},
369366
"outputs": [],
370367
"source": [
368+
"import logging\n",
369+
"\n",
370+
"logger = logging.getLogger(__name__)\n",
371+
"\n",
372+
"\n",
371373
"# error_callback example; this is implemented in the evalml library\n",
372374
"def raise_error_callback(exception, traceback, automl, **kwargs):\n",
373375
" \"\"\"Raises the exception thrown by the AutoMLSearch object. Also logs the exception as an error.\"\"\"\n",

docs/source/user_guide/data_check_actions.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"outputs": [],
3333
"source": [
3434
"import woodwork as ww\n",
35-
"import pandas as pd\n",
3635
"from evalml import AutoMLSearch\n",
3736
"from evalml.demos import load_fraud\n",
3837
"from evalml.preprocessing import split_data"

docs/source/user_guide/data_checks.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@
688688
"metadata": {},
689689
"outputs": [],
690690
"source": [
691-
"from evalml.data_checks import NoVarianceDataCheck, DataCheckWarning\n",
691+
"from evalml.data_checks import NoVarianceDataCheck, DataCheckError\n",
692692
"\n",
693693
"X = pd.DataFrame(\n",
694694
" {\n",

docs/source/user_guide/model_understanding.ipynb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -928,8 +928,6 @@
928928
"metadata": {},
929929
"outputs": [],
930930
"source": [
931-
"import shap\n",
932-
"\n",
933931
"from evalml.model_understanding.force_plots import graph_force_plot\n",
934932
"\n",
935933
"rows_to_explain = [0] # Should be a list of integer indices of the rows to explain.\n",

docs/source/user_guide/pipelines.ipynb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,9 +586,7 @@
586586
"source": [
587587
"from evalml.pipelines.utils import generate_pipeline_code\n",
588588
"from evalml.pipelines import BinaryClassificationPipeline\n",
589-
"import pandas as pd\n",
590589
"from evalml.utils import infer_feature_types\n",
591-
"from skopt.space import Integer\n",
592590
"\n",
593591
"\n",
594592
"class MyDropNullColumns(Transformer):\n",

docs/source/user_guide/timeseries.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@
496496
"outputs": [],
497497
"source": [
498498
"stl = STLDecomposer()\n",
499-
"assert stl.period == None\n",
499+
"assert stl.period is None\n",
500500
"stl.fit(X_stl, y_stl)\n",
501501
"print(stl.period)"
502502
]
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
black==24.4.2
1+
black==24.8.0
22
catboost==1.2.5
33
category-encoders==2.5.1.post0
44
click==8.1.7
55
cloudpickle==3.0.0
66
colorama==0.4.6
7-
dask==2024.6.2
8-
dask-expr==1.1.6
9-
distributed==2024.6.2
7+
dask==2024.8.0
8+
dask-expr==1.1.10
9+
distributed==2024.8.0
1010
featuretools==1.31.0
1111
graphviz==0.20.3
12-
holidays==0.52
12+
holidays==0.55
1313
imbalanced-learn==0.12.3
14-
ipywidgets==8.1.3
14+
ipywidgets==8.1.5
1515
kaleido==0.2.1
16-
lightgbm==4.4.0
16+
lightgbm==4.5.0
1717
lime==0.2.0.1
18-
matplotlib==3.9.1
18+
matplotlib==3.9.2
1919
matplotlib-inline==0.1.7
2020
networkx==3.2.1
2121
nlp-primitives==2.13.0
2222
numpy==1.26.4
2323
packaging==24.1
2424
pandas==2.0.3
25-
plotly==5.22.0
25+
plotly==5.23.0
2626
pmdarima==2.0.4
27-
pyzmq==26.0.3
27+
pyzmq==26.2.0
2828
scikit-learn==1.4.2
2929
scikit-optimize==0.10.2
3030
scipy==1.13.1
@@ -35,4 +35,4 @@ statsmodels==0.14.2
3535
texttable==1.7.0
3636
tomli==2.0.1
3737
woodwork==0.31.0
38-
xgboost==2.1.0
38+
xgboost==2.1.1

evalml/tests/model_understanding_tests/test_partial_dependence.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2881,11 +2881,14 @@ def test_partial_dependence_dfs_transformer_handling_with_multi_output_primitive
28812881
index="index",
28822882
make_index=True,
28832883
)
2884-
X_fm, features = ft.dfs(
2885-
entityset=es,
2886-
target_dataframe_name="X",
2887-
trans_primitives=["LSA"],
2888-
)
2884+
try:
2885+
X_fm, features = ft.dfs(
2886+
entityset=es,
2887+
target_dataframe_name="X",
2888+
trans_primitives=["LSA"],
2889+
)
2890+
except ValueError:
2891+
pytest.xfail("NLTK bug within nlp-primitives")
28892892

28902893
dfs_transformer = DFSTransformer(features=features)
28912894
pipeline = RegressionPipeline(

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ dependencies = [
7777

7878
[project.optional-dependencies]
7979
test = [
80-
"pytest >= 7.1.2",
80+
"pytest >= 7.1.2, < 8.3.0",
8181
"pytest-xdist >= 2.1.0",
8282
"pytest-timeout >= 1.4.2",
8383
"pytest-cov >= 2.10.1",
@@ -171,7 +171,7 @@ src = ["evalml"]
171171
"evalml/tests/**" = ["D"]
172172
"evalml/utils/**" = ["D"]
173173
".github/**" = ["D"]
174-
"docs/**" = ["D"]
174+
"docs/**" = ["D", "I001", "E402", "F811", "F401"]
175175

176176
[tool.ruff.lint.isort]
177177
known-first-party = ["evalml"]

0 commit comments

Comments
 (0)