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

FIX: Fix Residual protocol for MCMC for Python 3.11 #253

Merged
merged 2 commits into from
Jan 14, 2024

Conversation

bocklund
Copy link
Member

It seems that Python 3.11 changed the behavior of calling super().__init__ for Protocol subclasses that have Optional arguments and subclasses of the Residual protocol are raising.

This PR adds Python 3.11 to the CI test matrix and fixes the protocol signature (making the optional arguments actually optional) and also updates the callers that had incorrect signatures.

@bocklund bocklund merged commit 133befe into PhasesResearchLab:master Jan 14, 2024
11 checks passed
@bocklund bocklund deleted the fix-residual-protocol branch January 14, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant