markstory / sphinxcontrib-phpdomain

A PHP domain for sphinx. Allows you to annotate PHP objects in your sphinx docs.
Other
19 stars 15 forks source link

Latest release is broken with old python #54

Closed mvorisek closed 1 year ago

mvorisek commented 1 year ago

It seems https://github.com/markstory/sphinxcontrib-phpdomain/commit/991e3f14341ed453a5cfe41c139ff8d49d5032b0 has broken build with old python.

repro log: https://readthedocs.org/projects/agile-core/builds/20132718/ (see https://readthedocs.org/projects/agile-core/builds/ for previously passing build logs)

with sphinxcontrib-phpdomain==0.9.0 the build is passing

Can be solved by upgrading Python to v3, but v2 should still be supported, as many projects use it.

markstory commented 1 year ago

but v2 should still be supported, as many projects use it.

Sorry, you'll have to pin to an older release if you want to use Python 2.x. Python 2 went end of life almost 3 years ago. Sphinx no longer supports python 2, and I cannot both support newer sphinx alongside python 2.

Edit: added more context.