forked from kapicorp/kapitan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kapicorp#33 from deepmind/python3
Moving to python3
- Loading branch information
Showing
19 changed files
with
113 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
language: python | ||
|
||
python: | ||
- "2.7" | ||
- "3.6" | ||
|
||
branches: | ||
only: | ||
|
@@ -12,13 +12,14 @@ notifications: | |
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
email: | ||
on_success: change | ||
on_failure: always | ||
|
||
before_install: | ||
- sudo apt-get -qq update | ||
- sudo apt-get install -y gnupg2 | ||
- sudo apt-get install -y gnupg2 git | ||
|
||
# command to install dependencies | ||
install: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
|
||
BINPATH=`dirname $0` | ||
PYTHONPATH="$BINPATH/../:$PYTHONPATH" python -m kapitan $@ | ||
PYTHONPATH="$BINPATH/../:$PYTHONPATH" python3 -m kapitan $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/python | ||
#!/usr/bin/env python3 | ||
# | ||
# Copyright 2017 The Kapitan Authors | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/python | ||
#!/usr/bin/env python3 | ||
# | ||
# Copyright 2017 The Kapitan Authors | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/python | ||
#!/usr/bin/env python3 | ||
# | ||
# Copyright 2017 The Kapitan Authors | ||
# | ||
|
@@ -17,7 +17,7 @@ | |
"Project description variables" | ||
|
||
PROJECT_NAME = 'kapitan' | ||
VERSION = '0.11.0' | ||
VERSION = '0.12.0' | ||
DESCRIPTION = 'Kapitan is a tool to manage kubernetes configuration using jsonnet templates' | ||
AUTHOR = 'Ricardo Amaro' | ||
AUTHOR_EMAIL = '[email protected]' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
jsonnet==0.10.0 | ||
PyYAML==3.12 | ||
Jinja2==2.9.4 | ||
jsonschema==2.5.1 | ||
reclass==1.4.1 | ||
python-gnupg==0.4.1 | ||
Jinja2>=2.10 | ||
# Latest commit from salt-formulas/reclass - python3 branch | ||
# TODO: Change commit hash to release tag, once python3 branch is merged in | ||
git+https://github.com/salt-formulas/reclass.git@31770c6#egg=reclass | ||
jsonschema>=2.6.0 | ||
# Closest commit to official python-gnupg==0.4.1 + fix for https://bitbucket.org/vinay.sajip/python-gnupg/issues/84/on-osx-version-detection-fails-then-raises | ||
# TODO: Change to python-gnupg==0.4.2 once released | ||
git+https://github.com/vsajip/python-gnupg.git@73b5d8d#egg=python-gnupg | ||
six>=1.11.0 |
Oops, something went wrong.