From 010990896acb1121fa5475168a3568d603633e81 Mon Sep 17 00:00:00 2001 From: Adrian Torres Date: Fri, 9 Nov 2018 13:15:17 +0100 Subject: [PATCH 1/2] Expose __version__ module-level attribute It is possible for integrators to need to check the flanker version being run by the client in order to enable/disable flanker functionality depending on which python version is being run. Indeed, if the python version is 2.x, any version of flanker should work, however if the version is 3.x, only flanker versions >= 0.9 are compatible. This patch makes flanker comply with PEP396 [1] and allows for runtime version checking in cases where a hard dependency requiring flanker >= 0.9 is not possible (e.g. optional e-mail validation) [1] https://www.python.org/dev/peps/pep-0396/#specification --- flanker/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/flanker/__init__.py b/flanker/__init__.py index e69de29b..d0564e59 100644 --- a/flanker/__init__.py +++ b/flanker/__init__.py @@ -0,0 +1 @@ +__version__ = '0.9.7' From 7c2e67da2b26b6eebd6d11346215dbd962b3efe9 Mon Sep 17 00:00:00 2001 From: "Derrick J. Wippler" Date: Thu, 24 Oct 2019 10:36:22 -0500 Subject: [PATCH 2/2] Bump version number --- flanker/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flanker/__init__.py b/flanker/__init__.py index d0564e59..0646e3d1 100644 --- a/flanker/__init__.py +++ b/flanker/__init__.py @@ -1 +1 @@ -__version__ = '0.9.7' +__version__ = '0.9.10'