sparse-pharmacist-76603
05/28/2022, 4:48 AMrich-king-51691
05/28/2022, 2:57 PMgrpc
with both python and golang code, and I run ./pants export-codegen ::
it only exports the Go files. Before I added Go, it was exporting python files. Is it possible to get it to import both?enough-analyst-54434
05/28/2022, 6:46 PM~/.cache/pants/lmdb_store
portion of the cache definitely won't work over NFS. See more here: https://github.com/pantsbuild/pants/issues/14599#issuecomment-1051182009sparse-pharmacist-76603
05/29/2022, 6:52 AMenough-analyst-54434
05/30/2022, 12:53 AMrhythmic-morning-87313
05/30/2022, 4:56 AMsparse-pharmacist-76603
05/30/2022, 1:39 PMsparse-pharmacist-76603
05/30/2022, 1:39 PMambitious-actor-36781
05/31/2022, 2:21 AMfast-nail-55400
05/31/2022, 2:53 AMhappy-kitchen-89482
05/31/2022, 4:38 AMicy-hair-30586
05/31/2022, 8:13 AMbillowy-kite-9901
05/31/2022, 11:41 AM/usr/bin/env python
is called from the makefile.
Is there a way to give the same PEX environment ("installed" packages) to python scripts called this way? 🤔refined-addition-53644
05/31/2022, 12:10 PMrhythmic-morning-87313
05/31/2022, 3:07 PMhappy-kitchen-89482
05/31/2022, 3:30 PMhappy-kitchen-89482
05/31/2022, 3:30 PMenough-analyst-54434
05/31/2022, 4:21 PMlimited-insurance-37393
05/31/2022, 6:04 PMdocker_image(
name="ol-dagster-daemon",
dependencies=[
"//:requirements#dagster",
"//:requirements#dagster-postgres",
],
instructions=[
"FROM python:3.9-slim",
"WORKDIR /opt",
"COPY . .",
]
)
busy-vase-39202
05/31/2022, 10:44 PMrapid-bird-79300
06/01/2022, 4:23 PMapi.py
in a module, we want the tests for this module to have this as a dependency python_tests(dependencies=[app/module_1/api.py])
.
I was thinking either a custom plugin (maybe somehow hooks into to tailor) or possibly a macro. Curious if anyone has done something similar or have a suggestion on best approach for this.brainy-solstice-27042
06/01/2022, 5:02 PMenough-analyst-54434
06/01/2022, 5:11 PMpy36
with a specific platform linux...
. It might be good to include the full auditwheel command line and output you used to repair the wheel on the ticket.enough-analyst-54434
06/01/2022, 5:15 PMcp36-cp36m-manylinux_2_24_x86_64
.limited-insurance-37393
06/01/2022, 5:21 PMpoetry.lock
as the lockfile when pulling dependencies? For example I'm trying to generate a pex_binary
from a dependency specified in pyproject.toml
and locked in poetry.lock
, but when I run the package goal it seems to be trying to resolve the versions directly. When I looked at trying to use the resolves
and set the lockfile type to poetry
it doesn't seem to be using the same Python interpreter as what exists in the Poetry venv...bitter-ability-32190
06/01/2022, 7:45 PM✓ path/to/my/project/and/my/module/test_that_my_module_works.py:tests succeeded in 54.06s (cached locally).
At the very least I'm thinking we could apply colors to a few select atoms of data here (like the test name and the process metadata source)
Maybe succeeded
and failed
could also be color at least to break the monocolor line. (The check or X on the waaaay left doesn't help split the line visually)brainy-solstice-27042
06/01/2022, 11:02 PMlibjava.so
which was never an issue before. I can run the same utests in pants 1.30 and have them work, so I'm curious if pants 2.11 needs some extra care when having python interact with javaambitious-actor-36781
06/01/2022, 11:13 PMmysterious-motherboard-97366
06/01/2022, 11:24 PM./pants tailor
, ./pants test ::
, etc to only operate on files tracked in Git?ambitious-actor-36781
06/02/2022, 12:33 AM./pants test
with the non-parallel ones being called with --test-debug
or whatever the flag is.
But we're adding more live-systems that can be run in parallel with each other, and as things grow everything's getting slower by multiples.
e.g. tests a_1, a_2, a_3
must be run serially. and b_1, b_2, b_3
must be run serially. But a_1
and b_1
could be run in parallel.
If not supported OOTB, is there a path to implementing this with a plugin?