Skip to content

Commit 9de6897

Browse files
[ci] Remove tune-sklearn doc dependency (#40721) (#41250)
This unpins `tune-sklearn` as a dependency of the ray docs build. This updates any auto-generated API references with links to a self-contained docs page in the `tune-sklearn` repo. Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: Archit Kulkarni <archit@anyscale.com> Co-authored-by: Justin Yu <justinvyu@anyscale.com>
1 parent 569647a commit 9de6897

File tree

5 files changed

+13
-38
lines changed

5 files changed

+13
-38
lines changed

doc/requirements-doc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Production requirements. This is what readthedocs.com picks up
22

3-
git+https://github.com/ray-project/tune-sklearn@master#tune-sklearn
3+
ray
44
watchfiles # Required because sphinx-click doesn't support mocking
55

66
# Syntax highlighting

doc/source/tune/api/api.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ on `Github`_.
2525
logging.rst
2626
callbacks.rst
2727
env.rst
28-
sklearn.rst
2928
integration.rst
3029
internals.rst
3130
client.rst

doc/source/tune/api/sklearn.rst

Lines changed: 0 additions & 22 deletions
This file was deleted.

doc/source/tune/examples/tune-sklearn.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@
5555
"In this tutorial, we'll cover ``tune-sklearn``, a drop-in replacement for Scikit-Learn's model selection module\n",
5656
"with state-of-the-art optimization features such as early stopping and Bayesian Optimization.\n",
5757
"\n",
58-
"```{tip} \n",
59-
"Check out the [tune-sklearn code](https://github.com/ray-project/tune-sklearn) and {ref}`documentation <tune-sklearn-docs>`.\n",
58+
"```{tip}\n",
59+
"Check out the [tune-sklearn homepage](https://github.com/ray-project/tune-sklearn) and [documentation](https://github.com/ray-project/tune-sklearn/tree/master/docs).\n",
6060
"```\n",
6161
"\n",
6262
"## Overview\n",
6363
"\n",
6464
"``tune-sklearn`` is a module that integrates Ray Tune's hyperparameter tuning and scikit-learn's Classifier API. \n",
65-
"``tune-sklearn`` has two APIs: {ref}`TuneSearchCV <tunesearchcv-docs>`, and {ref}`TuneGridSearchCV <tunegridsearchcv-docs>`.\n",
65+
"``tune-sklearn`` has two APIs: [TuneSearchCV](https://github.com/ray-project/tune-sklearn/tree/master/docs/tune_search.md), and [TuneGridSearchCV](https://github.com/ray-project/tune-sklearn/tree/master/docs/tune_gridsearch.md).\n",
6666
"They are drop-in replacements for Scikit-learn's RandomizedSearchCV and GridSearchCV, so you only need to change\n",
6767
"less than 5 lines in a standard Scikit-Learn script to use the API.\n",
6868
"\n",

python/requirements_compiled.txt

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ google-api-python-client==2.65.0
600600
# via -r /ray/ci/../python/requirements/test-requirements.txt
601601
google-apitools==0.5.32
602602
# via gsutil
603-
google-auth==2.23.3
603+
google-auth==2.23.4
604604
# via
605605
# google-api-core
606606
# google-api-python-client
@@ -615,7 +615,7 @@ google-auth-httplib2==0.1.1
615615
# via google-api-python-client
616616
google-auth-oauthlib==0.4.6
617617
# via tensorboard
618-
google-cloud-bigquery==3.12.0
618+
google-cloud-bigquery==3.13.0
619619
# via -r /ray/ci/../python/requirements/ml/data-test-requirements.txt
620620
google-cloud-bigquery-storage==2.22.0
621621
# via -r /ray/ci/../python/requirements/ml/data-test-requirements.txt
@@ -663,7 +663,7 @@ graphviz==0.20.1
663663
# via catboost
664664
greenlet==3.0.0
665665
# via sqlalchemy
666-
grpcio==1.59.0 ; sys_platform != "darwin"
666+
grpcio==1.59.2 ; sys_platform != "darwin"
667667
# via
668668
# -r /ray/ci/../python/requirements.txt
669669
# aim
@@ -1018,7 +1018,7 @@ lz4==4.3.2
10181018
# via -r /ray/ci/../python/requirements.txt
10191019
mako==1.2.4
10201020
# via alembic
1021-
markdown==3.5
1021+
markdown==3.5.1
10221022
# via
10231023
# mlflow
10241024
# tensorboard
@@ -1846,6 +1846,7 @@ pyzmq==24.0.1
18461846
querystring-parser==1.2.4
18471847
# via mlflow
18481848
# via
1849+
# -r /ray/ci/../doc/requirements-doc.txt
18491850
# raydp
18501851
# tune-sklearn
18511852
# xgboost-ray
@@ -2027,7 +2028,7 @@ send2trash==1.8.2
20272028
# notebook
20282029
sentencepiece==0.1.96
20292030
# via -r /ray/ci/../python/requirements/ml/train-test-requirements.txt
2030-
sentry-sdk==1.32.0
2031+
sentry-sdk==1.33.1
20312032
# via
20322033
# comet-ml
20332034
# wandb
@@ -2389,10 +2390,7 @@ transformers==4.19.1
23892390
# via -r /ray/ci/../python/requirements/ml/core-requirements.txt
23902391
trustme==0.9.0
23912392
# via -r /ray/ci/../python/requirements/test-requirements.txt
2392-
tune-sklearn @ git+https://github.com/ray-project/tune-sklearn@master
2393-
# via
2394-
# -r /ray/ci/../doc/requirements-doc.txt
2395-
# -r /ray/ci/../python/requirements/ml/tune-requirements.txt
2393+
# via -r /ray/ci/../python/requirements/ml/tune-requirements.txt
23962394
typeguard==2.13.3
23972395
# via ax-platform
23982396
typer==0.9.0
@@ -2505,7 +2503,7 @@ watchfiles==0.19.0
25052503
# uvicorn
25062504
wcmatch==8.5
25072505
# via semgrep
2508-
wcwidth==0.2.8
2506+
wcwidth==0.2.9
25092507
# via
25102508
# blessed
25112509
# prompt-toolkit
@@ -2596,4 +2594,4 @@ zoopt==0.4.1
25962594

25972595
# The following packages are considered to be unsafe in a requirements file:
25982596
# pip
2599-
# setuptools
2597+
# setuptools

0 commit comments

Comments
 (0)