[pypy-dev] document builds on readthedocs have been failing for quite a while

Maciej Fijalkowski fijall at gmail.com
Mon Jan 7 16:35:10 CET 2013


On Mon, Jan 7, 2013 at 4:29 PM, matti picus <matti.picus at gmail.com> wrote:
> it seems the problem is in pypy/doc/config/generate.py which recreates
> (copies?) *.rst from *.txt for all the command line options
> but does not remove _unused_ old versions of the rst files. When we
> removed a command line option, the corresponding txt file
> was removed from hg, but the rst file was not removed. Then sphinx
> picks up all the rst files and boom.
> Anyone want to suggest a fix?
> Anyone know why we do txt -> rst in the first place?
> Matti
>

uh. ask people on #rtd maybe?

> On Sun, Jan 6, 2013 at 12:04 AM, Matti Picus <matti.picus at gmail.com> wrote:
>> Looking at https://readthedocs.org/builds/pypy shows that builds of pypy
>> documentation have been failing
>> Actually, the failures are not recent, as far back as Dec 1 the builds were
>> failing, when I checked just now this page shows successful builds
>> https://readthedocs.org/builds/pypy/?page=46
>> while here they began to fail
>> https://readthedocs.org/builds/pypy/?page=45
>> (your mileage may vary, I think the page numbers change over time)
>>
>> The sphinx failure seems to say something about vanilla (yum!),
>> -------------------------------------------------------------
>> Exception occurred:
>>   File
>> "/var/build/user_builds/pypy/checkouts/latest/pypy/config/makerestdoc.py",
>> line 217, in config_role
>>     opt = getattr(h._cfgimpl_descr, n)
>> AttributeError: 'OptionDescription' object has no attribute 'vanilla'
>> --------------------------------------------------------------
>> I found a changeset in pypy that modified the --vanilla option suspiciously
>> around the time the failures began :
>> --------------------------------
>> 53b204769d36 remove vanilla option, which is totally unused
>> ---------------------------------
>> Also, "make html" in the doc directory fails for me (win32, default branch),
>> however fixing that failure did not make sphinx happier on readthedocs,
>> see pypy changeset b36997015a40
>> and the resulting document build on readthedocs
>> https://readthedocs.org/builds/pypy/386842/
>>
>> I give up, perhaps someone else can fix this.
>> Matti
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev


More information about the pypy-dev mailing list