python - Metaclass error when extending scipy.stats.rv_continuous mocked for Read the Docs -
in python project, i’m extending scipy.stats.rv_continuous
this:
class genlogisticgen(lmomdistrmixin, scipy.stats.rv_continuous): ...
i’m trying build documentation on read docs , getting build errors:
class genlogisticgen(lmomdistrmixin, scipy.stats.rv_continuous): typeerror: metaclass conflict: metaclass of derived class must (non-strict) subclass of metaclasses of bases
note i’m mocking out scipy.stats
module per read docs faq.
i guess mocking out base class goes wrong. what?
Comments
Post a Comment