https://pantsbuild.org/ logo
#general
Title
# general
g

green-match-66337

05/24/2022, 7:05 AM
Question - if the name doesnt match then dependency inference removes the package... eg
pybars3
in requirements.txt is used as
pybars
how do we get DI to ignore?
2
solved : python_requirements(module_mapping={"pybars3": ["pybars"]})
👍 3
b

bitter-ability-32190

05/24/2022, 10:30 AM
Feel free to post a PR to Pants list of default module mappings!
Then when you upgrade you can get rid of yours. And others benefit
g

green-match-66337

05/24/2022, 10:42 AM
Where is this?