hundreds-father-404
03/16/2022, 9:27 PM[python].resolves now that it will be Pex format.hundreds-father-404
03/16/2022, 9:27 PM3rdparty/python/default_lock.txt.
Pex lockfiles are JSON, but Pants messes it up by adding comments. Ending the file in .json will make IDEs angry, although .jsonc could work. Or instead, so far we've been using .lock and then users jsonc or JSON5 in PyCharm if they want.
I'm proposing 3rdparty/python/user_requirements.lock. Note that we call it "user lockfiles" in the new docshundreds-father-404
03/16/2022, 9:27 PMhundreds-father-404
03/16/2022, 9:29 PMbitter-ability-32190
03/16/2022, 9:44 PMhundreds-father-404
03/16/2022, 9:46 PM[python].lockfile_generator and [python].resolves. Oofhundreds-father-404
03/16/2022, 9:47 PMhundreds-father-404
03/16/2022, 9:48 PMhundreds-father-404
03/16/2022, 9:55 PM3rdparty/python/user_lockfile.lock. It isn't wrong to use that name. Because it's still an rc, we can still make that breaking change
Then 2.11's only change is the lockfile generator, which we might not even change and instead only deprecatebitter-ability-32190
03/16/2022, 10:22 PMhundreds-father-404
03/16/2022, 10:23 PMdefault_lock.txt
I'm putting up a PR targeted for 2.10 to change the default to user_requirements.lock. Problem solved if we can do thathundreds-father-404
03/16/2022, 10:30 PMdefault.lock for JVM, so might as well be consistent here rather than user_requirements.lock?hundreds-father-404
03/16/2022, 10:35 PMwide-midnight-78598
03/16/2022, 11:48 PM.lock 🙂
The lockfile will be namespaced against the language, correct? Like, java/something.lock and python/something.lockhundreds-father-404
03/16/2022, 11:51 PM3rdparty/python/default.lock and 3rdparty/jvm/default.lockhundreds-father-404
03/16/2022, 11:53 PMpython-default and jvm-default for the resolve names. I think you might have weighed in on that, I was wondering if it should be py-defaultwide-midnight-78598
03/17/2022, 12:02 AMjvm is the VM it runs on, so maybe at the highest level of bike shedding, you could say something like "Well, py-default could also apply to stuff like PyPy`, and it's fewer letters, which is nice.