diff --git a/ci/ci.sh b/ci/ci.sh index 101ae1f540c6..8765be713370 100755 --- a/ci/ci.sh +++ b/ci/ci.sh @@ -128,8 +128,7 @@ compile_pip_dependencies() { "${WORKSPACE_DIR}/python/requirements/ml/train-requirements.txt" \ "${WORKSPACE_DIR}/python/requirements/ml/train-test-requirements.txt" \ "${WORKSPACE_DIR}/python/requirements/ml/tune-requirements.txt" \ - "${WORKSPACE_DIR}/python/requirements/ml/tune-test-requirements.txt" \ - "${WORKSPACE_DIR}/doc/requirements-doc.txt" + "${WORKSPACE_DIR}/python/requirements/ml/tune-test-requirements.txt" # Remove some pins from upstream dependencies: # ray, xgboost-ray, lightgbm-ray, tune-sklearn diff --git a/ci/docker/doc.build.Dockerfile b/ci/docker/doc.build.Dockerfile index 53e5b3e7ca30..08fa38899bcf 100644 --- a/ci/docker/doc.build.Dockerfile +++ b/ci/docker/doc.build.Dockerfile @@ -12,11 +12,4 @@ SHELL ["/bin/bash", "-ice"] COPY . . RUN pip install -U --ignore-installed \ - -c python/requirements_compiled.txt \ - -r python/requirements.txt \ - -r python/requirements/test-requirements.txt \ - -r python/requirements/lint-requirements.txt \ - -r doc/requirements-doc.txt - -RUN HOROVOD_WITH_GLOO=1 HOROVOD_WITHOUT_MPI=1 HOROVOD_WITHOUT_MXNET=1 \ - pip install -U --ignore-installed -c python/requirements_compiled.txt horovod + -r doc/requirements-doc.txt diff --git a/ci/docker/doc.build.wanda.yaml b/ci/docker/doc.build.wanda.yaml index fbebb84b1cab..4e81aaeed215 100644 --- a/ci/docker/doc.build.wanda.yaml +++ b/ci/docker/doc.build.wanda.yaml @@ -2,10 +2,6 @@ name: "docbuild" froms: ["cr.ray.io/rayproject/oss-ci-base_build"] dockerfile: ci/docker/doc.build.Dockerfile srcs: - - python/requirements.txt - - python/requirements_compiled.txt - - python/requirements/test-requirements.txt - - python/requirements/lint-requirements.txt - doc/requirements-doc.txt tags: - cr.ray.io/rayproject/docbuild diff --git a/doc/requirements-doc.txt b/doc/requirements-doc.txt index 462f458c3b84..5e44d6f42413 100644 --- a/doc/requirements-doc.txt +++ b/doc/requirements-doc.txt @@ -1,6 +1,5 @@ # Production requirements. This is what readthedocs.com picks up -git+https://github.com/ray-project/tune-sklearn@master#tune-sklearn watchfiles==0.19.0 # Required because sphinx-click doesn't support mocking # Syntax highlighting diff --git a/doc/source/conf.py b/doc/source/conf.py index 9c919802d265..aebe2773b51a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -463,11 +463,15 @@ def setup(app): # Mock out external dependencies here. autodoc_mock_imports = [ "aiohttp", + "aiosignal", "composer", "dask", "datasets", "fastapi", + "filelock", + "frozenlist", "fsspec", + "google", "grpc", "gymnasium", "horovod",