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

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -