dry-orange-3870
11/16/2023, 7:44 PMpants.backend.python.goals.setup_py
with `package_dists`; looks like the file was refactored in see this commit.
However, I still have one test that is failing. The output looks something like this:
E ValueError: Encountered 27 rule graph errors:
E No installed rules return the type AddPrefix, and it was not provided by potential callers of @rule(<intrinsic>(AddPrefix) -> Digest).
E If that type should be computed by a rule, ensure that that rule is installed.
E If it should be provided by a caller, ensure that it is included in any relevant Query or Get.
E No installed rules return the type CreateArchive, and it was not provided by potential callers of @rule(pants.core.util_rules.archive:47:create_archive(CreateArchive) -> Digest, gets=[Get(Digest, [CreateDigest]), ZipBinary, BashBinary, TarBinary, Get(Digest, [MergeDigests]), Get(ProcessResult, [Process])]).
E If that type should be computed by a rule, ensure that that rule is installed.
E If it should be provided by a caller, ensure that it is included in any relevant Query or Get.
E No installed rules return the type CreateDigest, and it was not provided by potential callers of @rule(<intrinsic>(CreateDigest) -> Digest).
E If that type should be computed by a rule, ensure that that rule is installed.
E If it should be provided by a caller, ensure that it is included in any relevant Query or Get.
...
Any ideas on what other changes might be causing this?curved-television-6568
11/16/2023, 7:55 PMdry-orange-3870
11/16/2023, 7:59 PMcurved-television-6568
11/16/2023, 8:00 PMdry-orange-3870
11/16/2023, 8:36 PMcurved-television-6568
11/16/2023, 9:03 PMpants --no-pantsd -ltrace ...
[...]
15:57:57.34 [TRACE] // errored subgraph:
digraph {
[...]
}
Exception caught: (builtins.ValueError)
Copy the digraph { … }
part to a file and render it using dot
(from the graphviz library)
dot -Tsvg <file> -o <img>.png
can use other output types supported by dot
as desired.dry-orange-3870
11/16/2023, 10:11 PM--engine-visualize-to=$dir_path$goal
to generate the graphviz files and then generates PDFs. On my machine, however, it took about an hour to generate the PDFs because of the inane number of nodes in the graph.curved-television-6568
11/16/2023, 10:43 PM