Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump PyMC version requirement #431

Merged

Conversation

jessegrabowski
Copy link
Member

Closes #430
Related to #429

The latest pytensor release breaks several places in the statespace code. I was using a rewrite to introduce method='svd' to multivariate_normal forward samples; this is no longer needed. There was also an if Variable: check, which now needs to be if Variable is not None.

@ricardoV94
Copy link
Member

Seems like we need to ignore the numpy import warning or pin tests to numpy<2.0. It's coming from pymc

@jessegrabowski
Copy link
Member Author

Why aren't tests failing on the pymc side? We also do xfail_strict = true over there and we're not filtering any warnings.

@ricardoV94
Copy link
Member

ricardoV94 commented Mar 1, 2025

We're not failing on warnings there. It was easier to do it here because we started from scratch with the testing suite

@jessegrabowski
Copy link
Member Author

jessegrabowski commented Mar 1, 2025

oh duh it's filterwarnings = ["error"] that does it, not xfail_strict. I'm on a losing streak this week life.

@jessegrabowski jessegrabowski force-pushed the remove-svd-normal-rewrite branch from 02b52dc to 907b083 Compare March 1, 2025 13:53
@jessegrabowski jessegrabowski force-pushed the remove-svd-normal-rewrite branch from 86cc6eb to 34c66ad Compare March 1, 2025 14:40
Copy link
Contributor

@AlexAndorra AlexAndorra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jessegrabowski , this looks good! Shall I merge?

@jessegrabowski
Copy link
Member Author

yes please!

@AlexAndorra AlexAndorra merged commit 4fbbfeb into pymc-devs:main Mar 1, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working maintenance statespace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BayesianVARMAX import leads to TypeError
3 participants