<#20022 Plugin for modifying `install_requirements...
# github-notifications
c
#20022 Plugin for modifying `install_requirements` New discussion created by StefanUlbrich Similar to writing plugins that add custom python_artifact() keywords, I want to modify the generated
install_requires
post inference (e.g., relax the version of an internal dependency). I think this can be achieved by adding the
@union
decorator to `GenerateSetupPyRequest` (and maybe add an
is_applicable
classmethod?). Then I could write a rule that calls
determine_finalized_setup_kwargs
and modify the requires. This seems to me to be the only way to achieve my goal. I wonder, however, if it is too"hacky". Is it worth opening a pull request for this idea? pantsbuild/pants