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