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

1

u/pika03 Oct 15 '23

If your company writes multiple core libraries in Python which get used by downstream projects as packages, then not standardizing means the core libraries need to be able to support multiple Python versions.

Moreover, not all-ML libraries, support the latest version of Python immediately.

1

u/lphartley Oct 15 '23

In that case, a per project policy still makes sense. If a critical dependency does not support the newest version, you know what to chose. It doen't matter if it's an internal or public dependency. No need to enforce any standardization.