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

jolly-midnight-72759

08/24/2020, 4:21 AM
I'm having trouble finding documentation on
local_artifact_cache
configuration setting. The only mention I see of it is from 2014 on the dev mailing list. It looks like it is still in the code. In 1.18 we configured it under the
[DEFAULT]
section. Is there a single place that DEFAULT and GENERAL settings get defined in the code? I'm trying to learn how to figure out some of these config settings on my own, but having trouble.
h

happy-kitchen-89482

08/24/2020, 5:24 PM
Which version of pants are you asking about? And are you using the v2 engine?
j

jolly-midnight-72759

08/24/2020, 5:25 PM
🙂
We are moving from 1.18 to 1.30. Going to make a stop at 1.25 to deal with our custom plugins.
Trying to migrate our configs and having difficulty with a few settings.
local_artifact_cache
,
lint.python-eval
and
lint.pythonstyle
. I was hoping to be able to look at GitHub to answer some of my questions and bother people on slack less.
h

happy-kitchen-89482

08/24/2020, 5:44 PM
It's no bother!
So if this is for Python support using the v2 engine, then local caching is built in to the engine, and you don't need to do anything.
j

jolly-midnight-72759

08/24/2020, 8:24 PM
I got v1.25 on master and v1.26 is passing its tests. I was planning on doing the switch over to v2 engine with 1.30. That way I am pass a number of depreciation things in v1.27 and also switched over to TOML from INI (which I think is best to do at 1.28).
5 Views