Skip to content

Commit

Permalink
Prepare the 2.4.0 release. (#2428)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois authored Jun 12, 2024
1 parent 451e507 commit 2f35cec
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Release Notes

## 2.4.0

This release brings new support for preserving arguments passed to the
Python interpreter (like `-u` or `-W ignore`) either via running a PEX
via Python from the command line like `python -u my.pex` or via a
shebang with embedded Python arguments like `#!/usr/bin/python -u`.

In addition, PEXes can now be built with `--inject-python-args` similar
to the existing `--inject-args` but sealing in arguments to pass to
Python instead. When both explicitly passed Python interpreter arguments
and injected Python interpreter arguments are specified, the injected
arguments appear first on the synthesized command line and the
explicitly passed arguments appear last so that the explicit arguments
can trump (which is how Python handles this).

Finally, several bugs existing in the `--exclude` implementation since
its introduction are now fixed and the feature is greatly improved to
act on excludes eagerly, never traversing them in the resolve process;
thus avoiding downloads associated with them as well as potentially
failing metadata extraction & wheel builds for ill-behaved sdists.

* Implement support for preserving and injecting Python args. (#2427)
* Fix `--exclude`. (#2409)

## 2.3.3

This release fixes `pex3 lock create` support for `--pip-version`s
Expand Down
2 changes: 1 addition & 1 deletion pex/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2015 Pex project contributors.
# Licensed under the Apache License, Version 2.0 (see LICENSE).

__version__ = "2.3.3"
__version__ = "2.4.0"

0 comments on commit 2f35cec

Please sign in to comment.