Bug#1067234: symfit: autopkgtest regression with NumPy 1.26
Graham Inggs
ginggs at debian.org
Mon Apr 8 18:09:33 BST 2024
Control: tags -1 + patch
Hi Maintainer
While asserting that no warnings are raised is a useful test for the
upstream developers, I don't think it makes sense for downstreams.
I propose to disable the assertion as follows:
--- a/tests/test_minimizers.py
+++ b/tests/test_minimizers.py
@@ -117,7 +117,7 @@
# Should no longer raise warnings, because internally we practice
# what we preach.
fit_custom = BFGS(chi_squared, [a, b])
- assert len(recwarn) == 0
+# assert len(recwarn) == 0
fit_custom_result = fit_custom.execute()
Please let me know if you are happy with a team upload and I will proceed.
As a bonus, I attach a patch that fixes several SyntaxWarnings that
occur with Python 3.12.
Regards
Graham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python3.12.patch
Type: text/x-patch
Size: 3929 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20240408/8f61d19a/attachment-0001.bin>
More information about the debian-science-maintainers
mailing list