diff --git a/.github/actions/security-issues/action.yml b/.github/actions/security-issues/action.yml index 4c64e359f..cc9ff5d16 100644 --- a/.github/actions/security-issues/action.yml +++ b/.github/actions/security-issues/action.yml @@ -39,7 +39,7 @@ runs: - name: Install Python Toolbox / Security tool shell: bash run: | - pip install exasol-toolbox==1.1.0 + pip install exasol-toolbox==1.2.0 - name: Create Security Issue Report shell: bash diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index e8559a905..46fd2c68d 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,6 +1,7 @@ # Changelog * [unreleased](unreleased.md) +* [1.2.0](changes_1.2.0.md) * [1.1.0](changes_1.1.0.md) * [1.0.1](changes_1.0.1.md) * [1.0.0](changes_1.0.0.md) @@ -33,6 +34,7 @@ hidden: --- unreleased +changes_1.2.0 changes_1.1.0 changes_1.0.1 changes_1.0.0 diff --git a/doc/changes/changes_1.2.0.md b/doc/changes/changes_1.2.0.md new file mode 100644 index 000000000..e91628811 --- /dev/null +++ b/doc/changes/changes_1.2.0.md @@ -0,0 +1,40 @@ +# 1.2.0 - 2025-05-20 + +## Summary + +With #420, any GitHub repos using the PTB for **documentation** will also need to +reconfigure the GitHub Pages settings for each repo: +1. Go to the affected repo's GitHub page +2. Select 'Settings' +3. Scroll down & select 'Pages' +4. Within the 'Build and deployment' section, change 'Source' to 'GitHub Actions'. + +This should also create a 'github-pages' environment, if it does not yet exist. +For most repos using the PTB, the updating of the github pages only happens when a +PR is merged to main, so please check post-merge that it worked as expected. + +With #422, we have hardened the security in our GitHub workflows by explicitly +setting permissions to the default GitHub token. In a few repos who greatly differ +from the default PTB setup, this might lead to small issues which require the allowed +permissions to be increased for specific jobs. + +## ⚒️ Refactorings + +* [#412](https://github.com/exasol/python-toolbox/issues/392): Refactored pre commit hook package version.py into nox task + +## Security + +* [#420](https://github.com/exasol/python-toolbox/issues/420): Replaced 3rd party action with GitHub actions for gh-pages +* [#422](https://github.com/exasol/python-toolbox/issues/422): Set permissions within the GitHub workflows to restrict usage of the default GitHub token + +## ✨ Features + +* [#161](https://github.com/exasol/python-toolbox/issues/161): Added support for installing extras & not using a cache to the python-environment action +* [#408](https://github.com/exasol/python-toolbox/issues/408): Added support for GitHub runners who do not per default have pipx to use the python-environment action +* [#433](https://github.com/exasol/python-toolbox/issues/433): Removed directory .html-documentation/.doctrees after creating documentation +* [#436](https://github.com/exasol/python-toolbox/issues/436): Updated template for new projects to poetry 2.x + +## Bugfixes + +* [#428](https://github.com/exasol/python-toolbox/issues/428): Fixed detecting report coverage failures +* [#434](https://github.com/exasol/python-toolbox/issues/434): Adapted template so new projects do not fail from lint errors diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index 2cd889289..79e701b84 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -1,40 +1 @@ # Unreleased - -## Summary - -With #420, any GitHub repos using the PTB for **documentation** will also need to -reconfigure the GitHub Pages settings for each repo: -1. Go to the affected repo's GitHub page -2. Select 'Settings' -3. Scroll down & select 'Pages' -4. Within the 'Build and deployment' section, change 'Source' to 'GitHub Actions'. - -This should also create a 'github-pages' environment, if it does not yet exist. -For most repos using the PTB, the updating of the github pages only happens when a -PR is merged to main, so please check post-merge that it worked as expected. - -With #422, we have hardened the security in our GitHub workflows by explicitly -setting permissions to the default GitHub token. In a few repos who greatly differ -from the default PTB setup, this might lead to small issues which require the allowed -permissions to be increased for specific jobs. - -## ⚒️ Refactorings - -* [#412](https://github.com/exasol/python-toolbox/issues/392): Refactored pre commit hook package version.py into nox task - -## Security - -* [#420](https://github.com/exasol/python-toolbox/issues/420): Replaced 3rd party action with GitHub actions for gh-pages -* [#422](https://github.com/exasol/python-toolbox/issues/422): Set permissions within the GitHub workflows to restrict usage of the default GitHub token - -## ✨ Features - -* [#161](https://github.com/exasol/python-toolbox/issues/161): Added support for installing extras & not using a cache to the python-environment action -* [#408](https://github.com/exasol/python-toolbox/issues/408): Added support for GitHub runners who do not per default have pipx to use the python-environment action -* #433: Removed directory .html-documentation/.doctrees after creating documentation -* #436: Updated template for new projects to poetry 2.x - -## Bugfixes - -* #428: Fixed detecting report coverage failures -* #434: Adapted template so new projects do not fail from lint errors diff --git a/exasol/toolbox/templates/github/workflows/build-and-publish.yml b/exasol/toolbox/templates/github/workflows/build-and-publish.yml index 5abcfe1be..22543f869 100644 --- a/exasol/toolbox/templates/github/workflows/build-and-publish.yml +++ b/exasol/toolbox/templates/github/workflows/build-and-publish.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 - name: Build Artifacts run: poetry build diff --git a/exasol/toolbox/templates/github/workflows/check-release-tag.yml b/exasol/toolbox/templates/github/workflows/check-release-tag.yml index 5297a8f72..c0df0ce10 100644 --- a/exasol/toolbox/templates/github/workflows/check-release-tag.yml +++ b/exasol/toolbox/templates/github/workflows/check-release-tag.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 - name: Check Tag Version # make sure the pushed/created tag matched the project version diff --git a/exasol/toolbox/templates/github/workflows/checks.yml b/exasol/toolbox/templates/github/workflows/checks.yml index 456e7f395..1d08744ff 100644 --- a/exasol/toolbox/templates/github/workflows/checks.yml +++ b/exasol/toolbox/templates/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@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 - name: Check Version(s) run: | @@ -38,7 +38,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 - name: Build Documentation run: | @@ -61,7 +61,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 - name: Run changelog update check run: poetry run -- nox -s changelog:updated @@ -80,7 +80,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 with: python-version: ${{ matrix.python-version }} @@ -111,7 +111,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 with: python-version: ${{ matrix.python-version }} @@ -133,7 +133,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 with: python-version: ${{ matrix.python-version }} @@ -157,7 +157,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 - name: Run format check run: poetry run -- nox -s project:format @@ -179,7 +179,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 with: python-version: ${{ matrix.python-version }} diff --git a/exasol/toolbox/templates/github/workflows/gh-pages.yml b/exasol/toolbox/templates/github/workflows/gh-pages.yml index b895fcc6a..740775f1a 100644 --- a/exasol/toolbox/templates/github/workflows/gh-pages.yml +++ b/exasol/toolbox/templates/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@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 - name: Build Documentation run: | diff --git a/exasol/toolbox/templates/github/workflows/matrix-all.yml b/exasol/toolbox/templates/github/workflows/matrix-all.yml index b85a27aca..29d347b53 100644 --- a/exasol/toolbox/templates/github/workflows/matrix-all.yml +++ b/exasol/toolbox/templates/github/workflows/matrix-all.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 - name: Generate matrix run: poetry run -- nox -s matrix:all diff --git a/exasol/toolbox/templates/github/workflows/matrix-exasol.yml b/exasol/toolbox/templates/github/workflows/matrix-exasol.yml index 741e156b5..23d6db6e8 100644 --- a/exasol/toolbox/templates/github/workflows/matrix-exasol.yml +++ b/exasol/toolbox/templates/github/workflows/matrix-exasol.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 - name: Generate matrix run: poetry run -- nox -s matrix:exasol diff --git a/exasol/toolbox/templates/github/workflows/matrix-python.yml b/exasol/toolbox/templates/github/workflows/matrix-python.yml index 76f0ce0cf..9a9bcc8df 100644 --- a/exasol/toolbox/templates/github/workflows/matrix-python.yml +++ b/exasol/toolbox/templates/github/workflows/matrix-python.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 - name: Generate matrix run: poetry run -- nox -s matrix:python diff --git a/exasol/toolbox/templates/github/workflows/report.yml b/exasol/toolbox/templates/github/workflows/report.yml index 64db815c0..a6f0991b2 100644 --- a/exasol/toolbox/templates/github/workflows/report.yml +++ b/exasol/toolbox/templates/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@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 - name: Download Artifacts uses: actions/download-artifact@v4.2.1 diff --git a/exasol/toolbox/templates/github/workflows/slow-checks.yml b/exasol/toolbox/templates/github/workflows/slow-checks.yml index 02b047e73..1d8d9f7a1 100644 --- a/exasol/toolbox/templates/github/workflows/slow-checks.yml +++ b/exasol/toolbox/templates/github/workflows/slow-checks.yml @@ -32,7 +32,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0 + uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0 with: python-version: ${{ matrix.python-version }} diff --git a/exasol/toolbox/version.py b/exasol/toolbox/version.py index bc4dfa29f..9cfff41a5 100644 --- a/exasol/toolbox/version.py +++ b/exasol/toolbox/version.py @@ -5,7 +5,7 @@ # Do not edit this file manually! # If you need to change the version, do so in the pyproject.toml, e.g. by using `poetry version X.Y.Z`. MAJOR = 1 -MINOR = 1 +MINOR = 2 PATCH = 0 VERSION = f"{MAJOR}.{MINOR}.{PATCH}" __version__ = VERSION diff --git a/pyproject.toml b/pyproject.toml index 2426d1383..d86ed4556 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "exasol-toolbox" -version = "1.1.0" +version = "1.2.0" requires-python = ">=3.9,<4.0" description = "Your one-stop solution for managing all standard tasks and core workflows of your Python project." authors = [