pex
pex copied to clipboard
A library and tool for generating .pex (Python EXecutable) files
System: MacOS pex: main ad450399a22a9a36fa84aff231fbb9adee1c0d28 python: installed using brew Test command: `tox -e py38-integration -- -k pp_no_constraints` (invoked from a virtualenv, using python 3.8.5) The expected output is correct, if...
Right now straight pip gives: ``` $ pip download pex==2.1.28 --constraint
When you execute a PEX that has relative path PEX_PATH entries, the PEX file must be executed from the directory those PEX_PATH entries are relative to. If it makes sense...
This was likely only ever used by Pants which has moved away from it with https://github.com/pantsbuild/pants/pull/11773. The equivalent functionality can be had with --pex-repository for the single requirements pex case...
The PATH can influence Pex interpreter selection but it's not included in the hash here: https://github.com/pantsbuild/pex/blob/b271491cdd99e180525c4d2abeae564590603b7e/pex/variables.py#L667-L675
We have 2 unit tests and 3 integration tests that fail. In general pypy3 seems to work with Pex; so it would be good to get a full green test...
In order to both aid comprehension and help trim down runtime dependencies, the existing ~flat module structure should be re-arranged into packages used by the runtime, at build time and...
I am building huge PEX fixes with more than 100 dependencies. The process takes around 30 minutes. It seems like most of the time is spent resolving dependencies. Even when...
The combination of the default Max-Age cache header: https://github.com/pantsbuild/pex/blob/451977efdf987dd299a1b4798ac2ee298cd6d61b/pex/pip.py#L146-L149 and the pip header patch's refusal to set a header if multiple URLs are in use (?): https://github.com/pantsbuild/pex/blob/451977efdf987dd299a1b4798ac2ee298cd6d61b/pex/vendor/_vendored/pip/pip/_internal/cli/req_command.py#L83-L90 ... every run...
1. I try `pex -o env.pex -vv --wheel dist/scripts-0.1.1-py3-none-any.whl -i [private pypi repository]` ``` $`pex -o env.pex -vv --wheel dist/scripts-0.1.1-py3-none-any.whl -i [private pypi repository]` pex: Resolving distributions (['dist/scripts-0.1.1-py3-none-any.whl']): 12239.9ms pex:...