Skip to content

Commit

Permalink
Prepared for the release 5.1.0 (#538)
Browse files Browse the repository at this point in the history
* Disable failing test ExceptionTest_exasol+pyodbc_7_1_17.test_integrity_error
* Update the minimum python version to 3.9.2 to fix CVE-2024-12797 in cryptography
* Use poetry 2.0.1 in the GitHub workflows
* Fix formatting

Co-authored-by: Torsten Kilias <[email protected]>
Co-authored-by: Mikhail Beck <[email protected]>
  • Loading branch information
ahsimb and tkilias authored Feb 14, 2025
1 parent e3eb4d1 commit ea1a4fe
Show file tree
Hide file tree
Showing 16 changed files with 589 additions and 340 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
poetry-version: 2.0.1

- name: Build Artifacts
run: poetry build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
poetry-version: 2.0.1

- name: Check Tag Version
# make sure the pushed/created tag matched the project version
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
poetry-version: 2.0.1

- name: Check Version(s)
run: |
Expand All @@ -36,6 +38,8 @@ jobs:

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
poetry-version: 2.0.1

- name: Build Documentation
run: |
Expand All @@ -61,6 +65,7 @@ jobs:
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
poetry-version: 2.0.1

- name: Run lint
run: poetry run nox -s lint:code
Expand Down Expand Up @@ -88,6 +93,7 @@ jobs:
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
poetry-version: 2.0.1

- name: Run type-check
run: poetry run nox -s lint:typing
Expand All @@ -108,6 +114,7 @@ jobs:
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
poetry-version: 2.0.1

- name: Run security linter
run: poetry run nox -s lint:security
Expand All @@ -131,6 +138,7 @@ jobs:
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: "3.9"
poetry-version: 2.0.1

- name: Run format check
run: poetry run nox -s project:format
Expand All @@ -153,6 +161,7 @@ jobs:
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
poetry-version: 2.0.1

- name: Run Tests and Collect Coverage
run: poetry run nox -s test:unit -- -- --coverage
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
poetry-version: 2.0.1

- name: Build Documentation
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/matrix-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
poetry-version: 2.0.1

- name: Generate matrix
run: poetry run nox -s matrix:all
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/matrix-exasol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
poetry-version: 2.0.1

- name: Generate matrix
run: poetry run nox -s matrix:exasol
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/matrix-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
poetry-version: 2.0.1

- name: Generate matrix
run: poetry run nox -s matrix:python
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
poetry-version: 2.0.1

- name: Download Artifacts
uses: actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/slow-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
poetry-version: 2.0.1

- name: Install via apt
run: sudo apt-get install unixodbc unixodbc-dev libboost-date-time-dev libboost-locale-dev libboost-system-dev
Expand Down
2 changes: 2 additions & 0 deletions doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changes

* [unreleased](unreleased.md)
* [5.1.0](changes_5.1.0.md)
* [5.0.0](changes_5.0.0.md)
* [4.6.3](changes_4.6.3.md)
* [4.6.2](changes_4.6.2.md)
Expand Down Expand Up @@ -62,6 +63,7 @@
hidden:
---
unreleased
changes_5.1.0
changes_5.0.0
changes_4.6.3
changes_4.6.2
Expand Down
18 changes: 18 additions & 0 deletions doc/changes/changes_5.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 5.1.0 — 2025-02-14

## 🗑️ Removed

- Dropped python 3.8 support
* If you still depend on python 3.8 use the 5.x version line

## 🧰 Internal

- Relocked dependencies
- Removed pyexasol dbapi2 api shim
(Now it is using the dbapi2 shim provided by the pyexasol project)
- Remove testing against Exasol 7.0

## 📚 Documentation

* Added support for multiversion documentation

17 changes: 0 additions & 17 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,18 +1 @@
# Unreleased

## 🗑️ Removed

- Dropped python 3.8 support
* If you still depend on python 3.8 use the 5.x version line

## 🧰 Internal

- Relocked dependencies
- Removed pyexasol dbapi2 api shim
(Now it is using the dbapi2 shim provided by the pyexasol project)
- Remove testing against Exasol 7.0

## 📚 Documentation

* Added support for multiversion documentation

Loading

0 comments on commit ea1a4fe

Please sign in to comment.