diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | CHANGES.rst | 30 | ||||
-rw-r--r-- | PKGBUILD | 16 |
3 files changed, 39 insertions, 15 deletions
@@ -1,6 +1,6 @@ pkgbase = python-pex pkgdesc = Generates executable Python environments - pkgver = 2.1.65 + pkgver = 2.1.66 pkgrel = 1 url = https://github.com/pantsbuild/pex changelog = CHANGES.rst @@ -8,13 +8,13 @@ pkgbase = python-pex license = Apache makedepends = git makedepends = python-build - makedepends = python-install - makedepends = python-flit + makedepends = python-installer + makedepends = python-flit-core makedepends = python-sphinx depends = python provides = pex replaces = pex - source = python-pex::git+https://github.com/pantsbuild/pex#tag=v2.1.65?signed + source = python-pex::git+https://github.com/pantsbuild/pex#tag=v2.1.66?signed validpgpkeys = A1FE765B15233EAD18FA6ABB93E55CB567B5C626 sha256sums = SKIP diff --git a/CHANGES.rst b/CHANGES.rst index c524a7ef1392..31b6db792494 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,36 @@ Release Notes ============= +2.1.66 +------ + +This release brings a new ``--complete-platform`` Pex CLI option that +can be used instead of ``--platform`` when more detailed foreign +platform specification is needed to satisfy a resolve (most commonly, +when ``python_full_version`` environment markers are in-play). This, +paired with the new ``pex3 interpreter inspect`` command that can be +used to generate complete platform data on the foreign platform machine +being targeted, should allow all foreign platform PEX builds to succeed +exactly as they would if run on that foreign platform as long as +pre-built wheels are available for that foreign platform. + +Additionally, PEXes now know how to set a useable process name when the +PEX contains the `psutil` distribution. See +`here <https://pex.readthedocs.io/en/v2.1.66/recipes.html#long-running-pex-applications-and-daemons>`_ +for more information. + +* Add support for ``--complete-platform``. (#1609) + `PR #1609 <https://github.com/pantsbuild/pex/pull/1609>`_ + +* Introduce ``pex3 interpreter inspect``. (#1607) + `PR #1607 <https://github.com/pantsbuild/pex/pull/1607>`_ + +* Use setproctitle to sanitize ``ps`` info. (#1605) + `PR #1605 <https://github.com/pantsbuild/pex/pull/1605>`_ + +* Respect ``PEX_ROOT`` in ``PEXEnvironment.mount``. (#1599) + `PR #1599 <https://github.com/pantsbuild/pex/pull/1599>`_ + 2.1.65 ------ @@ -4,7 +4,7 @@ # Contributor: Carlo Cabanilla <carlo.cabanilla@gmail.com> pkgname=python-pex -pkgver=2.1.65 +pkgver=2.1.66 pkgrel=1 arch=('any') pkgdesc='Generates executable Python environments' @@ -14,8 +14,8 @@ depends=('python') makedepends=( 'git' 'python-build' - 'python-install' - 'python-flit' + 'python-installer' + 'python-flit-core' 'python-sphinx') # checkdepends=('python-pytest-runner' 'python-pkginfo') changelog=CHANGES.rst @@ -27,10 +27,7 @@ validpgpkeys=('A1FE765B15233EAD18FA6ABB93E55CB567B5C626') build() { cd "$pkgname" - python -m build \ - --wheel \ - --skip-dependency-check \ - --no-isolation + python -m build --wheel --skip-dependency-check --no-isolation cd docs make man } @@ -45,9 +42,6 @@ build() { package() { export PYTHONHASHSEED=0 cd "$pkgname" - python -m install \ - --optimize=1 \ - --destdir="$pkgdir/" \ - dist/*.whl + python -m installer --destdir="$pkgdir/" dist/*.whl install -Dm644 docs/_build/man/pex.1 -t "$pkgdir/usr/share/man/man1/" } |