FIRtools.py raises ValueError with recent bug-fix Python versions
Importing or executing the FIRtools.py
Python module raises a ValueError
with any Python bug-fix release that includes the mitigation for gh-95778:
$ python --version
Python 3.10.7
$ python python/FIRtools.py
Traceback (most recent call last):
File "/home/duncan/git/gstlal-calibration/python/FIRtools.py", line 995, in <module>
factorials_inv[n] = 1.0 / np.float128(str(current))
ValueError: Exceeds the limit (4300) for integer string conversion
See https://docs.python.org/release/3.10.7/whatsnew/changelog.html#security for the release notes regarding this change for Python 3.10.
This applies to all Python versions back to, and including, Python 3.7. See gh-96499 (and references therein) for the pull request that implements the fix.