From 6cbb4cdc74221e25fa7d6c9d63748e23962866de Mon Sep 17 00:00:00 2001 From: Ariel Schulz Date: Fri, 23 Jan 2026 11:14:51 +0100 Subject: [PATCH 1/7] Update workflows with jinja templates --- .github/workflows/build-and-publish.yml | 7 ++- .github/workflows/check-release-tag.yml | 7 ++- .github/workflows/checks.yml | 58 +++++++++++++++++-------- .github/workflows/gh-pages.yml | 9 ++-- .github/workflows/matrix-all.yml | 7 ++- .github/workflows/matrix-exasol.yml | 7 ++- .github/workflows/matrix-python.yml | 7 ++- .github/workflows/merge-gate.yml | 4 +- .github/workflows/report.yml | 7 ++- .github/workflows/slow-checks.yml | 8 ++-- 10 files changed, 83 insertions(+), 38 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 590fbbf65..942e884a4 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -10,7 +10,7 @@ jobs: cd-job: name: Continuous Delivery - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: write steps: @@ -18,7 +18,10 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 + with: + python-version: "3.10" + poetry-version: "2.3.0" - name: Build Artifacts run: poetry build diff --git a/.github/workflows/check-release-tag.yml b/.github/workflows/check-release-tag.yml index eded3e3fd..5f4457597 100644 --- a/.github/workflows/check-release-tag.yml +++ b/.github/workflows/check-release-tag.yml @@ -7,7 +7,7 @@ jobs: check-tag-version-job: name: Check Tag Version - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read steps: @@ -15,7 +15,10 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 + with: + python-version: "3.10" + poetry-version: "2.3.0" - name: Check Tag Version # make sure the pushed/created tag matched the project version diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 88b6a6035..411622682 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -6,7 +6,7 @@ on: jobs: Version-Check: name: Version - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read steps: @@ -16,7 +16,10 @@ jobs: fetch-depth: 0 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 + with: + python-version: "3.10" + poetry-version: "2.3.0" - name: Check Version(s) run: poetry run -- nox -s version:check @@ -24,7 +27,7 @@ jobs: Documentation: name: Docs needs: [ Version-Check ] - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read steps: @@ -32,7 +35,10 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 + with: + python-version: "3.10" + poetry-version: "2.3.0" - name: Build Documentation run: | @@ -50,7 +56,7 @@ jobs: Changelog: name: Changelog Update Check - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read if: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }} @@ -59,7 +65,10 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 + with: + python-version: "3.10" + poetry-version: "2.3.0" - name: Run changelog update check run: poetry run -- nox -s changelog:updated @@ -67,7 +76,7 @@ jobs: Lint: name: Linting (Python-${{ matrix.python-version }}) needs: [ Version-Check, build-matrix ] - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read strategy: @@ -78,9 +87,10 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 with: python-version: ${{ matrix.python-version }} + poetry-version: "2.3.0" - name: Run lint run: poetry run -- nox -s lint:code @@ -97,7 +107,7 @@ jobs: Type-Check: name: Type Checking (Python-${{ matrix.python-version }}) needs: [ Version-Check, build-matrix ] - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read strategy: @@ -109,9 +119,10 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 with: python-version: ${{ matrix.python-version }} + poetry-version: "2.3.0" - name: Run type-check run: poetry run -- nox -s lint:typing @@ -119,7 +130,7 @@ jobs: Security: name: Security Checks (Python-${{ matrix.python-version }}) needs: [ Version-Check, build-matrix ] - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read strategy: @@ -131,9 +142,10 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 with: python-version: ${{ matrix.python-version }} + poetry-version: "2.3.0" - name: Run security linter run: poetry run -- nox -s lint:security @@ -147,7 +159,7 @@ jobs: Format: name: Format Check - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read steps: @@ -155,15 +167,18 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 - name: Run format check run: poetry run -- nox -s format:check + with: + python-version: "3.10" + poetry-version: "2.3.0" Build-Packages: name: Build Package Check needs: [ Documentation, Lint, Type-Check, Security, Format ] - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read steps: @@ -171,7 +186,10 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 + with: + python-version: "3.10" + poetry-version: "2.3.0" - name: Run Distribution Check run: poetry run -- nox -s package:check @@ -187,6 +205,9 @@ jobs: - name: Setup Python & Poetry Environment uses: ./.github/actions/python-environment + with: + python-version: "3.10" + poetry-version: "2.3.0" - name: Run import linter run: poetry run -- nox -s lint:import @@ -194,7 +215,7 @@ jobs: Tests: name: Unit-Tests (Python-${{ matrix.python-version }}) needs: [ Build-Packages, Lint-Imports, build-matrix ] - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read strategy: @@ -209,9 +230,10 @@ jobs: fetch-depth: 0 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 with: python-version: ${{ matrix.python-version }} + poetry-version: "2.3.0" - name: Run Tests and Collect Coverage run: poetry run -- nox -s test:unit -- --coverage diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index fea0dbdae..e8a34db1a 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -7,7 +7,7 @@ on: jobs: build-documentation: - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read steps: @@ -17,7 +17,10 @@ jobs: fetch-depth: 0 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 + with: + python-version: "3.10" + poetry-version: "2.3.0" - name: Build Documentation run: | @@ -38,7 +41,7 @@ jobs: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" steps: - name: Deploy to GitHub Pages id: deployment diff --git a/.github/workflows/matrix-all.yml b/.github/workflows/matrix-all.yml index bed900156..8ab88fe5b 100644 --- a/.github/workflows/matrix-all.yml +++ b/.github/workflows/matrix-all.yml @@ -9,7 +9,7 @@ on: jobs: all_versions: - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read steps: @@ -17,7 +17,10 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 + with: + python-version: "3.10" + poetry-version: "2.3.0" - name: Generate matrix run: poetry run -- nox -s matrix:all diff --git a/.github/workflows/matrix-exasol.yml b/.github/workflows/matrix-exasol.yml index adba1fa08..badc74341 100644 --- a/.github/workflows/matrix-exasol.yml +++ b/.github/workflows/matrix-exasol.yml @@ -9,7 +9,7 @@ on: jobs: exasol_versions: - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read steps: @@ -17,7 +17,10 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 + with: + python-version: "3.10" + poetry-version: "2.3.0" - name: Generate matrix run: poetry run -- nox -s matrix:exasol diff --git a/.github/workflows/matrix-python.yml b/.github/workflows/matrix-python.yml index cc89884f4..9231fcabb 100644 --- a/.github/workflows/matrix-python.yml +++ b/.github/workflows/matrix-python.yml @@ -9,7 +9,7 @@ on: jobs: python_versions: - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read steps: @@ -17,7 +17,10 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 + with: + python-version: "3.10" + poetry-version: "2.3.0" - name: Generate matrix run: poetry run -- nox -s matrix:python diff --git a/.github/workflows/merge-gate.yml b/.github/workflows/merge-gate.yml index 9caa3ceee..c8caddfd5 100644 --- a/.github/workflows/merge-gate.yml +++ b/.github/workflows/merge-gate.yml @@ -13,7 +13,7 @@ jobs: run-slow-tests: name: Run Slow Tests - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read @@ -36,7 +36,7 @@ jobs: # This job ensures inputs have been executed successfully. approve-merge: name: Allow Merge - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read # If you need additional jobs to be part of the merge gate, add them below diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index e7968e316..8dd083b51 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -6,7 +6,7 @@ on: jobs: report: - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read env: @@ -19,7 +19,10 @@ jobs: fetch-depth: 0 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 + with: + python-version: "3.10" + poetry-version: "2.3.0" - name: Download Artifacts uses: actions/download-artifact@v7 diff --git a/.github/workflows/slow-checks.yml b/.github/workflows/slow-checks.yml index 52e53889d..460a80525 100644 --- a/.github/workflows/slow-checks.yml +++ b/.github/workflows/slow-checks.yml @@ -13,7 +13,7 @@ jobs: tests: name: Integration-Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}}) needs: [ build-matrix ] - runs-on: ubuntu-24.04 + runs-on: "ubuntu-24.04" permissions: contents: read env: @@ -27,9 +27,10 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: ./.github/actions/python-environment + uses: exasol/python-toolbox/.github/actions/python-environment@v4 with: python-version: ${{ matrix.python-version }} + poetry-version: "2.3.0" - name: Run Tests and Collect Coverage run: poetry run -- nox -s test:integration -- --coverage --db-version ${{ matrix.exasol-version }} @@ -37,7 +38,7 @@ jobs: - name: Upload Artifacts uses: actions/upload-artifact@v6 with: - name: coverage-python${{ matrix.python-version }}-slow + name: coverage-python${{ matrix.python-version }}-exasol${{ matrix.exasol-version }}-slow path: .coverage include-hidden-files: true @@ -68,6 +69,7 @@ jobs: uses: ./.github/actions/python-environment with: python-version: "${{ matrix.python-version }}" + poetry-version: "2.3.0" - name: Poetry version run: poetry --version From 75ad9e5d36b403424f7df60bedb493dc32d40b8d Mon Sep 17 00:00:00 2001 From: Ariel Schulz Date: Fri, 23 Jan 2026 11:19:40 +0100 Subject: [PATCH 2/7] Switch exasol/python-toolbox/.github/actions/python-environment@v4 to ./.github/actions/python-environment for historical consistenty atm --- .github/workflows/build-and-publish.yml | 2 +- .github/workflows/check-release-tag.yml | 2 +- .github/workflows/checks.yml | 18 +++++++++--------- .github/workflows/gh-pages.yml | 2 +- .github/workflows/matrix-all.yml | 2 +- .github/workflows/matrix-exasol.yml | 2 +- .github/workflows/matrix-python.yml | 2 +- .github/workflows/report.yml | 2 +- .github/workflows/slow-checks.yml | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 942e884a4..3067968b0 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: "3.10" poetry-version: "2.3.0" diff --git a/.github/workflows/check-release-tag.yml b/.github/workflows/check-release-tag.yml index 5f4457597..e047d22b0 100644 --- a/.github/workflows/check-release-tag.yml +++ b/.github/workflows/check-release-tag.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: "3.10" poetry-version: "2.3.0" diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 411622682..36311fc46 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -16,7 +16,7 @@ jobs: fetch-depth: 0 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: "3.10" poetry-version: "2.3.0" @@ -35,7 +35,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: "3.10" poetry-version: "2.3.0" @@ -65,7 +65,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: "3.10" poetry-version: "2.3.0" @@ -87,7 +87,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: ${{ matrix.python-version }} poetry-version: "2.3.0" @@ -119,7 +119,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: ${{ matrix.python-version }} poetry-version: "2.3.0" @@ -142,7 +142,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: ${{ matrix.python-version }} poetry-version: "2.3.0" @@ -167,7 +167,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment - name: Run format check run: poetry run -- nox -s format:check @@ -186,7 +186,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: "3.10" poetry-version: "2.3.0" @@ -230,7 +230,7 @@ jobs: fetch-depth: 0 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: ${{ matrix.python-version }} poetry-version: "2.3.0" diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index e8a34db1a..d47ce1f18 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -17,7 +17,7 @@ jobs: fetch-depth: 0 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: "3.10" poetry-version: "2.3.0" diff --git a/.github/workflows/matrix-all.yml b/.github/workflows/matrix-all.yml index 8ab88fe5b..ed1a4a769 100644 --- a/.github/workflows/matrix-all.yml +++ b/.github/workflows/matrix-all.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: "3.10" poetry-version: "2.3.0" diff --git a/.github/workflows/matrix-exasol.yml b/.github/workflows/matrix-exasol.yml index badc74341..617564d57 100644 --- a/.github/workflows/matrix-exasol.yml +++ b/.github/workflows/matrix-exasol.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: "3.10" poetry-version: "2.3.0" diff --git a/.github/workflows/matrix-python.yml b/.github/workflows/matrix-python.yml index 9231fcabb..86c3c0de0 100644 --- a/.github/workflows/matrix-python.yml +++ b/.github/workflows/matrix-python.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: "3.10" poetry-version: "2.3.0" diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index 8dd083b51..7a4a4857a 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: "3.10" poetry-version: "2.3.0" diff --git a/.github/workflows/slow-checks.yml b/.github/workflows/slow-checks.yml index 460a80525..ae3aa4e9d 100644 --- a/.github/workflows/slow-checks.yml +++ b/.github/workflows/slow-checks.yml @@ -27,7 +27,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@v4 + uses: ./.github/actions/python-environment with: python-version: ${{ matrix.python-version }} poetry-version: "2.3.0" From 6839b46594c26b39b9687e7648c54c1568844d7b Mon Sep 17 00:00:00 2001 From: Ariel Schulz Date: Fri, 23 Jan 2026 11:21:24 +0100 Subject: [PATCH 3/7] Remove `'s as was listing incorrectly in right sidebar --- doc/user_guide/dependencies.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user_guide/dependencies.rst b/doc/user_guide/dependencies.rst index 7cadf486a..ab4a46659 100644 --- a/doc/user_guide/dependencies.rst +++ b/doc/user_guide/dependencies.rst @@ -32,7 +32,7 @@ Migration Information .. _migration_to_2.3.x: -From Poetry ``2.1.x`` to ``2.3.0`` +From Poetry 2.1.x to 2.3.0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ It is **highly** encouraged that a developer update their ``pyproject.toml`` and system-wide Poetry installation to most use effectively use Poetry ``2.3.0``: From d98612737fb71d5e0c455076ad639c66a547ae8c Mon Sep 17 00:00:00 2001 From: Ariel Schulz Date: Fri, 23 Jan 2026 11:23:42 +0100 Subject: [PATCH 4/7] Remove duplicate information from the changelog. Users should use the docs --- doc/changes/unreleased.md | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index d91b24026..f79f372a8 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -31,6 +31,9 @@ an issue in the `python-toolbox`. The default behavior for `.github/actions/python-environment/action.yml` has changed. In previous versions, the default value for `poetry-version` was `2.1.2`, and it is now `2.3.0`. +* For migrating to `2.3.0`, see +[from Poetry 2.1.x to 2.3.0](https://exasol.github.io/python-toolbox/main/user_guide/dependencies.html#from-poetry-2-1-x-to-2-3-0). + * Depending on its poetry version, a repository relying on the default behavior of said action may run into breaking changes. This can easily be resolved with explicitly setting the `poetry-version` when calling the GitHub action. It is, however, recommended whenever @@ -39,23 +42,6 @@ you can, if needed, alter the `poetry-version` via the `noxconfig.py::PROJECT_CO by changing `dependency_manager_version`. If you do this, please create an issue to update to `2.3.0` at your earliest convenience. -* Projects migrating to this version should: - - * Update their `pyproject.toml` to have: - ```toml - requires-poetry = ">=2.3.0" - ``` - * Run `poetry check` and resolve any issues - * (optional) Run `poetry lock` to update the lock - * (optional) Update their `pyproject.toml` to fit: - * [PEP-621](https://peps.python.org/pep-0621/) - * [PEP-735](https://peps.python.org/pep-0735/) - -Note that [uvx migrate-to-uv](https://github.com/mkniewallner/migrate-to-uv) seems to -do a good job with automating many of the PEP-related changes; though developers should -take care and will need to make manual changes to ensure it still works with -`poetry`, as the PTB does not yet support `uv`. - ## Documentation * #648: Moved sonar setup instructions in the User guide From 4ead92281e13fac2efef8b87f63a322a689f5328 Mon Sep 17 00:00:00 2001 From: Ariel Schulz Date: Fri, 23 Jan 2026 11:24:24 +0100 Subject: [PATCH 5/7] Add changelog entry --- doc/changes/unreleased.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index f79f372a8..121438cd4 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -73,3 +73,4 @@ update to `2.3.0` at your earliest convenience. * `upload-artifact` from v5 to [v6](https://github.com/actions/upload-artifact/releases/tag/v6.0.0) - using Node.js 24 * #667: Added deprecation warnings to `tbx workflow x` endpoints as some are unneeded (will be removed) and others need updates (will be moved to a nox session) +* #669: Updated PTB GitHub workflows From abc5b915002677517e59bedded24bd1ed3be58d2 Mon Sep 17 00:00:00 2001 From: Ariel Schulz Date: Fri, 23 Jan 2026 11:27:24 +0100 Subject: [PATCH 6/7] Fix template as with was in wrong place :/ --- exasol/toolbox/templates/github/workflows/checks.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/exasol/toolbox/templates/github/workflows/checks.yml b/exasol/toolbox/templates/github/workflows/checks.yml index 8230e04df..cba276500 100644 --- a/exasol/toolbox/templates/github/workflows/checks.yml +++ b/exasol/toolbox/templates/github/workflows/checks.yml @@ -168,13 +168,14 @@ jobs: - name: Setup Python & Poetry Environment uses: exasol/python-toolbox/.github/actions/python-environment@v4 - - - name: Run format check - run: poetry run -- nox -s format:check with: python-version: "(( minimum_python_version ))" poetry-version: "(( dependency_manager_version ))" + - name: Run format check + run: poetry run -- nox -s format:check + + Build-Packages: name: Build Package Check needs: [ Documentation, Lint, Type-Check, Security, Format ] From 36751e2b2429d97eb6172688cf46a37f706974ab Mon Sep 17 00:00:00 2001 From: Ariel Schulz Date: Fri, 23 Jan 2026 11:29:19 +0100 Subject: [PATCH 7/7] Update PTB workflow using tbx workflow update - for all & double-checking --- .github/workflows/checks.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 36311fc46..486cd6ab4 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -168,13 +168,14 @@ jobs: - name: Setup Python & Poetry Environment uses: ./.github/actions/python-environment - - - name: Run format check - run: poetry run -- nox -s format:check with: python-version: "3.10" poetry-version: "2.3.0" + - name: Run format check + run: poetry run -- nox -s format:check + + Build-Packages: name: Build Package Check needs: [ Documentation, Lint, Type-Check, Security, Format ]