sphinx-contrib / apidoc

A Sphinx extension for running sphinx-apidoc on each build
http://www.sphinx-doc.org/
BSD 2-Clause "Simplified" License
57 stars 12 forks source link

Add support for Python 3.12 #20

Closed SuperSandro2000 closed 2 months ago

SuperSandro2000 commented 7 months ago

Currently this project relies on pbr which internally still uses distutils which got removed in Python 3.12. Since pbr is a openstack project, it probably will take a while until it support newer python versions. It is probably a good idea to migrate to a standard pyproject setup in the meantime to support Python 3.12.

stephenfin commented 2 months ago

It uses pbr, which relies on setuptools, which now bundles distutils. We can migrate from pbr to something else of course but this should work as-is with Python 3.12 and recent versions of setuptools.