-
Notifications
You must be signed in to change notification settings - Fork 107
[FeatureRequest] Support for Python 3.12 #1397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey, are there any updates on this? Any indications of the timelines? |
Python 3.13 was just released into the wild - any work on getting 3.12 into azure functions? |
I am disgruntled about the lack of support for Python 3.12. Az Function now lags two whole versions behind Python stable. Is Microsoft still in touch with its Azure customers who use Python? Please fix this ASAP! |
Update was merged a while back (Release 4.30.1), but apparently still in progress: #3796. |
Any update @gavin-aguiar ? |
@gavin-aguiar That sounds good. Thanks for letting us know! |
Hi Gavin. Is there any further update for when we can use Azure Functions with Python 3.12? Your message of "a couple of weeks" was a month ago. And if any of the Microsoft Azure Functions product owners are reading this, you teased the release of Py 3.12 in December 2023 but then went silent on specific target dates while delaying many months longer than the equivalent timeframes for the Py 3.11 rollout*. That's not really fair to customers like me who committed to Azure Functions in their stacks but now fear they'll be stranded on non-current versions. It's also mystifying why you'd deprioritise timely Python support when it just makes Azure Functions less attractive for all kinds of AI/ML workloads. * Python 3.11 was released on Oct 2022, went into public preview on Azure Functions in July 2023 (+9 months), and GA in September 2023 (+11 months). Python 3.12 was released in Oct 2023. Still no public preview or GA 13 months later. If Microsoft had followed the same cadence as for Py3.11, we'd have had the Py3.12 public preview in July 2024 and GA in September 2024. |
This is some horrible behavior of Azure towards its customers. |
Hi, so sorry for the delay, and thanks for your patience with this.
We understand that this release has been much slower comparatively speaking, and we are actively working to do better for future Python versions. EDIT: Our updated target for Python 3.12 support is January. |
You'd better start working on Python 3.13 as soon as possible so it will be ready by December 2025. |
Can you please test if the 3.12 runtime works with |
We are in January now, almost one year after this Feature Request was opened. Any update on a specific day for support? I see it live in the artifact registry but still unable to deploy through the Azure portal. It's now not possible to download a Python 3.11 exe off the shelf to install on Windows so it's impossible to develop new Azure Function Apps for Python in the current state. |
@louij2 You can get an installer here https://www.python.org/downloads/release/python-3119/ Never versions of 3.11 don't have installers as 3.11 is in it's security update only phase, which only ship is source tar balls. If you need newer versions of 3.11, you can use docker containers, or install using https://github.com/pyenv-win/pyenv-win |
Once pyenv-win, by default, looks for the official Python FTP, you can't find security update versions for Windows. The only alternatives, as you mentioned, are using Docker containers, WSL, or properly using Linux itself. |
Hi Team, Could you kindly let us know what is the status of this when this would be rolled out. Our company has stopped letting developers to use python 3.11. So local development is pretty difficult without the support for 3.12 and above |
3.12 support has been released. Flex consumption support is still pending, but we plan to have it out soon. |
Maybe MS will surprise us all by jumping straight to full 3.13 support. 😉 |
Having support for 3.12 is much appreciated, thank you! I get Python 3.12.2 on Linux 5.10.102.2-microsoft-standard (Debian GNU/Linux 12 (bookworm) with glibc 2.36) Is this it or that's only during the preview period? Python 3.12.9 is out. |
Is there any word on when 3.12 will be GA instead of just preview? Trying to do some product planning for my team. |
How about the image |
@hallvictoria Could someone throw a bit more light in the 3.12 support even in preview? |
@polys, the patch version will be updated periodically, depending on the changes and bugfixes added. @tm14719 / @drewpearce, we are currently targeting GA by end of this month. @chopeen, the core-tools images will no longer be published. You can reference the Dockerfile directly if needed or use one of the other published 3.12 images. @ErikApption, our recommendation is to use Python 3.12 and the latest cryptography module. If you're facing more specific issues, please open a separate issue. |
I have my project deployed to separate Function Apps with 3.11 and 3.12 runtime respectively. When I open SSH session for both and try checking the Python version, this is what I see:
The functions seem to be working, but the error is still worrisome. What's causing it? The file Should I add the path to |
@chopeen this error does not impact your function app behavior, and it was fixed in runtime version 4.1037. 4.1037 is still in the process of rolling out, with ETA of finishing by end of this week |
@hallvictoria Is it safe to move to our function apps to 3.12 now? |
@sepira 3.12 is fully supported. We are still targeting end of March / early April for GA |
@hallvictoria 3.12 is ready for Production ? |
@mithunideas2it 3.12 is currently still in preview. It is up to your discretion if you are comfortable migrating now or would prefer to wait until GA. |
@hallvictoria Is flex consumption supported with 3.12 yet? Are there any features missing from 3.12 that is preventing it from GA? |
@CodyKlingler yes, 3.12 is available on flex. No, there are no features missing from 3.12 compared to previous versions. We are currently monitoring its adoption and usage to ensure it meets our quality standards for GA. |
Hi Victoria, How is the GA approval progressing? Can we expect this before the end of the month? |
Hi @hallvictoria , |
@cmcconomyfwig, yes, we are expecting to GA by end of April. I'll post an update here if we hit any delays. @BorgPrincess, there is a single team for supporting Python in Azure Functions. We have already started the work for supporting 3.13. You can track its status on this issue: #1588 |
So even with this: Azure/azure-functions-core-tools#3796 merged there are still more things pending, I presume? |
it doesnt seem to work @hallvictoria |
Hi @lindeengineering, what runtime version is the app running on? If it is not 4.1037 or later, please restart the app to pick up the latest bits. This was an issue fixed in 4.1037 and does not impact your function app behavior. If your app is on 4.1037+, and you are still seeing this error or if your function app is failing with an error related to this, please open a separate issue. |
Hi @hallvictoria, the snippet is coming from Azure DevOps pipeline. There is no runtime version selectable, the azure pipeline agent is the latest one v4.255.0 I have updated the vm scale set now to ubuntu24,04, but it fails now with this error:
|
Describe the request: A clear and concise description.
Well, make Azure Functions compatible with Python 3.12 :)
The text was updated successfully, but these errors were encountered: