From fdb361849619f343e3bc6baf93bfa357f233d8b2 Mon Sep 17 00:00:00 2001 From: bchoudhary6415 <95407446+bchoudhary6415@users.noreply.github.com> Date: Tue, 30 Jul 2024 20:01:25 +0530 Subject: [PATCH] Changes for release v0.4.1 on PyPI (#149) * Changes for release v0.4.1 --------- Signed-off-by: Balram Choudhary --- .github/workflows/ibm_db_sa_publish.yml | 39 +++++++++++++++++++++++++ CHANGES.md | 18 ++++++++++++ README.md | 2 +- ibm_db_sa/__init__.py | 2 +- 4 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ibm_db_sa_publish.yml diff --git a/.github/workflows/ibm_db_sa_publish.yml b/.github/workflows/ibm_db_sa_publish.yml new file mode 100644 index 0000000..bb939d5 --- /dev/null +++ b/.github/workflows/ibm_db_sa_publish.yml @@ -0,0 +1,39 @@ +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 + +jobs: + deploy: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install build + - name: Build package + run: | + python -m build + - name: Publish distribution to PyPI + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + uses: pypa/gh-action-pypi-publish@release/v1 + + permissions: + # IMPORTANT: this permission is mandatory for trusted publishing + id-token: write + contents: write # Added permission for GitHub Actions to push tags \ No newline at end of file diff --git a/CHANGES.md b/CHANGES.md index faa3b35..bbcba5a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,21 @@ +2024-07-30, Version 0.4.1 +========================= + + * Fix foreign key reflection when there are tables with the same name in different schemas (#128) (Xnot) + + * Resolved issue of round function on zos server (#130) (bchoudhary6415) + + * Resolved case-sensitive issue of round function (#131) (bchoudhary6415) + + * Update pyodbc.py (#133) (Murchurl) + + * Fix get_table_comment return value (#135) (andrasore-kodinfo) + + * Fix boolean type not recognized warning (#140) (Xnot) + + * Assign OS390Reflector for Db2 for z/OS (#147) (rhgit01) + + 2023-04-20, Version 0.4.0 ========================= diff --git a/README.md b/README.md index 72fecbf..b7e3152 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ The IBM_DB_SA adapter provides the Python/SQLAlchemy interface to IBM Data Serve Version -------- -0.4.0 (2023/04/20) +0.4.1 (2024/07/30) Prerequisites -------------- diff --git a/ibm_db_sa/__init__.py b/ibm_db_sa/__init__.py index 62257cf..a190234 100644 --- a/ibm_db_sa/__init__.py +++ b/ibm_db_sa/__init__.py @@ -17,7 +17,7 @@ # | Contributors: Jaimy Azle, Mike Bayer | # +--------------------------------------------------------------------------+ -__version__ = '0.4.0' +__version__ = '0.4.1' from . import ibm_db, pyodbc, base