Skip to content

Commit

Permalink
Release ibm_db v3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bimalkjha committed Aug 25, 2023
1 parent 14e6b3a commit 3ad8512
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 26 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/bld_wheels_and_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,6 @@ jobs:
#if `name: artifact` is omitted, the action will create extra parent dir
name: artifact
path: dist
- name: Publish distribution to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{secrets.TESTPYPI_USER}}
password: ${{ secrets.TESTPYPI_PASSWORD}}
repository-url: https://test.pypi.org/legacy/
skip-existing: true
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
32 changes: 17 additions & 15 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
2023-08-21, Version 3.2.0
2023-08-25, Version 3.2.0
=========================

* Fix for issue #857 (Earammak)

* Update setup.py to Honor GCC environment variables

* Support for Python Wheels in ibm_db (Earammak)

* Fix for exception thrown by read_sql_query() from pandas while invoking a stored-procedure

* move files from IBM_DB/ibm_db to root directory

* Support for Null value for an array (Earammak)

* Fix for issue #838 (Earammak)

* Code change #837 and readme update (Earammak)

* ibm_db_execute: arrays of PYTHON_DECIMAL fails for FLOAT and DOUBLE datatypes

* Fix: uninitialized variable in _python_ibm_db_execute_helper1

* Optimize _checkGcc in setup.py (pschoen-itsc)

* Initial wheel support code changes (Earammak)

* Fix for issues #823 and #828 (Earammak)

* Readme update for latest python #813 and Readme update #814 (Earammak)

* Updated README.md, NOTES.md and rename INSTALL.md (Earammak)

* Support for additional connect options - connection attributes

* Fix: ibm_db.execute_many returns bind error with numpy.int64 values #828

2022-11-24, Version 3.1.4
=========================
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Db2 V11.5.4 clidriver is built with GCC version 8.4.0 and hence you may need to
<a name="installation"></a>
## Installation

Python wheels are built for linux, macos and windows for multiple python versions (from python version 3.7 to 3.11).And for other platforms package gets installed from source distribution.
* Python **Wheels** are built for Linux, MacOS and Windows operating systems for multiple python versions (from python version 3.7 to 3.11). For other platforms, package gets installed from source distribution.

You can install the driver using pip as:

Expand All @@ -77,12 +77,12 @@ pip install ibm_db
```
This will install ibm_db and ibm_db_dbi module.

If you have to use your own URL for clidriver please set environment variable
If you have to use your own URL for clidriver.tar.gz/.zip please set environment variable
```
IBM_DB_INSTALLER_URL
```

Note: For windows after installing ibm_db,recieves the below error when we try to import ibm_db :
**Note:** For windows after installing ibm_db, recieves the below error when we try to import ibm_db :
```>python
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Expand All @@ -97,9 +97,11 @@ We need to make sure to set dll path of dependent library of clidriver before im
```
import os
os.add_dll_directory('path to clidriver installation until bin')
import ibm_db
e.g:
os.add_dll_directory('C:\Program Files\IBM\CLIDRIVER\\bin')
import ibm_db
```
Refer https://bugs.python.org/issue36085 for more details.

Expand Down Expand Up @@ -471,7 +473,7 @@ fail on version 8.x of Db2.
In order to run the entire python driver testsuite on Windows, run this
command at the command prompt:
```
ibmdb_tests.py
python ibmdb_tests.py
```
To run a single test, set the environment variable, **SINGLE_PYTHON_TEST**, to
the test filename you would like to run, followed by the previous command.
Expand Down

0 comments on commit 3ad8512

Please sign in to comment.