Azure / azure-functions-python-worker

Python worker for Azure Functions.
http://aka.ms/azurefunctions
MIT License
336 stars 104 forks source link

[FeatureRequest] Support for Python 3.12 #1397

Open aersam opened 10 months ago

aersam commented 10 months ago

Describe the request: A clear and concise description. Well, make Azure Functions compatible with Python 3.12 :)

Roman-Ka commented 3 months ago

Hey, are there any updates on this? Any indications of the timelines?

cmcconomyfwig commented 1 month ago

Python 3.13 was just released into the wild - any work on getting 3.12 into azure functions?

pykong commented 1 month ago

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!

rmontroy commented 1 month ago

Update was merged a while back (Release 4.30.1), but apparently still in progress: #3796. @gavin-aguiar

pykong commented 1 month ago

Any update @gavin-aguiar ?

gavin-aguiar commented 1 month ago

@rmontroy @pykong. All the code for python 3.12 has been merged. We are just waiting on the release in all regions. Should take a couple of weeks.

pykong commented 1 month ago

@gavin-aguiar That sounds good. Thanks for letting us know!

stevesimmons commented 1 week ago

@gavin-aguiar:

All the code for python 3.12 has been merged. We are just waiting on the release in all regions. Should take a couple of weeks.

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.

pykong commented 4 days ago

This is some horrible behavior of Azure towards its customers.

hallvictoria commented 3 days ago

Hi, so sorry for the delay, and thanks for your patience with this.

We are currently targeting early to mid-December for 3.12 support to be released. I'll post another update here once it has been finalized.

We understand that this release has been much slower comparatively speaking, and we are actively working to do better for future Python versions.

pykong commented 2 days ago

You'd better start working on Python 3.13 as soon as possible so it will be ready by December 2025.

https://github.com/Azure/azure-functions-python-worker/issues/1588