You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/11/14 16:34:19 UTC
[airflow] 03/44: Pin `kubernetes` to a max version of 11.0.0.
(#11974)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit d5e7b5115055fd3ccdb7896bb45dfe48db83c6da
Author: Jed Cunningham <66...@users.noreply.github.com>
AuthorDate: Fri Oct 30 11:56:58 2020 -0600
Pin `kubernetes` to a max version of 11.0.0. (#11974)
12.0.0 introduces `TypeError: cannot serialize '_io.TextIOWrapper'
object` when serializing V1Pod's in `executor_config`.
(cherry picked from commit 9687b3bc812a394f9f1debe48ea17bbfe78c270f)
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 50818d4..3ace091 100644
--- a/setup.py
+++ b/setup.py
@@ -305,7 +305,7 @@ kerberos = [
]
kubernetes = [
'cryptography>=2.0.0',
- 'kubernetes>=3.0.0',
+ 'kubernetes>=3.0.0, <12.0.0',
]
ldap = [
'ldap3>=2.5.1',