Which python is supported by FreeCAD 0.20?

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Which python is supported by FreeCAD 0.20?

Post by bernd »

Is there a agreement about the lowest Python version supported for 0.20?

In Python 3.6 f strings where introduced. Means if we start to use f strings we would not support Python < 3.6 anymore ...

https://realpython.com/python-f-strings/
wmayer
Founder
Posts: 20302
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: which python is supported by FreeCAD 0.20

Post by wmayer »

At the moment the minimum supported version is 3.5 (IIRC). Since for the oldest supported Ubuntu version (Bionic) Python is 3.6.9 it's IMO okay to lift the minimum version to 3.6.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Which python is supported by FreeCAD 0.20?

Post by bernd »

Post Reply