witty-crayon-22786
09/22/2020, 6:51 PMhundreds-breakfast-49010
09/22/2020, 7:15 PMwith
block where the presence/absence of the with
is controllable via a flag?hundreds-breakfast-49010
09/22/2020, 9:48 PMhundreds-breakfast-49010
09/22/2020, 11:01 PM--logdir
option with pants, it prints every log line twicehundreds-breakfast-49010
09/22/2020, 11:01 PMhundreds-breakfast-49010
09/23/2020, 12:16 AM./pants repl
is brokenhundreds-breakfast-49010
09/23/2020, 12:16 AMhundreds-breakfast-49010
09/23/2020, 12:17 AM./pants repl
, then hit ctrl-c, some kind of python process will remain around and screwing up the terminalwonderful-iron-54019
09/23/2020, 5:05 PMpython_library
/`python_tests` get resolved as we move our tests to v2 seeing an interesting issue when bringing in our common test utilshundreds-breakfast-49010
09/23/2020, 8:50 PMhundreds-father-404
09/23/2020, 9:28 PMtool.pex
, requirements.pex
, and runner.pex
for things like Pytest? I think the runner.pex
can be consolidated into the tool.pex
.
Iirc, it was to avoid having to recreate the runner.pex
when you do something like bump a tool’s version. But that doesn’t seem like we save much; all the runner.pex
ever does is set up an entry-point and --pex-path
, which is trivial to do directly on the tool.pex
in the first place.wonderful-iron-54019
09/24/2020, 6:23 PMhundreds-breakfast-49010
09/24/2020, 11:58 PM.*/
as a default ignore pattern in the --build-ignore
and --pants-ignore
might be undesirablehundreds-breakfast-49010
09/25/2020, 6:06 PMwitty-crayon-22786
09/25/2020, 6:25 PMSpecs
should probably not be a `SessionValue`: https://github.com/pantsbuild/pants/issues/6845 and https://github.com/pantsbuild/pants/blob/master/src/rust/engine/graph/README.md#inputs-and-identity attempt to explain the connection between identity and cacheability, but they don’t do a great job of itfast-nail-55400
09/26/2020, 3:10 AMCompiling process_execution v0.0.1 (/data/home/tdyas/pants/src/rust/engine/process_execution)
Compiling engine v0.0.1 (/data/home/tdyas/pants/src/rust/engine)
Finished release [optimized + debuginfo] target(s) in 9m 25s
/data/home/tdyas/pants/src/python/pants/base/exception_sink.py:313: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
process_title=setproctitle.getproctitle(),
/data/home/tdyas/pants/src/python/pants/engine/internals/native_engine.so: undefined symbol: PyModule_Create2TraceRefs
NoneType: None
any advice?fast-nail-55400
09/26/2020, 3:11 AMhundreds-breakfast-49010
09/26/2020, 8:02 AMwith_executor
https://github.com/pantsbuild/pants/blob/master/src/rust/engine/src/externs/interface.rs#L1778` needs to take a PyExecutor
and not a &PyExecutor
?aloof-angle-91616
09/27/2020, 2:45 PMTODO: Use LMDB database statistics when lmdb-rs exposes them.
in the local store source above the shrink()
method: https://github.com/pantsbuild/pants/blob/237e6a6e8b1c41d58a38426d92dac96f878f2159/src/rust/engine/fs/store/src/local.rs#L121, and in looking over that i found this environment::Stat
object from the upstream lmdb-rs crate: https://github.com/danburkert/lmdb-rs/blob/12b4611006d5ba3bf80840faaa31a8b2e2bb6e88/src/environment.rs#L171. it's described as Contains information about the size and layout of an LMDB environment.
. is that the info we would be looking for here?aloof-angle-91616
09/27/2020, 2:52 PMdigest_hint
in PathGlobsAndRoot
anywhere. were we doing that manually in the parallel RscCompile
task before? i'm looking to see whether we could support an optimization to avoid snapshotting process execution output files/directories that we already know about as per this comment on the mutable caches doc (which i didn't know was already implemented -- this is super awesome): https://docs.google.com/document/d/1n_MVVGjrkTKTPKHqRPlyfFzQyx2QioclMG_Q3DMUgYk/edit?disco=AAAAIva7gMwaloof-angle-91616
09/27/2020, 2:53 PMaloof-angle-91616
09/27/2020, 4:14 PMaloof-angle-91616
09/27/2020, 9:58 PMbrfs
today i think as per the linked commenthundreds-father-404
09/28/2020, 7:23 PM▶ ./pants test src/python/pants/backend/python/lint/docformatter/rules_integration_test.py -- -k type_stubs
⠉
⠉
⠉
⠉
⠉
⠉
12:21:21.38 [WARN] Completed: Run tests - src/python/pants/backend/python/lint/docformatter/rules_in
𐄂 src/python/pants/backend/python/lint/docformatter/rules_integration_test.py:integration failed.
Going from 120 pixels wide to 121 pixels wide in my terminal fixed it..?hundreds-breakfast-49010
09/28/2020, 7:49 PMblocked
flag on outer_metadata
in https://github.com/pantsbuild/pants/blob/master/src/rust/engine/process_execution/src/lib.rs#L491 ? @witty-crayon-22786 I think you might've touched this code?witty-crayon-22786
09/28/2020, 8:52 PMStarting
messages for test processeshundreds-breakfast-49010
09/29/2020, 1:48 AMwooden-thailand-8386
09/29/2020, 8:14 PMpython_app
target when using bundle
it can get files from a different folder by using rel_path
right? I mean, that’s basically what I’m doing… my BUILD file is inside projects/projectA
and I need to have files under libs/3rdparty/mydata
to be packaged together.wonderful-iron-54019
09/30/2020, 1:53 PM./pants --no-v1 lint
in Pants 1.30.2rc0. Stack in threadaloof-angle-91616
09/30/2020, 3:02 PMSubsystem
subclass EnvironmentPropagator
which doesn't register any options itself, but allows environment variables in the form PANTS_PEX_*
to be converted to just PEX_*
environment variables when we go to run a process (where PEX
is the value of a class-level string field EnvironmentPropagator.environment_sub_component
. making this a subsystem (or not, and using some other method) means we could hook it up to ./pants help
and allow the user to see what variables are in their environment which would affect a pants execution, and we could also incorporate the tool's own help text for its environment variables.
posting here because i made the comment specifically regarding using this for pex in the issue, and i want to see what response i get to that before trying to make a more general issue