-
-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for PEP-723 script metadata to
--exe
. (#2436)
Pex now reads script metadata present in `--exe`s by default to augment requirements and constrain allowed target Pythons. Pex can be instructed to ignore this script metadata though with `--no-pep723` / `--no-script-metadata`. This apparently makes due on a promise no active Pex maintainer ever made, as immortalized in PEP-723: https://peps.python.org/pep-0723/#tooling-buy-in
- Loading branch information
Showing
8 changed files
with
1,022 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.