https://pantsbuild.org/ logo
e

echoing-manchester-70122

02/17/2021, 11:56 PM
Anyone know offhand what the most recent release of Pants is that works with py3.4?
h

hundreds-father-404

02/17/2021, 11:58 PM
As in, running Pants with Python 3.4? Or that your own code is using 3.4?
e

echoing-manchester-70122

02/17/2021, 11:58 PM
the former
h

hundreds-father-404

02/17/2021, 11:58 PM
none - we went from 2.7 to 3.6+
e

echoing-manchester-70122

02/17/2021, 11:59 PM
ah
thanks 😄
🐍 1
❤️ 1
could it build a 3.4 pex using 2.7?
h

hundreds-father-404

02/18/2021, 12:02 AM
Yep! It should. What Py version Pants and Pex run with are implementation details; your own code can be something entirely different https://www.pantsbuild.org/v1.30/docs/python-interpreter-compatibility
🙏 1
e

enough-analyst-54434

02/22/2021, 7:37 PM
What Eric said is true for 2.7 and 3.5+ but Pex dropped support for 3.4 in the 2.1.0 release. As such you need to be on Pants <= 1.26 to use Python 3.4.
👍 1
👀 1
7 Views