https://pantsbuild.org/ logo
s

strong-crayon-70379

09/03/2019, 7:11 PM
Hey, how ready is Pants to package and distribute as a pex targeting Python 3.7? We are going to try to land an upgrade to Python 3.7 in our monorepo, but we'd have to keep any Pants plugin-related targets behind on 3.6 until Pants can internally can run with 3.7
w

witty-crayon-22786

09/03/2019, 7:13 PM
and to be clear, you mean "pants itself", rather than targets that pants is building
s

strong-crayon-70379

09/03/2019, 7:27 PM
right
h

hundreds-father-404

09/03/2019, 10:53 PM
Ready! But it means our CI is going to be slowed down quite a bit by adding two bootstrap shards and one wheel building shard. If we could drop Centos6, it would be less painful by being able to use the same shard to do both Py36 and Py37. We’re just waiting on Twitter to drop Centos6
w

witty-crayon-22786

09/03/2019, 11:44 PM
@hundreds-father-404: producing a 3.7 whl doesn't require the bootstrap shards, does it? So wouldn't this just be the one extra shard?
h

hundreds-father-404

09/04/2019, 12:45 AM
Oh good point!
s

strong-crayon-70379

09/04/2019, 4:25 PM
Awesome!
w

witty-crayon-22786

09/04/2019, 4:49 PM
@strong-crayon-70379: if you have time to help with that, it would be appreciated. Eric's time is pretty limited
s

strong-crayon-70379

09/04/2019, 4:59 PM
sgtm
h

hundreds-father-404

09/04/2019, 5:27 PM
I could get it to it this weekend! Don’t think it will be a big diff. You’ll change generate_travis_yml.py and it will mostly be the same as the Py36 version, but need to use Centos7
h

happy-kitchen-89482

09/04/2019, 7:22 PM
We're running pants itself on 3.7 internally with no issues, just fyi. I guess we're bootstrapping the 36 wheel successfully on 3.7?
h

hundreds-father-404

09/07/2019, 4:10 PM
Oh hm realized the challenging / tedious part of this is adding Py37 to
release.sh
. We need to not only add the wheel building shards, but also new deploy shards to actually deploy the Py37 pex Edit: actually, I think we can just release a Pex that works with Py36 and Py37.
h

happy-kitchen-89482

09/09/2019, 6:20 PM
My guess is we already are, since we're running it on py37 with no issues?
w

witty-crayon-22786

09/09/2019, 6:24 PM
are you consuming the pex, or via virtualenv/pip?
(virtualenv/pip are less restrictive here maybe?)
h

happy-kitchen-89482

09/14/2019, 11:35 PM
pip+venv
yeah