Internal change
PiperOrigin-RevId: 532457954
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index d57b00f..e7b7d9b 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -7,11 +7,13 @@
# Set the version of Python and other tools you might need
python:
- version: "3.8"
+ version: "3"
install:
- - requirements: docs/requirements.txt
- - method: pip
- path: .
+ - method: pip
+ path: .
+ extra_requirements:
+ - m2r2
+ - sphinxcontrib-apidoc
# Build documentation in the docs/ directory with Sphinx
sphinx:
diff --git a/absl/logging/__init__.py b/absl/logging/__init__.py
index e8177d3..9bc54be 100644
--- a/absl/logging/__init__.py
+++ b/absl/logging/__init__.py
@@ -88,7 +88,6 @@
import sys
import tempfile
import threading
-import tempfile
import time
import timeit
import traceback
diff --git a/docs/requirements.txt b/docs/requirements.txt
deleted file mode 100644
index 9e5fb68..0000000
--- a/docs/requirements.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# Used by ReadTheDocs; pinned requirements for stability.
-
-sphinx==6.1.3
-sphinxcontrib-apidoc==0.3.0
-m2r2==0.3.3