Skip to content

Commit cca9bd2

Browse files
authored
Call poetry install always in setup python actions (#570)
1 parent fbaaf6c commit cca9bd2

File tree

9 files changed

+52
-36
lines changed

9 files changed

+52
-36
lines changed

.github/actions/python-environment/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ runs:
7373
key: poetry-env-${{ steps.setup-cache-variables.outputs.POETRY_SHA }}-${{ steps.setup-cache-variables.outputs.IMAGE_OS }}-${{ steps.setup-cache-variables.outputs.IMAGE_VERSION }}-${{ runner.arch }}-${{ inputs.poetry-version }}-${{ inputs.python-version }}-${{ inputs.extras }}
7474

7575
- name: Poetry install with extras
76-
if: inputs.use-cache != 'true' || steps.cache-poetry-env.outputs.cache-hit != 'true'
7776
working-directory: ${{ inputs.working-directory }}
7877
shell: bash
7978
run: |

.github/actions/security-issues/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ runs:
3939
- name: Install Python Toolbox / Security tool
4040
shell: bash
4141
run: |
42-
pip install exasol-toolbox==1.9.0
42+
pip install exasol-toolbox==1.10.0
4343
4444
- name: Create Security Issue Report
4545
shell: bash

doc/changes/changelog.md

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/changes/changes_1.10.0.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# 1.10.0 - 2025-10-10
2+
New `BasConfig` class and improved Setup Python Github Action.
3+
4+
## BaseConfig class for PTB attributes
5+
6+
The BaseConfig class was introduced in this version. This class is used to consolidate
7+
the attributes needed for the PTB's functionalities into an inherited object which can
8+
be expanded upon as needed. At this point, the BaseConfig class includes
9+
``python_versions``, ``exasol_versions``, and ``create_major_version_tags``. Users of
10+
the PTB should update their ``noxconfig.py`` to start using this feature.
11+
12+
```python
13+
# noxconfig.py
14+
from exasol.toolbox.config import BaseConfig
15+
16+
17+
# existing Config should inherit from BaseConfig
18+
class Config(BaseConfig):
19+
# if present, remove any attributes already in the BaseConfig from the added attributes
20+
...
21+
22+
23+
# if no overlapping attributes with `BaseConfig` were present in `Config`, then this is unmodified.
24+
PROJECT_CONFIG = Config()
25+
# if no overlapping attributes with `BaseConfig` were present in `Config`, then this should be modified.
26+
PROJECT_CONFIG = Config(python_versions=(...), exasol_versions=(...), create_major_version_tags=True)
27+
```
28+
29+
## Feature
30+
31+
* #465: Created BaseConfig class to better synchronize attributes needed for the PTB's
32+
growing functionalities
33+
34+
## Internal:
35+
36+
* Call poetry install always in setup python actions
37+
38+
## Dependency Updates
39+
40+
### `main`
41+
* Updated dependency `coverage:7.10.3` to `7.10.6`
42+
* Updated dependency `import-linter:2.3` to `2.4`
43+
* Updated dependency `shibuya:2025.7.24` to `2025.8.16`
44+
* Added dependency `sphinx-toolbox:4.0.0`
45+
* Updated dependency `typer:0.16.0` to `0.17.3`

doc/changes/unreleased.md

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1 @@
11
# Unreleased
2-
3-
## BaseConfig class for PTB attributes
4-
5-
The BaseConfig class was introduced in this version. This class is used to consolidate
6-
the attributes needed for the PTB's functionalities into an inherited object which can
7-
be expanded upon as needed. At this point, the BaseConfig class includes
8-
``python_versions``, ``exasol_versions``, and ``create_major_version_tags``. Users of
9-
the PTB should update their ``noxconfig.py`` to start using this feature.
10-
11-
```python
12-
# noxconfig.py
13-
from exasol.toolbox.config import BaseConfig
14-
15-
16-
# existing Config should inherit from BaseConfig
17-
class Config(BaseConfig):
18-
# if present, remove any attributes already in the BaseConfig from the added attributes
19-
...
20-
21-
22-
# if no overlapping attributes with `BaseConfig` were present in `Config`, then this is unmodified.
23-
PROJECT_CONFIG = Config()
24-
# if no overlapping attributes with `BaseConfig` were present in `Config`, then this should be modified.
25-
PROJECT_CONFIG = Config(python_versions=(...), exasol_versions=(...), create_major_version_tags=True)
26-
```
27-
28-
## Feature
29-
30-
* #465: Created BaseConfig class to better synchronize attributes needed for the PTB's
31-
growing functionalities

doc/user_guide/features/metrics/collecting_metrics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ into a report:
5656

5757
#. SonarQube analysis
5858
This summarization tool feeds into a feature-rich UI provided by
59-
`Sonar <https://docs.sonarsource.com/sonarqube-server/latest/>`__. For further
59+
`Sonar <https://docs.sonarsource.com/sonarqube-server>`__. For further
6060
details, see :ref:`sonarqube_analysis`
6161

6262
Both of these reporting options require that the generated files from the :ref:`generated_metrics`

doc/user_guide/features/metrics/sonar.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
SonarQube analysis
44
==================
55

6-
The PTB supports using `SonarQube Cloud <https://docs.sonarsource.com/sonarqube-server/latest/>`__
6+
The PTB supports using `SonarQube Cloud <https://docs.sonarsource.com/sonarqube-server>`__
77
to analyze, visualize, & track linting, security, & coverage. All of our Python projects
88
should be evaluated against the `Exasol Way`_ and subscribe to the
99
`Clean as You Code <https://docs.sonarsource.com/sonarqube-server/9.8/user-guide/clean-as-you-code/>`__

exasol/toolbox/version.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "exasol-toolbox"
3-
version = "1.9.0"
3+
version = "1.10.0"
44
requires-python = ">=3.9,<4.0"
55
description = "Your one-stop solution for managing all standard tasks and core workflows of your Python project."
66
authors = [

0 commit comments

Comments
 (0)