-
Notifications
You must be signed in to change notification settings - Fork 6
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 is_integer()
bug for QRules v0.10.4
#450
base: main
Are you sure you want to change the base?
Conversation
…pform into hotfix_fraction_is_integer_bug
Apparantly, the |
Fraction
in Python < 3.12is_integer()
bug for QRules v0.10.4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test can be removed. The tests did catch the problem after ComPWA/actions#124 was fixed. See
https://github.com/ComPWA/ampform/actions/runs/12827104659/job/35770967572
Closes #449
Fixed a bug where the method
Fraction.is_integer()
, which has only been added Python 3.12, is called when the angular momentum of a particle is notNone
.Related issues that this PR addresses:
pytest
always runs with pinned Python versions actions#124uv.lock
files policy#490pygments
version constraint policy#493