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

MAINT: upgrade to SymPy v1.13 #435

Merged
merged 4 commits into from
Aug 6, 2024
Merged

MAINT: upgrade to SymPy v1.13 #435

merged 4 commits into from
Aug 6, 2024

Conversation

redeboer
Copy link
Member

@redeboer redeboer commented Aug 2, 2024

See SymPy release notes for v1.13.0 and v1.13.1.

@redeboer redeboer added the 🔨 Maintenance Maintenance and upkeep improvements label Aug 2, 2024
@redeboer redeboer added this to the 0.15.5 milestone Aug 2, 2024
@redeboer redeboer requested a review from shenvitor August 2, 2024 10:02
@@ -54,7 +54,7 @@ class EnergyDependentWidth(sp.Expr):
m_b: Any
angular_momentum: Any
meson_radius: Any
phsp_factor: PhaseSpaceFactorProtocol = argument(
phsp_factor: PhaseSpaceFactorProtocol = argument( # type:ignore[assignment]
Copy link
Member Author

Choose a reason for hiding this comment

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

This is actually quite bad for downstream packages that lint with mypy. Since SymPy v1.13 (untyped), it PhaseSpaceFactorProtocol does not match the signature of any sympy.Expr classes.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@redeboer redeboer enabled auto-merge (squash) August 5, 2024 09:14
@redeboer redeboer disabled auto-merge August 6, 2024 08:26
@redeboer redeboer merged commit c2a6fd0 into ComPWA:main Aug 6, 2024
26 checks passed
@redeboer redeboer deleted the sympy-1.13 branch August 6, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 Maintenance Maintenance and upkeep improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants