#33247: PDF documentation build broken
-----------------------------------------+------------------------
               Reporter:  AndrewN        |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  Documentation  |        Version:  3.2
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 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 [https://buildmedia.readthedocs.org/media/pdf/django/latest/django.pdf
 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.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33247>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.66b9786d3a67c7e8741696e33e51ce99%40djangoproject.com.

Reply via email to