PSA: Pants 2.2 will require Python 3.7 or 3.8 to run

11 views
Skip to first unread message

Eric Arellano

unread,
Nov 13, 2020, 7:50:45 PM11/13/20
to Pants Developers
Hello,

We are planning for Pants 2.1 to be the last release that can be run with a Python 3.6 interpreter. This means that you will need a 3.7 or 3.8 interpreter discoverable on your machine/CI to run Pants moving forward.

You will also need to update your ./pants script by running curl -L -o ./pants https://raw.githubusercontent.com/pantsbuild/setup/2f079cbe4fc6a1d9d87decba51f19d7689aee69e/pants.

This does not impact what interpreter your own code runs with, outside of ensuring any Pants plugin code will work with Python 3.7+.

Please let us know if this will be a burden for you, and we can delay this change.

Thanks,
Eric Arellano

(Why do this? It makes it easier for us to add support for running Pants on more platforms like ARM.)
Reply all
Reply to author
Forward
0 new messages