Summary
lag_matrix emits DeprecationWarning for two keyword arguments:
filling (deprecated, replaced by another name)
drop_missing (deprecated, replaced by another name)
Impact
32 DeprecationWarnings are produced across the test suite on every run. While not failures, they clutter output and the deprecated arguments will be removed in a future version, at which point callers will break.
Fix
Replace the deprecated argument names with their current equivalents in all call sites. Per the lag_matrix docstring:
filling=... → use the current argument name
drop_missing=... → use the current argument name
Affected files (call sites)
tests/test_regression.py (multiple)
tests/test_solvers.py
tests/test_utils.py
pyeeg/models.py (the fit method calls lag_matrix with both deprecated kwargs)
Reproduction
uv run pytest tests/ -q 2>&1 | grep DeprecationWarning
Summary
lag_matrixemitsDeprecationWarningfor two keyword arguments:filling(deprecated, replaced by another name)drop_missing(deprecated, replaced by another name)Impact
32
DeprecationWarnings are produced across the test suite on every run. While not failures, they clutter output and the deprecated arguments will be removed in a future version, at which point callers will break.Fix
Replace the deprecated argument names with their current equivalents in all call sites. Per the
lag_matrixdocstring:filling=...→ use the current argument namedrop_missing=...→ use the current argument nameAffected files (call sites)
tests/test_regression.py(multiple)tests/test_solvers.pytests/test_utils.pypyeeg/models.py(thefitmethod callslag_matrixwith both deprecated kwargs)Reproduction