enough-analyst-54434
05/25/2022, 11:15 PMcurved-television-6568
05/26/2022, 9:59 AMException: Unmatched glob from CLI arguments: ".github/workflows/*"
but I can’t find where that argument is coming from.. and what’s more is that I do have files there, so it’s somthing fishy going on:
$ tree .github/workflows/
.github/workflows/
├── audit.yaml
├── cache_comparison.yaml
├── cancel.yaml
├── test-cron.yaml
└── test.yaml
0 directories, 5 files
hundreds-father-404
05/26/2022, 2:36 PMupdate-build-files
works with the new CLI specs, you can incrementally migrate things.
Which gives me a related idea, allow you to turn off individual fixers, even if we default to True. So you can still keep running update-build-files
to format BUILD files etc, but only use the deprecation fixer when readybitter-ability-32190
05/26/2022, 4:48 PMfile
and just use resource
everywhere.
Google Doc: https://docs.google.com/document/d/1pGib2ZJiyltfij0aZMm81S2XbATa8s6_ghuLnf2Xr_k/edit?usp=sharingcurved-television-6568
05/26/2022, 5:55 PMwitty-crayon-22786
05/26/2022, 6:34 PM--lockfile-generator=pex
is the default in 2.12.x
, and so will gain some more exposure in 2.12.0
.
since the deprecation required the flag to be set explicitly, this will only really affect new users, or those who opt in. but we should likely still be cautious about timing to ensure that capable folks (read: @enough-analyst-54434) are likely to be around for the potential uptick in new issues.
since 2.12
doesn’t have a whole lot else in it, we probably have a bit more flexibility around timing… and so could maybe agree on a rough date now (subject to bumps for blockers).
cc @hundreds-father-404, @bitter-ability-32190, @happy-kitchen-89482witty-crayon-22786
05/26/2022, 9:56 PM2.12
docsite… let me know if i’ve missed anything, and i’ll add it.proud-dentist-22844
05/27/2022, 4:15 AMproud-dentist-22844
05/27/2022, 2:54 PM./pants
in a checkout of the pants repo, but I'm getting an ugly pex
file not found error. 🧵busy-vase-39202
05/27/2022, 5:17 PMhundreds-father-404
05/27/2022, 5:32 PMname=
proposal is ~rewritten to no longer propose the intermediate step of always requiring name=
. Instead, deprecate the 5 ambiguous cases, then once that is over we can safely switch to new semantics. https://docs.google.com/document/d/1jSCJ3pwvIMg5duafsr8KmiLOO_2ARMaYCSrb8K85JQc/edit#happy-kitchen-89482
05/27/2022, 5:50 PM--no-process-cleanup
also preserve the tmpdir that the run
goal runs your process in?happy-kitchen-89482
05/27/2022, 6:38 PMrun
to use the sources directly from the repo instead of sandboxing them. This is necessary for, e.g., Django's makemigrations
, and other processes that operate on the repo itself and compute output locations relative to the sources it's running onhundreds-father-404
05/27/2022, 8:37 PMif is_macos_arm; then
echo "* Running \`./cargo clippy\`"
./cargo clippy || exit 1
else
echo "* Running \`./cargo clippy --all\`"
./cargo clippy --all || exit 1
fi
wide-midnight-78598
05/27/2022, 8:38 PMwide-midnight-78598
05/27/2022, 8:41 PMwide-midnight-78598
05/28/2022, 12:54 AMcurved-television-6568
05/28/2022, 8:21 AMcurved-television-6568
05/28/2022, 12:34 PMproud-dentist-22844
05/28/2022, 8:04 PM__coursier/coursier_fetch_wrapper_script.sh: line 11: syntax error near unexpected token `R'
Line 11 in the script (from --no-process-cleanup
) is:
/home/cognifloyd/.cache/pants/pants_dev_deps/Linux.x86_64.Intel(R).Core(TM).i7-3610QM.CPU.@.2.30GHz.py37.venv/bin/python __coursier/coursier_post_processing_script.py "$json_output_file"
So, bash doesn't like the ()
chars it seems. I'm not sure why I have all of those chars in the venv name, does anyone know where that comes from?
The naive fix is to surround {python_path}
with quotes '{python_path}'
here:
https://github.com/pantsbuild/pants/blob/main/src/python/pants/jvm/resolve/coursier_setup.py#L83
Is there a better way to escape that? eg what happens if a path has a '
in it (why I don't know. But I don't know why I have ()
chars either)?
Also, is there anything else in those scripts that might need shell escaping?bitter-ability-32190
05/29/2022, 3:49 PMmypy/rules_integration_test
fails on py2 tests for me with:
The typed_ast package is not installed.\nFor Python 2 support, install mypy using `python3 -m pip install "mypy[python2]"`Alternatively, you can install typed_ast with `python3 -m pip install typed-ast`
bitter-ability-32190
05/30/2022, 2:58 PMbitter-ability-32190
05/31/2022, 10:32 AMsphinx/rules_integration_test
error in CI https://github.com/pantsbuild/pants/runs/6663224290?check_suite_focus=true#step:11:203witty-crayon-22786
05/31/2022, 5:33 PMhappy-kitchen-89482
05/31/2022, 5:57 PMwitty-crayon-22786
05/31/2022, 7:31 PMhappy-kitchen-89482
05/31/2022, 10:13 PMhappy-kitchen-89482
05/31/2022, 10:23 PMhappy-kitchen-89482
06/01/2022, 1:52 AMbitter-ability-32190
06/01/2022, 2:09 PM./pants run ...
on a python_source
, freeing users from requiring the declaration of a pex_binary
for scripts, and frees us to implement pex_binary
running as package + run
.