r/Python • • Oct 14 '23

Discussion Has your company standardized the Python 3 version to be used across all projects?

I am asking whether your company has a standard such as all Python projects should use Python 3.10.x or 3.11.x. Or maybe your company might have a standard like all Python projects must support Python 3.9+?

If your company does have a standard like that, what reasoning went behind it? If your company considered such a standard but chose not to do it, why? It would also be great if you could give an estimate of the number of devs/data scientists using Python in your company.

208 Upvotes

184 comments sorted by

View all comments

Show parent comment

3

u/asosnovsky Oct 14 '23

I semi agree . If the choice is between the latest versions I.e. 3.10/3.11/3.12 sure teams should use whatever. But going lower than that is bad due to

  • security reasons: many cves get closed in later versions
  • compatibility: libraries drop support for versions too old
  • bugs: earlier versions have occasionally issues within some libraries that get resolved on later versions of python (sometimes you get the reverse like with py3.11 and apple silicon)