Skip to content

Commit 671bf02

Browse files
committed
v3.2.4
1 parent cda39fe commit 671bf02

File tree

2 files changed

+67
-23
lines changed

2 files changed

+67
-23
lines changed

.github/workflows/bld_wheels_and_upload.yml

+23-23
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: Build and upload to PyPI
2-
32
# Build on every workflow_dispatch, branch push, tag push, and pull request change
43
on:
54
workflow_dispatch:
@@ -27,9 +26,9 @@ jobs:
2726
CIBW_SKIP: "cp36-* pp*"
2827
- uses: actions/upload-artifact@v4.4.3
2928
with:
30-
name: wheels_windows64__${{ github.sha }}
31-
path: ./wheelhouse/*.whl
32-
29+
name: ibmdb-wheels64-${{ matrix.os }}
30+
path: wheelhouse/*.whl
31+
3332
build_wheels_windows_32:
3433
name: Build wheels on ${{ matrix.os }} 32-bit
3534
runs-on: ${{ matrix.os }}
@@ -45,9 +44,9 @@ jobs:
4544
CIBW_SKIP: "cp36-* pp*"
4645
- uses: actions/upload-artifact@v4.4.3
4746
with:
48-
name: wheels_windows32__${{ github.sha }}
49-
path: ./wheelhouse/*.whl
50-
47+
name: ibmdb-wheels32-${{ matrix.os }}
48+
path: wheelhouse/*.whl
49+
5150
build_wheels_linux:
5251
name: Build wheels on ${{ matrix.os }}
5352
runs-on: ${{ matrix.os }}
@@ -64,7 +63,7 @@ jobs:
6463
CIBW_REPAIR_WHEEL_COMMAND_LINUX:
6564
auditwheel repair
6665
--exclude libdb2.so.1
67-
--exclude libDB2xml4c.so.58
66+
--exclude libDB2xml4c.so.58
6867
--exclude libm.so.6
6968
--exclude libcrypt.so.1
7069
--exclude libpam.so.0
@@ -76,8 +75,8 @@ jobs:
7675
{wheel}
7776
- uses: actions/upload-artifact@v4.4.3
7877
with:
79-
name: wheels_linux__${{ github.sha }}
80-
path: ./wheelhouse/*.whl
78+
name: ibmdb-wheels-${{ matrix.os }}
79+
path: wheelhouse/*.whl
8180

8281
build_macos_arm64_wheels:
8382
name: Build wheels on macOS ARM64
@@ -91,8 +90,8 @@ jobs:
9190
- name: Upload wheels
9291
uses: actions/upload-artifact@v4.4.3
9392
with:
94-
name: wheels_macos_arm64__${{ github.sha }}
95-
path: ./wheelhouse/*.whl
93+
name: ibmdb-wheelsarm64-${{ matrix.os }}
94+
path: wheelhouse/*.whl
9695

9796
build_wheels_macos_x86:
9897
name: Build wheels for macOS x86_64
@@ -120,8 +119,8 @@ jobs:
120119
- name: Upload wheels as artifacts
121120
uses: actions/upload-artifact@v4.4.3
122121
with:
123-
name: wheels_macosx86_python313__${{ github.sha }}
124-
path: ./wheelhouse/*.whl
122+
name: ibmdb-wheelsx86-${{ matrix.os }}
123+
path: wheelhouse/*.whl
125124

126125
build_sdist:
127126
name: Build source distribution
@@ -138,11 +137,11 @@ jobs:
138137
cd dist
139138
pip install ibm_db*
140139
echo "VERSION=$(python -c 'import ibm_db; print(ibm_db.__version__)')" >> $GITHUB_OUTPUT
141-
- name: Build source distribution
140+
- name: Build source distribution
142141
run: |
143142
PACKAGE="ibm_db-$VERSION"
144143
cd dist
145-
tar -xzf $PACKAGE.tar.gz
144+
tar -xzf $PACKAGE.tar.gz
146145
rm -rf $PACKAGE/clidriver*
147146
rm -rf $PACKAGE.tar.gz
148147
tar -czf $PACKAGE.tar.gz $PACKAGE
@@ -152,10 +151,10 @@ jobs:
152151
- name: Upload sdist
153152
uses: actions/upload-artifact@v4.4.3
154153
with:
155-
path: |
156-
./dist/*.tar.gz
154+
name: ibmdb-sdist
155+
path: dist/*.tar.gz
156+
157157

158-
159158
upload_pypi:
160159
needs: [build_sdist,build_wheels_linux, build_wheels_windows_64,build_wheels_windows_32, build_macos_arm64_wheels, build_wheels_macos_x86]
161160
runs-on: ${{ matrix.os }}
@@ -165,15 +164,16 @@ jobs:
165164
permissions:
166165
# IMPORTANT: this permission is mandatory for trusted publishing
167166
id-token: write
167+
168168
#upload to PyPI on every tag starting with 'v'
169169
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
170170
steps:
171171
- uses: actions/download-artifact@v4.1.7
172172
with:
173-
# unpacks default artifact into dist/
174-
#if `name: artifact` is omitted, the action will create extra parent dir
175-
name: artifact
176173
path: dist
174+
pattern: ibmdb-*
175+
merge-multiple: true
176+
177177
- name: Publish distribution to PyPI
178178
if: startsWith(github.ref, 'refs/tags')
179-
uses: pypa/gh-action-pypi-publish@release/v1
179+
uses: pypa/gh-action-pypi-publish@release/v1.12

CHANGES.md

+44
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
2024-12-11, Version 3.2.4
2+
=========================
3+
4+
* doc update for macos arm64 support (Bimal Jha)
5+
6+
* update ibm_db_dbi logging and fix LogMag error issue #978 (bchoudhary6415)
7+
8+
* Support python-ibm_db driver for MACOS ARM64 platform (#972) (Earammak)
9+
10+
* Support Python 3.13 and add fetch APIs (fetchone, fetchmany, fetchall) (#971) (bchoudhary6415)
11+
12+
* Added check to pass compilation issue for zos (#968) (Earammak)
13+
14+
* New API to return SQLCODE (#966) (Earammak)
15+
16+
* Added SQL_ATTR_CALL_RETURN attribute to return from stored procdure (#965) (Earammak)
17+
18+
* Support for logging in ibm_db module (#964) (bchoudhary6415)
19+
20+
* Fix Buffer Overflow Warning in sprintf and remove unused variables (#961) (Earammak)
21+
22+
* Context manager support with connection object (#947) (Earammak)
23+
24+
* doc: update readme file #955 (Bimal Jha)
25+
26+
* Support for logging in ibm_db_dbi module (#954) (bchoudhary6415)
27+
28+
* Fix for libdb2 for createdb and dropdb (#953) (Earammak)
29+
30+
* change Beta relese to Production (Bimal Jha)
31+
32+
* Adding .gitattributes file (#940) (bchoudhary6415)
33+
34+
* Update bld_wheels_and_upload.yml (Earammak)
35+
36+
* doc update for license error, issue #933 (Bimal Jha)
37+
38+
* Added isolation level attribute support (#932) (Earammak)
39+
40+
* doc update to addess issues #907, #926 (Bimal Jha)
41+
42+
* Update INSTALL.md (#921) (Ankit Kumar)
43+
44+
145
2024-03-13, Version 3.2.3
246
=========================
347

0 commit comments

Comments
 (0)