Skip to content

Commit

Permalink
v3.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
bimalkjha committed Dec 13, 2024
1 parent cda39fe commit 671bf02
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/bld_wheels_and_upload.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Build and upload to PyPI

# Build on every workflow_dispatch, branch push, tag push, and pull request change
on:
workflow_dispatch:
Expand Down Expand Up @@ -27,9 +26,9 @@ jobs:
CIBW_SKIP: "cp36-* pp*"
- uses: actions/[email protected]
with:
name: wheels_windows64__${{ github.sha }}
path: ./wheelhouse/*.whl
name: ibmdb-wheels64-${{ matrix.os }}
path: wheelhouse/*.whl

build_wheels_windows_32:
name: Build wheels on ${{ matrix.os }} 32-bit
runs-on: ${{ matrix.os }}
Expand All @@ -45,9 +44,9 @@ jobs:
CIBW_SKIP: "cp36-* pp*"
- uses: actions/[email protected]
with:
name: wheels_windows32__${{ github.sha }}
path: ./wheelhouse/*.whl
name: ibmdb-wheels32-${{ matrix.os }}
path: wheelhouse/*.whl

build_wheels_linux:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand All @@ -64,7 +63,7 @@ jobs:
CIBW_REPAIR_WHEEL_COMMAND_LINUX:
auditwheel repair
--exclude libdb2.so.1
--exclude libDB2xml4c.so.58
--exclude libDB2xml4c.so.58
--exclude libm.so.6
--exclude libcrypt.so.1
--exclude libpam.so.0
Expand All @@ -76,8 +75,8 @@ jobs:
{wheel}
- uses: actions/[email protected]
with:
name: wheels_linux__${{ github.sha }}
path: ./wheelhouse/*.whl
name: ibmdb-wheels-${{ matrix.os }}
path: wheelhouse/*.whl

build_macos_arm64_wheels:
name: Build wheels on macOS ARM64
Expand All @@ -91,8 +90,8 @@ jobs:
- name: Upload wheels
uses: actions/[email protected]
with:
name: wheels_macos_arm64__${{ github.sha }}
path: ./wheelhouse/*.whl
name: ibmdb-wheelsarm64-${{ matrix.os }}
path: wheelhouse/*.whl

build_wheels_macos_x86:
name: Build wheels for macOS x86_64
Expand Down Expand Up @@ -120,8 +119,8 @@ jobs:
- name: Upload wheels as artifacts
uses: actions/[email protected]
with:
name: wheels_macosx86_python313__${{ github.sha }}
path: ./wheelhouse/*.whl
name: ibmdb-wheelsx86-${{ matrix.os }}
path: wheelhouse/*.whl

build_sdist:
name: Build source distribution
Expand All @@ -138,11 +137,11 @@ jobs:
cd dist
pip install ibm_db*
echo "VERSION=$(python -c 'import ibm_db; print(ibm_db.__version__)')" >> $GITHUB_OUTPUT
- name: Build source distribution
- name: Build source distribution
run: |
PACKAGE="ibm_db-$VERSION"
cd dist
tar -xzf $PACKAGE.tar.gz
tar -xzf $PACKAGE.tar.gz
rm -rf $PACKAGE/clidriver*
rm -rf $PACKAGE.tar.gz
tar -czf $PACKAGE.tar.gz $PACKAGE
Expand All @@ -152,10 +151,10 @@ jobs:
- name: Upload sdist
uses: actions/[email protected]
with:
path: |
./dist/*.tar.gz
name: ibmdb-sdist
path: dist/*.tar.gz


upload_pypi:
needs: [build_sdist,build_wheels_linux, build_wheels_windows_64,build_wheels_windows_32, build_macos_arm64_wheels, build_wheels_macos_x86]
runs-on: ${{ matrix.os }}
Expand All @@ -165,15 +164,16 @@ jobs:
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write

#upload to PyPI on every tag starting with 'v'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/[email protected]
with:
# unpacks default artifact into dist/
#if `name: artifact` is omitted, the action will create extra parent dir
name: artifact
path: dist
pattern: ibmdb-*
merge-multiple: true

- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@release/v1.12
44 changes: 44 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
2024-12-11, Version 3.2.4
=========================

* doc update for macos arm64 support (Bimal Jha)

* update ibm_db_dbi logging and fix LogMag error issue #978 (bchoudhary6415)

* Support python-ibm_db driver for MACOS ARM64 platform (#972) (Earammak)

* Support Python 3.13 and add fetch APIs (fetchone, fetchmany, fetchall) (#971) (bchoudhary6415)

* Added check to pass compilation issue for zos (#968) (Earammak)

* New API to return SQLCODE (#966) (Earammak)

* Added SQL_ATTR_CALL_RETURN attribute to return from stored procdure (#965) (Earammak)

* Support for logging in ibm_db module (#964) (bchoudhary6415)

* Fix Buffer Overflow Warning in sprintf and remove unused variables (#961) (Earammak)

* Context manager support with connection object (#947) (Earammak)

* doc: update readme file #955 (Bimal Jha)

* Support for logging in ibm_db_dbi module (#954) (bchoudhary6415)

* Fix for libdb2 for createdb and dropdb (#953) (Earammak)

* change Beta relese to Production (Bimal Jha)

* Adding .gitattributes file (#940) (bchoudhary6415)

* Update bld_wheels_and_upload.yml (Earammak)

* doc update for license error, issue #933 (Bimal Jha)

* Added isolation level attribute support (#932) (Earammak)

* doc update to addess issues #907, #926 (Bimal Jha)

* Update INSTALL.md (#921) (Ankit Kumar)


2024-03-13, Version 3.2.3
=========================

Expand Down

0 comments on commit 671bf02

Please sign in to comment.