enough-analyst-54434
05/31/2023, 2:30 AMscie-pants
is fixed with the 0.8.2 release, Pants itself needs two Rust fixes to get things working. Those are documented in https://github.com/pantsbuild/pants/issues/19199 and these bugs are roughly birthday bugs; so how far back to pick will be something to decide.proud-dentist-22844
05/31/2023, 4:25 PMmain
, and pants does not seem to be using my ~/.pants.rc
file.
Is there a way to dump the effective config to see what options pants is using and validate if the rc file is taking effect? If not, then there might be something ignoring the [GLOBAL].*_dir
opts.bitter-ability-32190
05/31/2023, 4:36 PMstr
also an Iterable[str]
in typing-land is dangerous.
We've had a long-standing bug in our graph traversal algorithm (for secondary ownership) it seems...
With that hint, can you find the bug? https://github.com/pantsbuild/pants/blob/b7dee2e576beb5a49790cf5c1803418624631c1a/src/python/pants/engine/internals/graph.py#L904
(Answer in 🧵 )bitter-ability-32190
06/01/2023, 3:39 PMact
, but it isn't ideal.
Do people have thoughts on porting the user-run script to JS?
So cherry-picking (when it fails to auto-pick) would be pants --no-pantsd run build-support/bin/cherry_pick_one.js -- <arg1> <arg2>
(yummy dogfood).
The upside is we can actually test some common code and have code re-use.enough-analyst-54434
06/01/2023, 4:33 PMbroad-processor-92400
06/01/2023, 6:31 PMwitty-crayon-22786
06/01/2023, 6:32 PMproud-dentist-22844
06/01/2023, 11:11 PMcontent
with dependencies
(actually looking at the feasibility to get rid of all of the SpecialCasedDependencies
fields like content
).
If you put file(s)
or resource(s)
in the jvm_war(dependencies=...)
field, are they ignored today (I hope the answer is yes)? Or do they somehow end up in one of the JARs on the classpath? It's not clear to me from reading through the rules.flat-zoo-31952
06/02/2023, 12:54 PMbitter-ability-32190
06/02/2023, 3:37 PMwide-energy-11069
06/02/2023, 5:28 PMfast-nail-55400
06/02/2023, 7:26 PMproud-dentist-22844
06/03/2023, 1:38 AMwide-energy-11069
06/03/2023, 9:54 PMcommit 0aedb6b3559240c120ad3e09ee99a83b821e7351 (HEAD -> main, origin/main, origin/HEAD)
Author: Tobias Nilsson <tobias.jens.nilsson@gmail.com>
Date: Sat Jun 3 19:04:01 2023 +0200
javascript: Assign a default name to root nodejs resolves (#19047)
was able to run the command at the previous SHA. cc @worried-painter-31382broad-processor-92400
06/04/2023, 10:55 PMhappy-kitchen-89482
06/05/2023, 1:20 AMdocs/NOTES.md
has instructions on how to sync those uphappy-kitchen-89482
06/05/2023, 1:21 AMbitter-ability-32190
06/05/2023, 1:51 AMbitter-ability-32190
06/05/2023, 2:10 AMfuture-oxygen-10553
06/05/2023, 4:37 PMtaplo
backend tool:
$ unzip -l pantsbuild.pants-2.17.0rc0-cp39-cp39-macosx_11_0_arm64.whl | grep taplo
even though the subpackage is in the repo at that tag: https://github.com/pantsbuild/pants/tree/601f885c7151f67875f7c9b523121ae8d3386379/src/python/pants/backend/toolsbitter-ability-32190
06/06/2023, 5:29 PMtaplo
on the Pants repo to format .toml
files: https://github.com/pantsbuild/pants/pull/18998broad-processor-92400
06/06/2023, 8:07 PMhappy-kitchen-89482
06/07/2023, 2:02 PMgorgeous-winter-99296
06/08/2023, 1:32 PMpants.backend.shell
as a backend, it crashes with rule graph errors on all unreleased versions I can test. Without the shell backend it works fine. Without the OCI backend it works fine. The combo itself is toxic. This repros on 2.16.0rc5, 2.17.0rc0. Wondering if this is related to RunInSandboxBehavior
, just unexpected that it explodes like that. 2.16.0.dev2 is the last one that works.happy-kitchen-89482
06/08/2023, 4:25 PMbitter-ability-32190
06/08/2023, 6:53 PMexperimental_test_shell_command(
name="Test auto-cherry-picker prereqs",
command="./act workflow_dispatch -W .github/workflows/auto-cherry-picker.yaml -j prerequisites --input PR_number=17295 --env GITHUB_REPOSITORY=pantsbuild/pants",
execution_dependencies=["//build-support/bin/act:bundled-act"],
workdir="/",
timeout=120,
)
Now I know I don't have broken YAML and my code executes reasonably well...bitter-ability-32190
06/08/2023, 9:10 PMbroad-processor-92400
06/09/2023, 6:50 AMbitter-ability-32190
06/09/2023, 3:45 PM2.16.0rc6
in CI, and we hit the same AWS token issue. Primarily because botocore
apparently is inconsistent with casing of headers. 😠
I fixed the upstream PR to botocore
, and I'll open a PR to Pants (which I'm going to bang on more thoroughly locally first)
At this point is it even worth CPing to 2.16.x? People can copy the plugin locally as an in-repo plugin...happy-kitchen-89482
06/09/2023, 8:27 PM