witty-crayon-22786
08/16/2021, 8:20 PMenough-analyst-54434
08/16/2021, 8:21 PMwitty-crayon-22786
08/16/2021, 8:24 PM--venv
, that series of 1-wheel PEXes would essentially be used as a cache-key for the venv rather than actually being cracked open at allenough-analyst-54434
08/16/2021, 8:39 PMwitty-crayon-22786
08/16/2021, 8:44 PM--venv
pex does.enough-analyst-54434
08/16/2021, 9:34 PMpex-tools <PEX> repository export --egg
.witty-crayon-22786
08/16/2021, 9:37 PMYou can’t do that today. Pex could be taught to contain wheels instead of or in addition to installed wheels for one example.yea, sorry. i meant installed wheels.
That said - the composition you suggest is equivalent to just adding an installed-wheel zip to sys.path.ok… i think that some of my confusion has been that “installed-wheel zip” is a mouthful relative to “jar”… but that does sound like what i’m looking for.
enough-analyst-54434
08/16/2021, 9:37 PMwitty-crayon-22786
08/16/2021, 9:37 PMenough-analyst-54434
08/16/2021, 9:37 PMwitty-crayon-22786
08/16/2021, 9:39 PMenough-analyst-54434
08/16/2021, 9:40 PM$ wheel -h
usage: wheel [-h] {unpack,pack,convert,version,help} ...
positional arguments:
{unpack,pack,convert,version,help}
commands
unpack Unpack wheel
pack Repack wheel
convert Convert egg or wininst to wheel
...
witty-crayon-22786
08/16/2021, 9:44 PMenough-analyst-54434
08/16/2021, 9:45 PMwitty-crayon-22786
08/16/2021, 9:46 PMenough-analyst-54434
08/16/2021, 9:47 PMwitty-crayon-22786
08/16/2021, 9:51 PMenough-analyst-54434
08/16/2021, 9:51 PMwitty-crayon-22786
08/16/2021, 9:53 PMenough-analyst-54434
08/16/2021, 10:07 PMwitty-crayon-22786
08/16/2021, 10:08 PMenough-analyst-54434
08/16/2021, 10:10 PM$ pex-tools pants.pex info | jq .distributions
{
"PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl": "bee146b7b338f215cf12e6c28c8ece8c798ec0e5",
"ansicolors-1.1.8-py2.py3-none-any.whl": "c7b5d77e89855f9b02c99e84cd863c5bdc2be329",
"certifi-2021.5.30-py2.py3-none-any.whl": "c1b63440cdd5c303c7268c98b3454996a456e0cd",
"charset_normalizer-2.0.4-py3-none-any.whl": "d7b15d73088da1a67477fd8592d5352642d7a11a",
"fasteners-0.16-py2.py3-none-any.whl": "ef97c8bf1c7ece677c203ea6c1a3580e4dbe0a34",
"humbug-0.2.6-py3-none-any.whl": "e772468167e997e051e8c20d71551a11bba19f26",
"idna-3.2-py3-none-any.whl": "f6f18646cd1fcc3b8d439bd113b7cc9ad4ebc3c0",
"packaging-20.9-py2.py3-none-any.whl": "e0dc9f7afe5402ed634e303124285950c3bb1409",
"pantsbuild.pants-2.6.0-cp39-cp39-manylinux2014_x86_64.whl": "ada4098a7fdbda946fae7ca683167b2a2c558787",
"pex-2.1.42-py2.py3-none-any.whl": "d64dcfa09d02f9f2e483de2de86a8f90f326eca4",
"psutil-5.8.0-cp39-cp39-manylinux2010_x86_64.whl": "5b9f49da190ee0271cddbc9395b9b74f8f28095b",
"pyparsing-2.4.7-py2.py3-none-any.whl": "401ee8e4d4a08b2e87749a109db29991c85a67c6",
"requests-2.26.0-py2.py3-none-any.whl": "fb70e1b8449a6408d983fb8c56f60f1e827890d8",
"setproctitle-1.2.2-cp39-cp39-manylinux1_x86_64.whl": "d4f45d34e8477c16887ba446f339215a919687c7",
"setuptools-56.2.0-py3-none-any.whl": "4c58b9c155902d9c63742e1862a7ef4ba4886751",
"six-1.16.0-py2.py3-none-any.whl": "035d7c208925c1832def39b592f3477ca36397bf",
"toml-0.10.2-py2.py3-none-any.whl": "941913d720ad4816a848c11a218c9110f1978120",
"types_PyYAML-5.4.3-py2.py3-none-any.whl": "ff59bd9da4c781186fecb96e9717c458a98db032",
"types_setuptools-57.0.0-py3-none-any.whl": "376ce3ec246abbf148b0edc6861c92f368daf4a8",
"types_toml-0.1.3-py2.py3-none-any.whl": "8599aba9d6d109a743e579345fb4b23b4957c9d7",
"typing_extensions-3.7.4.3-py3-none-any.whl": "eedab11cf76ead911adc7311c50c4f75212a0fa4",
"urllib3-1.26.6-py2.py3-none-any.whl": "d58fa3fcc249a15487bc44b2a9afd9b065720684"
}
.deps/
sub-directory names. It just made matching wheel tags straightforward at runtime resolution.witty-crayon-22786
08/16/2021, 10:12 PMenough-analyst-54434
08/16/2021, 10:13 PMwitty-crayon-22786
08/24/2021, 4:37 PMpex-tools .. graph
and pex-tools .. repository info
to get the dependency graph, and i’m thinking of building single entry PEXes (essentially, eggs), and then composing them with the PEX_PATHenough-analyst-54434
08/24/2021, 8:18 PMwitty-crayon-22786
08/24/2021, 8:23 PMhundreds-father-404
08/27/2021, 2:43 AMwitty-crayon-22786
08/27/2021, 2:43 AMthat’s the status quo, isn’t it?no: the status quo with subsetting is N different subsets, each of which might be up to 50MB (in this example)… for large N, that might be
N * 50MB >= 4GB