Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pants pex publishing is broken #8786

Closed
jsirois opened this issue Dec 10, 2019 · 1 comment · Fixed by #8881
Closed

Pants pex publishing is broken #8786

jsirois opened this issue Dec 10, 2019 · 1 comment · Fixed by #8881
Assignees
Labels

Comments

@jsirois
Copy link
Contributor

jsirois commented Dec 10, 2019

As seen here: https://travis-ci.org/pantsbuild/pants/jobs/622371782#L614

ERROR: Could not find a version that satisfies the requirement cryptography>=1.9 (from pyopenssl==17.3.0->pantsbuild.pants==1.24.0.dev1+git879df20d) (from versions: none)
ERROR: No matching distribution found for cryptography>=1.9 (from pyopenssl==17.3.0->pantsbuild.pants==1.24.0.dev1+git879df20d)
pid: 5396 -> /home/travis/virtualenv/python3.6.3/bin/python -s -m pip --disable-pip-version-check --isolated --exists-action i -q --no-cache-dir download --dest /tmp/tmp6fslq16n/resolved_dists/macosx_10_11_x86_64-cp-36-cp36m --no-index --find-links /home/travis/build/pantsbuild/pants/dist/deploy/wheels/pantsbuild.pants/879df20df1df1b9cf16e29cb4a2836f4831f23d9/1.24.0.dev1+git879df20d --find-links /home/travis/build/pantsbuild/pants/dist/deploy/wheels/3rdparty/879df20df1df1b9cf16e29cb4a2836f4831f23d9/1.24.0.dev1+git879df20d --platform macosx_10_11_x86_64 --implementation cp --python-version 36 --abi cp36m --only-binary :all: pantsbuild.pants==1.24.0.dev1+git879df20d raised Executing /home/travis/virtualenv/python3.6.3/bin/python -s -m pip --disable-pip-version-check --isolated --exists-action i -q --no-cache-dir download --dest /tmp/tmp6fslq16n/resolved_dists/macosx_10_11_x86_64-cp-36-cp36m --no-index --find-links /home/travis/build/pantsbuild/pants/dist/deploy/wheels/pantsbuild.pants/879df20df1df1b9cf16e29cb4a2836f4831f23d9/1.24.0.dev1+git879df20d --find-links /home/travis/build/pantsbuild/pants/dist/deploy/wheels/3rdparty/879df20df1df1b9cf16e29cb4a2836f4831f23d9/1.24.0.dev1+git879df20d --platform macosx_10_11_x86_64 --implementation cp --python-version 36 --abi cp36m --only-binary :all: pantsbuild.pants==1.24.0.dev1+git879df20d failed with 1
The command "./build-support/bin/release.sh -p" exited with 1.
0.01s$ mkdir -p dist/deploy/pex/
The command "mkdir -p dist/deploy/pex/" exited with 0.
0.01s$ mv dist/pants*.pex dist/deploy/pex/
mv: cannot stat ‘dist/pants*.pex’: No such file or directory
The command "mv dist/pants*.pex dist/deploy/pex/" exited with 1.

This reproduces on a linux box running ./build-support/bin/release.sh -p. The underlying issue is in pex handling of foreign platforms as tracked by pex-tool/pex#823

@jsirois
Copy link
Contributor Author

jsirois commented Dec 10, 2019

1st up is a revert of 879df20

jsirois added a commit to jsirois/pants that referenced this issue Dec 10, 2019
jsirois added a commit that referenced this issue Dec 10, 2019
@jsirois jsirois removed the blocked label Jan 5, 2020
jsirois added a commit to jsirois/pants that referenced this issue Feb 21, 2020
The primary changes to adapt to were:
1. The `pex.resolver.resolve` function signature changed.
2. The results of resolutions are now installed wheel chroots instead
   of zipped wheels.
3. Some packaging code once used by Pex and our plugin tests is now
   deleted.

Fixes pantsbuild#8786

This is built on top of:

Revert "Revert "Upgrade to Pex 2.0.3. (pantsbuild#8704)" (pantsbuild#8787)"

    This reverts commit 91d4af0.
jsirois added a commit to jsirois/pants that referenced this issue Feb 21, 2020
The primary changes to adapt to were:
1. The `pex.resolver.resolve` function signature changed.
2. The results of resolutions are now installed wheel chroots instead
   of zipped wheels.
3. Some packaging code once used by Pex and our plugin tests is now
   deleted.

Fixes pantsbuild#8786

This is built on top of:

Revert "Revert "Upgrade to Pex 2.0.3. (pantsbuild#8704)" (pantsbuild#8787)"

    This reverts commit 91d4af0.
jsirois added a commit to jsirois/pants that referenced this issue Feb 21, 2020
The primary changes to adapt to were:
1. The `pex.resolver.resolve` function signature changed.
2. The results of resolutions are now installed wheel chroots instead
   of zipped wheels.
3. Some packaging code once used by Pex and our plugin tests is now
   deleted.

Fixes pantsbuild#8786

This is built on top of:

Revert "Revert "Upgrade to Pex 2.0.3. (pantsbuild#8704)" (pantsbuild#8787)"

    This reverts commit 91d4af0.
jsirois added a commit that referenced this issue Feb 22, 2020
The primary changes to adapt to were:
1. The `pex.resolver.resolve` function signature changed.
2. The results of resolutions are now installed wheel chroots instead
   of zipped wheels.
3. Some packaging code once used by Pex and our plugin tests is now
   deleted.

Fixes #8786

This is built on top of:

Revert "Revert "Upgrade to Pex 2.0.3. (#8704)" (#8787)"
    
    This reverts commit 91d4af0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant