proud-appointment-36730
07/11/2022, 9:23 PMproud-appointment-36730
07/11/2022, 9:55 PMhappy-kitchen-89482
07/11/2022, 10:20 PMhappy-kitchen-89482
07/11/2022, 10:21 PMwitty-crayon-22786
07/11/2022, 10:23 PMwitty-crayon-22786
07/11/2022, 10:24 PM@rule
. we definitely need to clean up the boundary between macros
and @rules
before stabilizing the plugin API.witty-crayon-22786
07/11/2022, 10:25 PMsparse-lifeguard-95737
07/11/2022, 10:26 PMhappy-kitchen-89482
07/11/2022, 10:26 PMhappy-kitchen-89482
07/11/2022, 10:27 PMhundreds-father-404
07/11/2022, 10:29 PMproud-appointment-36730
07/11/2022, 10:30 PMrule
?witty-crayon-22786
07/11/2022, 10:31 PM@rules
are invalidated. and the synchronous API of macros doesn’t have a way to declare its dependencies (…and thus isn’t allowed to have dependencies currently)sparse-lifeguard-95737
07/11/2022, 10:31 PMenough-analyst-54434
07/11/2022, 10:31 PMproud-appointment-36730
07/11/2022, 10:32 PMproud-appointment-36730
07/11/2022, 10:38 PMdocker_image
targets only support dependency inference on paths that "look like" the outputs of pex_binary
targets? Or, can you directly put target addresses anywhere in the Dockerfile and have the dependency inference work? So if, for example I had a Dockerfile with:
FROM path/to/my/parent/docker/image:target
RUN pip install path/to/a/python_distribution:target
Would pants infer the dependency on both the parent docker image and the python package automatically, and inject the output paths for those targets into the build context automatically? I'm digging through the source code now but I honestly can't really figure out if it supports anything beyond FROM target_address
and COPY output_path_that_can_be_mapped_to_a_target
witty-crayon-22786
07/11/2022, 10:42 PMsparse-lifeguard-95737
07/12/2022, 3:12 PMImportError: No module named __pants_df_parser
it’s started popping up ~relatively often in our CI today. it goes away if we retry the job so I don’t think our GHA cache of the pants bootstrap/setup dir is corruptedlittle-alligator-81837
07/12/2022, 3:13 PMnice-florist-55958
07/12/2022, 4:40 PMbitter-ability-32190
07/12/2022, 7:23 PMwooden-thailand-8386
07/12/2022, 8:51 PM./pants lint terraform::
16:47:26.09 [ERROR] 1 Exception encountered:
Exception: Can only merge Directories with no duplicates, but found 2 duplicate entries in :
I have multiple modules in different folder that have different names but the files within share the same names such as “main.tf”, “variables.tf” and “outputs.tf”. No idea what to do.mysterious-waiter-14207
07/13/2022, 6:15 AMDeployJar
rules instead of adding a new goal or new target. Is this possible?nice-florist-55958
07/13/2022, 1:50 PMrhythmic-morning-87313
07/13/2022, 3:56 PMpython-default
environment? For instance, when using Vim, I need to activate the venv for the Vim ALE/LSP plugins to auto-detect and utilize the tools like flake8, black, etc.rhythmic-morning-87313
07/13/2022, 4:50 PM[python-repo].repos
for a custom find-links option to fetch custom prebuilt grpcio
wheels (built with linux-aarch64 and macos-arm64) and I run ./pants generate-lockfiles
in macOS, it tries to fetch the linux-aarch64 whl file and says:
OSError: pid 67995 -> /Users/joongi/.cache/pants/named_caches/pex_root/venvs/3865e68cbdb1d654d6cca639c59b5dfbc8be0dda/f57e61ad0b603cc5d644c45312fc4081d6790c14/bin/python -sE /Users/joongi/.cache/pants/named_caches/pex_root/venvs/3865e68cbdb1d654d6cca639c59b5dfbc8be0dda/f57e61ad0b603cc5d644c45312fc4081d6790c14/pex --disable-pip-version-check --no-python-version-warning --exists-action a --no-input --isolated -q --cache-dir /Users/joongi/.cache/pants/named_caches/pex_root/pip_cache --log /Users/joongi/workspace/bai-grpcio/.tmp/process-executionSNsh5K/.tmp/pex-pip-log.h1stom78/pip.log download --dest /Users/joongi/.cache/pants/named_caches/pex_root/downloads/fingerprint_artifact.8wtp11jr --no-deps <http://localhost:8000/grpcio-1.47.0-cp310-cp310-manylinux_2_17_aarch64.whl> --index-url <https://pypi.org/simple/> --find-links <http://localhost:8000> --trusted-host localhost:8000 --retries 5 --timeout 15 exited with 1 and STDERR:
ERROR: grpcio-1.47.0-cp310-cp310-manylinux_2_17_aarch64.whl is not a supported wheel on this platform.
The find-links target is served from python -m http.server
from a directory that contains:
-rw-r--r--@ 1 joongi staff 2981258 Jul 13 23:10 grpcio-1.47.0-cp310-cp310-macosx_12_0_arm64.whl
-rw-r--r-- 1 joongi staff 62209358 Jul 14 01:39 grpcio-1.47.0-cp310-cp310-manylinux_2_17_aarch64.whl
-rw-r--r--@ 1 joongi staff 1941172 Jul 13 23:10 grpcio_tools-1.47.0-cp310-cp310-macosx_12_0_arm64.whl
-rw-r--r-- 1 joongi staff 31484142 Jul 14 01:39 grpcio_tools-1.47.0-cp310-cp310-manylinux_2_17_aarch64.whl
How could I let it resolve the correct wheel?busy-vase-39202
07/13/2022, 5:24 PMhigh-yak-85899
07/13/2022, 7:03 PMFailed to digest inputs: "Error storing Digest { hash: Fingerprint<1872bfe7f1b4c4887a4c1381800062a96d980dea39f700b8ac5cebd0ea613ffe>, size_bytes: 104002766 }: MDB_MAP_FULL: Environment mapsize limit reached
Only thing I could find was a really old bug ticket. Is the proper way to resolve this to delete the cache? This was in our CI system so I suspect our cache just finally got big enough to cause issues (though I'm surprised it happened on the worker it did since we haven't had to clear caches for other workers that are running lots of things like unit tests).ambitious-student-81104
07/13/2022, 8:17 PM@resolve=...
?