From 937e3f0395e6d0d56e9cefcfe346de1596c9a845 Mon Sep 17 00:00:00 2001 From: amukherjee Date: Mon, 13 Jun 2022 05:37:45 -0400 Subject: [PATCH] release changes for 3.1.2 --- CHANGES.md | 28 ++++++++++++++++++++++++++++ IBM_DB/ibm_db/CHANGES.md | 28 ++++++++++++++++++++++++++++ IBM_DB/ibm_db/ibm_db.c | 2 +- IBM_DB/ibm_db/setup.py | 13 +++++++------ 4 files changed, 64 insertions(+), 7 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index e48fc98c..f9660385 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,33 @@ +2022-06-13, Version 3.1.2 +=========================== + + * setup.py upgrade : better error handling while installation (Arnab Mukherjee) + + * Code fix for issue #413 (Arnab Mukherjee) + + * Code fix for issue #468 (Arnab Mukherjee) + + * Code change for issue #720 (Arnab Mukherjee) + + * documentation updates (Arnab Mukherjee) + + * add custom clidriver bin path to ibm_db.py file (Alexandre Duverger) + + * doc: update for issue #733 (Bimal Jha) + + * fix: for issue #708 (Bimal Jha) + + * doc: update about MacOS M1 Chip system (Bimal Jha) + + * Add issue template (Bimal Jha) + + * Add support for installing clidriver using another URL or artifactory URL. (#727) (MarcinMaciaszek) + + * updating the CHANGES.md file (Arnab Mukherjee) + + 2022-01-11, Version 3.1.1 ========================= diff --git a/IBM_DB/ibm_db/CHANGES.md b/IBM_DB/ibm_db/CHANGES.md index e48fc98c..f9660385 100644 --- a/IBM_DB/ibm_db/CHANGES.md +++ b/IBM_DB/ibm_db/CHANGES.md @@ -1,5 +1,33 @@ +2022-06-13, Version 3.1.2 +=========================== + + * setup.py upgrade : better error handling while installation (Arnab Mukherjee) + + * Code fix for issue #413 (Arnab Mukherjee) + + * Code fix for issue #468 (Arnab Mukherjee) + + * Code change for issue #720 (Arnab Mukherjee) + + * documentation updates (Arnab Mukherjee) + + * add custom clidriver bin path to ibm_db.py file (Alexandre Duverger) + + * doc: update for issue #733 (Bimal Jha) + + * fix: for issue #708 (Bimal Jha) + + * doc: update about MacOS M1 Chip system (Bimal Jha) + + * Add issue template (Bimal Jha) + + * Add support for installing clidriver using another URL or artifactory URL. (#727) (MarcinMaciaszek) + + * updating the CHANGES.md file (Arnab Mukherjee) + + 2022-01-11, Version 3.1.1 ========================= diff --git a/IBM_DB/ibm_db/ibm_db.c b/IBM_DB/ibm_db/ibm_db.c index 9a814ee1..7c223b3c 100644 --- a/IBM_DB/ibm_db/ibm_db.c +++ b/IBM_DB/ibm_db/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.1" +#define MODULE_RELEASE "3.1.2" #include #include diff --git a/IBM_DB/ibm_db/setup.py b/IBM_DB/ibm_db/setup.py index 2cea04ab..0b961f66 100644 --- a/IBM_DB/ibm_db/setup.py +++ b/IBM_DB/ibm_db/setup.py @@ -24,7 +24,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.1' +VERSION = '3.1.2' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') @@ -114,8 +114,8 @@ def _checkPythonHeaderFile(): else: _printAndExit(_errormessage("noPythonDevel")) - -_getinstalledDb2Path() +if sys.version_info >= (3, ): + _getinstalledDb2Path() if ('IBM_DB_HOME' in os.environ): ibm_db_home = os.getenv('IBM_DB_HOME') @@ -454,9 +454,10 @@ def _setDllPath(): else: ext_modules = _ext_modules(ibm_db_include, library, ibm_db_lib) -if('win32' not in sys.platform): - _checkGcc() - _checkPythonHeaderFile() +if('win32' not in sys.platform): + if sys.version_info >= (3, ): + _checkGcc() + _checkPythonHeaderFile() setup( name = PACKAGE, version = VERSION,