PSA: Next releases of PyMC will break custom implementations of RandomVariables
We introduced big (and long delayed) changes regarding RandomVariables in Release rel-2.23.0 · pymc-devs/pytensor · GitHub
PyMC is now pinned to PyTensor version <2.23
, so nothing will happen just yet, but the next releases of PyMC will likely move towards PyTensor 2.23. Users/libraries that implement custom RandomVariable Operators will need to update their code, for it to work correctly.
Otherwise, direct users of PyMC should not have to worry about these changes. If you never wrote from pytensor.tensor.random.op import RandomVariable
you’re probably safe.
Feel free to ask any questions if it is unclear, or you need help.