Skip to content

Commit c6549b3

Browse files
committed
v3.2.7
1 parent 1e73869 commit c6549b3

File tree

5 files changed

+45
-5
lines changed

5 files changed

+45
-5
lines changed

.github/workflows/bld_wheels_and_upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- name: Build wheels
6464
uses: pypa/cibuildwheel@v2.22.0
6565
env:
66-
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
66+
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
6767
CIBW_SKIP: "cp36-* *-musllinux_* pp* *-*linux_{aarch64,ppc64le}"
6868
CIBW_REPAIR_WHEEL_COMMAND_LINUX:
6969
auditwheel repair

CHANGES.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
2025-09-07, Version 3.2.7
2+
=========================
3+
4+
* Support error reporting APIs in ibm_db_dbi: conn_errormsg, conn_error, stmt_errormsg, stmt_error, get_sqlcode (#1025) (bchoudhary6415)
5+
6+
* Add support for TIMESTAMP AT TIME ZONE in SQL statements for python-ibmdb on zos (#1024) (Earammak)
7+
8+
* feat!: upgrade default clidriver version to 12.1 (Bimal Jha)
9+
10+
* update readme to fix db2connect license errors (Bimal Jha)
11+
12+
* Fix to get the sqlcode from ibm_db.get_sqlcode api for warnings (#1020) (Earammak)
13+
14+
* Fixes: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc #1015 (#1018) (bchoudhary6415)
15+
16+
* Update install docs for z/OS #1013 (Bimal Jha)
17+
18+
* Fix: Build failure on IBM z15 (s390x) (Issue #1005) (#1009) (bchoudhary6415)
19+
20+
* Improve fetch performance and fix exception handling in ibm_db_dbi (#1008) (bchoudhary6415)
21+
22+
* fix for memory leak in execute_many (#1003) (Earammak)
23+
24+
125
2025-03-09, Version 3.2.6
226
=========================
327

@@ -25,13 +49,15 @@
2549

2650
* Polaris scan fix (#985) (bchoudhary6415)
2751

52+
2853
2024-12-30, Version 3.2.5
2954
=========================
3055

3156
* update workflow file to fix macarm64 install issue (Bimal Jha)
3257

3358
* Fix for issue#981 Django showing all migrations as unaplied (#982) (bchoudhary6415)
3459

60+
3561
2024-12-11, Version 3.2.4
3662
=========================
3763

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ If you face problems due to missing python header files while installing the dri
4848
```
4949
If you have installed `DB2_RTC*` i.e. **DB2 Runtime Client** and want `ibm_db` to use it instead of clidriver, please read [this comment](https://github.com/ibmdb/python-ibmdb/issues/1023#issuecomment-3062805368) and take action.
5050

51+
- clidriver v12.1 on Linux uses x86_64_v2 instruction set which is not supported by cibuildwheel and wheel image creation [fails](https://github.com/pypa/manylinux/issues/1725) using v12.1 clidriver. So, default version of clidriver on Linux platform is v11.5.9 only.
52+
53+
- You can force installation of ibm_db on Linux with clidriver v12.1 using below commands:
54+
```
55+
export CLIDRIVER_VERSION=v12.1.0
56+
pip install ibm_db --no-binary :all: --no-cache-dir
57+
```
58+
5159
### Windows:
5260

5361
- If a db2 client or server or dsdriver or clidriver is already installed in the system and user has already set installed path to `PATH` environment variable, then user needs to set [environment variable](#envvar) `IBM_DB_HOME` manually to the installed path before installing `ibm_db`.
@@ -447,7 +455,9 @@ conn = ibm_db.connect(connStr,'','')
447455
448456
- Db2connect license can be applied on database server or client side. A **db2connect license of version 12.1** is required for ibm_db.
449457
450-
- For MacOS M1/M2/M3 Chip System (ARM64 processor), **db2connect license of version 12.1** is required.
458+
- For MacOSx64(Intel processor) and Linuxx64, **db2connect license of version 11.5** is required.
459+
460+
- clidriver v12.1 on Linux uses x86_64_v2 instruction set which is not supported by `cibuildwheel` and wheel image creation [fails](https://github.com/pypa/manylinux/issues/1725) using v12.1 clidriver. So, default version of clidriver on Linux platform is v11.5.9 only.
451461
452462
- For activating server side license, you can purchase either `Db2 Connect Unlimited Edition for System z®` or `Db2 Connect Unlimited Edition for System i®` license from IBM.
453463

ibm_db.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
+--------------------------------------------------------------------------+
2323
*/
2424

25-
#define MODULE_RELEASE "3.2.6"
25+
#define MODULE_RELEASE "3.2.7"
2626

2727
#include <Python.h>
2828
#include <datetime.h>

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from setuptools.command.install import install
3232

3333
PACKAGE = 'ibm_db'
34-
VERSION = '3.2.6'
34+
VERSION = '3.2.7'
3535
LICENSE = 'Apache License 2.0'
3636
readme = os.path.join(os.path.dirname(__file__),'README.md')
3737

@@ -287,9 +287,13 @@ def print_exception( e, url):
287287
prebuildIbmdbPYD = True
288288

289289
# Get version of clidriver for autodownload from environment variable CLIDRIVER_VERSION
290-
# Default version is v12.1.0
290+
# Default version is v12.1.0 for non-linux platform.
291291
clidriver_version = os.getenv("CLIDRIVER_VERSION", "v12.1.0")
292292

293+
# Default version is v11.5.9 for linux. clidriver v12.1.0 for linux uses x86_64_V2 instruction set which is not supported by cibuildwheel
294+
if ('linux' == sys.platform):
295+
clidriver_version = os.getenv("CLIDRIVER_VERSION", "v11.5.9")
296+
293297
if ((ibm_db_home == '') and (ibm_db_dir == '') and (ibm_db_lib == '')):
294298
if('win32' not in sys.platform):
295299
sys.stdout.write("Detected platform = " + sys.platform + ", uname = " + os.uname()[4] + "\n")

0 commit comments

Comments
 (0)