You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by di...@apache.org on 2020/10/30 17:58:35 UTC

[airflow] branch master updated: Pin `kubernetes` to a max version of 11.0.0. (#11974)

This is an automated email from the ASF dual-hosted git repository.

dimberman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 9687b3bc Pin `kubernetes` to a max version of 11.0.0. (#11974)
9687b3bc is described below

commit 9687b3bc812a394f9f1debe48ea17bbfe78c270f
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`.
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index cca4b67..99ef296 100644
--- a/setup.py
+++ b/setup.py
@@ -314,7 +314,7 @@ kerberos = [
 ]
 kubernetes = [
     'cryptography>=2.0.0',
-    'kubernetes>=3.0.0',
+    'kubernetes>=3.0.0, <12.0.0',
 ]
 kylin = [
     'kylinpy>=2.6'