This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new b9aa5102359 Attempt to limit setuptools for Snowflake snowpark (#57581)
b9aa5102359 is described below
commit b9aa510235957965a9e0c5985e205532798ac572
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu Oct 30 23:35:32 2025 +0100
Attempt to limit setuptools for Snowflake snowpark (#57581)
Setuptools is used by many packages to build them but for snowpark
it seems that setuptools is used to "do stuff" as well. Snowpark
has a rather "low" expectations for setuptools, and setuptools
releases are happening quite often an there are many releases after
snowpark's minimum >=40.6.0 (released in 2018 and with way more
than 100 releases afterwards). This might be one of the reasons
that pip resolution hits "resolution too deep" error.
This PR adds lower-binding for setuptools to relatively new version
(April 2025 - more than 6 months ago) in an attempt to limit
the space of possible resolutions for `pip`. We also add the <9999
hack to signal pip that setuptools should be resolved early in
the process, which should also limit the potential space that pip
creates for resolution.
---
devel-common/pyproject.toml | 2 +-
providers/snowflake/pyproject.toml | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/devel-common/pyproject.toml b/devel-common/pyproject.toml
index 0d52914776a..94353b9e7c2 100644
--- a/devel-common/pyproject.toml
+++ b/devel-common/pyproject.toml
@@ -119,7 +119,7 @@ dependencies = [
"types-pytz>=2024.1.0.20240417",
"types-redis>=4.6.0.20240425",
"types-requests>=2.31.0",
- "types-setuptools>=69.5.0.20240423",
+ "types-setuptools>=80.0.0.20250429",
"types-tabulate>=0.9.0.20240106",
"types-toml>=0.10.8.20240310",
]
diff --git a/providers/snowflake/pyproject.toml
b/providers/snowflake/pyproject.toml
index e7cb3610c40..d31af26451a 100644
--- a/providers/snowflake/pyproject.toml
+++ b/providers/snowflake/pyproject.toml
@@ -70,6 +70,7 @@ dependencies = [
# can be removed when the pip resolver is improved
"snowflake-snowpark-python>=1.17.0,<9999;python_version<'3.12'",
"snowflake-snowpark-python>=1.27.0,<9999;python_version>='3.12' and
python_version<'3.14'",
+ "setuptools>=80.0.0,<9999",
]
# The optional dependencies should be modified in place in the generated file