From 85cb4477663b79afe89fb09a4b53fc2a364d9b4a Mon Sep 17 00:00:00 2001 From: "Li-Huai (Allan) Lin" Date: Mon, 30 Aug 2021 23:40:25 +0800 Subject: [PATCH] Revert "Correct wrong function signatures on the docs website (#13198)" This reverts commit ffecfea9495d4aa788e1c05d0612a40bc4b460fc. --- .circleci/config.yml | 4 ++-- setup.py | 2 +- src/transformers/dependency_versions_table.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b46718858d..657a181928 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -711,7 +711,7 @@ jobs: build_doc: working_directory: ~/transformers docker: - - image: circleci/python:3.7.11 + - image: circleci/python:3.6 resource_class: large steps: - checkout @@ -733,7 +733,7 @@ jobs: deploy_doc: working_directory: ~/transformers docker: - - image: circleci/python:3.7.11 + - image: circleci/python:3.6 resource_class: large steps: - add_ssh_keys: diff --git a/setup.py b/setup.py index dcbb427a6d..b82145880a 100644 --- a/setup.py +++ b/setup.py @@ -139,7 +139,7 @@ _deps = [ "sphinx-copybutton", "sphinx-markdown-tables", "sphinx-rtd-theme==0.4.3", # sphinx-rtd-theme==0.5.0 introduced big changes in the style. - "sphinx==3.5.4", + "sphinx==3.2.1", "sphinxext-opengraph==0.4.1", "sphinx-intl", "starlette", diff --git a/src/transformers/dependency_versions_table.py b/src/transformers/dependency_versions_table.py index 848951d13c..1a76b7fd97 100644 --- a/src/transformers/dependency_versions_table.py +++ b/src/transformers/dependency_versions_table.py @@ -57,7 +57,7 @@ deps = { "sphinx-copybutton": "sphinx-copybutton", "sphinx-markdown-tables": "sphinx-markdown-tables", "sphinx-rtd-theme": "sphinx-rtd-theme==0.4.3", - "sphinx": "sphinx==3.5.4", + "sphinx": "sphinx==3.2.1", "sphinxext-opengraph": "sphinxext-opengraph==0.4.1", "sphinx-intl": "sphinx-intl", "starlette": "starlette",