witty-crayon-22786
08/25/2021, 9:32 PMpex-tools … extract
be convinced to extract for multiple interpreters at once?hundreds-father-404
08/26/2021, 2:46 AM@skip_unless_python27_present
et al decorators in CI - we should eagerly error in that case, rather than skipping a test.
Thoughts on simply deleting them outright? It will make it less likely ./pants test ::
works for desktop developers, but maybe that's fine? Otherwise, we can add a check if not "CI" in os.environ
helpful-jackal-12093
08/26/2021, 2:09 PMhelpful-jackal-12093
08/26/2021, 2:10 PMhelpful-jackal-12093
08/26/2021, 2:10 PMfast-nail-55400
08/26/2021, 4:11 PMEngine traceback:
in select
in pants.backend.go.build.run_go_build
in pants.backend.go.build.build_target
Traceback (no traceback):
<pants native internals>
Exception: Dependency graph contained a cycle:
@rule(pants.backend.go.build.build_target) <-
@rule(pants.backend.go.build.build_target) <-
which is not very helpfulwitty-crayon-22786
08/26/2021, 11:38 PMwitty-crayon-22786
08/27/2021, 5:19 PMwitty-crayon-22786
08/27/2021, 8:18 PMmain
average-vr-56795
08/27/2021, 8:35 PMaverage-vr-56795
08/27/2021, 9:30 PM* Embrace that help strings are markdown. ([#12609](<https://github.com/pantsbuild/pants/pull/12609))>
which happens to be the PR title of the next PR in the list (https://github.com/pantsbuild/pants/pull/12606), I'd be curious...curved-television-6568
08/28/2021, 11:47 AMwitty-crayon-22786
08/29/2021, 9:25 PMDirectoryMaterializeMetadata
and LoadMetadata
with metrics instead? we could store histograms of size or load time by source, for example.helpful-jackal-12093
08/31/2021, 10:14 AMpoetry_requirements_from_lock
that parses the poetry.lock
file and generates python_requirement_library
, I couldn’t find any documentation on how to do that. Is this API exported?happy-kitchen-89482
08/31/2021, 11:40 AMfast-nail-55400
08/31/2021, 9:46 PMProcess
invocations. comments welcome! tracking issue is https://github.com/pantsbuild/pants/issues/12716 and design doc is https://docs.google.com/document/d/1e4djdm2D9L6IeeJ8Q1M0_yJU-kF4tTHopBomwzdDRpE/edit#heading=h.n4lrkjmz3x2switty-crayon-22786
08/31/2021, 9:55 PMbuild-support/bin/generate_all_lockfiles.sh
should be split… regenerating our own lockfile is independent of tool lockfilesmelodic-thailand-99227
09/01/2021, 7:24 AMwitty-crayon-22786
09/01/2021, 5:59 PMmodern-wolf-36228
09/01/2021, 6:07 PMhundreds-father-404
09/02/2021, 6:06 AMmelodic-thailand-99227
09/02/2021, 5:04 PMpython_library()
pex_binary(entry_point="main.py", name="bin")
main.py:
print("Hello world")
However running it takes ~2 seconds:
./pants run bins:bin 0.59s user 0.15s system 37% cpu 1.984 total
Am I doing something wrong or should I expect a big penalty from pex binaries?melodic-thailand-99227
09/03/2021, 3:13 AMcurved-television-6568
09/03/2021, 1:20 PMwitty-crayon-22786
09/03/2021, 11:08 PMwitty-crayon-22786
09/04/2021, 3:26 AM2.8
version of the site as per https://www.pantsbuild.org/docs/release-process#dev0---set-up-the-new-version, that would be appreciated.ambitious-actor-36781
09/05/2021, 11:43 PMPythonToolBase
bits of: https://www.pantsbuild.org/docs/rules-api-installing-tools is out of date
entry_point
seems to have changed to default_main
curved-television-6568
09/06/2021, 1:17 PMRemovePrefix
to err optional in case the prefix does not exist, with a flag or so?
Otherwise, I’ll do a DigestSubset
with path globs to pick out the files that have, and another subset that doesn’t have, the prefix, then remove prefix from the former, and then merge them back together again. However, it feels a bit clumsy and inefficient..witty-crayon-22786
09/07/2021, 6:19 PM2.7.x
?handsome-dawn-63164
09/08/2021, 2:30 AM