Open cdcadman opened 3 months ago
Thanks for posting! It might take a while before we look at your issue, so don't worry if there seems to be no feedback. We'll get to it.
Thanks! This needs to be fixed in SWIG. It seems to be a known issue: https://github.com/swig/swig/issues/2881.
This only happens with the -Walways
, right?
Yes, DeprecationWarning
is ignored by python's default warning filter, so I used the -Walways
to make it print out. I first noticed the warnings in pytest
logs for some code that uses QuantLib
.
This issue was automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in two weeks.
This issue was automatically closed because it has been stalled for two weeks with no further activity.
Here is a demonstration in the interactive shell, running python 3.12 with QuantLib version 1.34. When I use QuantLib version 1.33, these warnings are not issued: