diff --git a/README.md b/README.md index 4fadf6b8e..d767a8c6d 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ On Linux you can add `-u $(id -u)` on `docker run` in order for kapitan to not c For CI/CD usage, check out [ci/](https://github.com/deepmind/kapitan/tree/master/ci) #### Pip -Kapitan needs Python 3.6+ (it still works with Python 2.7 but support has been removed in v0.12.0). +Kapitan needs Python 3.6 (it still works with Python 2.7 but support has been removed in v0.12.0). **Install Python 3:**
Linux: `sudo apt-get update && sudo apt-get install -y python3.6-dev python3-pip` diff --git a/kapitan/__init__.py b/kapitan/__init__.py index 181f0e5ec..b1cfe3ee4 100755 --- a/kapitan/__init__.py +++ b/kapitan/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/kapitan/__main__.py b/kapitan/__main__.py index b824591d9..0057b217a 100644 --- a/kapitan/__main__.py +++ b/kapitan/__main__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/kapitan/cli.py b/kapitan/cli.py index 2892cb864..44a5ac15f 100644 --- a/kapitan/cli.py +++ b/kapitan/cli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/kapitan/resources.py b/kapitan/resources.py index 15140d96a..c459bf10f 100644 --- a/kapitan/resources.py +++ b/kapitan/resources.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/kapitan/secrets.py b/kapitan/secrets.py index 94199dd41..4713ceb19 100644 --- a/kapitan/secrets.py +++ b/kapitan/secrets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/kapitan/targets.py b/kapitan/targets.py index 3701f3c1d..f9fe78f4c 100644 --- a/kapitan/targets.py +++ b/kapitan/targets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/kapitan/utils.py b/kapitan/utils.py index f849b2836..8a0eaccd4 100644 --- a/kapitan/utils.py +++ b/kapitan/utils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/kapitan/version.py b/kapitan/version.py index 7b4b342b8..85c847d02 100644 --- a/kapitan/version.py +++ b/kapitan/version.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/setup.py b/setup.py index 57e32df9b..b741f91da 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/tests/__init__.py b/tests/__init__.py index 2441fec9c..137fddd78 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/tests/test_compile.py b/tests/test_compile.py index 69ab5fa80..8294157d6 100644 --- a/tests/test_compile.py +++ b/tests/test_compile.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/tests/test_inventory.py b/tests/test_inventory.py index 35c694428..64a4e6963 100644 --- a/tests/test_inventory.py +++ b/tests/test_inventory.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/tests/test_jinja2.py b/tests/test_jinja2.py index b23bea475..74a5b1074 100644 --- a/tests/test_jinja2.py +++ b/tests/test_jinja2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/tests/test_jsonnet.py b/tests/test_jsonnet.py index eec3a53f2..f216848c1 100644 --- a/tests/test_jsonnet.py +++ b/tests/test_jsonnet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors # diff --git a/tests/test_secrets.py b/tests/test_secrets.py index 7e78c939a..307c4caf6 100644 --- a/tests/test_secrets.py +++ b/tests/test_secrets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 # # Copyright 2018 The Kapitan Authors #