You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use sphinx-click with an asyncclick CLI.
I had issues when I used the last version (6.0.0) because it told me click module was not found.
So I fixed it by removing import click.core line in ext.py file.
This line have been added in commit 05b69cf. I am not sure why because without it it works i my configuration, I tried with version 5.1.0 and it's fine.
Thanks for your time
Here are my versions to reproduce the issue:
Python 3.12.3
asyncclick==8.1.7.2
sphinx-click==6.0.0
The text was updated successfully, but these errors were encountered:
I have the same issue. Why not support both? Like that:
467ifnotisinstance(
468parser, (asyncclick.Command, asyncclick.Group, click.Command, click.Group)
469 ):
470raiseself.error(
471'"{}" of type "{}" is not click.Command or click.Group.'472'"click.BaseCommand"'.format(type(parser), module_path)
473 )
474returnparser
Of course, it's necessary to adjust the other calls of isinstance, too. As a quick-fix it worked really well for me.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am trying to use sphinx-click with an asyncclick CLI.
I had issues when I used the last version (6.0.0) because it told me click module was not found.
So I fixed it by removing
import click.core
line in ext.py file.This line have been added in commit 05b69cf. I am not sure why because without it it works i my configuration, I tried with version 5.1.0 and it's fine.
Thanks for your time
Here are my versions to reproduce the issue:
Python 3.12.3
asyncclick==8.1.7.2
sphinx-click==6.0.0
The text was updated successfully, but these errors were encountered: