#33247 closed Bug (fixed)
PDF documentation build broken
Reported by: | AndrewN | Owned by: | AndrewN |
---|---|---|---|
Component: | Documentation | Version: | 3.2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
https://readthedocs.org/projects/django/builds/ shows that PDF builds of the docs are failing.
The error message in a log from a recent build:
File "/home/docs/checkouts/readthedocs.org/user_builds/django/checkouts/latest/django/__init__.py", line 1, in <module> from django.utils.version import get_version File "/home/docs/checkouts/readthedocs.org/user_builds/django/checkouts/latest/django/utils/version.py", line 73, in <module> @functools.lru_cache File "/home/docs/checkouts/readthedocs.org/user_builds/django/envs/latest/lib/python3.7/functools.py", line 490, in lru_cache raise TypeError('Expected maxsize to be an integer or None') TypeError: Expected maxsize to be an integer or None
The last generated PDF has a date of September 27 and on that date in 5bac1719a2fcb “Refs #32355 -- Used @functools.lru_cache as a straight decorator”, lru_cache()
was changed to lru_cache
on that line.
I believe the issue is that readthedocs is currently using a too-old version of python for the documentation build.
Change History (13)
comment:1 by , 3 years ago
Has patch: | set |
---|
comment:2 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 3 years ago
comment:5 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
In 0da7a2e9dab81b622a2000536c6a96de7f46e237
Fixed #33247 -- Added configuration for Read The Docs.
PR: https://github.com/django/django/pull/15039