Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/security-issues/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 @@
# 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)
Expand Down Expand Up @@ -33,6 +34,7 @@
hidden:
---
unreleased
changes_1.2.0
changes_1.1.0
changes_1.0.1
changes_1.0.0
Expand Down
40 changes: 40 additions & 0 deletions doc/changes/changes_1.2.0.md
Original file line number Diff line number Diff line change
@@ -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
39 changes: 0 additions & 39 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions exasol/toolbox/templates/github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand All @@ -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
Expand All @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand All @@ -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 }}

Expand All @@ -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
Expand All @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/matrix-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/slow-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down