This is a very tardy hotfix release for a regression introduced in Pex
2.1.91 by #1785 that replaced sys.argv[0] with its fully resolved path.
This prevented introspecting the actual file path used to launch the PEX
which broke BusyBox-alike use cases.
There is also a new --non-hermetic-scripts option accepted by the
venv tool to allow running console scripts with PYTHONPATH
adjustments to the sys.path.
Remove un-needed realpathing of sys.argv[0]. (#2007)
Add --non-hermetic-scripts option to venv tool. (#2010)
pex 2.1.117
2.1.117
This release fixes a bug introduced in Pex 2.1.109 where the released
Pex PEX could not be executed by PyPy interpreters. More generally, any
PEX created with interpreter constraints that did not specify the Python
implementation, e.g.: ==3.8.*, were interpreted as being CPython
specific, i.e.: CPython==3.8.*. This is now fixed, but if the
intention of a constraint like ==3.8.* was in fact to restrict to
CPython only, interpreter constraints need to say so now and use
CPython==3.8.* explicitly.
This is a very tardy hotfix release for a regression introduced in Pex
2.1.91 by #1785 that replaced sys.argv[0] with its fully resolved path.
This prevented introspecting the actual file path used to launch the PEX
which broke BusyBox-alike use cases.
There is also a new --non-hermetic-scripts option accepted by the
venv tool to allow running console scripts with PYTHONPATH
adjustments to the sys.path.
Remove un-needed realpathing of sys.argv[0]. (#2007)
PR [#2007](https://github.com/pantsbuild/pex/issues/2007) <https://github.com/pantsbuild/pex/pull/2007>_
Add --non-hermetic-scripts option to venv tool. (#2010)
PR [#2010](https://github.com/pantsbuild/pex/issues/2010) <https://github.com/pantsbuild/pex/pull/2010>_
2.1.117
This release fixes a bug introduced in Pex 2.1.109 where the released
Pex PEX could not be executed by PyPy interpreters. More generally, any
PEX created with interpreter constraints that did not specify the Python
implementation, e.g.: ==3.8.*, were interpreted as being CPython
specific, i.e.: CPython==3.8.*. This is now fixed, but if the
intention of a constraint like ==3.8.* was in fact to restrict to
CPython only, interpreter constraints need to say so now and use
CPython==3.8.* explicitly.
This release fixes a bug in --resolve-local-platforms when
--complete-platform was used.
Check for --complete-platforms match when --resolve-local-platforms (#1991)
PR [#1991](https://github.com/pantsbuild/pex/issues/1991) <https://github.com/pantsbuild/pex/pull/1991>_
2.1.115
This release brings some attention to the pex3 lock export
subcommand to make it more useful when inter-operating with
pip-tools.
Sort requirements based on normalized project name when exporting (#1992)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pex from 2.1.102 to 2.1.118.
Release notes
Sourced from pex's releases.
... (truncated)
Changelog
Sourced from pex's changelog.
... (truncated)
Commits
312fa13
Prepare the 2.1.118 release. (#2009)66df135
Add--non-hermetic-scripts
option tovenv
tool. (#2010)c21f778
Remove un-needed realpathing ofsys.argv[0]
. (#2007)f338491
Fix bitrot in test, packaging 22.0 was just released. (#2011)af6f74d
Prepare the 2.1.117 release. (#2000)3102041
Fix interpreter constraint parsing. (#1998)83757be
Prepare the 2.1.116 release. (#1997)a8302ca
Check for --complete-platforms match when --resolve-local-platforms (#1991)765f4c9
Prepare the 2.1.115 release. (#1994)fd9a07f
Sort requirements based on normalized project name when exporting (#1992)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)