The current Python version (3.8) is very old

The current Python version supported by netlify is 3.8. The version 3.12 will be released already in a few months. 3.8 is the oldest still supported Python version, and it will reach EoL in the next year. Is there a reason to hold on to the old Python version?

Python 3.10+ is a must for my use case:

I use netlify to host Sphinx-powered documentation for my OSS projects. The issue is that I use the new style of type annotations (generics for built-in types and union operator) that require Python 3.10+. The project itself works on Python 3.8+ but Sphinx should be able to parse type annotations to properly render links to internal types in them. And it cannot be done on Python 3.8 or 3.9. I could rewrite all type annotations to the old style just for netlify but that’s not cool.

Prior discussions:

Documentation reference:

So, I assume, the Netlify team doesn’t check the support forum, right? How to reach them then? There were GitHub issues to report issues with the build image but now the project is archived.

That’s a good way to offend the hours we put here. Checking my own stats:

… and there are more of us doing almost the same thing. Maybe you went a bit off-track when making your assumptions.

But yes, we spend more hours in the helpdesk than forums, as we are supposed to provide responses to some customers that are paying (some are paying for the Pro and above plans just to get support). You might be one of those too, but there’s no guaranteed response times on the forums. So, we check here once most of our helpdesk queues are handled.


To answer your question, yes there are some technical limitations due to which we’re sticking on Python 3.8. Allowing newer versions would require a bigger engineering lift and that’s not something prioritised in the short-term. Seeing your question, I did ask out devs about the status, and it’s still “not planned in any short-term roadmap”.

Thank you for your response! It took me a while but I managed to migrate my pages to an alternative solution that provides support for Python 3.11. Since there are no plans for modern Python support in Netlify, there is no workaround, and I solved my issue, I mark the topic as solved. If for anyone migrating from Netlify isn’t an option, please, make a new thread.

For what it’s worth, this same issue has me considering leaving Netlify for another vendor.

I currently can’t build my Sphinx site with Netlify’s Python 3.8 version :expressionless:.