rapid-crayon-8232
10/15/2019, 10:50 AMaloof-angle-91616
10/15/2019, 3:25 PMaloof-angle-91616
10/15/2019, 3:25 PMhappy-kitchen-89482
10/15/2019, 4:27 PMaverage-vr-56795
10/15/2019, 4:47 PM--pants-config-files
option is handled? My normal strategy of grepping for the _
-version of the -
flag name (rg pants_config_files
) shows it’s only used for invalidation globs and in a test, which doesn’t sound right…aloof-angle-91616
10/15/2019, 4:57 PMpants.ini
aloof-angle-91616
10/15/2019, 5:09 PMsrc/python/pants/option/custom_types.py
. i always wondered at the machinery that made list and dict option value merging work (see e.g. ListValueComponent
in that file).cuddly-window-48195
10/16/2019, 8:11 PMException caught: (pants.build_graph.address_lookup_error.AddressLookupError) (backtrace omitted)
Exception message: Build graph construction failed: ExecutionError 1 Exception encountered:
Exception: Failed to begin read transaction: Resource temporarily unavailable
cuddly-window-48195
10/16/2019, 8:12 PMdocker-compose run <service> bash
and then run the same pants command, everything works out fine...cuddly-window-48195
10/16/2019, 8:30 PMcuddly-window-48195
10/16/2019, 8:30 PMaloof-angle-91616
10/16/2019, 8:31 PMException: Failed to begin read transaction: Resource temporarily unavailable
is something to do with accessing our LMDB store, which is mapped to files in ~/.cache/pants/lmdb_store
. it's not clear to me why this would be different, but i might first try it without sharing the cache directory and seeing if that runs.cuddly-window-48195
10/16/2019, 8:32 PMaloof-angle-91616
10/16/2019, 8:32 PMaloof-angle-91616
10/16/2019, 8:33 PMcuddly-window-48195
10/16/2019, 8:41 PMlmdb::Environment
is defined (from here https://github.com/pantsbuild/pants/blob/f5ae1533294493d4c6b57db1a8fd4c97c36406e4/src/rust/engine/sharded_lmdb/src/lib.rs#L32). I'm not seeing a lmdb
directory in rust/engine/
nor in the Cargo.toml
. I'm not very Rust savvy 😕cuddly-window-48195
10/16/2019, 8:41 PMaloof-angle-91616
10/16/2019, 8:42 PMCargo.toml
in the repo like: > find src/rust/engine -type f -name Cargo.toml | parallel -t rg --color=always lmdb
aloof-angle-91616
10/16/2019, 8:43 PMaloof-angle-91616
10/16/2019, 8:47 PMcuddly-window-48195
10/16/2019, 8:48 PMcuddly-window-48195
10/16/2019, 8:48 PMaloof-angle-91616
10/16/2019, 8:51 PMcuddly-window-48195
10/17/2019, 7:11 PMsalmon-forest-59879
10/18/2019, 12:44 PMjar_library "foo"
. I need to make a tarball (or other archive) of these and make that available to a scala_library "bar"
at runtime. The archive should be on the classpath somehow, but NOT the individual jars in that comprise "foo".
How can i do this? I've tried my usual "create archive" trick of making a jvm_binary
target that has foo
as a dependency, then a jvm_app
wrapping that with archive = "tar"
, but now i need to make THIS a runtime dependency of a bar
. In prior cases, i'd get a tarball from this, but it doesn't seem to be happening
Ideas? (NB: again, the jars in foo
can NOT be directly on the runtime classpath of bar
. This is a hard requirement.)wide-energy-11069
10/18/2019, 6:13 PMaloof-angle-91616
10/19/2019, 6:42 AMaloof-angle-91616
10/20/2019, 7:19 PMcuddly-window-48195
10/21/2019, 3:44 PMPackage SourcePackage('...') is not translatable by ChainedTranslator(WheelTranslator, EggTranslator, SourceTranslator)
.cuddly-window-48195
10/21/2019, 3:45 PMFailed to install alooma-0.4.14 (caused by: NonZeroExit("received exit code 1 during execution of `['/usr/bin/python3.6', '-s', '-', 'bdist_wheel', '--dist-dir=/tmp/tmp_gubi775']` while trying to execute `['/usr/bin/python3.6', '-s', '-', 'bdist_wheel', '--dist-dir=/tmp/tmp_gubi775']`",)
):
stdout:
stderr:
Traceback (most recent call last):
File "<string>", line 4, in <module>
ModuleNotFoundError: No module named 'pip'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 14, in <module>
File "<string>", line 6, in <module>
ModuleNotFoundError: No module named 'pip'