Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Release pants as both a Python 2.7 PEX and a Python 3.6 PEX #7401
While wheels are now released with Python 3 support thanks to #7197, this is only one of two ways people consume Pants. The other way is through a Pex released to Github.
We decided to release both a Py27 and Py36 Pex.
We will not be releasing a Py37 Pex, as it is would require Py37 wheel building shards which would require a Centos7 docker image. We decided this is not worth the work for how few people we anticipate would use Py37 with Pex combined.
We will also not be releasing a more flexible Pex that works with either Py27 or Py36, as it is blocked by pantsbuild/pex#654. We also want organizations pinning their Python version, so a flexible release is not particularly useful in this instance.
This implements #6450 (comment).
This requires changing how we run
The next release, we will release both
I now see a path forward to getting this short-term fix working. Will pursue it first, as my priority is ensuring we release a
After we get this working, can work on the upstream Pex issue. My goal for 1.16.0 is that we release a fully flexible Pex, and I'll include that issue as part of this work.
Thanks for the suggestions!
Reviewers, note we unfortunately cannot verify two parts until this is merged into master:
I tested this locally by running the similar command
If this doesn't work when merged, we can eagerly revert this / turn off the new deploy shards.