Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jul 18, 2025

…on 3.13

It seems that despite explicit "Requires-Python <3.13" in snowpark client library, uv installs it on Python 3.13.

This is tracked here astral-sh/uv#14711

However, it also means that we have to exclude snowpark fro being installed on Python 3.13 explicitly in provider requirements and conditionally skip the tests for it.

We also need to bump version of the provider in package configuration and provider.yaml, because then snowflake provider used to be installed in CI will use the provider built locally rather than the one from PyPI that does not have such exclusion yet.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

…on 3.13

It seems that despite explicit "Requires-Python <3.13" in snowpark client
library, uv installs it on Python 3.13.

This is tracked here astral-sh/uv#14711

However, it also means that we have to exclude snowpark fro being installed
on Python 3.13 explicitly in provider requirements and conditionally skip
the tests for it.

We also need to bump version of the provider in package configuration
and provider.yaml, because then snowflake provider used to be installed
in CI will use the provider built locally rather than the one from PyPI
that does not have such exclusion yet.
@potiuk potiuk requested a review from mik-laj as a code owner July 18, 2025 10:54
@boring-cyborg boring-cyborg bot added area:providers kind:documentation provider:snowflake Issues related to Snowflake provider labels Jul 18, 2025
@potiuk potiuk requested review from eladkal and gopidesupavan July 18, 2025 10:55
@potiuk potiuk added the all versions If set, the CI build will be forced to use all versions of Python/K8S/DBs label Jul 18, 2025
@potiuk potiuk closed this Jul 18, 2025
@potiuk potiuk reopened this Jul 18, 2025
@potiuk
Copy link
Member Author

potiuk commented Jul 18, 2025

Applied "all versions" label to test running tests on Python 3.13

@potiuk potiuk merged commit 5245f15 into apache:main Jul 18, 2025
181 of 188 checks passed
@potiuk potiuk deleted the optional-snowpark-on-python-3.13 branch July 18, 2025 12:33
karenbraganz pushed a commit to karenbraganz/airflow that referenced this pull request Jul 18, 2025
…on 3.13 (apache#53489)

It seems that despite explicit "Requires-Python <3.13" in snowpark client
library, uv installs it on Python 3.13.

This is tracked here astral-sh/uv#14711

However, it also means that we have to exclude snowpark fro being installed
on Python 3.13 explicitly in provider requirements and conditionally skip
the tests for it.

We also need to bump version of the provider in package configuration
and provider.yaml, because then snowflake provider used to be installed
in CI will use the provider built locally rather than the one from PyPI
that does not have such exclusion yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

all versions If set, the CI build will be forced to use all versions of Python/K8S/DBs area:providers kind:documentation provider:snowflake Issues related to Snowflake provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants