echoing-farmer-15630
07/16/2021, 6:54 PMpython_requirements under A and not elsewhere in the project"witty-crayon-22786
07/16/2021, 6:59 PMwitty-crayon-22786
07/16/2021, 6:59 PMechoing-farmer-15630
07/16/2021, 7:03 PMwitty-crayon-22786
07/16/2021, 7:04 PM./pants dependencies
see: https://www.pantsbuild.org/docs/python-third-party-dependencies#tip-set-up-a-virtual-environment-optionalhundreds-father-404
07/16/2021, 7:05 PMwitty-crayon-22786
07/16/2021, 7:05 PM./pants dependencies --transitive --type=3rdparty subproject::echoing-farmer-15630
07/16/2021, 7:05 PMwitty-crayon-22786
07/16/2021, 7:06 PM--transitive flag i believe. editted the above.echoing-farmer-15630
07/16/2021, 7:12 PMhappy-kitchen-89482
07/16/2021, 7:22 PMrequirements.txt files "import" a common requirements.txthappy-kitchen-89482
07/16/2021, 7:23 PM-r requirements-common.txt is a valid line inside subproject_a/requirements.txthappy-kitchen-89482
07/16/2021, 7:23 PMhappy-kitchen-89482
07/16/2021, 7:23 PMhappy-kitchen-89482
07/16/2021, 7:23 PMwitty-crayon-22786
07/16/2021, 7:24 PMcurved-television-6568
07/16/2021, 7:48 PMproud-dentist-22844
07/16/2021, 8:33 PMbut generally we would like to enhance dep inference to be able to prefer “local” providers of symbolsI would love this! If dependency inference could see that the subdirectory in the same directory/module of the python file that imports it (or very close to it) is preferred over another similarly named directory somewhere else in the repo, that would be a huge boon.
hundreds-father-404
07/16/2021, 8:34 PMpex_binary and python_awslambda, as those are the only places it's 100% safe to implement this shortcut)witty-crayon-22786
07/16/2021, 8:35 PMhappy-kitchen-89482
07/17/2021, 9:59 PM