TypeError: no python-side overrides supported (failed to compile the dispatcher code)

Hi!

Just my 2 cents:

This question is similar to one that was asked about RDataFrame here:

In that thread, I explained how it’s a bad idea to inherit from a class in Python that is not meant to be inherited from in C++ and what the alternatives are (composition over inheritance, dynamically patch the class in Python. If you inherit from the Fitter like this, I’m 95 % sure you will run into other problems eventually because the Fitter class has not virtual functions, so I’m not sure how you expect overriding to work.

So in my opinion, the error that you get in ROOT 6.28 is a feature and not a bug, because it prevents users from writing unstable code.

Why are you depending of inheriting from ROOT Fitter? Maybe we can suggest you an alternative!

Cheers,
Jonas