wide-midnight-78598
12/01/2022, 2:17 PMabundant-analyst-12845
12/01/2022, 2:17 PMwide-midnight-78598
12/01/2022, 2:17 PMwide-midnight-78598
12/01/2022, 2:18 PMwide-midnight-78598
12/01/2022, 2:18 PM./pants --changed-since=origin/main fmt
Will run format only on changed fileswide-midnight-78598
12/01/2022, 2:18 PM./pants fmt ::
will run format on all targetswide-midnight-78598
12/01/2022, 2:19 PMchanged-since
piece for your original command to workabundant-analyst-12845
12/01/2022, 2:21 PM./pants --changed-since=origin/main tailor :: --changed-since=origin/main update-build-files ::
abundant-analyst-12845
12/01/2022, 2:21 PMwide-midnight-78598
12/01/2022, 2:21 PM❯ ./pants \
--changed-since=origin/main \
tailor --check \
update-build-files --check \
lint
That's 1 line, multiple commandswide-midnight-78598
12/01/2022, 2:23 PMabundant-analyst-12845
12/01/2022, 2:26 PM./pants --changed-since=origin/main tailor \ --changed-since=origin/main update-build-files
can't be run together due to this
You used `--changed-since` at the same time as using directory arguments. You can only use `--changed-since` or use normal arguments.
wide-midnight-78598
12/01/2022, 2:28 PMcold-vr-15232
12/01/2022, 3:24 PMenough-analyst-54434
12/01/2022, 4:05 PMcold-vr-15232
12/01/2022, 7:47 PM*************
<?>:16:4: W0622: Redefining built-in 'exit' (redefined-builtin)
*************
<?>:4:4: W0611: Unused import _pytest.mark (unused-import)
*************
<?>:5:4: W0611: Unused import _pytest.recwarn (unused-import)
bitter-ability-32190
12/01/2022, 8:18 PMcold-vr-15232
12/01/2022, 9:29 PMproud-dentist-22844
12/02/2022, 3:00 AMfreezing-lamp-12123
12/02/2022, 1:16 PMfreezing-lamp-12123
12/02/2022, 1:31 PM./pants $goal $address
… i’m struggling with finding the correct way to “wrap” / hydrate my target — is there a way to achieve this without having to dig into the internals of how the run request is implemented in a certain backend?nice-florist-55958
12/02/2022, 1:40 PMstderr:
Could not find the installation RECORD for kerberos 1.3.0+krb1.16 under /d/d1/user/taymarti/.cache/pants/named_caches/pex_root/installed_wheels/c51db2b09b8517e2fdbbc7422eedacdd46162b6f2dd15ea8df4b2e99c9c9227c/kerberos-1.3.0+krb1.16-0-cp37-cp37m-manylinux2014_x86_64.whl.ad9a0577715b49b28e33fdaa8407ebcd
Is Pants doing some package metadata validation and this particular wheel doesn't ship correctly?
Background:
I recently found out our firm builds special wheels for the various kerberos packages (kerberos, pykerberos, gssapi, etc.) that bind specifically to krb1.16
(so on our index, we have kerberos==1.3.0+krb1.16
for instance). Previously we were just resolving the latest version and building the wheels locally, but that has started to have consequences as we've deployed applications to different hosts/environments, resulting in obscure errors like ImportError: /lib64/libk5crypto.so.3 undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b
when importing kerberos
. So we added pinned dependencies on the special wheels our firm builds. Resolve works fine, and running apps locally (without Pants) works after exporting the virtual environment. But Pants can't run/package anything depending on this, throwing the above error.lemon-oxygen-72498
12/02/2022, 5:05 PMinterpreter_constraints=parametrize
is related to testing multiple python versions (see my message above). I didn't know that parametrize was a targets-wide topic so I missed a key element. Hope it makes it to the official repo 🤞bitter-ability-32190
12/02/2022, 5:33 PMstocky-helmet-22655
12/02/2022, 9:14 PMModuleNotFoundError
on any 3rd party dependencies that are shared, even if they’re the same version. How am I supposed to handle this situation?gentle-sugar-52379
12/03/2022, 1:25 AMpants_version = "2.16.0.dev1"
but it does not install
BuildConfigurationError: Version mismatch: Requested version was 2.16.0.dev1, our version is 2.16.0.dev1+git57fecb6c.
ambitious-xylophone-5772
12/03/2022, 4:00 AMgorgeous-eve-12553
12/03/2022, 5:41 PMrestartable=True
and can hot-reload, how do I do the same when running in a docker image?abundant-autumn-67998
12/03/2022, 5:46 PMPEX_TOOLS=1
? We ship a set of dependencies and sometimes they invoke commands with subprocess
instead of a Python API. So I'm looking for an easy way to ship the console scripts for each distribution as well.