Remove transitive dependencies from requirements.