witty-crayon-22786
08/26/2021, 11:38 PMhundreds-father-404
08/26/2021, 11:38 PMwitty-crayon-22786
08/26/2021, 11:38 PMpytest
depends on importlib-metadata
which depends on pytest
hundreds-father-404
08/26/2021, 11:44 PMwitty-crayon-22786
08/26/2021, 11:49 PMenough-analyst-54434
08/26/2021, 11:57 PM$ pex pytest -opytest.pex --include-tools
$ PEX_TOOLS=1 ./pytest.pex graph --open
And you'll see alot of gray rendered inactive nodes. lots of those have env marker extra = 'tests'
.witty-crayon-22786
08/26/2021, 11:59 PMenough-analyst-54434
08/27/2021, 12:01 AMwitty-crayon-22786
08/27/2021, 12:02 AMenough-analyst-54434
08/27/2021, 12:02 AMwitty-crayon-22786
08/27/2021, 12:03 AMenough-analyst-54434
08/27/2021, 12:06 AMwitty-crayon-22786
08/27/2021, 12:07 AMenough-analyst-54434
08/27/2021, 12:07 AMwitty-crayon-22786
08/27/2021, 12:08 AMenough-analyst-54434
08/27/2021, 12:08 AMwitty-crayon-22786
08/27/2021, 12:08 AMenough-analyst-54434
08/27/2021, 12:09 AMwitty-crayon-22786
08/27/2021, 12:09 AMpex-tools … graph
does grey out nodes that are completely eliminated, it doesn’t grey-out/disable edges, afaict: it labels them with the extras=
information though. so i think that i would have to actually implement filtering/application of extras here to consume this graph (potentially) without cycles.pytest
and attrs
are both active, but `attrs`’ edge to pytest
would be disabled by extra=="tests_no_zope"
:enough-analyst-54434
08/27/2021, 4:04 PM--spread
format I proposed in the PEX_PATH bug is the way to go.witty-crayon-22786
08/27/2021, 4:06 PMHow is disabling a node different from disabling an edge?because if both the source and the dest are still active, even though one of the edges was disabled, you still have a cycle (as in the `attrs`/`pytest` example above)
enough-analyst-54434
08/27/2021, 4:09 PMwitty-crayon-22786
08/27/2021, 4:13 PMenough-analyst-54434
08/27/2021, 4:17 PMwitty-crayon-22786
08/27/2021, 4:19 PMenough-analyst-54434
08/27/2021, 4:19 PMwitty-crayon-22786
08/27/2021, 4:19 PMenough-analyst-54434
08/27/2021, 4:19 PMwitty-crayon-22786
08/27/2021, 4:19 PMenough-analyst-54434
08/27/2021, 4:20 PMwitty-crayon-22786
08/27/2021, 4:22 PMenough-analyst-54434
08/27/2021, 4:31 PMwitty-crayon-22786
08/27/2021, 4:34 PMenough-analyst-54434
08/27/2021, 5:01 PM