Remove FutureWarning-specific regression checks from tests#665
Conversation
pyyaml is imported by configuration.py (from_config) and settings.py but was never declared in [project].dependencies. pandas 3.0 introduced breaking changes affecting 1.3.x; the compatibility work lives on the 1.4 line, so cap pandas on 1.3.x.
The attribute was removed in mikeio 3.x and the original test author flagged it as 'not sure this assert is useful'. Production code does not depend on the attribute, so dropping the assertion unblocks the test suite against mikeio 3 without changing behavior.
rename(inplace=...) warning path from DFSU point matching
ryan-kipawa
left a comment
There was a problem hiding this comment.
Identify where the inplace call is being made before you make a fix. You must understand the problem before fixing it, even with TDD. One should also avoid unnecessary copies where possible, both for performance reasons as well as replication / internal consistency. Try again
Addressed in I traced the warning source to |
ryan-kipawa
left a comment
There was a problem hiding this comment.
I still think it's wrong. The code you removed did not have an inplace parameter, it was indeed how the warning advised resolving the issue.
Updated in |
2e6f873 to
f8b2ea9
Compare
rename(inplace=...) warning path from DFSU point matchinginplace=True from Dataset.rename calls
inplace=True from Dataset.rename callsrename(inplace=...) warning path and extend coverage across model types
rename(inplace=...) warning path and extend coverage across model types
Acknowledged — I will target the 1.3 release line ( |
The suite contained temporary tests focused on asserting
FutureWarningbehavior after a dependency deprecation issue. This change removes those warning-specific checks so the test suite stays focused on functional behavior rather than transient warning contracts.tests/test_match.pyFutureWarningto errors.match(...).tests/test_combine_comparers.pypytest.warns(FutureWarning, match="deprecated")wrapper around comparer collection addition intest_merge.