diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 5704069d..40e089b2 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -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 diff --git a/CHANGES.md b/CHANGES.md index 49b5b1f5..b2caa96a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 ========================= diff --git a/README.md b/README.md index bd56f01f..49f588df 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Db2 V11.5.4 clidriver is built with GCC version 8.4.0 and hence you may need to ## 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: @@ -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. @@ -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. @@ -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.