pex 2.83.0
2.83.0
This release adds support for templating {platform} in PEX file names. When this substitution
token is found, it is replaced with the most specific platform tag(s) of wheels in the PEX. For
example:
:; python -mpex ansicolors -o "ansicolors-{platform}.pex"
:; ./ansicolors-py2.py3-none-any.pex
Pex 2.83.0 hermetic environment with 1 requirement and 1 activated distribution.
Python 3.14.2 (main, Dec 5 2025, 14:39:48) [GCC 15.2.0] on linux
Type "help", "pex", "copyright", "credits" or "license" for more information.
>>> pex()
Running from PEX file: ./ansicolors-py2.py3-none-any.pex
Requirements:
ansicolors
Activated Distributions:
ansicolors-1.1.8-py2.py3-none-any.whl
>>>
:; python -mpex \
--complete-platform package/complete-platforms/linux-x86_64.json \
--complete-platform package/complete-platforms/macos-aarch64.json ansible \
-o "ansible-{platform}.pex"
:; ./ansible-cp314-cp314-macosx_11_0_arm64.manylinux2014_x86_64.pex
Pex 2.83.0 hermetic environment with 1 requirement and 10 activated distributions.
Python 3.14.2 (main, Dec 5 2025, 14:39:48) [GCC 15.2.0] on linux
Type "help", "pex", "copyright", "credits" or "license" for more information.
>>> pex()
Running from PEX file: ./ansible-cp314-cp314-macosx_11_0_arm64.manylinux2014_x86_64.pex
Requirements:
ansible
Activated Distributions:
ansible-13.2.0-py3-none-any.whl
ansible_core-2.20.1-py3-none-any.whl
jinja2-3.1.6-py3-none-any.whl
markupsafe-3.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
cryptography-46.0.3-cp311-abi3-manylinux_2_34_x86_64.whl
cffi-2.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
pycparser-2.23-py3-none-any.whl
packaging-25.0-py3-none-any.whl
resolvelib-1.2.1-py3-none-any.whl
>>>- Support a
{platform}placeholder in PEX file names. (#3078)
| file | sha256 | size |
|---|---|---|
| pex | 7e80fcb9cd0dc9f6c2e81020fa781ad37cd2de98c3076d075529a3838a2173a0 | 4956321 |
| pex-linux-aarch64 | ab2fc02282eeb4acdae739b2d3eabcf93990cfee5f975a1366c66786cf32c6b0 | 36582586 |
| pex-linux-armv7l | c3a23aa35d8842d495013b72d1c6a3f7259fdf11bad2fc3b890974ec0bb24ee4 | 32933331 |
| pex-linux-riscv64 | 0894629934e170137cda015f2dce005fdb54a5f15182d9121d40cede0784470a | 33066417 |
| pex-linux-x86_64 | 375d32d391a3ef8db574a8c9a9112a0c8fd6d7237dd500f14422e25768b72f79 | 42517756 |
| pex-macos-aarch64 | dc3eee70c6a9ab9396e95963bb488096fa8ec945759150fb4454e24f9a3493f8 | 24432341 |
| pex-macos-x86_64 | a583965c4299c38e1d2c80cf458fbf686feca611680a3e0b1fcd472c3d9dc809 | 24596350 |
| pex-musl-linux-aarch64 | 84755221154612913e96190d9522c4cc2d1a93460db38906cf280607e2723e40 | 35824777 |
| pex-musl-linux-x86_64 | 583eceac64f056b6f08a8eb6f6e6244c3763a8ecb0f3d57657105d3c8cf39612 | 35930378 |