mysterious-actor-50986
07/31/2020, 12:54 PMsome-farmer-97614
07/31/2020, 1:56 PMsome-farmer-97614
07/31/2020, 1:57 PMclean-night-52582
07/31/2020, 5:39 PMisort
backend using v2 with pants version 1.30.0
. Is there a way for isort
to know about 3rdparty dependencies? In order to sort them into a separate section from buildins and first-party files. Normally I believe it looks at the environment to tell if something came from pip. I’m not sure how to do this in pants. I’ve declared the dependencies in a file 3rdparty/requirements.txt
and invoking python_requirements()
mysterious-actor-50986
07/31/2020, 9:06 PM./pants binary
? (judging by debug messages here https://github.com/pantsbuild/pants/blob/1.29.x/src/python/pants/backend/jvm/tasks/jvm_binary_task.py#L105 )
Any possible explanation / ideas for debugging this?gorgeous-eve-12553
08/01/2020, 7:11 PMgunicorn main:app
(Pants 2.0)gorgeous-eve-12553
08/02/2020, 1:59 AMpolite-garden-50641
08/03/2020, 9:51 PMIf I specify multiple goals in the command line (for example: `./pants test lint typecheck src/python/pants/backend/python/lint::`)
should tests run in parallel while lint & typecheck and rules are running ? this is not the behavior I am seeing... pants seems to run each goal sequentially even though I have plenty of free CPUs...
gifted-afternoon-62260
08/05/2020, 10:07 AMjolly-midnight-72759
08/05/2020, 5:42 PMpants-plugin
for building project's docs called makedocs
. When we run ./pants makedocs ${target}:docs
it builds the docs for that target. This plugin needs to know where the main config file is for the repo. Right now we do some path magic and figure out where the ROOT of the monorepo is located on the filesystem and then hardcode the path to the main conf.py
file and the output directory. This works in 1.18 but breaks in >1.25.
What is the 👖 way to solve this problem? Do I get more sophisticated in finding the path to the ROOT of the monorepo (this feels like something ./pants
should know)? Or do I go whole hog with the chroot and add the main conf.py
as a resource for every project's makedocs
target (did I mention the plugin defines a target type?). The latter solution seems like it will be wasteful in that when we build the whole site with every module, we will be copying the whole monorepo into the chroot. The former is what I am leaning towards, but then I have to work around the chroot. Any suggestions would be apprewciatedimportant-librarian-62877
08/05/2020, 10:43 PMDirectories to cache
In your CI's config file, we recommend caching these directories:
$HOME/.cache/pants/setup: the initial bootstrapping of Pants.
$HOME/.cache/pants/named_caches: caches of tools like pip and PEX.
$HOME/.cache/pants/lmdb_store: cached content for prior Pants runs.
version 1.26 does not appear in the list of versions on the docs. Does the above statement still hold true for 1.26?miniature-lamp-45970
08/06/2020, 12:38 AMbland-family-75364
08/07/2020, 3:03 PMbland-family-75364
08/07/2020, 3:04 PMbland-family-75364
08/07/2020, 3:05 PMbland-family-75364
08/07/2020, 3:06 PMminiature-lamp-45970
08/12/2020, 1:15 AMbetter-nail-12700
08/12/2020, 8:29 AMmelodic-optician-41260
08/14/2020, 11:05 AMpants.ini
to increase heap size as such:
[DEFAULT]
pants_version: 1.17.0
jvm_options: ["-Xmx4g"]
[test.junit]
jvm_options: ["-Xmx4g"]
but whenever I profile the testRunner using VisualVM it tells me that the max heap size is -Xmx256m
, how can I increase the heap size for the testRunner?plain-river-51682
08/14/2020, 11:09 AM[jvm.test.junit]
as group?plain-river-51682
08/14/2020, 11:09 AM[jvm.test.junit]
options:[
"-Djava.awt.headless=true", "-Duser.language=en", "-Xmx1g"
]
melodic-optician-41260
08/14/2020, 11:19 AMhappy-kitchen-89482
08/14/2020, 1:50 PMimportant-librarian-62877
08/14/2020, 6:12 PMlmdb_store
supposed to be used at all when running pants v1 engine?aloof-angle-91616
08/14/2020, 6:13 PMaloof-angle-91616
08/14/2020, 6:14 PMimportant-librarian-62877
08/14/2020, 6:14 PMaloof-angle-91616
08/14/2020, 6:15 PMuser
08/14/2020, 6:36 PMcalm-alarm-89082
08/14/2020, 8:05 PM/usr/bin
to interpreter_search_paths
I suspect it's not using the correct PATH, have you ever seen this sort of issue?