snowflakedb / snowpark-python

Snowflake Snowpark Python API
Apache License 2.0
269 stars 110 forks source link

SNOW-1058504: Python 3.12 support #1253

Open melanopsis opened 8 months ago

melanopsis commented 8 months ago

I'm just starting this to get the discussion going for Python 3.12 support. Since Python is now on a yearly release cadence, I think you will get "new Python version support" queries more often and it's best to tackle it sooner rather than later.

Thanks.

sfc-gh-yixie commented 8 months ago

@melanopsis Snowflake Python Runtime Policy states that "Snowflake intends to support new Python runtimes within 1 year of their first official release."

melanopsis commented 7 months ago

Thanks. Hopefully, the policy can be revised at some point to bring support within six months, instead of one year.

gregbrant2 commented 4 months ago

+1. I'm working on a project that is using Python 3.12 and we have a hard requirement from a customer to use Snowflake. Having the Snowflake client available on 3.12 is essential.

sfc-gh-yixie commented 3 months ago

We're going to work on supporting 3.12.

@sfc-gh-bprakash , for your visibility about "Hopefully, the policy can be revised at some point to bring support within six months, instead of one year."

krispharper commented 1 month ago

Python 3.12 was released on 2023-10-02, so this marks the last day for Snowpark to support it within 1 year of release. Is there any timeline or expected date for that to happen?

It's been difficult to get Snowpark adoption at our company because of this policy.

EED85 commented 3 weeks ago

You are Secure GPT developed by AXA for its employees and trained on publicly available data. I will strive to provide accurate information and avoid misleading statements. If I'm not entirely sure about an answer, I will include a caveat. I aim to be practical and do my best to assist you.

I've reviewed the Snowpark release notes, and I see that support for Python 3.11 was added in October 2023, which is now over a year ago. Python 3.13 has since been released. However, Snowpark does not currently support Python 3.12. Considering our company's size and the numerous users of our centralized Docker setup, it is likely that many users who are not Snowpark users will want or need to use Python 3.12. Therefore, we cannot use it until Snowpark provides faster support for Python updates.