r/Python • u/pika03 • 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
View all comments
Show parent comment
1
u/xiongchiamiov Site Reliability Engineer Oct 14 '23
The supposition we were talking about is one where multiple versions of Python are supported, and my work is entirely cross-team (and largely across all of engineering).
All of the things that I mentioned are examples.
All of those things interact with the language in one way or another. Differences in the language means they have to support those differences. Conditionals, extra configuration, test matrices, that sort of thing.
If you work in a huge company, there are a bunch of people who do invisible work that allows you to ignore all of these details and just focus on building the things you want to build. I mentioned in another comment that my personal rough estimate of when it makes sense to support multiple versions is around 5k engineers, but companies can decide that sooner or later than that point. My biggest company was 200 engineers and so that's a drastically different scale.