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

2

u/eek04 Oct 14 '23

To avoid dealing with issues when an update suddenly becomes necessary, like a security issue forcing an update, or needing to deploy some library that has to work with everything. It also makes it possible to run e.g. pattern matching over all the code and do updates to a new coding pattern, and infra teams have less special cases to support.

The cons are as you mention; there's just clearly pros, too.