Dev-iL commented on code in PR #76705:
URL: https://github.com/apache/airflow/pull/76705#discussion_r4635300952
##########
providers/snowflake/pyproject.toml:
##########
@@ -73,15 +73,15 @@ dependencies = [
# declare no upper bound on cryptography, so an unconstrained resolve
pairs them with a
# cryptography they cannot import against. 22.1.0 is the first release
with a correct bound.
"pyOpenSSL>=22.1.0",
- # TODO(potiuk): We should bump the snowflake-connector-python to >=4.0.0
when sqlalchemy>=2.0 is required
# 3.17.0 is the first version with Workload Identity Federation
(WORKLOAD_IDENTITY authenticator).
"snowflake-connector-python>=3.17.0",
+ "snowflake-connector-python>=5.1.0; python_version >= '3.14'",
"snowflake-sqlalchemy>=1.7.0",
- # snowflake-sqlalchemy (up to 1.11.1) subclasses
sqlalchemy.orm.context.ORMSelectCompileState, which
- # SQLAlchemy 2.1 made private, so importing it fails; 2.0.0rc2 itself
declares sqlalchemy<2.1.
- # Remove the cap once snowflake-sqlalchemy supports SQLAlchemy 2.1;
- # tracked at https://github.com/apache/airflow/issues/75118
- "sqlalchemy>=1.4.54,<2.1",
+ "snowflake-sqlalchemy>=2.1.0; python_version >= '3.14'",
+ # Snowpark requires connector<5; the dialect supporting SQLAlchemy 2.1
requires connector>=5.1.
+ # https://github.com/apache/airflow/issues/75118
+ "sqlalchemy>=1.4.54,<2.1; python_version < '3.14'",
+ "sqlalchemy>=2.0.44; python_version >= '3.14'",
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]