pex icon indicating copy to clipboard operation
pex copied to clipboard

A library and tool for generating .pex (Python EXecutable) files

Results 141 pex issues
Sort by recently updated
recently updated
newest added

As discussed in https://github.com/pantsbuild/pex/pull/1157, in order for `pex` to officially support Windows, we need to add Windows CI. I did a quick survey of other OSS Python projects that have...

On macOS, it's possible to encounter an error like the following: ``` File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked...

bug

We register `-v` on subcommands (such as `lock create`), but we also register it globally. However argparse returns the global args and subcommand args in a single Namespace object, and...

For example, when attempting to do a Pex `--lock` resolve in Pants: ``` Engine traceback: in select in pants.core.goals.test.run_tests in pants.backend.python.goals.pytest_runner.run_python_test (src/python/pants/backend/python/util_rules/lockfile_metadata_test.py:tests) in pants.backend.python.goals.pytest_runner.setup_pytest_for_target in pants.backend.python.util_rules.pex.create_pex in pants.backend.python.util_rules.pex.build_pex (requirements.pex) in...

bug
resolver

As pointed out by @Eric-Arellano, the stdlib now supports `.dist-info` distribution metadata which contains the bits PEX needs at build-time and runtime and currently gets via `pkg_resources`. We will continue...

enhancement

Sometimes Pex may fail to identify and use an interpreter it finds on a system. This can often be due to the vagaries of how various operating systems and their...

Artifact downloading currently uniques by DownloadableArtifact which includes Both the url and fingerprint of the artifact amongst other fields. https://github.com/pantsbuild/pex/blob/c4ffd66f3ab7abe8ac6fa5ea1c9bbcd9ac012458/pex/resolve/lock_resolver.py#L210 https://github.com/pantsbuild/pex/blob/c4ffd66f3ab7abe8ac6fa5ea1c9bbcd9ac012458/pex/resolve/lock_resolver.py#L279-L302 https://github.com/pantsbuild/pex/blob/c4ffd66f3ab7abe8ac6fa5ea1c9bbcd9ac012458/pex/resolve/locked_resolve.py#L315-L332 https://github.com/pantsbuild/pex/blob/c4ffd66f3ab7abe8ac6fa5ea1c9bbcd9ac012458/pex/resolve/locked_resolve.py#L91-L131 Since the same artifact an be provided...

bug
resolver

Right now, lots of bits of Pex use hexdigests for fingerprints. These just float around as str and you have to track through code to find out what algorithm is...

tech-debt

Our default shebang is minor version-specific, e.g., `/usr/bin/env python3.7`. But a virtualenv doen't have a `bin/python3.7`, just `bin/python` and `bin/python3`. So even if running a pex in a virtualenv, that...

As reported in #1175, a PEX file run on a machine that has a `~/.pex` cache populated by older versions of Pex can encounter uncaught errors reading old INTERP-INFO files....

bug