From 978809a49b68360e2847df75ce0399aa38256103 Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 26 Jun 2023 15:46:24 +0530 Subject: [PATCH 001/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 21ee4bf2..7d79fece 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -2,7 +2,7 @@ name: Build and upload to PyPI # Build on every branch push, tag push, and pull request change: on: - #workflow_dispatch: + workflow_dispatch: push: branches: - WheelSupport From 2572ec1f8358dd8c813c14bbf7f11e2832a87bb8 Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 26 Jun 2023 15:50:04 +0530 Subject: [PATCH 002/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 7d79fece..05c83f1b 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -5,7 +5,7 @@ on: workflow_dispatch: push: branches: - - WheelSupport + - wheelSupport jobs: build_wheels_windows_64: name: Build wheels on ${{ matrix.os }} 64-bit From 508a7555c5462abafe5a22361fa9c526b3612137 Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 26 Jun 2023 16:03:11 +0530 Subject: [PATCH 003/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 05c83f1b..bc684361 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -1,11 +1,11 @@ name: Build and upload to PyPI # Build on every branch push, tag push, and pull request change: -on: - workflow_dispatch: - push: - branches: - - wheelSupport +on: [push] + #workflow_dispatch: + #push: + #branches: + # - wheelSupport jobs: build_wheels_windows_64: name: Build wheels on ${{ matrix.os }} 64-bit From 51038ff1b58fe6d0e50e01d6f91565f032d0e3de Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 26 Jun 2023 16:42:29 +0530 Subject: [PATCH 004/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index bc684361..c3bf03ec 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -1,11 +1,11 @@ name: Build and upload to PyPI # Build on every branch push, tag push, and pull request change: -on: [push] +on: #workflow_dispatch: - #push: - #branches: - # - wheelSupport + push: + branches: + - wheelSupport jobs: build_wheels_windows_64: name: Build wheels on ${{ matrix.os }} 64-bit From e5dbe50dce4b0a748c0c1f3d3ef58643517bdb43 Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 26 Jun 2023 16:48:20 +0530 Subject: [PATCH 005/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index c3bf03ec..a8f02802 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -5,7 +5,7 @@ on: #workflow_dispatch: push: branches: - - wheelSupport + - test_wheel jobs: build_wheels_windows_64: name: Build wheels on ${{ matrix.os }} 64-bit From e188b1aa7bfb85e64922d9d5ad241e0ba3077a25 Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 26 Jun 2023 16:57:26 +0530 Subject: [PATCH 006/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index a8f02802..bac67d6a 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -19,7 +19,6 @@ jobs: uses: pypa/cibuildwheel@v2.12.1 env: CIBW_SKIP: "*-win32" - CIBW_SKIP: "*pp3*" - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl From f7c3cbe4bf5d29caab64145d2e97b5919f09cf9c Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 26 Jun 2023 16:59:30 +0530 Subject: [PATCH 007/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index bac67d6a..90fabfa0 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -2,7 +2,7 @@ name: Build and upload to PyPI # Build on every branch push, tag push, and pull request change: on: - #workflow_dispatch: + workflow_dispatch: push: branches: - test_wheel From e3a9993de5cdea0812dbf153b9b6efeb42cbd9ae Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 26 Jun 2023 17:24:14 +0530 Subject: [PATCH 008/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 29 +++++++++------------ 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 90fabfa0..2ca93640 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -93,20 +93,15 @@ jobs: # alternatively, to publish when a GitHub Release is created, use the following rule: # if: github.event_name == 'release' && github.event.action == 'published' steps: - - uses: actions/download-artifact@v3 - with: - # unpacks default artifact into dist/ - # if `name: artifact` is omitted, the action will create extra parent dir - name: Upload to testpypi - path: dist - - uses: pypa/gh-action-pypi-publish@v1.5.0 - with: - user: ${{secrets.TESTPYPI_USER}} - password: ${{secrets.TESTPYPI_PASSWORD}} - repository_url: https://test.pypi.org/legacy/ - - - name: Upload to PYPI - uses: pypa/gh-action-pypi-publish@master - with: - user: ${{secrets.TESTPYPI_USER}} - password: ${{secrets.TESTPYPI_PASSWORD}} + - 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/ + - name: Publish distribution 📦 to PyPI + if: startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@release/v1 + with: + user: ${{secrets.PYPI_USER}} + password: ${{ secrets.PYPI_PASSWORD}} From 1a1859cd757c3a0f9ac62a2dacb62919bf3d50e9 Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 26 Jun 2023 17:49:17 +0530 Subject: [PATCH 009/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 2ca93640..832af7fc 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -93,6 +93,12 @@ jobs: # alternatively, to publish when a GitHub Release is created, use the following rule: # if: github.event_name == 'release' && github.event.action == 'published' steps: + - uses: actions/download-artifact@v3 + with: + # unpacks default artifact into dist/ + # 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: From 0b76a05db8134da91b7849fba276cf040131b0a8 Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 26 Jun 2023 18:59:06 +0530 Subject: [PATCH 010/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 832af7fc..0fd62d86 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -94,11 +94,11 @@ jobs: # if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v3 - with: - # unpacks default artifact into dist/ - # if `name: artifact` is omitted, the action will create extra parent dir - name: artifact - path: dist + with: + # unpacks default artifact into dist/ + # 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: From 393e6b19cd46d9593a36ee549ef5e47ecfca81b8 Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 27 Jun 2023 12:54:00 +0530 Subject: [PATCH 011/259] Add release.yml --- .github/workflows/release.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..7c783cb6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,31 @@ +on: + push: + branches: + - test_wheel + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + +name: Create Release + +jobs: + build: + name: Create Release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + body: | + Changes in this Release + - First Change + - Second Change + draft: false + prerelease: false \ No newline at end of file From ed8755f6c06683a0829bfbf7168fca1afb5d482d Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 27 Jun 2023 13:01:12 +0530 Subject: [PATCH 012/259] remove release.yml --- .github/workflows/release.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 7c783cb6..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,31 +0,0 @@ -on: - push: - branches: - - test_wheel - # Sequence of patterns matched against refs/tags - tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 - -name: Create Release - -jobs: - build: - name: Create Release - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - body: | - Changes in this Release - - First Change - - Second Change - draft: false - prerelease: false \ No newline at end of file From b0d79b83426437ea1dfdaee152fd5756dab6de72 Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 27 Jun 2023 13:35:03 +0530 Subject: [PATCH 013/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 0fd62d86..d6d62f9b 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -1,11 +1,16 @@ name: Build and upload to PyPI # Build on every branch push, tag push, and pull request change: -on: +on: workflow_dispatch: + pull_request: push: branches: - test_wheel + release: + types: + - published + jobs: build_wheels_windows_64: name: Build wheels on ${{ matrix.os }} 64-bit @@ -89,14 +94,14 @@ jobs: matrix: os: [ubuntu-latest] #upload to PyPI on every tag starting with 'v' - #if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') # alternatively, to publish when a GitHub Release is created, use the following rule: - # if: github.event_name == 'release' && github.event.action == 'published' + if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v3 with: # unpacks default artifact into dist/ - # if `name: artifact` is omitted, the action will create extra parent dir + #if `name: artifact` is omitted, the action will create extra parent dir name: artifact path: dist - name: Publish distribution 📦 to Test PyPI From 47ef47f3578718f8eb2c9004f6645df45ce6ce69 Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 27 Jun 2023 13:38:52 +0530 Subject: [PATCH 014/259] remove release.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index d6d62f9b..8b8969a0 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -94,7 +94,7 @@ jobs: matrix: os: [ubuntu-latest] #upload to PyPI on every tag starting with 'v' - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + #if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') # alternatively, to publish when a GitHub Release is created, use the following rule: if: github.event_name == 'release' && github.event.action == 'published' steps: From bf159cdb36f5c6b5e0e93164570f0ed15755327d Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 27 Jun 2023 14:50:10 +0530 Subject: [PATCH 015/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 8b8969a0..50357a9a 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -7,9 +7,12 @@ on: push: branches: - test_wheel - release: - types: - - published + tags: + - 'v* + #release: + #types: + #- published + jobs: build_wheels_windows_64: @@ -94,9 +97,9 @@ jobs: matrix: os: [ubuntu-latest] #upload to PyPI on every tag starting with 'v' - #if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') # alternatively, to publish when a GitHub Release is created, use the following rule: - if: github.event_name == 'release' && github.event.action == 'published' + #if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v3 with: From 8ba79ad089eeb98e9ad6a4a80169a589273c9f8d Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 27 Jun 2023 15:01:05 +0530 Subject: [PATCH 016/259] remove release.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 50357a9a..d85e3937 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -9,9 +9,9 @@ on: - test_wheel tags: - 'v* - #release: - #types: - #- published + release: + types: + - published jobs: From d0133ce69e5ec10216e3befdd8cb11801fc15aea Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 27 Jun 2023 15:03:20 +0530 Subject: [PATCH 017/259] remove release.yml --- .github/workflows/bld_wheels_and_upload.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index d85e3937..6fd73b47 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -7,8 +7,8 @@ on: push: branches: - test_wheel - tags: - - 'v* + #tags: + # - 'v* release: types: - published From 7a7e29345cc3b273600993bf8aaabcbc61ce5030 Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 27 Jun 2023 15:27:43 +0530 Subject: [PATCH 018/259] test release 0.0.13 --- .github/workflows/bld_wheels_and_upload.yml | 2 +- ibm_db.c | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 6fd73b47..dec4002f 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -97,7 +97,7 @@ jobs: matrix: os: [ubuntu-latest] #upload to PyPI on every tag starting with 'v' - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + #if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') # alternatively, to publish when a GitHub Release is created, use the following rule: #if: github.event_name == 'release' && github.event.action == 'published' steps: diff --git a/ibm_db.c b/ibm_db.c index d4997c7c..31614c00 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "0.0.12" +#define MODULE_RELEASE "0.0.13" #include #include diff --git a/setup.py b/setup.py index 44696c72..4bdf3726 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db_wheel' -VERSION = '0.0.12' +VERSION = '0.0.13' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From bb6215d0babef1c89fcdcbd80c7b4cf07789215b Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 4 Jul 2023 12:29:03 +0530 Subject: [PATCH 019/259] change ibm_db version 3.1.4.1 --- ibm_db.c | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ibm_db.c b/ibm_db.c index 31614c00..61ee284f 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "0.0.13" +#define MODULE_RELEASE "3.1.4.1" #include #include diff --git a/setup.py b/setup.py index 4bdf3726..a0c0ca8a 100644 --- a/setup.py +++ b/setup.py @@ -24,8 +24,8 @@ from setuptools.command.build_ext import build_ext from setuptools.command.install import install -PACKAGE = 'ibm_db_wheel' -VERSION = '0.0.13' +PACKAGE = 'ibm_db' +VERSION = '3.1.4.1' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From 086058acc1541c9f05b271417b8c3c13b9fdb735 Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 4 Jul 2023 16:03:19 +0530 Subject: [PATCH 020/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index dec4002f..a7d6b6ce 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -113,6 +113,7 @@ jobs: 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 From 6d48b63d5568c8d58b8f1278c860b86dc6525d36 Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 4 Jul 2023 16:35:33 +0530 Subject: [PATCH 021/259] update version 3.1.5 --- ibm_db.c | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ibm_db.c b/ibm_db.c index 61ee284f..fc0d20c5 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.1" +#define MODULE_RELEASE "3.1.5" #include #include diff --git a/setup.py b/setup.py index a0c0ca8a..1e0e8f8e 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.1' +VERSION = '3.1.5' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From a42e103677de3652b7b580752cc4f4b752bb2263 Mon Sep 17 00:00:00 2001 From: ek Date: Wed, 5 Jul 2023 17:04:08 +0530 Subject: [PATCH 022/259] version update 3.1.4.2 and add ibm_db.py --- ibm_db.c | 2 +- ibm_db.py | 1 + setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 ibm_db.py diff --git a/ibm_db.c b/ibm_db.c index fc0d20c5..c05188e0 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.5" +#define MODULE_RELEASE "3.1.4.2" #include #include diff --git a/ibm_db.py b/ibm_db.py new file mode 100644 index 00000000..0519ecba --- /dev/null +++ b/ibm_db.py @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/setup.py b/setup.py index 1e0e8f8e..ea970a4c 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.5' +VERSION = '3.1.4.2' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From 8eb4c8156bf5a66dcabbc5562a6c1e07dc6183bb Mon Sep 17 00:00:00 2001 From: ek Date: Thu, 6 Jul 2023 13:14:45 +0530 Subject: [PATCH 023/259] test for excluding clidriver from source distribution --- .github/workflows/bld_wheels_and_upload.yml | 8 ++++++-- ibm_db.c | 2 +- setup.py | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index a7d6b6ce..ee80da3c 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -59,7 +59,8 @@ jobs: uses: pypa/cibuildwheel@v2.12.1 env: CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 - CIBW_SKIP: "*-musllinux_* pp*" + #CIBW_SKIP: "*-musllinux_* pp*" + CIBW_SKIP: "*-*linux_{aarch64,ppc64le}" CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --exclude libdb2.so.1 @@ -89,7 +90,10 @@ jobs: - name: Upload sdist uses: actions/upload-artifact@v3 with: - path: ./dist/*.tar.gz + path: | + ./dist/*.tar.gz + !./dist/clidriver/ + upload_pypi: needs: [build_sdist,build_wheels_macos_linux, build_wheels_windows_64,build_wheels_windows_32] runs-on: ${{ matrix.os }} diff --git a/ibm_db.c b/ibm_db.c index c05188e0..ccf7da4a 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.2" +#define MODULE_RELEASE "3.1.4.3" #include #include diff --git a/setup.py b/setup.py index ea970a4c..a6ec5470 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.2' +VERSION = '3.1.4.3' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From b11ec308752b34fe3152c3efd8b01581a40d8ed3 Mon Sep 17 00:00:00 2001 From: ek Date: Thu, 6 Jul 2023 18:17:24 +0530 Subject: [PATCH 024/259] update .gitignore and update ibm_db version 3.1.4.4 --- .gitignore | 1 + ibm_db.c | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 655a89ec..86fa7f29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ __pycache__/ build +clidriver dist ibm_db.egg-info *.pyc diff --git a/ibm_db.c b/ibm_db.c index ccf7da4a..0fb082cb 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.3" +#define MODULE_RELEASE "3.1.4.4" #include #include diff --git a/setup.py b/setup.py index a6ec5470..0e616cd8 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.3' +VERSION = '3.1.4.4' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From cebfb387f63ae7190974f688be0efefb18ec1f73 Mon Sep 17 00:00:00 2001 From: ek Date: Fri, 7 Jul 2023 10:25:14 +0530 Subject: [PATCH 025/259] test clidriver to exclude from sdist --- .../test_script_to_exclude_clidriver.yml | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 .github/workflows/test_script_to_exclude_clidriver.yml diff --git a/.github/workflows/test_script_to_exclude_clidriver.yml b/.github/workflows/test_script_to_exclude_clidriver.yml new file mode 100644 index 00000000..59d65021 --- /dev/null +++ b/.github/workflows/test_script_to_exclude_clidriver.yml @@ -0,0 +1,100 @@ +name: Build and upload to PyPI + +# Build on every branch push, tag push, and pull request change: +on: + workflow_dispatch: + pull_request: + push: + branches: + - test_wheel + #tags: + # - 'v* + release: + types: + - published + + +jobs: + build_wheels_windows_64: + name: Build wheels on ${{ matrix.os }} 64-bit + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest] + steps: + - uses: actions/checkout@v3 + - name: Build wheels + uses: pypa/cibuildwheel@v2.12.1 + env: + CIBW_SKIP: "*-win32" + - uses: actions/upload-artifact@v3 + with: + path: ./wheelhouse/*.whl + + build_wheels_windows_32: + name: Build wheels on ${{ matrix.os }} 32-bit + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest] + steps: + - uses: actions/checkout@v3 + - name: Build wheels + uses: pypa/cibuildwheel@v2.12.1 + env: + CIBW_BUILD: "*-win32" + - uses: actions/upload-artifact@v3 + with: + path: ./wheelhouse/*.whl + build_wheels_macos_linux: + name: Build wheels on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest,ubuntu-latest] + #os: [windows-latest, ubuntu-latest] + steps: + - uses: actions/checkout@v3 + - name: Build wheels + uses: pypa/cibuildwheel@v2.12.1 + env: + CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 + #CIBW_SKIP: "*-musllinux_* pp*" + CIBW_SKIP: "*-*linux_{aarch64,ppc64le}" + CIBW_REPAIR_WHEEL_COMMAND_LINUX: + auditwheel repair + --exclude libdb2.so.1 + --exclude libDB2xml4c.so.58 + --exclude libm.so.6 + --exclude libcrypt.so.1 + --exclude libpam.so.0 + --exclude librt.so.1 + --exclude libpthread.so.0 + --exclude libc.so.6 + --exclude libdl.so.2 + --wheel-dir {dest_dir} + {wheel} + - uses: actions/upload-artifact@v3 + with: + path: ./wheelhouse/*.whl + build_sdist: + name: Build source distribution + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Python dependencies + run: | + python -m pip install --upgrade pip build + - name: Build sdist + run: python -m build --sdist --no-isolation + - name: Delete clidriver + run: | + ls -la + rm -r dist/clidriver/* + ls -la + - name: Upload sdist + uses: actions/upload-artifact@v3 + with: + path: | + ./dist/*.tar.gz + !./dist/clidriver/* \ No newline at end of file From 2e8c9df55398a41d3b45c40f97619470ba37209d Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 11 Jul 2023 14:16:38 +0530 Subject: [PATCH 026/259] update manifest.in --- MANIFEST.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 9f349ba4..be30f32c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,7 +3,7 @@ include CHANGES.md LICENSE README.md include config.py.sample recursive-include ibm_db_tests *.py *.png *.jpg include MANIFEST.in -recursive-include clidriver * +recursive-exclude clidriver * recursive-include ibm_db_dlls * recursive-include certs * exclude config.py From c0266c6ba3fef49d1ea75de69af8bc37b588ee9c Mon Sep 17 00:00:00 2001 From: ek Date: Tue, 11 Jul 2023 14:30:06 +0530 Subject: [PATCH 027/259] test with version 3.1.4.5 --- ibm_db.c | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ibm_db.c b/ibm_db.c index 0fb082cb..c3cfb3ef 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.4" +#define MODULE_RELEASE "3.1.4.5" #include #include diff --git a/setup.py b/setup.py index 0e616cd8..d1209905 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.4' +VERSION = '3.1.4.5' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From c053576de632bbd5237bc9f6d4b378beccad380e Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 17 Jul 2023 18:51:39 +0530 Subject: [PATCH 028/259] test on setting env in pyproject.toml --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index aa756fc9..cf915a5e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,4 +2,7 @@ requires = ["setuptools"] build-backend = "setuptools.build_meta" [tool.cibuildwheel.macos] -repair-wheel-command = "delocate-wheel --ignore-missing-dependencies --require-archs {delocate_archs} -w {dest_dir} -v {wheel}" \ No newline at end of file +repair-wheel-command = "delocate-wheel --ignore-missing-dependencies --require-archs {delocate_archs} -w {dest_dir} -v {wheel}" + + +environment = { PATH="$PATH:/usr/lib/python3/dist-packages/clidriver/bin:/usr/lib/python3/dist-packages/ibm_db-3.1.4.3-py3.1-linux-x86_64.egg/clidriver/bin" } From 60759a0d911e30f3053956d9ac4baaf8271266b2 Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 17 Jul 2023 18:55:59 +0530 Subject: [PATCH 029/259] update MANIFEST.in --- MANIFEST.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index be30f32c..14417897 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,7 +3,7 @@ include CHANGES.md LICENSE README.md include config.py.sample recursive-include ibm_db_tests *.py *.png *.jpg include MANIFEST.in -recursive-exclude clidriver * +recursive-include clidriver * recursive-include ibm_db_dlls * recursive-include certs * -exclude config.py +exclude config.py \ No newline at end of file From 7be5653e94de71d8925480848b6bb56aa96fabe4 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 17 Jul 2023 19:04:40 +0530 Subject: [PATCH 030/259] Update test_script_to_exclude_clidriver.yml --- .github/workflows/test_script_to_exclude_clidriver.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_script_to_exclude_clidriver.yml b/.github/workflows/test_script_to_exclude_clidriver.yml index 59d65021..fe2d623a 100644 --- a/.github/workflows/test_script_to_exclude_clidriver.yml +++ b/.github/workflows/test_script_to_exclude_clidriver.yml @@ -85,16 +85,15 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip build - - name: Build sdist - run: python -m build --sdist --no-isolation - name: Delete clidriver run: | ls -la - rm -r dist/clidriver/* + rm -r clidriver/* ls -la + - name: Build sdist + run: python -m build --sdist --no-isolation - name: Upload sdist uses: actions/upload-artifact@v3 with: path: | ./dist/*.tar.gz - !./dist/clidriver/* \ No newline at end of file From 4eeabadc83a2b90e019fa2a15b1c4a9b7b5d78af Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 17 Jul 2023 19:48:30 +0530 Subject: [PATCH 031/259] Update test_script_to_exclude_clidriver.yml --- .github/workflows/test_script_to_exclude_clidriver.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test_script_to_exclude_clidriver.yml b/.github/workflows/test_script_to_exclude_clidriver.yml index fe2d623a..39959d23 100644 --- a/.github/workflows/test_script_to_exclude_clidriver.yml +++ b/.github/workflows/test_script_to_exclude_clidriver.yml @@ -85,11 +85,11 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip build - - name: Delete clidriver - run: | - ls -la - rm -r clidriver/* - ls -la + # - name: Delete clidriver + # run: | + # ls -la + # rm -r clidriver/* + # ls -la - name: Build sdist run: python -m build --sdist --no-isolation - name: Upload sdist From 292210c73f420770a91e1a861403a6d4612c066b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 18 Jul 2023 09:23:21 +0530 Subject: [PATCH 032/259] Update test_script_to_exclude_clidriver.yml --- .github/workflows/test_script_to_exclude_clidriver.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test_script_to_exclude_clidriver.yml b/.github/workflows/test_script_to_exclude_clidriver.yml index 39959d23..58e7b7b9 100644 --- a/.github/workflows/test_script_to_exclude_clidriver.yml +++ b/.github/workflows/test_script_to_exclude_clidriver.yml @@ -82,6 +82,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + env: + CIBW_ENVIRONMENT:: PATH="$PATH:/usr/lib/python3/dist-packages/clidriver/bin:/usr/lib/python3/dist-packages/ibm_db-3.1.4.3-py3.1-linux-x86_64.egg/clidriver/bin" - name: Install Python dependencies run: | python -m pip install --upgrade pip build From 967a8a085f0de11ced0109bef821bf4ce89b8bf2 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 18 Jul 2023 09:26:02 +0530 Subject: [PATCH 033/259] Update test_script_to_exclude_clidriver.yml --- .github/workflows/test_script_to_exclude_clidriver.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test_script_to_exclude_clidriver.yml b/.github/workflows/test_script_to_exclude_clidriver.yml index 58e7b7b9..83f74be0 100644 --- a/.github/workflows/test_script_to_exclude_clidriver.yml +++ b/.github/workflows/test_script_to_exclude_clidriver.yml @@ -93,6 +93,8 @@ jobs: # rm -r clidriver/* # ls -la - name: Build sdist + env: + CIBW_ENVIRONMENT:: PATH="$PATH:/usr/lib/python3/dist-packages/clidriver/bin:/usr/lib/python3/dist-packages/ibm_db-3.1.4.3-py3.1-linux-x86_64.egg/clidriver/bin" run: python -m build --sdist --no-isolation - name: Upload sdist uses: actions/upload-artifact@v3 From 31b0798772e70789e14ee26ed7d1d665103b7def Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 18 Jul 2023 09:31:09 +0530 Subject: [PATCH 034/259] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index cf915a5e..a622d1e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,5 +4,5 @@ build-backend = "setuptools.build_meta" [tool.cibuildwheel.macos] repair-wheel-command = "delocate-wheel --ignore-missing-dependencies --require-archs {delocate_archs} -w {dest_dir} -v {wheel}" - +[tool.cibuildwheel.linux] environment = { PATH="$PATH:/usr/lib/python3/dist-packages/clidriver/bin:/usr/lib/python3/dist-packages/ibm_db-3.1.4.3-py3.1-linux-x86_64.egg/clidriver/bin" } From 89b4ffd676f29cf74e58bfbec88225404eb6a554 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 13:11:00 +0530 Subject: [PATCH 035/259] Update test_script_to_exclude_clidriver.yml --- .../test_script_to_exclude_clidriver.yml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test_script_to_exclude_clidriver.yml b/.github/workflows/test_script_to_exclude_clidriver.yml index 83f74be0..be0de99a 100644 --- a/.github/workflows/test_script_to_exclude_clidriver.yml +++ b/.github/workflows/test_script_to_exclude_clidriver.yml @@ -82,20 +82,20 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - env: - CIBW_ENVIRONMENT:: PATH="$PATH:/usr/lib/python3/dist-packages/clidriver/bin:/usr/lib/python3/dist-packages/ibm_db-3.1.4.3-py3.1-linux-x86_64.egg/clidriver/bin" + #env: + # CIBW_ENVIRONMENT:: PATH="$PATH:/usr/lib/python3/dist-packages/clidriver/bin:/usr/lib/python3/dist-packages/ibm_db-3.1.4.3-py3.1-linux-x86_64.egg/clidriver/bin" - name: Install Python dependencies run: | python -m pip install --upgrade pip build - # - name: Delete clidriver - # run: | - # ls -la - # rm -r clidriver/* - # ls -la - name: Build sdist - env: - CIBW_ENVIRONMENT:: PATH="$PATH:/usr/lib/python3/dist-packages/clidriver/bin:/usr/lib/python3/dist-packages/ibm_db-3.1.4.3-py3.1-linux-x86_64.egg/clidriver/bin" - run: python -m build --sdist --no-isolation + #env: + #CIBW_ENVIRONMENT:: PATH="$PATH:/usr/lib/python3/dist-packages/clidriver/bin:/usr/lib/python3/dist-packages/ibm_db-3.1.4.3-py3.1-linux-x86_64.egg/clidriver/bin" + run: | + python -m build --sdist --no-isolation + ls + cd dist + ls + - name: Upload sdist uses: actions/upload-artifact@v3 with: From a428b5eec8b59733cd01e5a52671d04c74459917 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 13:59:00 +0530 Subject: [PATCH 036/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index ee80da3c..66ab7a07 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + #branches: + # - test_wheel #tags: # - 'v* release: From 41bf5db21690404051085e31b091e92c615c4b93 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 13:59:22 +0530 Subject: [PATCH 037/259] Update test_script_to_exclude_clidriver.yml --- .github/workflows/test_script_to_exclude_clidriver.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_script_to_exclude_clidriver.yml b/.github/workflows/test_script_to_exclude_clidriver.yml index be0de99a..8d03582d 100644 --- a/.github/workflows/test_script_to_exclude_clidriver.yml +++ b/.github/workflows/test_script_to_exclude_clidriver.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + # branches: + # - test_wheel #tags: # - 'v* release: From 57e6c025d7d171625747bae642f476181473cb56 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:07:37 +0530 Subject: [PATCH 038/259] Create test_sdist.yml --- .github/workflows/test_sdist.yml | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/test_sdist.yml diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml new file mode 100644 index 00000000..2bb553df --- /dev/null +++ b/.github/workflows/test_sdist.yml @@ -0,0 +1,35 @@ +name: Build and upload to PyPI + +# Build on every branch push, tag push, and pull request change: +on: + workflow_dispatch: + pull_request: + push: + branches: + - test_wheel + #tags: + # - 'v* + release: + types: + - published +jobs: + build_sdist: + name: Build source distribution + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Python dependencies + run: | + python -m pip install --upgrade pip build + - name: Build sdist + run: | + python -m build --sdist --no-isolation + ls + tar -xzvf ./dist/*.tar.gz + cd ibm_db* + ls + - name: Upload sdist + uses: actions/upload-artifact@v3 + with: + path: | + ./dist/*.tar.gz From 2e2ed047c66e3bdf7aa0a82ec43bcd6cd3e04054 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:10:57 +0530 Subject: [PATCH 039/259] Update test_script_to_exclude_clidriver.yml --- .github/workflows/test_script_to_exclude_clidriver.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_script_to_exclude_clidriver.yml b/.github/workflows/test_script_to_exclude_clidriver.yml index 8d03582d..439d48eb 100644 --- a/.github/workflows/test_script_to_exclude_clidriver.yml +++ b/.github/workflows/test_script_to_exclude_clidriver.yml @@ -93,8 +93,10 @@ jobs: run: | python -m build --sdist --no-isolation ls - cd dist - ls + - name: run cd dist and ls + run: | + cd dist + ls - name: Upload sdist uses: actions/upload-artifact@v3 From 8a9733b3d3bffb7e8b977fd662732fa85eac28dc Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:15:28 +0530 Subject: [PATCH 040/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 2bb553df..ff14bb21 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -25,9 +25,15 @@ jobs: run: | python -m build --sdist --no-isolation ls - tar -xzvf ./dist/*.tar.gz - cd ibm_db* - ls + - name: untar *.tar.gz file + run: | + tar -xzvf ./dist/*.tar.gz + - name: cd ibm_db* and ls + run: | + cd ibm_db* + ls + - name: remove clidriver directory + run: rm -rf clidriver* - name: Upload sdist uses: actions/upload-artifact@v3 with: From 0cc9d226ee965207eb1e7ef1297637ddf29a23a6 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:18:14 +0530 Subject: [PATCH 041/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index ff14bb21..7291414f 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -30,10 +30,10 @@ jobs: tar -xzvf ./dist/*.tar.gz - name: cd ibm_db* and ls run: | - cd ibm_db* + cd ./dist/ibm_db* ls - name: remove clidriver directory - run: rm -rf clidriver* + run: rm -rf dist/ibm_db*/clidriver* - name: Upload sdist uses: actions/upload-artifact@v3 with: From 8d1d52465a18bd1e190039b25e9bd0b1a50a0b11 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:21:41 +0530 Subject: [PATCH 042/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 7291414f..de7c2037 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -28,9 +28,9 @@ jobs: - name: untar *.tar.gz file run: | tar -xzvf ./dist/*.tar.gz - - name: cd ibm_db* and ls + - name: cd dist and ls run: | - cd ./dist/ibm_db* + cd ./dist/ ls - name: remove clidriver directory run: rm -rf dist/ibm_db*/clidriver* From 7b3e6f032f55de783812bc8f65c001fb5489e81b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:26:55 +0530 Subject: [PATCH 043/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index de7c2037..3fd05cfe 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -34,6 +34,8 @@ jobs: ls - name: remove clidriver directory run: rm -rf dist/ibm_db*/clidriver* + - name: list file [ls] after removing clidriver + run: ls - name: Upload sdist uses: actions/upload-artifact@v3 with: From cc7ab93c8ce5eca7c7be4db4b9ee2c2142a8da7a Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:30:39 +0530 Subject: [PATCH 044/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 3fd05cfe..48abce60 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -25,9 +25,12 @@ jobs: run: | python -m build --sdist --no-isolation ls - - name: untar *.tar.gz file + - name: untar *.tar.gz file and delete clidriver run: | + pwd tar -xzvf ./dist/*.tar.gz + rm -rf ./dist/ibm_db-3.1.4.5/clidriver* + - name: cd dist and ls run: | cd ./dist/ From 0d44785735b4887be350e589076412d220a84d31 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:36:09 +0530 Subject: [PATCH 045/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 48abce60..0c6a9214 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -29,7 +29,7 @@ jobs: run: | pwd tar -xzvf ./dist/*.tar.gz - rm -rf ./dist/ibm_db-3.1.4.5/clidriver* + rm -rf ./ibm_db-3.1.4.5/clidriver* - name: cd dist and ls run: | From a30f44cc0050a3c5347bc876e1032b4c367d8592 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:40:49 +0530 Subject: [PATCH 046/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 0c6a9214..b4d7f91b 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -38,7 +38,7 @@ jobs: - name: remove clidriver directory run: rm -rf dist/ibm_db*/clidriver* - name: list file [ls] after removing clidriver - run: ls + run: ls clidriver - name: Upload sdist uses: actions/upload-artifact@v3 with: From 2e37b92fa365d5e418ad56c0ae25b85832b2f520 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 15:09:19 +0530 Subject: [PATCH 047/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index b4d7f91b..b20b815c 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -24,21 +24,15 @@ jobs: - name: Build sdist run: | python -m build --sdist --no-isolation - ls - name: untar *.tar.gz file and delete clidriver run: | - pwd tar -xzvf ./dist/*.tar.gz - rm -rf ./ibm_db-3.1.4.5/clidriver* - - - name: cd dist and ls - run: | - cd ./dist/ - ls - name: remove clidriver directory - run: rm -rf dist/ibm_db*/clidriver* + run: rm -rf dist/ibm_db-3.1.4.5/clidriver* - name: list file [ls] after removing clidriver - run: ls clidriver + run: ls clidriver + - name: create tar file + run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ - name: Upload sdist uses: actions/upload-artifact@v3 with: From 48b8352fb2e0ae606a21711681e4898b06e4e110 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 15:16:15 +0530 Subject: [PATCH 048/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index b20b815c..7b6b0f60 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -27,6 +27,8 @@ jobs: - name: untar *.tar.gz file and delete clidriver run: | tar -xzvf ./dist/*.tar.gz + - name: pwd command + run: pwd - name: remove clidriver directory run: rm -rf dist/ibm_db-3.1.4.5/clidriver* - name: list file [ls] after removing clidriver From e04f9f80ed672b06dd1f7908ff63bf27a329b28d Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 15:33:18 +0530 Subject: [PATCH 049/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 7b6b0f60..1a225d12 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -22,13 +22,11 @@ jobs: run: | python -m pip install --upgrade pip build - name: Build sdist - run: | - python -m build --sdist --no-isolation + run: python -m build --sdist --no-isolation - name: untar *.tar.gz file and delete clidriver - run: | - tar -xzvf ./dist/*.tar.gz - - name: pwd command - run: pwd + run: tar -xzvf ./dist/*.tar.gz + - name: ls command + run: ls - name: remove clidriver directory run: rm -rf dist/ibm_db-3.1.4.5/clidriver* - name: list file [ls] after removing clidriver From a4325d9e5d110a612f2d35ece0d86c75a192b977 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 15:35:28 +0530 Subject: [PATCH 050/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 1a225d12..63321d7a 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -28,7 +28,7 @@ jobs: - name: ls command run: ls - name: remove clidriver directory - run: rm -rf dist/ibm_db-3.1.4.5/clidriver* + run: rm -rf dist/ibm_db-3.1.4.5/clidriver - name: list file [ls] after removing clidriver run: ls clidriver - name: create tar file From cf076806961fbb34147c5d43af3d2c644a714038 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 15:37:25 +0530 Subject: [PATCH 051/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 63321d7a..d1cfae99 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -26,7 +26,7 @@ jobs: - name: untar *.tar.gz file and delete clidriver run: tar -xzvf ./dist/*.tar.gz - name: ls command - run: ls + run: ls dist - name: remove clidriver directory run: rm -rf dist/ibm_db-3.1.4.5/clidriver - name: list file [ls] after removing clidriver From 9447023b81f45c5bb322e2ec51b57c58f05497af Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 16:17:33 +0530 Subject: [PATCH 052/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index d1cfae99..6d2c6142 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -21,16 +21,16 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip build - - name: Build sdist - run: python -m build --sdist --no-isolation - - name: untar *.tar.gz file and delete clidriver - run: tar -xzvf ./dist/*.tar.gz - - name: ls command - run: ls dist - - name: remove clidriver directory - run: rm -rf dist/ibm_db-3.1.4.5/clidriver - - name: list file [ls] after removing clidriver - run: ls clidriver + #- name: Build sdist + # run: python -m build --sdist --no-isolation + #- name: untar *.tar.gz file and delete clidriver + # run: tar -xzvf ./dist/*.tar.gz + #- name: ls command + # run: ls dist + #- name: remove clidriver directory + #run: rm -rf ./clidriver + #- name: list file [ls] after removing clidriver + # run: ls clidriver - name: create tar file run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ - name: Upload sdist From 4c1e402f9ecd497bd9907a8419d355090a6c06c4 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 16:18:28 +0530 Subject: [PATCH 053/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 6d2c6142..32747e11 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -32,7 +32,7 @@ jobs: #- name: list file [ls] after removing clidriver # run: ls clidriver - name: create tar file - run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ + run: tar -czvf ibm_db-3.1.4.5.tar.gz . - name: Upload sdist uses: actions/upload-artifact@v3 with: From 182a5e6fdd346d4d4fba6d4be0fc9ec5a7d0abf6 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 16:20:39 +0530 Subject: [PATCH 054/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 32747e11..6d2c6142 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -32,7 +32,7 @@ jobs: #- name: list file [ls] after removing clidriver # run: ls clidriver - name: create tar file - run: tar -czvf ibm_db-3.1.4.5.tar.gz . + run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ - name: Upload sdist uses: actions/upload-artifact@v3 with: From 0248baa9a33fc2be4477ed762b02bc442c286e26 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 16:24:32 +0530 Subject: [PATCH 055/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 6d2c6142..1a725874 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -21,16 +21,16 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip build - #- name: Build sdist - # run: python -m build --sdist --no-isolation - #- name: untar *.tar.gz file and delete clidriver - # run: tar -xzvf ./dist/*.tar.gz - #- name: ls command - # run: ls dist - #- name: remove clidriver directory - #run: rm -rf ./clidriver - #- name: list file [ls] after removing clidriver - # run: ls clidriver + - name: Build sdist + run: python -m build --sdist --no-isolation + - name: untar *.tar.gz file and delete clidriver + run: tar -xzvf ./dist/*.tar.gz + - name: ls command + run: ls dist + - name: remove clidriver directory + run: rm -rf ./clidriver + - name: list file [ls] after removing clidriver + run: ls clidriver - name: create tar file run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ - name: Upload sdist From b24b5fe13fd32f1be1cb571e7d4ed435aff623c2 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 16:32:17 +0530 Subject: [PATCH 056/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 1a725874..26bc5398 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -28,7 +28,7 @@ jobs: - name: ls command run: ls dist - name: remove clidriver directory - run: rm -rf ./clidriver + run: rm -rf ./ibm_db-3.1.4.5/clidriver - name: list file [ls] after removing clidriver run: ls clidriver - name: create tar file From 9bd51eb047a9d0f095fa1a7493ff12ad2add48d9 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 16:35:51 +0530 Subject: [PATCH 057/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 26bc5398..d9d995f3 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -28,7 +28,7 @@ jobs: - name: ls command run: ls dist - name: remove clidriver directory - run: rm -rf ./ibm_db-3.1.4.5/clidriver + run: rm -rf ./dist/ibm_db-3.1.4.5/clidriver - name: list file [ls] after removing clidriver run: ls clidriver - name: create tar file From 6924a0df673640029d4a4fa0fa000c5feba7a121 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 16:37:19 +0530 Subject: [PATCH 058/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index d9d995f3..45f3a67b 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -28,7 +28,7 @@ jobs: - name: ls command run: ls dist - name: remove clidriver directory - run: rm -rf ./dist/ibm_db-3.1.4.5/clidriver + run: rm -rf ./dist/ibm_db-3.1.4.5/clidriver/* - name: list file [ls] after removing clidriver run: ls clidriver - name: create tar file From 759c95eadc8c8bc6dbbaeb4e8a8c16530f9923e8 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 17:38:53 +0530 Subject: [PATCH 059/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 45f3a67b..fd1d6be0 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -24,7 +24,9 @@ jobs: - name: Build sdist run: python -m build --sdist --no-isolation - name: untar *.tar.gz file and delete clidriver - run: tar -xzvf ./dist/*.tar.gz + run: | + cd ./dist + tar -xzvf ./dist/*.tar.gz - name: ls command run: ls dist - name: remove clidriver directory From 318aedb9e4a19c10be1e530468ab776e53b6b795 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 17:44:22 +0530 Subject: [PATCH 060/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index fd1d6be0..41fe4f40 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -23,12 +23,13 @@ jobs: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation + - name : ls command before untar + run: ls - name: untar *.tar.gz file and delete clidriver run: | - cd ./dist tar -xzvf ./dist/*.tar.gz - - name: ls command - run: ls dist + - name: ls command after untar + run: ls - name: remove clidriver directory run: rm -rf ./dist/ibm_db-3.1.4.5/clidriver/* - name: list file [ls] after removing clidriver From 926a11974a5fe01e956daf3a8039e67b018c25f2 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 17:47:20 +0530 Subject: [PATCH 061/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 41fe4f40..96bbdcfc 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -31,7 +31,7 @@ jobs: - name: ls command after untar run: ls - name: remove clidriver directory - run: rm -rf ./dist/ibm_db-3.1.4.5/clidriver/* + run: rm -rf ./ibm_db-3.1.4.5/clidriver/* - name: list file [ls] after removing clidriver run: ls clidriver - name: create tar file From 98c496ec635273cfef1b121b0939003e72ec3ea8 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 17:50:15 +0530 Subject: [PATCH 062/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 96bbdcfc..a2affcf7 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -33,7 +33,7 @@ jobs: - name: remove clidriver directory run: rm -rf ./ibm_db-3.1.4.5/clidriver/* - name: list file [ls] after removing clidriver - run: ls clidriver + run: ls ./ibm_db-3.1.4.5/clidriver/* - name: create tar file run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ - name: Upload sdist From 20cf26ae0be80dd798c89159da9438cdd275ad93 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 17:52:20 +0530 Subject: [PATCH 063/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index a2affcf7..2a8e9b86 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -33,7 +33,7 @@ jobs: - name: remove clidriver directory run: rm -rf ./ibm_db-3.1.4.5/clidriver/* - name: list file [ls] after removing clidriver - run: ls ./ibm_db-3.1.4.5/clidriver/* + run: ls ./ibm_db-3.1.4.5/* - name: create tar file run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ - name: Upload sdist From 4fecb805b63a0e5a70cc2df062a7116c6fe5f730 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 17:55:57 +0530 Subject: [PATCH 064/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 2a8e9b86..d2a90f7a 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -33,7 +33,7 @@ jobs: - name: remove clidriver directory run: rm -rf ./ibm_db-3.1.4.5/clidriver/* - name: list file [ls] after removing clidriver - run: ls ./ibm_db-3.1.4.5/* + run: ls ./ibm_db-3.1.4.5/clidriver - name: create tar file run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ - name: Upload sdist From 8a182dc9b32eeb10b509446d249a78cba7320a13 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 17:57:56 +0530 Subject: [PATCH 065/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index d2a90f7a..1d963e3d 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -33,7 +33,7 @@ jobs: - name: remove clidriver directory run: rm -rf ./ibm_db-3.1.4.5/clidriver/* - name: list file [ls] after removing clidriver - run: ls ./ibm_db-3.1.4.5/clidriver + run: ls -la ./ibm_db-3.1.4.5/clidriver - name: create tar file run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ - name: Upload sdist From 14c271b420e44b86dd45b6aecf6077d48ab87387 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 18:00:24 +0530 Subject: [PATCH 066/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 1d963e3d..1d7ea179 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + # branches: + # - test_wheel #tags: # - 'v* release: From 56792a6c4f8e19d8f33785eab221af1c3ee99432 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 18:02:27 +0530 Subject: [PATCH 067/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 66ab7a07..0a2268aa 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -87,13 +87,25 @@ jobs: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation + - name : ls command before untar + run: ls + - name: untar *.tar.gz file and delete clidriver + run: | + tar -xzvf ./dist/*.tar.gz + - name: ls command after untar + run: ls + - name: remove clidriver directory + run: rm -rf ./ibm_db-3.1.4.5/clidriver/* + - name: list file [ls] after removing clidriver + run: ls -la ./ibm_db-3.1.4.5/clidriver + - name: create tar file + run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ - name: Upload sdist uses: actions/upload-artifact@v3 with: path: | - ./dist/*.tar.gz - !./dist/clidriver/ - + ./dist/*.tar.gz + upload_pypi: needs: [build_sdist,build_wheels_macos_linux, build_wheels_windows_64,build_wheels_windows_32] runs-on: ${{ matrix.os }} From 10241849193d612ee05792a852e22861ec24a9a7 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 18:03:03 +0530 Subject: [PATCH 068/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index c3cfb3ef..a03971af 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.5" +#define MODULE_RELEASE "3.1.4.6" #include #include From 337dfcd38d56faade4cc0a506dc9851d71527f89 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 18:03:26 +0530 Subject: [PATCH 069/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d1209905..15b4916a 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.5' +VERSION = '3.1.4.6' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From ddb3569661c84040e3a0c71d318b186d25dba1b7 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 18:04:03 +0530 Subject: [PATCH 070/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 0a2268aa..ca119827 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - #push: - #branches: - # - test_wheel + push: + branches: + - test_wheel #tags: # - 'v* release: From 1d322930e3f125451de63fded927d51f71428767 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 18:06:55 +0530 Subject: [PATCH 071/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index ca119827..45cbf851 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -97,7 +97,7 @@ jobs: - name: remove clidriver directory run: rm -rf ./ibm_db-3.1.4.5/clidriver/* - name: list file [ls] after removing clidriver - run: ls -la ./ibm_db-3.1.4.5/clidriver + run: ls -la ./ibm_db-3.1.4.5/ - name: create tar file run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ - name: Upload sdist From 711022fb6fd1ddd389929ea9c2beed5e4228040b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 18:08:47 +0530 Subject: [PATCH 072/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 45cbf851..75e2bdf7 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -95,9 +95,9 @@ jobs: - name: ls command after untar run: ls - name: remove clidriver directory - run: rm -rf ./ibm_db-3.1.4.5/clidriver/* + run: rm -rf ./ibm_db-3.1.4.6/clidriver/* - name: list file [ls] after removing clidriver - run: ls -la ./ibm_db-3.1.4.5/ + run: ls -la ./ibm_db-3.1.4.6/ - name: create tar file run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ - name: Upload sdist From 0b19fdd75228df834068740777d486bb3a4177ae Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 19:19:42 +0530 Subject: [PATCH 073/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 75e2bdf7..5531186a 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + # branches: + # - test_wheel #tags: # - 'v* release: @@ -99,7 +99,7 @@ jobs: - name: list file [ls] after removing clidriver run: ls -la ./ibm_db-3.1.4.6/ - name: create tar file - run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ + run: tar -czvf ibm_db-3.1.4.6.tar.gz - name: Upload sdist uses: actions/upload-artifact@v3 with: From 98a8ac0dc08d3ce096babc023deb28bc10664f5f Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Tue, 25 Jul 2023 19:20:34 +0530 Subject: [PATCH 074/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 1d7ea179..031ccf70 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - #push: - # branches: - # - test_wheel + push: + branches: + - test_wheel #tags: # - 'v* release: @@ -36,6 +36,8 @@ jobs: run: ls -la ./ibm_db-3.1.4.5/clidriver - name: create tar file run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ + - name: ls after create tar file + run: ls - name: Upload sdist uses: actions/upload-artifact@v3 with: From 85f4be44cb82b876269c15a105fdc7d38069b97a Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 09:42:46 +0530 Subject: [PATCH 075/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 031ccf70..54dece71 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -37,7 +37,11 @@ jobs: - name: create tar file run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ - name: ls after create tar file - run: ls + run: | + echo "here is files" + ls + echo " "lsunder path dist" + ls - name: Upload sdist uses: actions/upload-artifact@v3 with: From 41a9842438e27b54036fa44375eb0423691f194b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 09:44:24 +0530 Subject: [PATCH 076/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 54dece71..a6e1a37d 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -31,11 +31,11 @@ jobs: - name: ls command after untar run: ls - name: remove clidriver directory - run: rm -rf ./ibm_db-3.1.4.5/clidriver/* + run: rm -rf ./ibm_db-3.1.4.6/clidriver/* - name: list file [ls] after removing clidriver - run: ls -la ./ibm_db-3.1.4.5/clidriver + run: ls -la ./ibm_db-3.1.4.6/clidriver - name: create tar file - run: tar -czvf ibm_db-3.1.4.5.tar.gz ./dist/ + run: tar -czvf ibm_db-3.1.4.6.tar.gz ./dist/ - name: ls after create tar file run: | echo "here is files" From f87e1448638a46c63b2a9e9093ac0f85264be056 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 09:46:29 +0530 Subject: [PATCH 077/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index a6e1a37d..d017dda6 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -40,7 +40,7 @@ jobs: run: | echo "here is files" ls - echo " "lsunder path dist" + echo "ls under path dist" ls - name: Upload sdist uses: actions/upload-artifact@v3 From 4830f537fc70663a2371d5c525b335a1e87ab518 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 09:49:16 +0530 Subject: [PATCH 078/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index d017dda6..4a53fd98 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -31,7 +31,7 @@ jobs: - name: ls command after untar run: ls - name: remove clidriver directory - run: rm -rf ./ibm_db-3.1.4.6/clidriver/* + run: rm -rf ./ibm_db-3.1.4.6/clidriver* - name: list file [ls] after removing clidriver run: ls -la ./ibm_db-3.1.4.6/clidriver - name: create tar file From 87893db6fc0eee7388bc4527784b798aaa338443 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 09:53:04 +0530 Subject: [PATCH 079/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 4a53fd98..a65d97d1 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -32,10 +32,8 @@ jobs: run: ls - name: remove clidriver directory run: rm -rf ./ibm_db-3.1.4.6/clidriver* - - name: list file [ls] after removing clidriver - run: ls -la ./ibm_db-3.1.4.6/clidriver - name: create tar file - run: tar -czvf ibm_db-3.1.4.6.tar.gz ./dist/ + run: tar -czvf ibm_db-3.1.4.6.tar.gz . - name: ls after create tar file run: | echo "here is files" From c10092e175d90857ac3cbfd154fa3d77602e96e4 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 09:55:22 +0530 Subject: [PATCH 080/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index a65d97d1..f3707838 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -33,7 +33,7 @@ jobs: - name: remove clidriver directory run: rm -rf ./ibm_db-3.1.4.6/clidriver* - name: create tar file - run: tar -czvf ibm_db-3.1.4.6.tar.gz . + run: tar -czvf ibm_db-3.1.4.6.tar.gz ./dist/ - name: ls after create tar file run: | echo "here is files" From 4499648929ddc056bb9dad139cb1d12efde449dc Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:01:39 +0530 Subject: [PATCH 081/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index f3707838..6c2c92c3 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -31,7 +31,9 @@ jobs: - name: ls command after untar run: ls - name: remove clidriver directory - run: rm -rf ./ibm_db-3.1.4.6/clidriver* + run: | + rm -rf ./ibm_db-3.1.4.6/clidriver* + rm -rf ./dist/ibm_db-3.1.4.6/clidriver* - name: create tar file run: tar -czvf ibm_db-3.1.4.6.tar.gz ./dist/ - name: ls after create tar file From e3c6230e6c49e9de1c2789a6620769c55c49d6fa Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:12:44 +0530 Subject: [PATCH 082/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 6c2c92c3..86ee9d64 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -42,6 +42,8 @@ jobs: ls echo "ls under path dist" ls + - name: content of ibm_db-3.1.4.6 + run: ls ./dist/ibm_db-3.1.4.6/ - name: Upload sdist uses: actions/upload-artifact@v3 with: From 739474dd230a5d49eb6147949abf2679ba493411 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:14:52 +0530 Subject: [PATCH 083/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 86ee9d64..e477131a 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -43,9 +43,9 @@ jobs: echo "ls under path dist" ls - name: content of ibm_db-3.1.4.6 - run: ls ./dist/ibm_db-3.1.4.6/ + run: ls ./ibm_db-3.1.4.6/ - name: Upload sdist uses: actions/upload-artifact@v3 with: path: | - ./dist/*.tar.gz + ./*.tar.gz From a7af0011a2d9da1925cfa4f46c73f625c67b946a Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:17:49 +0530 Subject: [PATCH 084/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index e477131a..36fa3bcc 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + # branches: + # - test_wheel #tags: # - 'v* release: From cde25209e22a8f55c8fdd0afdda6869c7daa008d Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:18:19 +0530 Subject: [PATCH 085/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index a03971af..cc8d48ec 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.6" +#define MODULE_RELEASE "3.1.4.7" #include #include From 1cd00c1fc2e38746f0fe1e5200055281ed0727cb Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:18:40 +0530 Subject: [PATCH 086/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 15b4916a..41dc9fdd 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.6' +VERSION = '3.1.4.7' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From a7c12805d4df33e504b00252d0b37adfe3bced9c Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:21:33 +0530 Subject: [PATCH 087/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 26 ++++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 5531186a..dcb4bf19 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - #push: - # branches: - # - test_wheel + push: + branches: + - test_wheel #tags: # - 'v* release: @@ -95,17 +95,25 @@ jobs: - name: ls command after untar run: ls - name: remove clidriver directory - run: rm -rf ./ibm_db-3.1.4.6/clidriver/* - - name: list file [ls] after removing clidriver - run: ls -la ./ibm_db-3.1.4.6/ + run: | + rm -rf ./ibm_db-3.1.4.7/clidriver* + rm -rf ./dist/ibm_db-3.1.4.7/clidriver* - name: create tar file - run: tar -czvf ibm_db-3.1.4.6.tar.gz + run: tar -czvf ibm_db-3.1.4.7.tar.gz ./dist/ + - name: ls after create tar file + run: | + echo "here is files" + ls + echo "ls under path dist" + ls + - name: content of ibm_db-3.1.4.7 + run: ls ./ibm_db-3.1.4.7/ - name: Upload sdist uses: actions/upload-artifact@v3 with: path: | - ./dist/*.tar.gz - + ./*.tar.gz + upload_pypi: needs: [build_sdist,build_wheels_macos_linux, build_wheels_windows_64,build_wheels_windows_32] runs-on: ${{ matrix.os }} From c49847a187541523a35907db053b832dd6fd2928 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:52:04 +0530 Subject: [PATCH 088/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index dcb4bf19..4c36d1cc 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + # branches: + # - test_wheel #tags: # - 'v* release: From 91407b997e8d926db41f381b1f92186230e9fffd Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:53:48 +0530 Subject: [PATCH 089/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 36fa3bcc..c9e611cc 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - #push: - # branches: - # - test_wheel + push: + branches: + - test_wheel #tags: # - 'v* release: @@ -32,20 +32,22 @@ jobs: run: ls - name: remove clidriver directory run: | - rm -rf ./ibm_db-3.1.4.6/clidriver* - rm -rf ./dist/ibm_db-3.1.4.6/clidriver* + rm -rf ./ibm_db-3.1.4.7/clidriver* + rm -rf ./dist/ibm_db-3.1.4.7/clidriver* - name: create tar file - run: tar -czvf ibm_db-3.1.4.6.tar.gz ./dist/ + run: tar -czvf ibm_db-3.1.4.7.tar.gz ./dist/ - name: ls after create tar file run: | echo "here is files" ls echo "ls under path dist" ls - - name: content of ibm_db-3.1.4.6 + - name: content of ibm_db-3.1.4.7 run: ls ./ibm_db-3.1.4.6/ + - name: content of dist/ibm_db-3.1.4.7 + run: ls ./dist/ibm_db-3.1.4.7 - name: Upload sdist uses: actions/upload-artifact@v3 with: path: | - ./*.tar.gz + ./dist/*.tar.gz From 41866eb152ef4204ebe1635b4ead5774ba540213 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:55:21 +0530 Subject: [PATCH 090/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index c9e611cc..b9ba796e 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -43,7 +43,7 @@ jobs: echo "ls under path dist" ls - name: content of ibm_db-3.1.4.7 - run: ls ./ibm_db-3.1.4.6/ + run: ls ./ibm_db-3.1.4.7/ - name: content of dist/ibm_db-3.1.4.7 run: ls ./dist/ibm_db-3.1.4.7 - name: Upload sdist From d7a6f3bb59fbe3433ab3efdf1fe0e116c9f9836c Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:09:37 +0530 Subject: [PATCH 091/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index b9ba796e..28fc4528 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -27,9 +27,9 @@ jobs: run: ls - name: untar *.tar.gz file and delete clidriver run: | - tar -xzvf ./dist/*.tar.gz - - name: ls command after untar - run: ls + tar -xzvf ./dist/*.tar.gz ./dist/ + - name: ls command after untar in dist + run: ls ./dist - name: remove clidriver directory run: | rm -rf ./ibm_db-3.1.4.7/clidriver* From 9de941190c2ced565045b47ac00dce67b9eb98f3 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:12:34 +0530 Subject: [PATCH 092/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 28fc4528..11e7dc1e 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -25,6 +25,8 @@ jobs: run: python -m build --sdist --no-isolation - name : ls command before untar run: ls + - name: ls before untar for dist + run: ls - name: untar *.tar.gz file and delete clidriver run: | tar -xzvf ./dist/*.tar.gz ./dist/ From 44089245d37eda3ae8077b50de52c160c65099d4 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:14:02 +0530 Subject: [PATCH 093/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 11e7dc1e..206e5a3e 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -31,7 +31,7 @@ jobs: run: | tar -xzvf ./dist/*.tar.gz ./dist/ - name: ls command after untar in dist - run: ls ./dist + run: ls ./dist/ - name: remove clidriver directory run: | rm -rf ./ibm_db-3.1.4.7/clidriver* From 7cb91a62a6964d994bf15c36fab3a917bcb343f3 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:17:38 +0530 Subject: [PATCH 094/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 206e5a3e..f1372456 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -26,7 +26,7 @@ jobs: - name : ls command before untar run: ls - name: ls before untar for dist - run: ls + run: ls ./dist/ - name: untar *.tar.gz file and delete clidriver run: | tar -xzvf ./dist/*.tar.gz ./dist/ From 45169942bf7f12e8cdd0ff7bea97b2b476719637 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:20:19 +0530 Subject: [PATCH 095/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index f1372456..0adf6765 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -27,9 +27,9 @@ jobs: run: ls - name: ls before untar for dist run: ls ./dist/ - - name: untar *.tar.gz file and delete clidriver + - name: untar *.tar.gz file run: | - tar -xzvf ./dist/*.tar.gz ./dist/ + tar -xzvf ./dist/ibm_db-3.1.4.7.tar.gz . - name: ls command after untar in dist run: ls ./dist/ - name: remove clidriver directory From e29369ac04fefe5f35b7f41ce81c42ff3ff1bfcf Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:26:15 +0530 Subject: [PATCH 096/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 0adf6765..6100137c 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -29,7 +29,7 @@ jobs: run: ls ./dist/ - name: untar *.tar.gz file run: | - tar -xzvf ./dist/ibm_db-3.1.4.7.tar.gz . + tar -xzvf ./dist/ibm_db-3.1.4.7.tar.gz - name: ls command after untar in dist run: ls ./dist/ - name: remove clidriver directory From 7ea65b99e079fa2acd9e38aca0d43969351a9998 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:33:56 +0530 Subject: [PATCH 097/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 6100137c..5d2dd7aa 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -37,7 +37,7 @@ jobs: rm -rf ./ibm_db-3.1.4.7/clidriver* rm -rf ./dist/ibm_db-3.1.4.7/clidriver* - name: create tar file - run: tar -czvf ibm_db-3.1.4.7.tar.gz ./dist/ + run: tar -czvf ibm_db-3.1.4.7.tar.gz ./ibm_db-3.1.4.7/ - name: ls after create tar file run: | echo "here is files" From 9088a6d3fb853bf8860d285c47f47b9d3dff8240 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:51:19 +0530 Subject: [PATCH 098/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 5d2dd7aa..f3c005ca 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -37,7 +37,7 @@ jobs: rm -rf ./ibm_db-3.1.4.7/clidriver* rm -rf ./dist/ibm_db-3.1.4.7/clidriver* - name: create tar file - run: tar -czvf ibm_db-3.1.4.7.tar.gz ./ibm_db-3.1.4.7/ + run: tar -czvf ./dist/ibm_db-3.1.4.7.tar.gz ./ibm_db-3.1.4.7/ - name: ls after create tar file run: | echo "here is files" From 631db39ce55b813476774fa5e64ca8c9bf58a2b9 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:54:18 +0530 Subject: [PATCH 099/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index f3c005ca..b2abf298 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -38,16 +38,8 @@ jobs: rm -rf ./dist/ibm_db-3.1.4.7/clidriver* - name: create tar file run: tar -czvf ./dist/ibm_db-3.1.4.7.tar.gz ./ibm_db-3.1.4.7/ - - name: ls after create tar file - run: | - echo "here is files" - ls - echo "ls under path dist" - ls - - name: content of ibm_db-3.1.4.7 - run: ls ./ibm_db-3.1.4.7/ - - name: content of dist/ibm_db-3.1.4.7 - run: ls ./dist/ibm_db-3.1.4.7 + - name: content of dist/ibm_db-3.1.4.7 + run: ls ./dist/ibm_db-3.1.4.7/ - name: Upload sdist uses: actions/upload-artifact@v3 with: From fb27e3c3bebb308089320441581a028162f7a2d3 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:56:28 +0530 Subject: [PATCH 100/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index b2abf298..883220e5 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -38,8 +38,8 @@ jobs: rm -rf ./dist/ibm_db-3.1.4.7/clidriver* - name: create tar file run: tar -czvf ./dist/ibm_db-3.1.4.7.tar.gz ./ibm_db-3.1.4.7/ - - name: content of dist/ibm_db-3.1.4.7 - run: ls ./dist/ibm_db-3.1.4.7/ + - name: content of dist after create tar file + run: ls ./dist - name: Upload sdist uses: actions/upload-artifact@v3 with: From 9a424323f02d4cdbbbf36be7c2d8da6d6fbe1ad8 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:58:38 +0530 Subject: [PATCH 101/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 883220e5..958028a0 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + # branches: + # - test_wheel #tags: # - 'v* release: From 0a84eb067c45e1a160c0922b6d33d82ec8a4541e Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 12:00:14 +0530 Subject: [PATCH 102/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 31 ++++++++++----------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 4c36d1cc..0e90097c 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - #push: - # branches: - # - test_wheel + push: + branches: + - test_wheel #tags: # - 'v* release: @@ -89,30 +89,27 @@ jobs: run: python -m build --sdist --no-isolation - name : ls command before untar run: ls - - name: untar *.tar.gz file and delete clidriver + - name: ls before untar for dist + run: ls ./dist/ + - name: untar *.tar.gz file run: | - tar -xzvf ./dist/*.tar.gz - - name: ls command after untar - run: ls + tar -xzvf ./dist/ibm_db-3.1.4.7.tar.gz + - name: ls command after untar in dist + run: ls ./dist/ - name: remove clidriver directory run: | rm -rf ./ibm_db-3.1.4.7/clidriver* rm -rf ./dist/ibm_db-3.1.4.7/clidriver* - name: create tar file - run: tar -czvf ibm_db-3.1.4.7.tar.gz ./dist/ - - name: ls after create tar file - run: | - echo "here is files" - ls - echo "ls under path dist" - ls - - name: content of ibm_db-3.1.4.7 - run: ls ./ibm_db-3.1.4.7/ + run: tar -czvf ./dist/ibm_db-3.1.4.7.tar.gz ./ibm_db-3.1.4.7/ + - name: content of dist after create tar file + run: ls ./dist - name: Upload sdist uses: actions/upload-artifact@v3 with: path: | - ./*.tar.gz + ./dist/*.tar.gz + upload_pypi: needs: [build_sdist,build_wheels_macos_linux, build_wheels_windows_64,build_wheels_windows_32] From d440896e4eda2fba82aa923146c275aea45a440d Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 15:30:10 +0530 Subject: [PATCH 103/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 0e90097c..e37a64fc 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + # branches: + # - test_wheel #tags: # - 'v* release: From dcf4ae5d5080e8791c4060793028f28d2597a36d Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 15:32:37 +0530 Subject: [PATCH 104/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 958028a0..197ca243 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - #push: - # branches: - # - test_wheel + push: + branches: + - test_wheel #tags: # - 'v* release: @@ -23,23 +23,16 @@ jobs: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation - - name : ls command before untar - run: ls - - name: ls before untar for dist - run: ls ./dist/ - name: untar *.tar.gz file run: | - tar -xzvf ./dist/ibm_db-3.1.4.7.tar.gz - - name: ls command after untar in dist - run: ls ./dist/ + tar -xzvf ./dist/*.tar.gz - name: remove clidriver directory run: | rm -rf ./ibm_db-3.1.4.7/clidriver* rm -rf ./dist/ibm_db-3.1.4.7/clidriver* - name: create tar file - run: tar -czvf ./dist/ibm_db-3.1.4.7.tar.gz ./ibm_db-3.1.4.7/ - - name: content of dist after create tar file - run: ls ./dist + run: tar -czvf ./dist/ibm_db-3.1.4.7.tar.gz + - name: Upload sdist uses: actions/upload-artifact@v3 with: From 1bd76489b9a10214ce408824caa6b5cb65506145 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 15:54:28 +0530 Subject: [PATCH 105/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 197ca243..b272ede3 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -25,7 +25,7 @@ jobs: run: python -m build --sdist --no-isolation - name: untar *.tar.gz file run: | - tar -xzvf ./dist/*.tar.gz + tar -xzvf ./dist/*.tar.gz . - name: remove clidriver directory run: | rm -rf ./ibm_db-3.1.4.7/clidriver* From 2a841d9b2c55e141a1a4a1038493b4cf1df61fd8 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 16:02:36 +0530 Subject: [PATCH 106/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index b272ede3..6b041c7e 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -25,7 +25,7 @@ jobs: run: python -m build --sdist --no-isolation - name: untar *.tar.gz file run: | - tar -xzvf ./dist/*.tar.gz . + tar -xzvf ./dist/*.tar.gz ./dist/ - name: remove clidriver directory run: | rm -rf ./ibm_db-3.1.4.7/clidriver* From ccf38a196b8a7a2e9c2c34999f7ea0c0a64b3e8c Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 16:55:35 +0530 Subject: [PATCH 107/259] Update MANIFEST.in --- MANIFEST.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 14417897..7785c3e3 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,7 +3,9 @@ include CHANGES.md LICENSE README.md include config.py.sample recursive-include ibm_db_tests *.py *.png *.jpg include MANIFEST.in +include setup.py +include pyproject.toml recursive-include clidriver * recursive-include ibm_db_dlls * recursive-include certs * -exclude config.py \ No newline at end of file +exclude config.py From bdd8a3777aeadca5de3921ca7b1d740ba2fdaa65 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 16:56:04 +0530 Subject: [PATCH 108/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 6b041c7e..f109cbd7 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + # branches: + # - test_wheel #tags: # - 'v* release: From 8174d1355dc9e5e8ad67fd5511a11bb9a6a1994f Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 16:56:28 +0530 Subject: [PATCH 109/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index cc8d48ec..5cf57663 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.7" +#define MODULE_RELEASE "3.1.4.8" #include #include From aab90fd6b51309e88b465ddf19c07f008524c31d Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 16:57:13 +0530 Subject: [PATCH 110/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 41dc9fdd..366c4f96 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.7' +VERSION = '3.1.4.8' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From 1ddc92bd216a4d01ddfaa602bf32fa4bbefa9f50 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 16:57:38 +0530 Subject: [PATCH 111/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index e37a64fc..0e90097c 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - #push: - # branches: - # - test_wheel + push: + branches: + - test_wheel #tags: # - 'v* release: From 5f329d4d5f620873eb271eaf7ffdb6d0e7488b02 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 17:00:16 +0530 Subject: [PATCH 112/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 0e90097c..64a3d70b 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -93,15 +93,15 @@ jobs: run: ls ./dist/ - name: untar *.tar.gz file run: | - tar -xzvf ./dist/ibm_db-3.1.4.7.tar.gz + tar -xzvf ./dist/ibm_db-3.1.4.8.tar.gz - name: ls command after untar in dist run: ls ./dist/ - name: remove clidriver directory run: | - rm -rf ./ibm_db-3.1.4.7/clidriver* - rm -rf ./dist/ibm_db-3.1.4.7/clidriver* + rm -rf ./ibm_db-3.1.4.8/clidriver* + rm -rf ./dist/ibm_db-3.1.4.8/clidriver* - name: create tar file - run: tar -czvf ./dist/ibm_db-3.1.4.7.tar.gz ./ibm_db-3.1.4.7/ + run: tar -czvf ./dist/ibm_db-3.1.4.8.tar.gz ./ibm_db-3.1.4.8/ - name: content of dist after create tar file run: ls ./dist - name: Upload sdist From 1e2157f6de0881f0e3139c88cfbdbdf175ef4a93 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:26:38 +0530 Subject: [PATCH 113/259] Update pyproject.toml --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a622d1e2..a2fb14f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,6 +3,3 @@ requires = ["setuptools"] build-backend = "setuptools.build_meta" [tool.cibuildwheel.macos] repair-wheel-command = "delocate-wheel --ignore-missing-dependencies --require-archs {delocate_archs} -w {dest_dir} -v {wheel}" - -[tool.cibuildwheel.linux] -environment = { PATH="$PATH:/usr/lib/python3/dist-packages/clidriver/bin:/usr/lib/python3/dist-packages/ibm_db-3.1.4.3-py3.1-linux-x86_64.egg/clidriver/bin" } From d0da8deb58ae35a87acc9caeb757ef7b20d19cd8 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:27:53 +0530 Subject: [PATCH 114/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 64a3d70b..001a3324 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + # branches: + # - test_wheel #tags: # - 'v* release: From ecf925888cc801e617ad65295c9beb1b5d0c62ac Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:30:18 +0530 Subject: [PATCH 115/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index f109cbd7..3e2ee3e1 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - #push: - # branches: - # - test_wheel + push: + branches: + - test_wheel #tags: # - 'v* release: @@ -25,13 +25,13 @@ jobs: run: python -m build --sdist --no-isolation - name: untar *.tar.gz file run: | - tar -xzvf ./dist/*.tar.gz ./dist/ + tar -xzvf ./dist/ibm_db*.tar.gz ./dist/ - name: remove clidriver directory run: | - rm -rf ./ibm_db-3.1.4.7/clidriver* - rm -rf ./dist/ibm_db-3.1.4.7/clidriver* + rm -rf ./ibm_db-*/clidriver* + rm -rf ./dist/ibm_db-*/clidriver* - name: create tar file - run: tar -czvf ./dist/ibm_db-3.1.4.7.tar.gz + run: tar -czvf ./dist/ibm_db-*.tar.gz - name: Upload sdist uses: actions/upload-artifact@v3 From c12cb84b8643392ca9ada322fedcea236dc66e1f Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:31:20 +0530 Subject: [PATCH 116/259] Update MANIFEST.in --- MANIFEST.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 7785c3e3..9f349ba4 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,8 +3,6 @@ include CHANGES.md LICENSE README.md include config.py.sample recursive-include ibm_db_tests *.py *.png *.jpg include MANIFEST.in -include setup.py -include pyproject.toml recursive-include clidriver * recursive-include ibm_db_dlls * recursive-include certs * From ce8934de43f8b2eab55b88b143998ce623b0fce5 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:33:46 +0530 Subject: [PATCH 117/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 3e2ee3e1..6ca06c59 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -23,6 +23,8 @@ jobs: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation + - name: pwd + run: pwd - name: untar *.tar.gz file run: | tar -xzvf ./dist/ibm_db*.tar.gz ./dist/ From 05ecc8cb1c18023c178835d97103f5450db1c390 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:35:36 +0530 Subject: [PATCH 118/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 6ca06c59..08dbf584 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -27,7 +27,8 @@ jobs: run: pwd - name: untar *.tar.gz file run: | - tar -xzvf ./dist/ibm_db*.tar.gz ./dist/ + cd ./dist + tar -xzvf ibm_db*.tar.gz ./dist/ - name: remove clidriver directory run: | rm -rf ./ibm_db-*/clidriver* From c8a2f34dff6fc3d74d42ba9a59fbba6ca784c666 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:45:46 +0530 Subject: [PATCH 119/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 08dbf584..6a03cdb7 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -28,6 +28,7 @@ jobs: - name: untar *.tar.gz file run: | cd ./dist + ls tar -xzvf ibm_db*.tar.gz ./dist/ - name: remove clidriver directory run: | From 8d39ac76425cbc7dc817577fa9d2382b6a5e6d30 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:47:35 +0530 Subject: [PATCH 120/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 6a03cdb7..d0018213 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -24,11 +24,12 @@ jobs: - name: Build sdist run: python -m build --sdist --no-isolation - name: pwd - run: pwd - - name: untar *.tar.gz file run: | - cd ./dist + pwd + cd dist ls + - name: untar *.tar.gz file + run: | tar -xzvf ibm_db*.tar.gz ./dist/ - name: remove clidriver directory run: | From 90a4e8eb8cba92faf9b07034185fd4af7d4f1c69 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:49:28 +0530 Subject: [PATCH 121/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index d0018213..30945784 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -23,11 +23,8 @@ jobs: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation - - name: pwd - run: | - pwd - cd dist - ls + - name: ls + run: ls ./dist - name: untar *.tar.gz file run: | tar -xzvf ibm_db*.tar.gz ./dist/ From 487b60b3657f2117fb3e6a063330b70b1fabe779 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:51:28 +0530 Subject: [PATCH 122/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 30945784..b844f45c 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -27,7 +27,7 @@ jobs: run: ls ./dist - name: untar *.tar.gz file run: | - tar -xzvf ibm_db*.tar.gz ./dist/ + tar -xzvf ./dist/*.tar.gz ./dist/ - name: remove clidriver directory run: | rm -rf ./ibm_db-*/clidriver* From 3f216015b1d9e6b8ffcdafda4f835a50cc1481df Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:56:39 +0530 Subject: [PATCH 123/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index b844f45c..92766f40 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -27,7 +27,7 @@ jobs: run: ls ./dist - name: untar *.tar.gz file run: | - tar -xzvf ./dist/*.tar.gz ./dist/ + tar -xzvf ./dist/*.tar.gz -C ./dist/ - name: remove clidriver directory run: | rm -rf ./ibm_db-*/clidriver* From 3d1e6a0da84e4c4288a14336f9cb1f633142b3c3 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:06:42 +0530 Subject: [PATCH 124/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 92766f40..0ca36cd1 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -23,8 +23,6 @@ jobs: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation - - name: ls - run: ls ./dist - name: untar *.tar.gz file run: | tar -xzvf ./dist/*.tar.gz -C ./dist/ @@ -32,6 +30,8 @@ jobs: run: | rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* + - name: ls + run: ls ./dist - name: create tar file run: tar -czvf ./dist/ibm_db-*.tar.gz From 1fe0e00eb7a5c64cd83a6d67f9be3c41721f4138 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:09:42 +0530 Subject: [PATCH 125/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 0ca36cd1..e505becd 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -31,7 +31,7 @@ jobs: rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* - name: ls - run: ls ./dist + run: ls ./dist/ibm_db* - name: create tar file run: tar -czvf ./dist/ibm_db-*.tar.gz From a8cb58e3b78ddcda787a7442f4b849005a88db9c Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:13:39 +0530 Subject: [PATCH 126/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index e505becd..0c188e1c 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -30,11 +30,10 @@ jobs: run: | rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* - - name: ls - run: ls ./dist/ibm_db* - name: create tar file - run: tar -czvf ./dist/ibm_db-*.tar.gz - + run: tar -czvf ./dist/ibm_db-* + - name: ls + run: ls ./dist/ - name: Upload sdist uses: actions/upload-artifact@v3 with: From 59abe5d799b474a0f693c0d580dd0d3e58418495 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:16:23 +0530 Subject: [PATCH 127/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 0c188e1c..20721b2e 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -31,7 +31,7 @@ jobs: rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* - name: create tar file - run: tar -czvf ./dist/ibm_db-* + run: tar -czvf ./dist/ibm_db*/ibm_db-*. - name: ls run: ls ./dist/ - name: Upload sdist From e5f68af9305db65386997cdec90054f1109bad50 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:19:17 +0530 Subject: [PATCH 128/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 20721b2e..776cfdd7 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -30,6 +30,8 @@ jobs: run: | rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* + - name: ls + run: ls ./dist/ - name: create tar file run: tar -czvf ./dist/ibm_db*/ibm_db-*. - name: ls From 1c59e19f0d879b67e9c9048f72261310f03b4620 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:20:54 +0530 Subject: [PATCH 129/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 776cfdd7..64d660aa 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -31,7 +31,7 @@ jobs: rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* - name: ls - run: ls ./dist/ + run: ls ./dist/ibm_db*/ - name: create tar file run: tar -czvf ./dist/ibm_db*/ibm_db-*. - name: ls From 0067b10b3668f2f8053e13f294c2438aa482dfc7 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:29:42 +0530 Subject: [PATCH 130/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 64d660aa..776cfdd7 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -31,7 +31,7 @@ jobs: rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* - name: ls - run: ls ./dist/ibm_db*/ + run: ls ./dist/ - name: create tar file run: tar -czvf ./dist/ibm_db*/ibm_db-*. - name: ls From baf89fb6143726875c44bd48baee4ca7b4723d62 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:32:10 +0530 Subject: [PATCH 131/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 776cfdd7..33cb87da 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -30,6 +30,7 @@ jobs: run: | rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* + rm -rf ./dist/ibm_db-*.tar.gz - name: ls run: ls ./dist/ - name: create tar file From 8175eed90eb3c43f723e0bc4f776c42b86498592 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:33:43 +0530 Subject: [PATCH 132/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 33cb87da..87a1f4a9 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -34,7 +34,7 @@ jobs: - name: ls run: ls ./dist/ - name: create tar file - run: tar -czvf ./dist/ibm_db*/ibm_db-*. + run: tar -czvf ./dist/ibm_db* - name: ls run: ls ./dist/ - name: Upload sdist From 4eba73421f59cbf95c459a664584992d882c9487 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:38:15 +0530 Subject: [PATCH 133/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 87a1f4a9..d8eae10b 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -34,7 +34,7 @@ jobs: - name: ls run: ls ./dist/ - name: create tar file - run: tar -czvf ./dist/ibm_db* + run: tar -czvf ./dist/ibm_db* ./dist/ibm_db* - name: ls run: ls ./dist/ - name: Upload sdist From 8cdd39855cbe3692643d55ef1efaa229fb470331 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 10:02:47 +0530 Subject: [PATCH 134/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index d8eae10b..60c9b5c3 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -34,7 +34,7 @@ jobs: - name: ls run: ls ./dist/ - name: create tar file - run: tar -czvf ./dist/ibm_db* ./dist/ibm_db* + run: tar -czvf ./dist/ibm_db-3.4.9.tar.gz ./dist/ibm_db* - name: ls run: ls ./dist/ - name: Upload sdist From 15cb506e1e8ca203274aa3b46f4aded53448f5a4 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 10:06:02 +0530 Subject: [PATCH 135/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 60c9b5c3..13c2fdb9 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + # branches: + # - test_wheel #tags: # - 'v* release: From af9170675767e2f760e40fb67b66bf26809c717b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 10:07:45 +0530 Subject: [PATCH 136/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 24 +++++++++------------ 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 001a3324..7d54cbb7 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -87,29 +87,25 @@ jobs: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation - - name : ls command before untar - run: ls - - name: ls before untar for dist - run: ls ./dist/ - name: untar *.tar.gz file run: | - tar -xzvf ./dist/ibm_db-3.1.4.8.tar.gz - - name: ls command after untar in dist - run: ls ./dist/ + tar -xzvf ./dist/*.tar.gz -C ./dist/ - name: remove clidriver directory run: | - rm -rf ./ibm_db-3.1.4.8/clidriver* - rm -rf ./dist/ibm_db-3.1.4.8/clidriver* + rm -rf ./ibm_db-*/clidriver* + rm -rf ./dist/ibm_db-*/clidriver* + rm -rf ./dist/ibm_db-*.tar.gz + - name: ls + run: ls ./dist/ - name: create tar file - run: tar -czvf ./dist/ibm_db-3.1.4.8.tar.gz ./ibm_db-3.1.4.8/ - - name: content of dist after create tar file - run: ls ./dist + run: tar -czvf ./dist/ibm_db-3.4.9.tar.gz ./dist/ibm_db* + - name: ls + run: ls ./dist/ - name: Upload sdist uses: actions/upload-artifact@v3 with: path: | - ./dist/*.tar.gz - + ./dist/*.tar.gz upload_pypi: needs: [build_sdist,build_wheels_macos_linux, build_wheels_windows_64,build_wheels_windows_32] From ca48b585a8eafec37034ac995dc91a2b383fc1d1 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 10:08:14 +0530 Subject: [PATCH 137/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index 5cf57663..a0cc3d97 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.8" +#define MODULE_RELEASE "3.1.4.9" #include #include From b6a98f77924d55f40bcda161d9b5a661adfa5415 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 10:08:38 +0530 Subject: [PATCH 138/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 366c4f96..02d2d27d 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.8' +VERSION = '3.1.4.9' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From d9c51937bf507a9afc0cf4a2d641aeeb2da5ffe8 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 10:09:33 +0530 Subject: [PATCH 139/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 7d54cbb7..744693f3 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - #push: - # branches: - # - test_wheel + push: + branches: + - test_wheel #tags: # - 'v* release: From 0516c5da9f80c5ee5975582a80fdebbf8ebf59cd Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 10:41:23 +0530 Subject: [PATCH 140/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 744693f3..d5fed0d3 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -130,7 +130,7 @@ jobs: user: ${{secrets.TESTPYPI_USER}} password: ${{ secrets.TESTPYPI_PASSWORD}} repository-url: https://test.pypi.org/legacy/ - skip_existing: true + skip-existing: true - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 From c94f77cfc6ced7b3eb5bda35c976fa166e2bd1e5 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 11:23:10 +0530 Subject: [PATCH 141/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index d5fed0d3..8065321e 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -26,7 +26,7 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.12.1 env: - CIBW_SKIP: "*-win32" + CIBW_SKIP: "*-win32 *pp" - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl From 80bc8b2741fac8c3757743a6375d15e1eb6a0230 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 11:39:20 +0530 Subject: [PATCH 142/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 8065321e..b957b8c8 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -26,7 +26,8 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.12.1 env: - CIBW_SKIP: "*-win32 *pp" + CIBW_BUILD: "*-win_amd64" + CIBW_SKIP: "*pp" - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl From f655e84a4082751cb7579bfd45983c0b4ef8977e Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 11:51:39 +0530 Subject: [PATCH 143/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index b957b8c8..96878ccd 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -27,7 +27,7 @@ jobs: uses: pypa/cibuildwheel@v2.12.1 env: CIBW_BUILD: "*-win_amd64" - CIBW_SKIP: "*pp" + CIBW_SKIP: pp* - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl From 61c7919d7a4b3727e8bd1c85bdc9dce8384201a0 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 12:33:24 +0530 Subject: [PATCH 144/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 96878ccd..66100a12 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -100,8 +100,6 @@ jobs: run: ls ./dist/ - name: create tar file run: tar -czvf ./dist/ibm_db-3.4.9.tar.gz ./dist/ibm_db* - - name: ls - run: ls ./dist/ - name: Upload sdist uses: actions/upload-artifact@v3 with: From b166e355f26c5c26ffae8895cf3c83908a1a9de5 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 13:05:36 +0530 Subject: [PATCH 145/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index a0cc3d97..f2c6ce5a 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.9" +#define MODULE_RELEASE "3.1.4.10" #include #include From 44f2bcc199c5c7c48abea5c6d02adeff162d001c Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 13:05:59 +0530 Subject: [PATCH 146/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 02d2d27d..682f5b60 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.9' +VERSION = '3.1.4.10' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From 0e3b2253433069c28a9937639450d064b16fec53 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 14:07:46 +0530 Subject: [PATCH 147/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 682f5b60..6aac2a51 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.10' +VERSION = '3.1.4.11' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From c7093e3cd2f86b4c2d14285838d95ed8e3bc51e5 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 14:08:17 +0530 Subject: [PATCH 148/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index f2c6ce5a..47ed2578 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.10" +#define MODULE_RELEASE "3.1.4.11" #include #include From b0677fcdb29360e42870fafa6f36651c1202d07a Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 14:47:26 +0530 Subject: [PATCH 149/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index 47ed2578..37e48007 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.11" +#define MODULE_RELEASE "3.1.4.12" #include #include From 281760c9191eaa8f1142fff81cf4ee791711a9bb Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 14:47:54 +0530 Subject: [PATCH 150/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6aac2a51..a9fd581f 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.11' +VERSION = '3.1.4.12' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From 53103f2ee67d69564d1d9e67201cd95615f18dcf Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 14:49:42 +0530 Subject: [PATCH 151/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 66100a12..79eb4d07 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -99,7 +99,7 @@ jobs: - name: ls run: ls ./dist/ - name: create tar file - run: tar -czvf ./dist/ibm_db-3.4.9.tar.gz ./dist/ibm_db* + run: tar -czvf ./dist/ibm_db-3.1.4.12.tar.gz ./ibm_db-3.1.4.12/ - name: Upload sdist uses: actions/upload-artifact@v3 with: From d924a39f1ca4f1f0286b4b9c70c59786455e5960 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 14:57:42 +0530 Subject: [PATCH 152/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 79eb4d07..db7b6feb 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -91,6 +91,12 @@ jobs: - name: untar *.tar.gz file run: | tar -xzvf ./dist/*.tar.gz -C ./dist/ + - name: ls after untar + run: | + echo "ls" + ls + echo " ls ./dist/ " + ls ./dist/ - name: remove clidriver directory run: | rm -rf ./ibm_db-*/clidriver* From b8ad9117072714177a6158f510d4dcf4ee7931ed Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 14:59:52 +0530 Subject: [PATCH 153/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index db7b6feb..9096e54d 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -103,7 +103,7 @@ jobs: rm -rf ./dist/ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*.tar.gz - name: ls - run: ls ./dist/ + run: ls ./dist/clidriver - name: create tar file run: tar -czvf ./dist/ibm_db-3.1.4.12.tar.gz ./ibm_db-3.1.4.12/ - name: Upload sdist From 7515533fae50f4e48fbc97679e13206ab9fd99a5 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 15:01:43 +0530 Subject: [PATCH 154/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 9096e54d..e5fd3efa 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -103,9 +103,9 @@ jobs: rm -rf ./dist/ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*.tar.gz - name: ls - run: ls ./dist/clidriver + run: ls ./dist - name: create tar file - run: tar -czvf ./dist/ibm_db-3.1.4.12.tar.gz ./ibm_db-3.1.4.12/ + run: tar -czvf ./dist/ibm_db-3.1.4.12.tar.gz ./dist/ibm_db-3.1.4.12/ - name: Upload sdist uses: actions/upload-artifact@v3 with: From ab80f465e14a0e1415b94c62c661690ff4d0d1a1 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 15:04:39 +0530 Subject: [PATCH 155/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index e5fd3efa..a2f6c9b6 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -89,23 +89,16 @@ jobs: - name: Build sdist run: python -m build --sdist --no-isolation - name: untar *.tar.gz file - run: | - tar -xzvf ./dist/*.tar.gz -C ./dist/ - - name: ls after untar - run: | - echo "ls" - ls - echo " ls ./dist/ " - ls ./dist/ + run: tar -xzvf ./dist/*.tar.gz -C ./dist/ - name: remove clidriver directory run: | rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*.tar.gz - - name: ls - run: ls ./dist - name: create tar file run: tar -czvf ./dist/ibm_db-3.1.4.12.tar.gz ./dist/ibm_db-3.1.4.12/ + - name: ls after tar + run: ls ./dist - name: Upload sdist uses: actions/upload-artifact@v3 with: From 1c041293c01e4484e6dac1691a4153ca85ab78de Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 15:31:06 +0530 Subject: [PATCH 156/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index a2f6c9b6..92d38aba 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -60,8 +60,7 @@ jobs: uses: pypa/cibuildwheel@v2.12.1 env: CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 - #CIBW_SKIP: "*-musllinux_* pp*" - CIBW_SKIP: "*-*linux_{aarch64,ppc64le}" + CIBW_SKIP: "*-musllinux_* pp* *-*linux_{aarch64,ppc64le}" CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --exclude libdb2.so.1 From b5920f35cd577e2fc21a56e1a853b1767f2d1162 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 15:58:00 +0530 Subject: [PATCH 157/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 92d38aba..b424cd71 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -95,7 +95,7 @@ jobs: rm -rf ./dist/ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*.tar.gz - name: create tar file - run: tar -czvf ./dist/ibm_db-3.1.4.12.tar.gz ./dist/ibm_db-3.1.4.12/ + run: tar -czvf ./dist/ibm_db-3.1.4.12.tar.gz ./ibm_db-3.1.4.12/ - name: ls after tar run: ls ./dist - name: Upload sdist From f3388892b09406fbe6a0dc199deb2f6dbc56e440 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 16:06:46 +0530 Subject: [PATCH 158/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index b424cd71..65b91646 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -95,7 +95,7 @@ jobs: rm -rf ./dist/ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*.tar.gz - name: create tar file - run: tar -czvf ./dist/ibm_db-3.1.4.12.tar.gz ./ibm_db-3.1.4.12/ + run: tar -czvf ./dist/ibm_db-3.1.4.12.tar.gz - name: ls after tar run: ls ./dist - name: Upload sdist From fbfacee9b1f04dacd772654d7dbc1c1e1188b20b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 16:12:58 +0530 Subject: [PATCH 159/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 65b91646..7c445b2d 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -95,7 +95,7 @@ jobs: rm -rf ./dist/ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*.tar.gz - name: create tar file - run: tar -czvf ./dist/ibm_db-3.1.4.12.tar.gz + run: tar -czvf ./ibm_db-3.1.4.12.tar.gz ./dist/ibm_db-3.1.4.12/ - name: ls after tar run: ls ./dist - name: Upload sdist From f7ce5c927e276458f2e4342c00c74561009e43a4 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 16:19:20 +0530 Subject: [PATCH 160/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 7c445b2d..3ab1dcaa 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -95,7 +95,9 @@ jobs: rm -rf ./dist/ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*.tar.gz - name: create tar file - run: tar -czvf ./ibm_db-3.1.4.12.tar.gz ./dist/ibm_db-3.1.4.12/ + run: | + cd dist + tar -czvf ./ibm_db-3.1.4.12.tar.gz ./ibm_db-3.1.4.12/ - name: ls after tar run: ls ./dist - name: Upload sdist From fa1de96b8f47306d83e55718435b5ec97558e0f3 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 16:21:55 +0530 Subject: [PATCH 161/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 3ab1dcaa..443c86f9 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -97,7 +97,7 @@ jobs: - name: create tar file run: | cd dist - tar -czvf ./ibm_db-3.1.4.12.tar.gz ./ibm_db-3.1.4.12/ + tar -czvf ./ibm_db-3.1.4.13.tar.gz ./ibm_db-3.1.4.13/ - name: ls after tar run: ls ./dist - name: Upload sdist From 0735619a78242edb222a5c048b9c1142e7ff492b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 16:22:25 +0530 Subject: [PATCH 162/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index 37e48007..898f7741 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.12" +#define MODULE_RELEASE "3.1.4.13" #include #include From 52b80a7cb6d48faada92bce2cbe4cbad1530f412 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 16:22:47 +0530 Subject: [PATCH 163/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a9fd581f..d983ded9 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.12' +VERSION = '3.1.4.13' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From 861f9005ae4e9227c441c89ac7c16aba3bc57ee8 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 27 Jul 2023 16:33:23 +0530 Subject: [PATCH 164/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 443c86f9..3b769ec2 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -97,7 +97,7 @@ jobs: - name: create tar file run: | cd dist - tar -czvf ./ibm_db-3.1.4.13.tar.gz ./ibm_db-3.1.4.13/ + tar -czvf ./ibm_db-3.1.4.13.tar.gz ./ibm_db-* - name: ls after tar run: ls ./dist - name: Upload sdist From 0dd194462b51df25154f48e64d417c1b1a868428 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Fri, 28 Jul 2023 10:54:34 +0530 Subject: [PATCH 165/259] Update pyproject.toml From b0d1fa5349b3886ad5f9065e4245f718b68bb46e Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Fri, 28 Jul 2023 10:55:32 +0530 Subject: [PATCH 166/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index 898f7741..84eca721 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.13" +#define MODULE_RELEASE "3.1.4.14" #include #include From 067a0771745443f302000fe91d916a497dad600b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Fri, 28 Jul 2023 10:55:54 +0530 Subject: [PATCH 167/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d983ded9..22c44567 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.13' +VERSION = '3.1.4.14' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From 5b7688d5b2c807a050342f2aa171ec7d4c2ce615 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Fri, 28 Jul 2023 10:56:01 +0530 Subject: [PATCH 168/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 3b769ec2..73365dee 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -12,7 +12,9 @@ on: release: types: - published - + +env: + PACKAGE: ibm_db-3.1.4.14 jobs: build_wheels_windows_64: @@ -95,9 +97,7 @@ jobs: rm -rf ./dist/ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*.tar.gz - name: create tar file - run: | - cd dist - tar -czvf ./ibm_db-3.1.4.13.tar.gz ./ibm_db-* + run: tar -czvf ./dist/ibm_db-3.1.4.14.tar.gz ./ibm_db-3.1.4.14/ - name: ls after tar run: ls ./dist - name: Upload sdist From 6c7f0e02c84e8822f19a2e142e0438dc1ada341d Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Fri, 28 Jul 2023 11:01:29 +0530 Subject: [PATCH 169/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 73365dee..9058ac46 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -95,17 +95,16 @@ jobs: run: | rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* - rm -rf ./dist/ibm_db-*.tar.gz - name: create tar file - run: tar -czvf ./dist/ibm_db-3.1.4.14.tar.gz ./ibm_db-3.1.4.14/ + run: tar -czvf ./dist/$PACKAGE.tar.gz ./$PACKAGE - name: ls after tar run: ls ./dist - name: Upload sdist uses: actions/upload-artifact@v3 with: path: | - ./dist/*.tar.gz - + ./dist/*.tar.gz + upload_pypi: needs: [build_sdist,build_wheels_macos_linux, build_wheels_windows_64,build_wheels_windows_32] runs-on: ${{ matrix.os }} From 2d855b22d014cf59c1705831f71c6c87bf7b2800 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Fri, 28 Jul 2023 11:12:31 +0530 Subject: [PATCH 170/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 9058ac46..68249b40 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -89,21 +89,26 @@ jobs: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation + - name : ls command before untar + run: ls + - name: ls before untar for dist + run: ls ./dist/ - name: untar *.tar.gz file - run: tar -xzvf ./dist/*.tar.gz -C ./dist/ + run: tar -xzvf ./dist/*.tar.gz - name: remove clidriver directory run: | rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* - name: create tar file - run: tar -czvf ./dist/$PACKAGE.tar.gz ./$PACKAGE - - name: ls after tar + run: tar -czvf ./dist/$PACKAGE.tar.gz ./$PACKAGE/ + - name: content of dist after create tar file run: ls ./dist - name: Upload sdist uses: actions/upload-artifact@v3 with: path: | - ./dist/*.tar.gz + ./dist/*.tar.gz + upload_pypi: needs: [build_sdist,build_wheels_macos_linux, build_wheels_windows_64,build_wheels_windows_32] From e53d537694a87225f226b39f8dd2dab00b4a7819 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 11:09:30 +0530 Subject: [PATCH 171/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 68249b40..701ab422 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + # branches: + # - test_wheel #tags: # - 'v* release: From 7a26aeaeb2b87ceea455b0d1301e79ae242132ce Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 12:41:44 +0530 Subject: [PATCH 172/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 701ab422..e44f96b1 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -14,7 +14,7 @@ on: - published env: - PACKAGE: ibm_db-3.1.4.14 + PACKAGE: ibm_db-3.1.4.15 jobs: build_wheels_windows_64: @@ -81,7 +81,7 @@ jobs: path: ./wheelhouse/*.whl build_sdist: name: Build source distribution - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@v3 - name: Install Python dependencies @@ -100,7 +100,9 @@ jobs: rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* - name: create tar file - run: tar -czvf ./dist/$PACKAGE.tar.gz ./$PACKAGE/ + run: | + tar -czvf ./dist/$PACKAGE.tar.gz ./$PACKAGE/ + - name: content of dist after create tar file run: ls ./dist - name: Upload sdist From 4ac1c6c56a2bf7adf5fcc14ee70d8b04f9c03f43 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 12:42:10 +0530 Subject: [PATCH 173/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index 84eca721..78aa11ec 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.14" +#define MODULE_RELEASE "3.1.4.15" #include #include From 9ed4283a2d2fae796956f5f28251e757a9297167 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 12:42:31 +0530 Subject: [PATCH 174/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 22c44567..8ebbeb0b 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.14' +VERSION = '3.1.4.15' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From 7c3f486d502092b6d97b888a207aa5a08ff644d8 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 12:44:02 +0530 Subject: [PATCH 175/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index e44f96b1..c483b7bf 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - #push: - # branches: - # - test_wheel + push: + branches: + - test_wheel #tags: # - 'v* release: @@ -89,6 +89,8 @@ jobs: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation + - name: tar version + run: tar --version - name : ls command before untar run: ls - name: ls before untar for dist From 8295d3f69569c51576a3f22d4482ac56bfe53eb8 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 12:47:17 +0530 Subject: [PATCH 176/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index c483b7bf..ccee8fe4 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -81,7 +81,7 @@ jobs: path: ./wheelhouse/*.whl build_sdist: name: Build source distribution - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Install Python dependencies From 835b4476a6a34144786ecb6bd8f13cf14de684e4 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 12:50:24 +0530 Subject: [PATCH 177/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index ccee8fe4..dda3577d 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -102,8 +102,9 @@ jobs: rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* - name: create tar file - run: | - tar -czvf ./dist/$PACKAGE.tar.gz ./$PACKAGE/ + run: tar -cvf ./dist/$PACKAGE.tar ./$PACKAGE/ + - name: create tar.gz file + run: tar -czvf ./dist/$PACKAGE.tar.gz ./$PACKAGE.tar - name: content of dist after create tar file run: ls ./dist From 77fe8b0ff7cea617eb3dfe4f637e51bbbfcc4ce2 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 12:55:02 +0530 Subject: [PATCH 178/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index dda3577d..166e65fc 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -104,7 +104,7 @@ jobs: - name: create tar file run: tar -cvf ./dist/$PACKAGE.tar ./$PACKAGE/ - name: create tar.gz file - run: tar -czvf ./dist/$PACKAGE.tar.gz ./$PACKAGE.tar + run: tar -czvf ./dist/$PACKAGE.tar.gz ./dist/$PACKAGE.tar - name: content of dist after create tar file run: ls ./dist From 9ab782a52f6fed17aae2e89e61048e7b25c3a217 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:21:18 +0530 Subject: [PATCH 179/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 166e65fc..f80beb8b 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -104,7 +104,7 @@ jobs: - name: create tar file run: tar -cvf ./dist/$PACKAGE.tar ./$PACKAGE/ - name: create tar.gz file - run: tar -czvf ./dist/$PACKAGE.tar.gz ./dist/$PACKAGE.tar + run: tar -czvf ./dist/$PACKAGE.tar/$PACKAGE.tar.gz ./dist/$PACKAGE.tar - name: content of dist after create tar file run: ls ./dist From aec4f0abfea7bfde3c15dca117c8fcf459061311 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:26:14 +0530 Subject: [PATCH 180/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index f80beb8b..3f933716 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -103,6 +103,8 @@ jobs: rm -rf ./dist/ibm_db-*/clidriver* - name: create tar file run: tar -cvf ./dist/$PACKAGE.tar ./$PACKAGE/ + - name: check ls + run: ls .dist/ - name: create tar.gz file run: tar -czvf ./dist/$PACKAGE.tar/$PACKAGE.tar.gz ./dist/$PACKAGE.tar From 18bb6836895107606aee5b201b78db64ee11c281 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:27:50 +0530 Subject: [PATCH 181/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 3f933716..e89ba21a 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -104,7 +104,7 @@ jobs: - name: create tar file run: tar -cvf ./dist/$PACKAGE.tar ./$PACKAGE/ - name: check ls - run: ls .dist/ + run: ls - name: create tar.gz file run: tar -czvf ./dist/$PACKAGE.tar/$PACKAGE.tar.gz ./dist/$PACKAGE.tar From 665c855277cd0a9ddce5ed7afb600b1dac267e65 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:29:34 +0530 Subject: [PATCH 182/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index e89ba21a..21731f53 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -104,7 +104,7 @@ jobs: - name: create tar file run: tar -cvf ./dist/$PACKAGE.tar ./$PACKAGE/ - name: check ls - run: ls + run: ls ./$PACKAGE - name: create tar.gz file run: tar -czvf ./dist/$PACKAGE.tar/$PACKAGE.tar.gz ./dist/$PACKAGE.tar From ba57c816650af16c5be4637e035effaf37fe19fe Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:31:24 +0530 Subject: [PATCH 183/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 21731f53..f9512fea 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -102,7 +102,7 @@ jobs: rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* - name: create tar file - run: tar -cvf ./dist/$PACKAGE.tar ./$PACKAGE/ + run: tar -cvf ./$PACKAGE.tar ./$PACKAGE/ - name: check ls run: ls ./$PACKAGE - name: create tar.gz file From c7969330e8b172f13b51199bdbf79eabbebb6af4 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:34:32 +0530 Subject: [PATCH 184/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index f9512fea..d4467dd7 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -104,7 +104,7 @@ jobs: - name: create tar file run: tar -cvf ./$PACKAGE.tar ./$PACKAGE/ - name: check ls - run: ls ./$PACKAGE + run: ls - name: create tar.gz file run: tar -czvf ./dist/$PACKAGE.tar/$PACKAGE.tar.gz ./dist/$PACKAGE.tar From a722157de6e4a7bf7b31c3992ceef7285f844adf Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:36:26 +0530 Subject: [PATCH 185/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index d4467dd7..0de1e25a 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -102,9 +102,9 @@ jobs: rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* - name: create tar file - run: tar -cvf ./$PACKAGE.tar ./$PACKAGE/ + run: tar -cvf ./$PACKAGE.tar ./dist/$PACKAGE/ - name: check ls - run: ls + run: ls dist - name: create tar.gz file run: tar -czvf ./dist/$PACKAGE.tar/$PACKAGE.tar.gz ./dist/$PACKAGE.tar From f8a4f218f4a2373c49ac871b60418d1a3d46b325 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:38:39 +0530 Subject: [PATCH 186/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 0de1e25a..459e5fb2 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -96,7 +96,7 @@ jobs: - name: ls before untar for dist run: ls ./dist/ - name: untar *.tar.gz file - run: tar -xzvf ./dist/*.tar.gz + run: tar -xzvf ./dist/*.tar.gz -C ./dist/$PACKAGE - name: remove clidriver directory run: | rm -rf ./ibm_db-*/clidriver* From 9d54a1bbfe50fcef87a6b3eab86ef33613280b02 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:40:22 +0530 Subject: [PATCH 187/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 459e5fb2..8310e625 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -96,13 +96,13 @@ jobs: - name: ls before untar for dist run: ls ./dist/ - name: untar *.tar.gz file - run: tar -xzvf ./dist/*.tar.gz -C ./dist/$PACKAGE + run: tar -xzvf ./dist/*.tar.gz - name: remove clidriver directory run: | rm -rf ./ibm_db-*/clidriver* rm -rf ./dist/ibm_db-*/clidriver* - name: create tar file - run: tar -cvf ./$PACKAGE.tar ./dist/$PACKAGE/ + run: tar -cvf ./dist/$PACKAGE.tar ./$PACKAGE/ - name: check ls run: ls dist - name: create tar.gz file From a6c32aac5a782a96d52baa612e431577a9d548e0 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:45:25 +0530 Subject: [PATCH 188/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 8310e625..9de5e664 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -106,9 +106,10 @@ jobs: - name: check ls run: ls dist - name: create tar.gz file - run: tar -czvf ./dist/$PACKAGE.tar/$PACKAGE.tar.gz ./dist/$PACKAGE.tar - - - name: content of dist after create tar file + run: tar -czvf ./dist/$PACKAGE.tar/$PACKAGE.tar.gz ./$PACKAGE + - name: copy $PACKAGE to dist + run: cp -r $PACKAGE ./dist + - name: content of dist after create tar file run: ls ./dist - name: Upload sdist uses: actions/upload-artifact@v3 From 40f3636d809c9cd68402805500747e509407c602 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:48:28 +0530 Subject: [PATCH 189/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 9de5e664..7904306d 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -106,7 +106,7 @@ jobs: - name: check ls run: ls dist - name: create tar.gz file - run: tar -czvf ./dist/$PACKAGE.tar/$PACKAGE.tar.gz ./$PACKAGE + run: tar -czvf ./dist/$PACKAGE.tar.gz ./$PACKAGE - name: copy $PACKAGE to dist run: cp -r $PACKAGE ./dist - name: content of dist after create tar file From dca5736e1d1aaaaab636275d0f4120fa27a83cd2 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 16:41:14 +0530 Subject: [PATCH 190/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 26 ++++++++------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 7904306d..c3ef4b56 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -89,33 +89,27 @@ jobs: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation - - name: tar version - run: tar --version - name : ls command before untar run: ls - name: ls before untar for dist run: ls ./dist/ - name: untar *.tar.gz file - run: tar -xzvf ./dist/*.tar.gz - - name: remove clidriver directory run: | - rm -rf ./ibm_db-*/clidriver* - rm -rf ./dist/ibm_db-*/clidriver* - - name: create tar file - run: tar -cvf ./dist/$PACKAGE.tar ./$PACKAGE/ - - name: check ls - run: ls dist + cd dist + tar -xzvf $PACKAGE.tar.gz + - name: remove clidriver directory + run: rm -rf $PACKAGE/clidriver* - name: create tar.gz file - run: tar -czvf ./dist/$PACKAGE.tar.gz ./$PACKAGE - - name: copy $PACKAGE to dist - run: cp -r $PACKAGE ./dist - - name: content of dist after create tar file - run: ls ./dist + run: tar -czvf $PACKAGE.tar.gz $PACKAGE + - name: delete untarred file + run: rm -rf $PACKAGE + - name : ls command + run: ls - name: Upload sdist uses: actions/upload-artifact@v3 with: path: | - ./dist/*.tar.gz + $PACKAGE.tar.gz upload_pypi: From 589ca1f660db1455a3f181b7421d13a37aebff20 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 16:44:40 +0530 Subject: [PATCH 191/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index c3ef4b56..0308f56b 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -99,6 +99,10 @@ jobs: tar -xzvf $PACKAGE.tar.gz - name: remove clidriver directory run: rm -rf $PACKAGE/clidriver* + - name: check pwd + run:pwd + - name: check for ls + run: ls - name: create tar.gz file run: tar -czvf $PACKAGE.tar.gz $PACKAGE - name: delete untarred file From 119433486c805aab00a4145b1e21270699529e86 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 16:45:27 +0530 Subject: [PATCH 192/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 0308f56b..3b776b77 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -100,7 +100,7 @@ jobs: - name: remove clidriver directory run: rm -rf $PACKAGE/clidriver* - name: check pwd - run:pwd + run: pwd - name: check for ls run: ls - name: create tar.gz file From 7a41452eaac097c8b5c773eae7ef4ca713f727a5 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 16:47:53 +0530 Subject: [PATCH 193/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 3b776b77..04849a30 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -96,7 +96,7 @@ jobs: - name: untar *.tar.gz file run: | cd dist - tar -xzvf $PACKAGE.tar.gz + tar -xzvf $PACKAGE.tar.gz -C $PACKAGE - name: remove clidriver directory run: rm -rf $PACKAGE/clidriver* - name: check pwd From 6a79458274136d1f4e3088055ebd0521cbbc39c3 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 16:54:58 +0530 Subject: [PATCH 194/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 04849a30..4f32749d 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -96,6 +96,7 @@ jobs: - name: untar *.tar.gz file run: | cd dist + mkdir $PACKAGE tar -xzvf $PACKAGE.tar.gz -C $PACKAGE - name: remove clidriver directory run: rm -rf $PACKAGE/clidriver* From 7a807aeca40b49d038fedb3e78fd788bcf873eee Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:04:41 +0530 Subject: [PATCH 195/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 22 +++++++++------------ 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 4f32749d..4e92de65 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -98,23 +98,19 @@ jobs: cd dist mkdir $PACKAGE tar -xzvf $PACKAGE.tar.gz -C $PACKAGE - - name: remove clidriver directory - run: rm -rf $PACKAGE/clidriver* - - name: check pwd - run: pwd - - name: check for ls - run: ls - - name: create tar.gz file - run: tar -czvf $PACKAGE.tar.gz $PACKAGE - - name: delete untarred file - run: rm -rf $PACKAGE - - name : ls command - run: ls + rm -rf $PACKAGE/clidriver* + ls + rm -rf $PACKAGE.tar.gz + ls + ls $PACKAGE + tar -czvf $PACKAGE.tar.gz $PACKAGE + rm -rf $PACKAGE + ls - name: Upload sdist uses: actions/upload-artifact@v3 with: path: | - $PACKAGE.tar.gz + ./dist/$PACKAGE.tar.gz upload_pypi: From 5bc3adf4cdcbdb4a9122a8b6b0f7c89ad34864a4 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:10:47 +0530 Subject: [PATCH 196/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 4e92de65..4429de63 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -95,8 +95,11 @@ jobs: run: ls ./dist/ - name: untar *.tar.gz file run: | + echo "cd dist" cd dist + echo " mkdir $PACKAGE" mkdir $PACKAGE + echo "tar -xzvf $PACKAGE.tar.gz -C $PACKAGE" tar -xzvf $PACKAGE.tar.gz -C $PACKAGE rm -rf $PACKAGE/clidriver* ls From d9de53fa957b88aa4fde7ee43d24bec50358cf40 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:14:33 +0530 Subject: [PATCH 197/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 4429de63..11c5d873 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -101,13 +101,21 @@ jobs: mkdir $PACKAGE echo "tar -xzvf $PACKAGE.tar.gz -C $PACKAGE" tar -xzvf $PACKAGE.tar.gz -C $PACKAGE + echo "rm -rf $PACKAGE/clidriver*" rm -rf $PACKAGE/clidriver* + echo "ls" ls + echo "rm -rf $PACKAGE.tar.gz" rm -rf $PACKAGE.tar.gz + echo "ls" ls - ls $PACKAGE + echo " ls $PACKAGE" + ls $PACKAGE + echo "tar -czvf $PACKAGE.tar.gz $PACKAGE" tar -czvf $PACKAGE.tar.gz $PACKAGE + echo "rm -rf $PACKAGE" rm -rf $PACKAGE + echo "ls" ls - name: Upload sdist uses: actions/upload-artifact@v3 From ad7fdf8dcd3ce5b46ff8c77b6e438e989cd1baa0 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:27:56 +0530 Subject: [PATCH 198/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 11c5d873..e0d6eb2b 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -89,10 +89,6 @@ jobs: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation - - name : ls command before untar - run: ls - - name: ls before untar for dist - run: ls ./dist/ - name: untar *.tar.gz file run: | echo "cd dist" @@ -101,6 +97,8 @@ jobs: mkdir $PACKAGE echo "tar -xzvf $PACKAGE.tar.gz -C $PACKAGE" tar -xzvf $PACKAGE.tar.gz -C $PACKAGE + echo "ls $PACKAGE/" + ls $PACKAGE/ echo "rm -rf $PACKAGE/clidriver*" rm -rf $PACKAGE/clidriver* echo "ls" @@ -109,8 +107,8 @@ jobs: rm -rf $PACKAGE.tar.gz echo "ls" ls - echo " ls $PACKAGE" - ls $PACKAGE + echo " ls $PACKAGE/" + ls $PACKAGE/ echo "tar -czvf $PACKAGE.tar.gz $PACKAGE" tar -czvf $PACKAGE.tar.gz $PACKAGE echo "rm -rf $PACKAGE" From eebb9c25e7f25cdc48ae2998dbe1719f8998ec0b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:34:25 +0530 Subject: [PATCH 199/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index e0d6eb2b..5686d9dc 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -93,10 +93,8 @@ jobs: run: | echo "cd dist" cd dist - echo " mkdir $PACKAGE" - mkdir $PACKAGE - echo "tar -xzvf $PACKAGE.tar.gz -C $PACKAGE" - tar -xzvf $PACKAGE.tar.gz -C $PACKAGE + echo "tar -xzvf $PACKAGE.tar.gz " + tar -xzvf $PACKAGE.tar.gz echo "ls $PACKAGE/" ls $PACKAGE/ echo "rm -rf $PACKAGE/clidriver*" From a2af6a6e12b96584fa61ac99f14efd97c6dc4cb4 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:35:12 +0530 Subject: [PATCH 200/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 5686d9dc..f185adfa 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -95,6 +95,8 @@ jobs: cd dist echo "tar -xzvf $PACKAGE.tar.gz " tar -xzvf $PACKAGE.tar.gz + echo "ls" + ls echo "ls $PACKAGE/" ls $PACKAGE/ echo "rm -rf $PACKAGE/clidriver*" From f0382216c43c8c39957c2308c550ce3a9790745b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:44:49 +0530 Subject: [PATCH 201/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index f185adfa..003917d6 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + # branches: + # - test_wheel #tags: # - 'v* release: From e67cd32e079261375bfa56d0232c3f2095ecf3fd Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:52:45 +0530 Subject: [PATCH 202/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 81 +++++++++++++++++++++++++------- 1 file changed, 64 insertions(+), 17 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 13c2fdb9..5ddad6ce 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -4,16 +4,20 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - #push: - # branches: - # - test_wheel + push: + branches: + - test_wheel #tags: # - 'v* release: types: - published + +env: + PACKAGE: ibm_db-3.1.4.16 + jobs: - build_sdist: + build_sdist: name: Build source distribution runs-on: ubuntu-latest steps: @@ -25,20 +29,63 @@ jobs: run: python -m build --sdist --no-isolation - name: untar *.tar.gz file run: | - tar -xzvf ./dist/*.tar.gz -C ./dist/ - - name: remove clidriver directory - run: | - rm -rf ./ibm_db-*/clidriver* - rm -rf ./dist/ibm_db-*/clidriver* - rm -rf ./dist/ibm_db-*.tar.gz - - name: ls - run: ls ./dist/ - - name: create tar file - run: tar -czvf ./dist/ibm_db-3.4.9.tar.gz ./dist/ibm_db* - - name: ls - run: ls ./dist/ + echo "cd dist" + cd dist + echo "tar -xzvf $PACKAGE.tar.gz " + tar -xzvf $PACKAGE.tar.gz + echo "ls" + ls + echo "ls $PACKAGE/" + ls $PACKAGE/ + echo "rm -rf $PACKAGE/clidriver*" + rm -rf $PACKAGE/clidriver* + echo "ls" + ls + echo "rm -rf $PACKAGE.tar.gz" + rm -rf $PACKAGE.tar.gz + echo "ls" + ls + echo " ls $PACKAGE/" + ls $PACKAGE/ + echo "tar -czvf $PACKAGE.tar.gz $PACKAGE" + tar -czvf $PACKAGE.tar.gz $PACKAGE + echo "rm -rf $PACKAGE" + rm -rf $PACKAGE + echo "ls" + ls - name: Upload sdist uses: actions/upload-artifact@v3 with: path: | - ./dist/*.tar.gz + ./dist/$PACKAGE.tar.gz + + upload_pypi: + needs: [build_sdist] + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + #upload to PyPI on every tag starting with 'v' + #if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + # alternatively, to publish when a GitHub Release is created, use the following rule: + #if: github.event_name == 'release' && github.event.action == 'published' + steps: + - uses: actions/download-artifact@v3 + with: + # unpacks default artifact into dist/ + #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 + with: + user: ${{secrets.PYPI_USER}} + password: ${{ secrets.PYPI_PASSWORD}} From a9c824727010da98b6ce001908502e0b976af451 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:53:11 +0530 Subject: [PATCH 203/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index 78aa11ec..ff7689c1 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.15" +#define MODULE_RELEASE "3.1.4.16" #include #include From 4a9003ef3633a5117071fd26c1a5faca03465366 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:53:33 +0530 Subject: [PATCH 204/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8ebbeb0b..29f955af 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.15' +VERSION = '3.1.4.16' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From f5ebc5738bc6f30d0500b19314914c6e636ce3ab Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:57:58 +0530 Subject: [PATCH 205/259] Update test_sdist.yml --- .github/workflows/test_sdist.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml index 5ddad6ce..8bee18d6 100644 --- a/.github/workflows/test_sdist.yml +++ b/.github/workflows/test_sdist.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - push: - branches: - - test_wheel + #push: + #branches: + # - test_wheel #tags: # - 'v* release: From c91b19923cfe780cb76f3c5e1d0b976e104ff39b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:58:29 +0530 Subject: [PATCH 206/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 003917d6..f185adfa 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -4,9 +4,9 @@ name: Build and upload to PyPI on: workflow_dispatch: pull_request: - #push: - # branches: - # - test_wheel + push: + branches: + - test_wheel #tags: # - 'v* release: From 5ffc7bf6e8eee7cbdd5f30143e0dace5f5b0d438 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:00:10 +0530 Subject: [PATCH 207/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index f185adfa..c49e2e53 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -14,7 +14,7 @@ on: - published env: - PACKAGE: ibm_db-3.1.4.15 + PACKAGE: ibm_db-3.1.4.16 jobs: build_wheels_windows_64: From 3abf33e25c3be5eacaca53dfd5430034a52a27a4 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:36:36 +0530 Subject: [PATCH 208/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index c49e2e53..e617db6c 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -14,7 +14,7 @@ on: - published env: - PACKAGE: ibm_db-3.1.4.16 + PACKAGE: ibm_db-3.1.4.17 jobs: build_wheels_windows_64: @@ -119,7 +119,7 @@ jobs: uses: actions/upload-artifact@v3 with: path: | - ./dist/$PACKAGE.tar.gz + ./dist/*.tar.gz upload_pypi: From 34c5272940733223fad965325717b1d6a576b3eb Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:36:59 +0530 Subject: [PATCH 209/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index ff7689c1..78a1fa4e 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.16" +#define MODULE_RELEASE "3.1.4.17" #include #include From 8e7d8afe9910979103ecc87f0cac40dd7e5257ff Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:37:25 +0530 Subject: [PATCH 210/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 29f955af..2557d0f3 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.16' +VERSION = '3.1.4.17' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From 5799c9094fc9858308cfab378a9342eb2bfc913e Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 7 Aug 2023 14:15:06 +0530 Subject: [PATCH 211/259] python wheels support code update test version 3.1.4.18 --- .../test_script_to_exclude_clidriver.yml | 105 ------------------ .github/workflows/test_sdist.yml | 91 --------------- CHANGES.md | 19 ++++ README.md | 17 +-- ibm_db.c | 4 +- setup.py | 7 +- 6 files changed, 26 insertions(+), 217 deletions(-) delete mode 100644 .github/workflows/test_script_to_exclude_clidriver.yml delete mode 100644 .github/workflows/test_sdist.yml diff --git a/.github/workflows/test_script_to_exclude_clidriver.yml b/.github/workflows/test_script_to_exclude_clidriver.yml deleted file mode 100644 index 439d48eb..00000000 --- a/.github/workflows/test_script_to_exclude_clidriver.yml +++ /dev/null @@ -1,105 +0,0 @@ -name: Build and upload to PyPI - -# Build on every branch push, tag push, and pull request change: -on: - workflow_dispatch: - pull_request: - #push: - # branches: - # - test_wheel - #tags: - # - 'v* - release: - types: - - published - - -jobs: - build_wheels_windows_64: - name: Build wheels on ${{ matrix.os }} 64-bit - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [windows-latest] - steps: - - uses: actions/checkout@v3 - - name: Build wheels - uses: pypa/cibuildwheel@v2.12.1 - env: - CIBW_SKIP: "*-win32" - - uses: actions/upload-artifact@v3 - with: - path: ./wheelhouse/*.whl - - build_wheels_windows_32: - name: Build wheels on ${{ matrix.os }} 32-bit - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [windows-latest] - steps: - - uses: actions/checkout@v3 - - name: Build wheels - uses: pypa/cibuildwheel@v2.12.1 - env: - CIBW_BUILD: "*-win32" - - uses: actions/upload-artifact@v3 - with: - path: ./wheelhouse/*.whl - build_wheels_macos_linux: - name: Build wheels on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-latest,ubuntu-latest] - #os: [windows-latest, ubuntu-latest] - steps: - - uses: actions/checkout@v3 - - name: Build wheels - uses: pypa/cibuildwheel@v2.12.1 - env: - CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 - #CIBW_SKIP: "*-musllinux_* pp*" - CIBW_SKIP: "*-*linux_{aarch64,ppc64le}" - CIBW_REPAIR_WHEEL_COMMAND_LINUX: - auditwheel repair - --exclude libdb2.so.1 - --exclude libDB2xml4c.so.58 - --exclude libm.so.6 - --exclude libcrypt.so.1 - --exclude libpam.so.0 - --exclude librt.so.1 - --exclude libpthread.so.0 - --exclude libc.so.6 - --exclude libdl.so.2 - --wheel-dir {dest_dir} - {wheel} - - uses: actions/upload-artifact@v3 - with: - path: ./wheelhouse/*.whl - build_sdist: - name: Build source distribution - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - #env: - # CIBW_ENVIRONMENT:: PATH="$PATH:/usr/lib/python3/dist-packages/clidriver/bin:/usr/lib/python3/dist-packages/ibm_db-3.1.4.3-py3.1-linux-x86_64.egg/clidriver/bin" - - name: Install Python dependencies - run: | - python -m pip install --upgrade pip build - - name: Build sdist - #env: - #CIBW_ENVIRONMENT:: PATH="$PATH:/usr/lib/python3/dist-packages/clidriver/bin:/usr/lib/python3/dist-packages/ibm_db-3.1.4.3-py3.1-linux-x86_64.egg/clidriver/bin" - run: | - python -m build --sdist --no-isolation - ls - - name: run cd dist and ls - run: | - cd dist - ls - - - name: Upload sdist - uses: actions/upload-artifact@v3 - with: - path: | - ./dist/*.tar.gz diff --git a/.github/workflows/test_sdist.yml b/.github/workflows/test_sdist.yml deleted file mode 100644 index 8bee18d6..00000000 --- a/.github/workflows/test_sdist.yml +++ /dev/null @@ -1,91 +0,0 @@ -name: Build and upload to PyPI - -# Build on every branch push, tag push, and pull request change: -on: - workflow_dispatch: - pull_request: - #push: - #branches: - # - test_wheel - #tags: - # - 'v* - release: - types: - - published - -env: - PACKAGE: ibm_db-3.1.4.16 - -jobs: - build_sdist: - name: Build source distribution - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Install Python dependencies - run: | - python -m pip install --upgrade pip build - - name: Build sdist - run: python -m build --sdist --no-isolation - - name: untar *.tar.gz file - run: | - echo "cd dist" - cd dist - echo "tar -xzvf $PACKAGE.tar.gz " - tar -xzvf $PACKAGE.tar.gz - echo "ls" - ls - echo "ls $PACKAGE/" - ls $PACKAGE/ - echo "rm -rf $PACKAGE/clidriver*" - rm -rf $PACKAGE/clidriver* - echo "ls" - ls - echo "rm -rf $PACKAGE.tar.gz" - rm -rf $PACKAGE.tar.gz - echo "ls" - ls - echo " ls $PACKAGE/" - ls $PACKAGE/ - echo "tar -czvf $PACKAGE.tar.gz $PACKAGE" - tar -czvf $PACKAGE.tar.gz $PACKAGE - echo "rm -rf $PACKAGE" - rm -rf $PACKAGE - echo "ls" - ls - - name: Upload sdist - uses: actions/upload-artifact@v3 - with: - path: | - ./dist/$PACKAGE.tar.gz - - upload_pypi: - needs: [build_sdist] - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - #upload to PyPI on every tag starting with 'v' - #if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') - # alternatively, to publish when a GitHub Release is created, use the following rule: - #if: github.event_name == 'release' && github.event.action == 'published' - steps: - - uses: actions/download-artifact@v3 - with: - # unpacks default artifact into dist/ - #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 - with: - user: ${{secrets.PYPI_USER}} - password: ${{ secrets.PYPI_PASSWORD}} diff --git a/CHANGES.md b/CHANGES.md index db104e47..838c371d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,22 @@ +2023-08-08, Version 3.1.5 +========================= + + * Fix for issue #857 (Earammak) + + * Support for Null value for an array (Earammak) + + * Fix for issue #838 (Earammak) + + * Code change #837 and readme update (Earammak) + + * 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) + 2022-11-24, Version 3.1.4 ========================= diff --git a/README.md b/README.md index 600ac0cd..a8dd5d66 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Provides Python interface for connecting to IBM Db2 for LUW, IBM Informix and IB ## Pre-requisites -Install Python 2.7 or Python 3 <= 3.11. The minimum python version supported by driver is python 2.7 and the latest version supported is python 3.11 except version 3.3 as it has reached end-of-life. +Install Python 3.7 <= 3.11. The minimum python version supported by driver is python 3.7 and the latest version supported is python 3.11. > **For MacOS M1 / Apple Silicon chip system** > @@ -62,18 +62,6 @@ Install Python 2.7 or Python 3 <= 3.11. The minimum python version supported by > ``` > 2. When regular installation does not work, it might help to preface your installation command with `ARCHFLAGS="-arch x86_64"`. Be sure to have uninstalled `ibm_db` before installing again, otherwise this fix won't help. -The pre-built 32-bit and 64-bit binaries on windows are available for the following versions: -``` -python 2.7 -python 3.4 -python 3.5 -python 3.6 -python 3.7 -python 3.8 -python 3.9 -python 3.10 -python 3.11 -``` You might need zlib, openssl, pip installations if not already available in your setup. @@ -109,7 +97,8 @@ If you have to use your own URL for clidriver please set environment variable IBM_DB_INSTALLER_URL ``` -If you are using python 3.8 or 3.9 on windows and building the source manually, you will need to set dll path of dependent library of clidriver before importing the module as: +Note: For windows after installing ibm_db, we need to make sure to set dll path of dependent library of clidriver before importing the module as: + ``` import os os.add_dll_directory('path to clidriver installation until bin') diff --git a/ibm_db.c b/ibm_db.c index 78a1fa4e..2b15765f 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.17" +#define MODULE_RELEASE "3.1.4.18" #include #include @@ -12405,6 +12405,7 @@ INIT_ibm_db(void) { PyModule_AddIntConstant(m, "SQL_ATTR_PARAM_BIND_TYPE", SQL_ATTR_PARAM_BIND_TYPE); PyModule_AddIntConstant(m, "SQL_PARAM_BIND_BY_COLUMN", SQL_PARAM_BIND_BY_COLUMN); PyModule_AddIntConstant(m, "SQL_ATTR_XML_DECLARATION", SQL_ATTR_XML_DECLARATION); +#ifndef __MVS__ PyModule_AddIntConstant(m, "SQL_ATTR_CLIENT_APPLCOMPAT", SQL_ATTR_CLIENT_APPLCOMPAT); PyModule_AddIntConstant(m, "SQL_ATTR_CURRENT_PACKAGE_SET", SQL_ATTR_CURRENT_PACKAGE_SET); PyModule_AddIntConstant(m, "SQL_ATTR_ACCESS_MODE", SQL_ATTR_ACCESS_MODE); @@ -12491,6 +12492,7 @@ INIT_ibm_db(void) { PyModule_AddIntConstant(m, "SQL_ATTR_IGNORE_SERVER_LIST",SQL_ATTR_IGNORE_SERVER_LIST); PyModule_AddIntConstant(m, "SQL_ATTR_DECFLOAT_ROUNDING_MODE", SQL_ATTR_DECFLOAT_ROUNDING_MODE); PyModule_AddIntConstant(m, "SQL_ATTR_PING_DB", SQL_ATTR_PING_DB); +#endif PyModule_AddIntConstant(m, " SQL_ATTR_TXN_ISOLATION", SQL_ATTR_TXN_ISOLATION); return MOD_RETURN_VAL(m); } diff --git a/setup.py b/setup.py index 2557d0f3..b404cdb7 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.17' +VERSION = '3.1.4.18' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') @@ -500,11 +500,6 @@ def print_exception( e, url): 'Operating System :: Microsoft :: Windows :: Windows 10', 'Operating System :: Unix', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', From 3bc215af6f933b8a44de1af04b239af6c6c6ebae Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 7 Aug 2023 14:19:04 +0530 Subject: [PATCH 212/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index e617db6c..ca8fad54 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -14,7 +14,7 @@ on: - published env: - PACKAGE: ibm_db-3.1.4.17 + PACKAGE: ibm_db-3.1.4.18 jobs: build_wheels_windows_64: From 7cf844f81ec33480ffc8c39702544c1e3d28a350 Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 7 Aug 2023 14:29:05 +0530 Subject: [PATCH 213/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index ca8fad54..3d01dd48 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -23,6 +23,7 @@ jobs: strategy: matrix: os: [windows-latest] + c steps: - uses: actions/checkout@v3 - name: Build wheels @@ -40,6 +41,7 @@ jobs: strategy: matrix: os: [windows-latest] + python-version: [3.7, 3.8, 3.9, 3.10, 3.11] steps: - uses: actions/checkout@v3 - name: Build wheels @@ -55,7 +57,7 @@ jobs: strategy: matrix: os: [macos-latest,ubuntu-latest] - #os: [windows-latest, ubuntu-latest] + python-version: [3.7, 3.8, 3.9, 3.10, 3.11] steps: - uses: actions/checkout@v3 - name: Build wheels From d9bad6b2338173e36d3a23fd1d91b17cbdf4f21d Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 7 Aug 2023 14:30:35 +0530 Subject: [PATCH 214/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 3d01dd48..89304caa 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: os: [windows-latest] - c + python-version: [3.7, 3.8, 3.9, 3.10, 3.11] steps: - uses: actions/checkout@v3 - name: Build wheels From a9830439bac95ba740c111e965b87ff0dc5afa1c Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 7 Aug 2023 14:33:23 +0530 Subject: [PATCH 215/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 89304caa..b52561ce 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -18,7 +18,7 @@ env: jobs: build_wheels_windows_64: - name: Build wheels on ${{ matrix.os }} 64-bit + name: Build wheels on ${{ matrix.os }} 64-bit ${{ python-version}} runs-on: ${{ matrix.os }} strategy: matrix: @@ -36,7 +36,7 @@ jobs: path: ./wheelhouse/*.whl build_wheels_windows_32: - name: Build wheels on ${{ matrix.os }} 32-bit + name: Build wheels on ${{ matrix.os }} 32-bit ${{ python-version }} runs-on: ${{ matrix.os }} strategy: matrix: @@ -52,7 +52,7 @@ jobs: with: path: ./wheelhouse/*.whl build_wheels_macos_linux: - name: Build wheels on ${{ matrix.os }} + name: Build wheels on ${{ matrix.os }} ${{python-version}} runs-on: ${{ matrix.os }} strategy: matrix: From 4e424197044cd182f6b3427ed29c1251dd740c52 Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 7 Aug 2023 14:37:41 +0530 Subject: [PATCH 216/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index b52561ce..3d26ff2b 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -18,7 +18,7 @@ env: jobs: build_wheels_windows_64: - name: Build wheels on ${{ matrix.os }} 64-bit ${{ python-version}} + name: Build wheels on ${{ matrix.os }} 64-bit ${{matrix.python-version}} runs-on: ${{ matrix.os }} strategy: matrix: @@ -36,7 +36,7 @@ jobs: path: ./wheelhouse/*.whl build_wheels_windows_32: - name: Build wheels on ${{ matrix.os }} 32-bit ${{ python-version }} + name: Build wheels on ${{ matrix.os }} 32-bit ${{ matrix.python-version }} runs-on: ${{ matrix.os }} strategy: matrix: @@ -52,7 +52,7 @@ jobs: with: path: ./wheelhouse/*.whl build_wheels_macos_linux: - name: Build wheels on ${{ matrix.os }} ${{python-version}} + name: Build wheels on ${{ matrix.os }} ${{matrix.python-version}} runs-on: ${{ matrix.os }} strategy: matrix: From 40fecc6152e150e7b0dab9d3da579e7c775c3188 Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 7 Aug 2023 14:51:02 +0530 Subject: [PATCH 217/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 3d26ff2b..ab464ff9 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -18,12 +18,12 @@ env: jobs: build_wheels_windows_64: - name: Build wheels on ${{ matrix.os }} 64-bit ${{matrix.python-version}} + name: Build wheels on ${{ matrix.os }} 64-bit for python version ${{matrix.python-version}} runs-on: ${{ matrix.os }} strategy: matrix: os: [windows-latest] - python-version: [3.7, 3.8, 3.9, 3.10, 3.11] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] steps: - uses: actions/checkout@v3 - name: Build wheels @@ -36,12 +36,12 @@ jobs: path: ./wheelhouse/*.whl build_wheels_windows_32: - name: Build wheels on ${{ matrix.os }} 32-bit ${{ matrix.python-version }} + name: Build wheels on ${{ matrix.os }} 32-bit for python version ${{ matrix.python-version }} runs-on: ${{ matrix.os }} strategy: matrix: os: [windows-latest] - python-version: [3.7, 3.8, 3.9, 3.10, 3.11] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] steps: - uses: actions/checkout@v3 - name: Build wheels @@ -52,13 +52,13 @@ jobs: with: path: ./wheelhouse/*.whl build_wheels_macos_linux: - name: Build wheels on ${{ matrix.os }} ${{matrix.python-version}} + name: Build wheels on ${{ matrix.os }} for python version ${{matrix.python-version}} runs-on: ${{ matrix.os }} strategy: matrix: os: [macos-latest,ubuntu-latest] - python-version: [3.7, 3.8, 3.9, 3.10, 3.11] - steps: + python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] + steps:' - uses: actions/checkout@v3 - name: Build wheels uses: pypa/cibuildwheel@v2.12.1 From d952ac993eb33cc249281496bf57942f819eda6d Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 7 Aug 2023 14:52:36 +0530 Subject: [PATCH 218/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index ab464ff9..5c28e322 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -58,7 +58,7 @@ jobs: matrix: os: [macos-latest,ubuntu-latest] python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] - steps:' + steps: - uses: actions/checkout@v3 - name: Build wheels uses: pypa/cibuildwheel@v2.12.1 From dfbbc2dc0238c66d16ab8279b47c31759a303485 Mon Sep 17 00:00:00 2001 From: ek Date: Mon, 7 Aug 2023 15:11:16 +0530 Subject: [PATCH 219/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 5c28e322..b2e89079 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -18,53 +18,51 @@ env: jobs: build_wheels_windows_64: - name: Build wheels on ${{ matrix.os }} 64-bit for python version ${{matrix.python-version}} + name: Build wheels on ${{ matrix.os }} 64-bit runs-on: ${{ matrix.os }} strategy: matrix: os: [windows-latest] - python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] steps: - uses: actions/checkout@v3 - name: Build wheels uses: pypa/cibuildwheel@v2.12.1 env: CIBW_BUILD: "*-win_amd64" - CIBW_SKIP: pp* + CIBW_SKIP: "cp36-* pp*" - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl build_wheels_windows_32: - name: Build wheels on ${{ matrix.os }} 32-bit for python version ${{ matrix.python-version }} + name: Build wheels on ${{ matrix.os }} 32-bit runs-on: ${{ matrix.os }} strategy: matrix: os: [windows-latest] - python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] steps: - uses: actions/checkout@v3 - name: Build wheels uses: pypa/cibuildwheel@v2.12.1 env: CIBW_BUILD: "*-win32" + CIBW_SKIP: "cp36-* pp*" - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl build_wheels_macos_linux: - name: Build wheels on ${{ matrix.os }} for python version ${{matrix.python-version}} + name: Build wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: os: [macos-latest,ubuntu-latest] - python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] steps: - uses: actions/checkout@v3 - name: Build wheels uses: pypa/cibuildwheel@v2.12.1 env: CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 - CIBW_SKIP: "*-musllinux_* pp* *-*linux_{aarch64,ppc64le}" + CIBW_SKIP: "cp36-* *-musllinux_* pp* *-*linux_{aarch64,ppc64le}" CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --exclude libdb2.so.1 From 0a0ef338fbc882f0d71e1ca7a0ff50a66ec5e7d3 Mon Sep 17 00:00:00 2001 From: ek Date: Wed, 9 Aug 2023 09:58:29 +0530 Subject: [PATCH 220/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index b2e89079..489ac666 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -1,21 +1,22 @@ name: Build and upload to PyPI -# Build on every branch push, tag push, and pull request change: +# Build on every workflow_dispatch, branch push, tag push, and pull request change: on: workflow_dispatch: pull_request: push: branches: - - test_wheel - #tags: - # - 'v* + - master + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 release: types: - published env: - PACKAGE: ibm_db-3.1.4.18 - + PACKAGE: ibm_db-3.1.4 + jobs: build_wheels_windows_64: name: Build wheels on ${{ matrix.os }} 64-bit @@ -129,9 +130,7 @@ jobs: matrix: os: [ubuntu-latest] #upload to PyPI on every tag starting with 'v' - #if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') - # alternatively, to publish when a GitHub Release is created, use the following rule: - #if: github.event_name == 'release' && github.event.action == 'published' + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v3 with: From 4bff5abedd4517d445456696ca5dddedec134649 Mon Sep 17 00:00:00 2001 From: ek Date: Wed, 9 Aug 2023 10:06:26 +0530 Subject: [PATCH 221/259] test on ibm_db version 3.1.4.19 --- .github/workflows/bld_wheels_and_upload.yml | 2 +- .gitignore | 1 - ibm_db.c | 2 +- setup.py | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 489ac666..fda33fdc 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -15,7 +15,7 @@ on: - published env: - PACKAGE: ibm_db-3.1.4 + PACKAGE: ibm_db-3.1.4.19 jobs: build_wheels_windows_64: diff --git a/.gitignore b/.gitignore index 86fa7f29..655a89ec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ __pycache__/ build -clidriver dist ibm_db.egg-info *.pyc diff --git a/ibm_db.c b/ibm_db.c index 2b15765f..714f8dc3 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.18" +#define MODULE_RELEASE "3.1.4.19" #include #include diff --git a/setup.py b/setup.py index b404cdb7..a8b2569e 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.18' +VERSION = '3.1.4.19' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From b49d5c219e53d16f8391f59cdd9fdae363de7914 Mon Sep 17 00:00:00 2001 From: ek Date: Wed, 9 Aug 2023 10:08:11 +0530 Subject: [PATCH 222/259] remove ibm_db.py --- ibm_db.py | 1 - 1 file changed, 1 deletion(-) delete mode 100644 ibm_db.py diff --git a/ibm_db.py b/ibm_db.py deleted file mode 100644 index 0519ecba..00000000 --- a/ibm_db.py +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file From 4b43f6a5fe54d367f6554b78bc9763afe4210bc8 Mon Sep 17 00:00:00 2001 From: ek Date: Wed, 9 Aug 2023 10:22:50 +0530 Subject: [PATCH 223/259] update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index fda33fdc..393baf2c 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -8,11 +8,8 @@ on: branches: - master # Sequence of patterns matched against refs/tags - tags: + tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 - release: - types: - - published env: PACKAGE: ibm_db-3.1.4.19 From 4b8f2bfb7bdbc74106ead5b6ddd740dbaa2ce122 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 9 Aug 2023 10:25:37 +0530 Subject: [PATCH 224/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 393baf2c..2472adc3 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -1,6 +1,6 @@ name: Build and upload to PyPI -# Build on every workflow_dispatch, branch push, tag push, and pull request change: +# Build on every workflow_dispatch, branch push, tag push, and pull request change on: workflow_dispatch: pull_request: From 8590e80198d1719929549c57c64af492c9afdbef Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 9 Aug 2023 10:26:07 +0530 Subject: [PATCH 225/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 2472adc3..a586ef83 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -6,7 +6,7 @@ on: pull_request: push: branches: - - master + - test_wheel # Sequence of patterns matched against refs/tags tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 From bd8c44ee45b242ea5433ce96496d263a5e67d9b0 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 9 Aug 2023 10:47:26 +0530 Subject: [PATCH 226/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index a586ef83..4e1fa7c2 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -127,7 +127,7 @@ jobs: matrix: os: [ubuntu-latest] #upload to PyPI on every tag starting with 'v' - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + #if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v3 with: From 7691e8043c9220ff1ba89f41f41ada9b36b0be02 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 9 Aug 2023 11:16:08 +0530 Subject: [PATCH 227/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 4e1fa7c2..4607b75b 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -12,7 +12,7 @@ on: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 env: - PACKAGE: ibm_db-3.1.4.19 + PACKAGE: ibm_db-3.1.4 jobs: build_wheels_windows_64: @@ -127,7 +127,7 @@ jobs: matrix: os: [ubuntu-latest] #upload to PyPI on every tag starting with 'v' - #if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v3 with: From 54b346e1244f90465557ec49ba33fd409e71f4fe Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 9 Aug 2023 11:16:43 +0530 Subject: [PATCH 228/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index 714f8dc3..f085a4b8 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.19" +#define MODULE_RELEASE "3.1.4" #include #include From ead4757410fcde19435eec2f72ee5ad722495d6b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 9 Aug 2023 11:17:03 +0530 Subject: [PATCH 229/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a8b2569e..c0b1ab3e 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.19' +VERSION = '3.1.4' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From 8fc632468028cbab434b13502889168f4e1d938a Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 9 Aug 2023 11:17:40 +0530 Subject: [PATCH 230/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 4607b75b..a757a5d4 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -6,7 +6,7 @@ on: pull_request: push: branches: - - test_wheel + - master # Sequence of patterns matched against refs/tags tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 From 5979e26892710dab2f8a915f91bf9e351d2aa8bd Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 9 Aug 2023 17:03:10 +0530 Subject: [PATCH 231/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c0b1ab3e..ffa19263 100644 --- a/setup.py +++ b/setup.py @@ -461,7 +461,7 @@ def print_exception( e, url): (get_python_lib(), ['./LICENSE']), (get_python_lib(), ['./config.py.sample'])] -modules = ['ibm_db','ibm_db_dbi', 'testfunctions', 'ibmdb_tests'] +modules = ['ibm_db_dbi', 'testfunctions', 'ibmdb_tests'] if 'zos' == sys.platform: ext_modules = _ext_modules(os.path.join(os.getcwd(), include_dir), library, ibm_db_lib, ibm_db_lib_runtime) From 2272e926d7fb7c33e37196966e22ff6d5897cf7f Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 16:10:43 +0530 Subject: [PATCH 232/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index a757a5d4..180fcb5c 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -6,7 +6,7 @@ on: pull_request: push: branches: - - master + - test_wheel # Sequence of patterns matched against refs/tags tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build wheels - uses: pypa/cibuildwheel@v2.12.1 + uses: pypa/cibuildwheel@v2.15.0 env: CIBW_BUILD: "*-win_amd64" CIBW_SKIP: "cp36-* pp*" @@ -41,7 +41,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build wheels - uses: pypa/cibuildwheel@v2.12.1 + uses: pypa/cibuildwheel@v2.15.0 env: CIBW_BUILD: "*-win32" CIBW_SKIP: "cp36-* pp*" @@ -57,7 +57,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build wheels - uses: pypa/cibuildwheel@v2.12.1 + uses: pypa/cibuildwheel@v2.15.0 env: CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 CIBW_SKIP: "cp36-* *-musllinux_* pp* *-*linux_{aarch64,ppc64le}" From 11072879d194edaaa252716f503e4bb4ff11e5c3 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 16:20:24 +0530 Subject: [PATCH 233/259] Update setup.py --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index ffa19263..03f3a22f 100644 --- a/setup.py +++ b/setup.py @@ -505,6 +505,7 @@ def print_exception( e, url): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Topic :: Database :: Front-Ends'], long_description = 'Python DBI driver for IBM Db2 for LUW, IBM Informix, IBM Db2 for iSeries(AS400) and IBM Db2 for z/OS servers', From 8e6f057a1de870e871f44402d83a9487f4c98fbb Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 16:28:57 +0530 Subject: [PATCH 234/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 180fcb5c..538d1c27 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build wheels - uses: pypa/cibuildwheel@v2.15.0 + uses: pypa/cibuildwheel@v2.12.2 env: CIBW_BUILD: "*-win_amd64" CIBW_SKIP: "cp36-* pp*" @@ -41,7 +41,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build wheels - uses: pypa/cibuildwheel@v2.15.0 + uses: pypa/cibuildwheel@v2.12.2 env: CIBW_BUILD: "*-win32" CIBW_SKIP: "cp36-* pp*" @@ -57,7 +57,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build wheels - uses: pypa/cibuildwheel@v2.15.0 + uses: pypa/cibuildwheel@v2.12.2 env: CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 CIBW_SKIP: "cp36-* *-musllinux_* pp* *-*linux_{aarch64,ppc64le}" From edae0025e3f0778d64a8dbf9b771c31f924a36fb Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 16:36:59 +0530 Subject: [PATCH 235/259] Update setup.py --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index 03f3a22f..ffa19263 100644 --- a/setup.py +++ b/setup.py @@ -505,7 +505,6 @@ def print_exception( e, url): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12', 'Topic :: Database :: Front-Ends'], long_description = 'Python DBI driver for IBM Db2 for LUW, IBM Informix, IBM Db2 for iSeries(AS400) and IBM Db2 for z/OS servers', From 11b239a0483dd45d06cd316ce1d485f94b569461 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 16:37:26 +0530 Subject: [PATCH 236/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 538d1c27..5d9f0312 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -6,7 +6,7 @@ on: pull_request: push: branches: - - test_wheel + - master # Sequence of patterns matched against refs/tags tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 From 0dff888dad1eb7334db8544b4988854e1f187b8b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 20:27:29 +0530 Subject: [PATCH 237/259] Create test_workflow_dispatch.yml --- .github/workflows/test_workflow_dispatch.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/test_workflow_dispatch.yml diff --git a/.github/workflows/test_workflow_dispatch.yml b/.github/workflows/test_workflow_dispatch.yml new file mode 100644 index 00000000..2da2228b --- /dev/null +++ b/.github/workflows/test_workflow_dispatch.yml @@ -0,0 +1,14 @@ +on: + workflow_dispatch + +jobs: + build_sdist: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v3 + - name: Build sdist + run: python setup.py sdist bdist_wheel + From 5ce5ac79fcc60abe8f809319036706cfb5e0d13b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 20:28:35 +0530 Subject: [PATCH 238/259] Update test_workflow_dispatch.yml --- .github/workflows/test_workflow_dispatch.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test_workflow_dispatch.yml b/.github/workflows/test_workflow_dispatch.yml index 2da2228b..d0c2df05 100644 --- a/.github/workflows/test_workflow_dispatch.yml +++ b/.github/workflows/test_workflow_dispatch.yml @@ -4,7 +4,6 @@ on: jobs: build_sdist: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 - name: Set up Python From 97a71ea48ff4f4e669a92eb80af04919a2b393b8 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 20:29:20 +0530 Subject: [PATCH 239/259] Update test_workflow_dispatch.yml --- .github/workflows/test_workflow_dispatch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_workflow_dispatch.yml b/.github/workflows/test_workflow_dispatch.yml index d0c2df05..5daca247 100644 --- a/.github/workflows/test_workflow_dispatch.yml +++ b/.github/workflows/test_workflow_dispatch.yml @@ -1,5 +1,5 @@ on: - workflow_dispatch + workflow_dispatch: jobs: build_sdist: From 49130576155b3eb2d5ee764cf1d6efd28caac91f Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 20:37:55 +0530 Subject: [PATCH 240/259] Delete test_workflow_dispatch.yml --- .github/workflows/test_workflow_dispatch.yml | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .github/workflows/test_workflow_dispatch.yml diff --git a/.github/workflows/test_workflow_dispatch.yml b/.github/workflows/test_workflow_dispatch.yml deleted file mode 100644 index 5daca247..00000000 --- a/.github/workflows/test_workflow_dispatch.yml +++ /dev/null @@ -1,13 +0,0 @@ -on: - workflow_dispatch: - -jobs: - build_sdist: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v3 - - name: Build sdist - run: python setup.py sdist bdist_wheel - From ac36b3fb04f07618ded140a03e70241f294ca713 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 20:42:58 +0530 Subject: [PATCH 241/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 24 +++------------------ 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 5d9f0312..e5e08f91 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -6,13 +6,13 @@ on: pull_request: push: branches: - - master + - test_wheel # Sequence of patterns matched against refs/tags tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 env: - PACKAGE: ibm_db-3.1.4 + PACKAGE: ibm_db-3.1.4.20 jobs: build_wheels_windows_64: @@ -87,32 +87,14 @@ jobs: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation - - name: untar *.tar.gz file + - name: Build source distribution run: | - echo "cd dist" cd dist - echo "tar -xzvf $PACKAGE.tar.gz " tar -xzvf $PACKAGE.tar.gz - echo "ls" - ls - echo "ls $PACKAGE/" - ls $PACKAGE/ - echo "rm -rf $PACKAGE/clidriver*" rm -rf $PACKAGE/clidriver* - echo "ls" - ls - echo "rm -rf $PACKAGE.tar.gz" rm -rf $PACKAGE.tar.gz - echo "ls" - ls - echo " ls $PACKAGE/" - ls $PACKAGE/ - echo "tar -czvf $PACKAGE.tar.gz $PACKAGE" tar -czvf $PACKAGE.tar.gz $PACKAGE - echo "rm -rf $PACKAGE" rm -rf $PACKAGE - echo "ls" - ls - name: Upload sdist uses: actions/upload-artifact@v3 with: From 651f309201e0d460e4840d6ae7c3581339248ce8 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 20:43:27 +0530 Subject: [PATCH 242/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index f085a4b8..c2061184 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4" +#define MODULE_RELEASE "3.1.4.20" #include #include From 85f5a4ae0f93faff624f8f577f221822bd5b5b55 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 20:44:00 +0530 Subject: [PATCH 243/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ffa19263..60acccea 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4' +VERSION = '3.1.4.20' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From f199852f931be89cbf8b5142859416ee953bfea9 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 21:17:55 +0530 Subject: [PATCH 244/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index e5e08f91..47557eda 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -12,7 +12,7 @@ on: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 env: - PACKAGE: ibm_db-3.1.4.20 + PACKAGE: ibm_db-3.1.4 jobs: build_wheels_windows_64: From 6cec0085e462496f8509708a5d83c49331c560ae Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 21:18:14 +0530 Subject: [PATCH 245/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 47557eda..1b44ec0e 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -6,7 +6,7 @@ on: pull_request: push: branches: - - test_wheel + - master # Sequence of patterns matched against refs/tags tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 From a1f10a0083b8078ebe6ddf92d9608eb2a771caf7 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 21:44:14 +0530 Subject: [PATCH 246/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 1b44ec0e..2972169c 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -83,8 +83,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Install Python dependencies - run: | - python -m pip install --upgrade pip build + run: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation - name: Build source distribution From 5a38793cbee6766430fa4d15a2f3e2067825aec3 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 21:45:01 +0530 Subject: [PATCH 247/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 2972169c..4855a5ed 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -6,7 +6,7 @@ on: pull_request: push: branches: - - master + - test_wheel # Sequence of patterns matched against refs/tags tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 From 8d665adb1d432127bff48f2c2c7f1e0660378091 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 21:46:50 +0530 Subject: [PATCH 248/259] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 60acccea..ffa19263 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools.command.install import install PACKAGE = 'ibm_db' -VERSION = '3.1.4.20' +VERSION = '3.1.4' LICENSE = 'Apache License 2.0' readme = os.path.join(os.path.dirname(__file__),'README.md') From fa546db19b741c3bc58c2bac2f370fa035f1d07b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 10 Aug 2023 21:49:13 +0530 Subject: [PATCH 249/259] Update ibm_db.c --- ibm_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm_db.c b/ibm_db.c index c2061184..f085a4b8 100644 --- a/ibm_db.c +++ b/ibm_db.c @@ -22,7 +22,7 @@ +--------------------------------------------------------------------------+ */ -#define MODULE_RELEASE "3.1.4.20" +#define MODULE_RELEASE "3.1.4" #include #include From f3c406a5ab8401c966a729730f8ddc74114f5350 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Fri, 11 Aug 2023 15:32:59 +0530 Subject: [PATCH 250/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 4855a5ed..2972169c 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -6,7 +6,7 @@ on: pull_request: push: branches: - - test_wheel + - master # Sequence of patterns matched against refs/tags tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 From 2e4d00d1d2eb875a752070abfe4fedb8cd7be3e5 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Fri, 11 Aug 2023 17:33:02 +0530 Subject: [PATCH 251/259] Update ibm_db_dbi.py --- ibm_db_dbi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ibm_db_dbi.py b/ibm_db_dbi.py index c2879da1..496cc65b 100644 --- a/ibm_db_dbi.py +++ b/ibm_db_dbi.py @@ -1289,7 +1289,7 @@ def _set_cursor_helper(self): self.messages.append(_get_exception(inst)) raise self.messages[len(self.messages) - 1] if not num_columns: - return True + return False self._result_set_produced = True return True @@ -1406,8 +1406,8 @@ def execute(self, operation, parameters=None): self.__description = None self._all_stmt_handlers = [] self._prepare_helper(operation) - self._set_cursor_helper() self._execute_helper(parameters) + self._set_cursor_helper() return self._set_rowcount() def executemany(self, operation, seq_parameters): From fbb1d201aa7c102eeae7900ede7be1661e2871aa Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Fri, 11 Aug 2023 18:56:33 +0530 Subject: [PATCH 252/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 2972169c..a88fb723 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -89,10 +89,10 @@ jobs: - name: Build source distribution run: | cd dist - tar -xzvf $PACKAGE.tar.gz + tar -xzf $PACKAGE.tar.gz rm -rf $PACKAGE/clidriver* rm -rf $PACKAGE.tar.gz - tar -czvf $PACKAGE.tar.gz $PACKAGE + tar -czf $PACKAGE.tar.gz $PACKAGE rm -rf $PACKAGE - name: Upload sdist uses: actions/upload-artifact@v3 From 10a9e7f6a6cd0101c47c3970221ac429574d9d1f Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 14 Aug 2023 11:04:37 +0530 Subject: [PATCH 253/259] Create demo.yml --- .github/workflows/demo.yml | 85 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 .github/workflows/demo.yml diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml new file mode 100644 index 00000000..8e070f50 --- /dev/null +++ b/.github/workflows/demo.yml @@ -0,0 +1,85 @@ +name: Build and upload to PyPI + +# Build on every workflow_dispatch, branch push, tag push, and pull request change +on: + workflow_dispatch: + pull_request: + push: + branches: + - master + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + +env: + PACKAGE: ibm_db-3.1.4 + +jobs: + build_wheels_windows_64: + name: Build wheels on ${{ matrix.os }} 64-bit + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest] + steps: + - uses: actions/checkout@v3 + - name: Build wheels + uses: pypa/cibuildwheel@v2.12.2 + env: + CIBW_BUILD: "*-win_amd64" + CIBW_SKIP: "cp36-* pp*" + - uses: actions/upload-artifact@v3 + with: + path: ./wheelhouse/*.whl + build_sdist: + name: Build source distribution + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Python dependencies + run: python -m pip install --upgrade pip build + - name: Build sdist + run: python -m build --sdist --no-isolation + - name: Build source distribution + run: | + cd dist + tar -xzf $PACKAGE.tar.gz + rm -rf $PACKAGE/clidriver* + rm -rf $PACKAGE.tar.gz + tar -czf $PACKAGE.tar.gz $PACKAGE + rm -rf $PACKAGE + - name: Upload sdist + uses: actions/upload-artifact@v3 + with: + path: | + ./dist/*.tar.gz + + + upload_pypi: + needs: [build_sdist, build_wheels_windows_64] + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + #upload to PyPI on every tag starting with 'v' + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + steps: + - uses: actions/download-artifact@v3 + with: + # unpacks default artifact into dist/ + #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 + with: + user: ${{secrets.PYPI_USER}} + password: ${{ secrets.PYPI_PASSWORD}} From 8dd466b3e63773e4c5de178874ad03fbc8b34387 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 14 Aug 2023 11:05:02 +0530 Subject: [PATCH 254/259] Update demo.yml --- .github/workflows/demo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 8e070f50..dd05c1be 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -6,7 +6,7 @@ on: pull_request: push: branches: - - master + - test_wheel # Sequence of patterns matched against refs/tags tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 From 99efcc53c5d943d9319d172f10ffe563791209b1 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Mon, 14 Aug 2023 11:08:34 +0530 Subject: [PATCH 255/259] Delete demo.yml --- .github/workflows/demo.yml | 85 -------------------------------------- 1 file changed, 85 deletions(-) delete mode 100644 .github/workflows/demo.yml diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml deleted file mode 100644 index dd05c1be..00000000 --- a/.github/workflows/demo.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: Build and upload to PyPI - -# Build on every workflow_dispatch, branch push, tag push, and pull request change -on: - workflow_dispatch: - pull_request: - push: - branches: - - test_wheel - # Sequence of patterns matched against refs/tags - tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 - -env: - PACKAGE: ibm_db-3.1.4 - -jobs: - build_wheels_windows_64: - name: Build wheels on ${{ matrix.os }} 64-bit - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [windows-latest] - steps: - - uses: actions/checkout@v3 - - name: Build wheels - uses: pypa/cibuildwheel@v2.12.2 - env: - CIBW_BUILD: "*-win_amd64" - CIBW_SKIP: "cp36-* pp*" - - uses: actions/upload-artifact@v3 - with: - path: ./wheelhouse/*.whl - build_sdist: - name: Build source distribution - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Install Python dependencies - run: python -m pip install --upgrade pip build - - name: Build sdist - run: python -m build --sdist --no-isolation - - name: Build source distribution - run: | - cd dist - tar -xzf $PACKAGE.tar.gz - rm -rf $PACKAGE/clidriver* - rm -rf $PACKAGE.tar.gz - tar -czf $PACKAGE.tar.gz $PACKAGE - rm -rf $PACKAGE - - name: Upload sdist - uses: actions/upload-artifact@v3 - with: - path: | - ./dist/*.tar.gz - - - upload_pypi: - needs: [build_sdist, build_wheels_windows_64] - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - #upload to PyPI on every tag starting with 'v' - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') - steps: - - uses: actions/download-artifact@v3 - with: - # unpacks default artifact into dist/ - #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 - with: - user: ${{secrets.PYPI_USER}} - password: ${{ secrets.PYPI_PASSWORD}} From a96ba74209e78934c4dcd4d7d3b45e241cd3a02b Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 16 Aug 2023 18:32:58 +0530 Subject: [PATCH 256/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index a88fb723..00c06344 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -6,14 +6,11 @@ on: pull_request: push: branches: - - master + - test_wheel # Sequence of patterns matched against refs/tags tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 -env: - PACKAGE: ibm_db-3.1.4 - jobs: build_wheels_windows_64: name: Build wheels on ${{ matrix.os }} 64-bit @@ -86,14 +83,23 @@ jobs: run: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation + - name: Package version version + id: version + run: | + cd dist + pip install ibm_db* + echo "VERSION=$(python -c 'import ibm_db; print(ibm_db.__version__)')" >> $GITHUB_OUTPUT - name: Build source distribution run: | + PACKAGE="ibm_db-$VERSION" cd dist tar -xzf $PACKAGE.tar.gz rm -rf $PACKAGE/clidriver* rm -rf $PACKAGE.tar.gz tar -czf $PACKAGE.tar.gz $PACKAGE rm -rf $PACKAGE + env: + VERSION: ${{ steps.version.outputs.VERSION}} - name: Upload sdist uses: actions/upload-artifact@v3 with: From 3581faf01e694bdc4ed70ee78c77c65286de2e12 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 16 Aug 2023 18:34:36 +0530 Subject: [PATCH 257/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 00c06344..694b3c9f 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -83,7 +83,7 @@ jobs: run: python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist --no-isolation - - name: Package version version + - name: Package version id: version run: | cd dist From c475ed35fb0eb8922e5345e79c65bd0cfdb6361a Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Wed, 16 Aug 2023 20:36:07 +0530 Subject: [PATCH 258/259] Update bld_wheels_and_upload.yml --- .github/workflows/bld_wheels_and_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bld_wheels_and_upload.yml b/.github/workflows/bld_wheels_and_upload.yml index 694b3c9f..a742d5c7 100644 --- a/.github/workflows/bld_wheels_and_upload.yml +++ b/.github/workflows/bld_wheels_and_upload.yml @@ -6,7 +6,7 @@ on: pull_request: push: branches: - - test_wheel + - master # Sequence of patterns matched against refs/tags tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 From 7f7ddcbe9494a93853e2e0cd4bc4dd9313a02260 Mon Sep 17 00:00:00 2001 From: Earammak <107038275+Earammak@users.noreply.github.com> Date: Thu, 17 Aug 2023 18:37:51 +0530 Subject: [PATCH 259/259] Update install.md --- install.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/install.md b/install.md index 7313dfd6..f9b0f652 100644 --- a/install.md +++ b/install.md @@ -25,6 +25,32 @@ Below steps were followed for the same: - NOTE(Default behaviour): - IBM_DB_HOME is the HLQ for your Db2 libraries(SDSNMACS, SDSNC.H) + + - For compatibility with python ibm_db the following parameters must be set in the ODBC ini file + CURRENTAPPENSCH=ASCII or CURRENTAPPENSCH=UNICODE (CURRENTAPPENSCH=EBCDIC is not supported) + MULTICONTEXT=2 + FLOAT=IEEE + e.g. + ```; This is a comment line... + ; Example COMMON stanza + [COMMON] + MVSDEFAULTSSID=VC1A + CONNECTTYPE=1 + MULTICONTEXT=2 + CURRENTAPPENSCH=ASCII + FLOAT=IEEE + ; Example SUBSYSTEM stanza for VC1A subsystem + [VC1A] + MVSATTACHTYPE=RRSAF + PLANNAME=DSNACLI + ; Example DATA SOURCE stanza for STLEC1 data source + [STLEC1] + AUTOCOMMIT=1 + CURSORHOLD=1 + ``` + - The ODBC ini file must be encoded in IBM-1047 and cannot have the text tag on, e.g., + chtag -b $DSNAOINI or chtag -m -c IBM-1047 $DSNAOINI. + Use chtag -p $DSNAOINI to verify that the file have T=off (text tag off) and is either tagged binary or mixed IBM-1047. e.g.