Description
When running dbt build --select state:modified with deferral, Python models that have not changed are incorrectly selected and run.
Steps to Reproduce
- Do a full build and save the manifest as the deferred state
- Change nothing
- Run
dbt build --select state:modified with deferral to the saved manifest
- Observe: unchanged Python models are selected and run
Expected Behavior
Unchanged Python models should not be selected by state:modified.
Actual Behavior
Python models are always treated as modified regardless of whether their definition has changed.