potiuk commented on code in PR #60706:
URL: https://github.com/apache/airflow/pull/60706#discussion_r2701404331
##########
providers/google/pyproject.toml:
##########
@@ -151,7 +151,7 @@ dependencies = [
'apache-beam[gcp]>=2.57.0; python_version >= "3.12" and python_version <
"3.13"',
]
"cncf.kubernetes" = [
- "apache-airflow-providers-cncf-kubernetes>=10.1.0",
+ "apache-airflow-providers-cncf-kubernetes>=10.12.1",
Review Comment:
Per our discussion in slack. I think this is not going to work. The change
in: https://github.com/apache/airflow/pull/58684 added context parameter with
None default.
```
context: Context | None = None
) -> None:
```
So there is even no need to have >= 10.12.1 for `cncf.kubernetes` extra -
google provider will **actually** work with both old and new `cncf.kubernetes`
provider - simply for old `cncf.kubernetes`, context will be None.
The issue is in the other direction - if you nave **older** google provider
and install `"10.12.1"` of the cncf.kubernetes, the KPO will call
`invoke_defer_method` with `context` parameter set - and it will fail because
the older google provider's method does not accept context parameter.
--
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]