sphinx-contrib / autoprogram

Documenting CLI programs
https://pypi.org/project/sphinxcontrib-autoprogram/
Other
44 stars 23 forks source link

Remove imp dependency #69

Closed Rogdham closed 8 months ago

Rogdham commented 8 months ago

Python 3.12 dropped the module imp.

The code is changed according to https://docs.python.org/3/whatsnew/3.12.html#imp and a test case is added.

Fixes #64.

Rogdham commented 8 months ago

Paging @tomhughes and @a-detiste that may be interested :wink:

Rogdham commented 8 months ago

Thank you! :tada:

It is my understanding that the project now works with Python 3.12!

a-detiste commented 8 months ago

Time for a release ?

langston-barrett commented 8 months ago

I'm happy to push a release as soon as we test against Python 3.12 and note the compatibility in setup.py, see https://github.com/sphinx-contrib/autoprogram/issues/70. PRs welcome!

a-detiste commented 8 months ago

uploaded to Debian as 0.1.8-2

langston-barrett commented 8 months ago

@a-detiste Also released as version 0.1.9, see https://pypi.org/project/sphinxcontrib-autoprogram/#history