python_dependency: cleanup, fix satisfy.

Closes #26067.