fast-nail-55400
07/29/2021, 3:23 PMInferDependenciesRequest
) and dependency injection (InjectDependenciesRequest
)? especially around which one is applied first?fast-nail-55400
07/29/2021, 5:14 PMexit code: -6
is? https://github.com/pantsbuild/pants/runs/3194054881?check_suite_focus=true#step:11:350hundreds-father-404
07/29/2021, 5:15 PMhundreds-father-404
07/29/2021, 5:15 PMhundreds-father-404
07/29/2021, 5:15 PMenough-analyst-54434
07/29/2021, 5:16 PMenough-analyst-54434
07/29/2021, 5:19 PMhappy-kitchen-89482
07/30/2021, 1:44 AMwitty-crayon-22786
07/30/2021, 8:36 PM2.6.0
happening today?hundreds-father-404
08/02/2021, 9:32 PM./pants run
, ./pants test
, and ./pants package
, we know that the file in question has no 3rd party deps, then skip resolving `constraints.txt`/`lockfile.txt`
might make our code more complex, but seems justified? Will also help w/ incremental migrations, that you don't need your 3rd party deps figured out for some tests/scripts/binariesaverage-vr-56795
08/02/2021, 9:45 PMaverage-vr-56795
08/02/2021, 9:46 PMhundreds-father-404
08/02/2021, 9:54 PMwitty-crayon-22786
08/02/2021, 9:54 PMhundreds-father-404
08/02/2021, 9:55 PMmaybe we don’t filter for the empty set case?We do not
enough-analyst-54434
08/02/2021, 9:58 PMenough-analyst-54434
08/02/2021, 10:00 PMpython_requirements()
or similar target and just hacked on the dependcy-less scripts - you'd not hit it.enough-analyst-54434
08/02/2021, 10:01 PMhundreds-father-404
08/02/2021, 10:02 PMpython_requirements
w/ ./pants tailor
, I think only b/c it uses the old school macro and that's not wired up yet
So, yeah, for a brand new repo, you'd only hit this if you have added python_requirements()
in between running ./pants tailor
and trying your first ./pants test
etchundreds-father-404
08/02/2021, 10:10 PM[python-setup].interpreter_constraints
to be >=3.9, rather than >=3.7
I imagine 3.9 isn't popular enough yet for us to change the default for everyone? Next best thing is add a note to the pants.toml
and README.md?average-vr-56795
08/02/2021, 10:25 PMhappy-kitchen-89482
08/02/2021, 11:47 PMhundreds-father-404
08/03/2021, 2:06 AMmight make our code more complexlol, 2 line change. https://github.com/pantsbuild/pants/pull/12488 Sorry for the noise...this change was not in any way controversial and didn't really warrant a dedicated thread
hundreds-father-404
08/03/2021, 4:14 AM[python-setup].allow_mixed_interpreter_constraints
. If false, ban the interpreter_constraints
field and solely allow for the global [python-setup].interpreter_constraints
Thoughts?hundreds-father-404
08/03/2021, 4:15 AMhundreds-father-404
08/03/2021, 4:19 AMhundreds-father-404
08/03/2021, 3:44 PM./pants help
otherwise.
Semantically, you're opting into that advanced functionality by enabling the pluginwitty-crayon-22786
08/03/2021, 4:38 PMwitty-crayon-22786
08/03/2021, 4:39 PMwitty-crayon-22786
08/03/2021, 4:39 PM