diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index 4457556be0da4..7bfbd76acad7f 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -353,6 +353,7 @@ "cloudant": { "deps": [ "apache-airflow>=2.8.0", + "ibmcloudant==0.7.0 ; python_version < \"3.10\"", "ibmcloudant==0.9.1 ; python_version >= \"3.10\"" ], "devel-deps": [], diff --git a/providers/src/airflow/providers/cloudant/provider.yaml b/providers/src/airflow/providers/cloudant/provider.yaml index 01a0c0a15d82a..706a26210615f 100644 --- a/providers/src/airflow/providers/cloudant/provider.yaml +++ b/providers/src/airflow/providers/cloudant/provider.yaml @@ -48,9 +48,12 @@ versions: dependencies: - apache-airflow>=2.8.0 - # Even though 3.9 is excluded below, we need to make this python_version aware so that `uv` can generate a - # full lock file when building lock file from provider sources + # Even though 3.9 is excluded below, we need to make this python_version aware so that `uv` (at least as of + # 0.4.25) can generate a full lock file when building lock file from provider sources. Seeing the duplicate + # dep makes the UV resolver correctly "fork" and try to come up with alternative solutions. + # https://github.com/astral-sh/uv/issues/4668 - 'ibmcloudant==0.9.1 ; python_version >= "3.10"' + - 'ibmcloudant==0.7.0 ; python_version < "3.10"' excluded-python-versions: # ibmcloudant transitively brings in urllib3 2.x, but the snowflake provider has a dependency that pins