You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bo...@apache.org on 2016/08/31 20:20:20 UTC

[3/6] incubator-airflow git commit: Bump version number to v1.7.2

Bump version number to v1.7.2


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/216e5c3c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/216e5c3c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/216e5c3c

Branch: refs/heads/master
Commit: 216e5c3c6ba92c1099dd10337393a60a5e09257b
Parents: 12fa55d
Author: Maxime Beauchemin <ma...@gmail.com>
Authored: Wed Aug 31 12:32:12 2016 -0700
Committer: Maxime Beauchemin <ma...@gmail.com>
Committed: Wed Aug 31 13:02:09 2016 -0700

----------------------------------------------------------------------
 airflow/__init__.py |  3 ++-
 airflow/version.py  | 16 ++++++++++++++++
 setup.py            |  4 +++-
 3 files changed, 21 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/216e5c3c/airflow/__init__.py
----------------------------------------------------------------------
diff --git a/airflow/__init__.py b/airflow/__init__.py
index 03840ca..a8744da 100644
--- a/airflow/__init__.py
+++ b/airflow/__init__.py
@@ -20,7 +20,8 @@ in their PYTHONPATH. airflow_login should be based off the
 `airflow.www.login`
 """
 from builtins import object
-__version__ = "1.7.1.3"
+from airflow import version
+__version__ = version.version
 
 import logging
 import os

http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/216e5c3c/airflow/version.py
----------------------------------------------------------------------
diff --git a/airflow/version.py b/airflow/version.py
new file mode 100644
index 0000000..92967e7
--- /dev/null
+++ b/airflow/version.py
@@ -0,0 +1,16 @@
+# -*- coding: utf-8 -*-
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+version = '1.7.2'

http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/216e5c3c/setup.py
----------------------------------------------------------------------
diff --git a/setup.py b/setup.py
index e1793b7..d087b33 100644
--- a/setup.py
+++ b/setup.py
@@ -15,6 +15,7 @@
 from setuptools import setup, find_packages, Command
 from setuptools.command.test import test as TestCommand
 
+import imp
 import logging
 import os
 import sys
@@ -22,7 +23,8 @@ import sys
 logger = logging.getLogger(__name__)
 
 # Kept manually in sync with airflow.__version__
-version = '1.7.1.3'
+version = imp.load_source(
+    'version', os.path.join('airflow', 'version.py')).version
 
 
 class Tox(TestCommand):