Gausian Mixture Model takes too long to sample

Thank you for your time. You are right, I have one typo in the first snippet (y vs data in the likelihood) and one PyMC version definition problem in the second (pm.distributions.transforms.ordered vs pm.distributions.transforms.univariate_ordered).

I already edited the original post. Now both snippets should run, although rather slowly. Any feedback is welcomed.