sphinx-contrib / autoprogram

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

Add support for Python 3.12 #71

Closed Rogdham closed 7 months ago

Rogdham commented 7 months ago

Fixes #70

Open questions to owner of the repo:

langston-barrett commented 7 months ago

I'm seeing a CI failure:

Traceback (most recent call last):
  File "/home/runner/work/autoprogram/autoprogram/setup.py", line 6, in <module>
    from setuptools import setup, find_packages
ModuleNotFoundError: No module named 'setuptools'
Error: Process completed with exit code 1.

GitHub action: make versino 3.10 to 3.12 mandatory for PR to be build? (currently only 3.7 to 3.9 are required)

Yep, I'll change this.

Do you want to drop support for 3.7 as it is not supported anymore?

Sure!

Rogdham commented 7 months ago

I have just added setuptools in the GitHub action script (not installed by default on Python 3.12).

Note that many packages are now switching to build PEP 517, but this is probably out of the scope of this PR.

langston-barrett commented 7 months ago

Note that many packages are now switching to build PEP 517, but this is probably out of the scope of this PR.

Feel free to file an issue for this!

Rogdham commented 7 months ago

Alright, I have created #72, but will probably leave the implementation to someone else.

As far as this PR is concerned, I think it is ready to be reviewed!