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 have thought about an extension that provided automatic mocking for common modules that require mocking. It's nothing I've ever bothered to write though. It would still require the user not install those dependencies first, which is where most users hit issues in the first place.
I've also thought maybe RTD should inspect dependencies and warn, but that's definitely a ways off our current roadmap.
To successfully mock out qt dependencies, make sure you aren't setting any qt dependencies via setup.py and/or requirements.txt. You should be able to mock out the modules normally, afaik.
I have not been able to successfully make shims for
PyQt
. (Some projects shim some of the pyqt submodules but not all of it.)I imagine that the special case of pyqt (4 or 5) is sufficiently common for it to be useful for other people, hence the issue.
Is there anyone who has a good example of how to mock pyqt for readthedocs? Would it be in scope for readthedocs to handle pyqt?
The text was updated successfully, but these errors were encountered: