Dropping Python 2.7 runtime support in 1.16.0 instead of 1.17.0

15 views
Skip to first unread message

Eric Arellano

unread,
Mar 29, 2019, 4:59:03 PM3/29/19
to pants...@googlegroups.com
Hello all,

In the 1.15.0.dev4 release email, we stated that Pants 1.17.0 would be the last version to support running Pants with Python 2.7.

However, we realized per our deprecation policy that 1.16.0 should be the last version to support Python 2.7. This gives users 1.15.0 and 1.16.0 to make the upgrade to Python 3.

Would anyone object to this change, given that it contradicts what we previously communicated?

To reiterate, you do not need to change any of your own code for this upgrade. This change only means that you must have a Python 3.6 or 3.7 interpreter discoverable everywhere you use Pants.

Thanks,
Eric Arellano

Stu Hood

unread,
Mar 29, 2019, 5:52:12 PM3/29/19
to Eric Arellano, pants-devel
The adjusted timeline is fine for twitter. Thanks for confirming!
 
To reiterate, you do not need to change any of your own code for this upgrade. This change only means that you must have a Python 3.6 or 3.7 interpreter discoverable everywhere you use Pants.
One clarification here. If you have "loose source" plugins in your repo (as described here: https://www.pantsbuild.org/howto_plugin.html), those _will_ need to be updated to support python >=3.6 before python 2 support is removed.
--

Mateo Rodriguez

unread,
Mar 30, 2019, 5:02:06 PM3/30/19
to Stu Hood, Eric Arellano, pants-devel
Fine for us at Foursquare as well

Benjy Weinberger

unread,
Apr 2, 2019, 4:12:38 AM4/2/19
to Mateo Rodriguez, Stu Hood, Eric Arellano, pants-devel
Fine for us. 
Reply all
Reply to author
Forward
0 new messages