hundreds-father-404
08/09/2022, 10:41 PM[GLOBAL].plugins
and [mypy].extra_type_stubs
don't currently give any mechanism to set a lockfile ๐งต[python].resolves_to_find_links
.
With the design from https://docs.google.com/document/d/1HAvpSNvNAHreFfvTAXavZGka-A3WWvPuH0sMjGUCo48/edit#heading=h.n451mfzergzm for "What if I don't use resolves / lockfiles", I believe we want to have a consistent way to set these options specifically for the two things. Sure, you can use __default__
, but we should also allow more granularity. This is similar to the proposed no-user-resolve
key for user code when you don't use [python].resolves
Does that make sense? Again, you aren't forced to use a lockfile, but now you can if you want, which is a good thing.[GLOBAL].plugins
is going to complicate your work?ancient-vegetable-10556
08/10/2022, 3:29 PMhundreds-father-404
08/10/2022, 3:30 PM[GLOBAL].plugins
? global-plugins
, global-pants-plugins
, pants-plugins-option
?
I think pants-plugins
is very likely to be claimed already by plugin authors with [python].resolves
pants-plugins-option
. Or global-plugins-option
. Seems the most clearenough-analyst-54434
08/10/2022, 4:26 PMhundreds-father-404
08/10/2022, 4:30 PMmypy-extra-type-stubs
, this Pants plugins resolve, and I'm proposing no-user-resolve
and pep-517-build-backend
too. With our current code, that means every PexRequest will have an associated resolve. Theoretically, we could need to add new resolves to existing backends, though
We have code that eagerly checks and errors on ambiguity.proud-dentist-22844
08/11/2022, 10:56 PM[GLOBAL].plugins
use my pants-plugins
resolve which covers code under pants-plugins/
? In my repo, they're effectively the same thing, and if there are any conflicts between pants-plugins
and what is in [GLOBAL].plugins
then I need to catch that sooner rather than later because everything in pants-plugins
is expected to be sourced in [GLOBAL].plugins
.hundreds-father-404
08/11/2022, 10:57 PMproud-dentist-22844
08/11/2022, 10:58 PM[GLOBAL].plugins
use the pants-plugins
resolve, but allow BUILD files to use that same resolve as well.