Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 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/workflows/build-and-publish.yml
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.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0

- name: Build Artifacts
run: poetry build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-release-tag.yml
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.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0

- name: Check Tag Version
# make sure the pushed/created tag matched the project version
Expand Down
20 changes: 12 additions & 8 deletions .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.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0

- name: Check Version(s)
run: poetry run -- nox -s version:check
Expand All @@ -32,12 +32,16 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0

- name: Build Documentation
run: |
poetry run -- nox -s docs:build

- name: Link Check
run: |
poetry run -- nox -s links:check

build-matrix:
name: Generate Build Matrix
uses: ./.github/workflows/matrix-python.yml
Expand All @@ -55,7 +59,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0

- name: Run changelog update check
run: poetry run -- nox -s changelog:updated
Expand All @@ -74,7 +78,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -105,7 +109,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -127,7 +131,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -151,7 +155,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0

- name: Run format check
run: poetry run -- nox -s project:format
Expand Down Expand Up @@ -190,7 +194,7 @@ jobs:
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
with:
python-version: ${{ matrix.python-version }}

Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: CI

on:
push:
branches-ignore:
- "github-pages/*"
- "gh-pages/*"
- "main"
- "master"
pull_request:
types: [opened, synchronize, reopened]
schedule:
# "At 00:00 on every 7th day-of-month from 1 through 31." (https://crontab.guru)
# At 00:00 on every 7th day-of-month from 1 through 31. (https://crontab.guru)
- cron: "0 0 1/7 * *"

jobs:
Expand All @@ -22,5 +18,6 @@ jobs:
Metrics:
needs: [ CI ]
uses: ./.github/workflows/report.yml
secrets: inherit
permissions:
contents: read
2 changes: 1 addition & 1 deletion .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.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0

- name: Build Documentation
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/matrix-python.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.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0

- name: Generate matrix
run: poetry run -- nox -s matrix:python
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/merge-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
fetch-depth: 0
Comment thread
ArBridgeman marked this conversation as resolved.

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0

- name: Allow unprivileged user namespaces
run: |
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
sudo rm -rf /opt/ghc

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
with:
poetry-version: 2.1.2

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ jobs:
metrics:
needs: [ ci-job ]
uses: ./.github/workflows/report.yml
secrets: inherit
permissions:
contents: read
7 changes: 6 additions & 1 deletion .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.4.0
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0

- name: Download Artifacts
uses: actions/download-artifact@v4.2.1
Expand All @@ -32,6 +32,11 @@ jobs:
- name: Validate Artifacts
run: poetry run -- nox -s artifacts:validate

- name: Upload to sonar
env:
SONAR_TOKEN: "${{ secrets.SONAR_TOKEN }}"
run: poetry run -- nox -s sonar:check

- name: Generate Report
run: poetry run -- nox -s project:report -- --format json | tee metrics.json

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ __pycache__/
/.lint.json
/.lint.txt
/.html-documentation/
/.security.json
/.sonar
.build_output
7 changes: 6 additions & 1 deletion doc/changes/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@
* #182: Updated LATEST_KNOWN_VERSION to be dynamically fetched with importlib.metadata for
transformers_extension_wrapper & sagemaker_extension_wrapper

## Security
* #198: Updated requests from >=2.32.0 to >=2.32.4 due to CVE-2024-47081 and
transformers from ^4.50.0 to ^4.52.1 due to CVE-2025-3933 and CVE-2025-3777

## Internal
* Relocked poetry dependencies to resolve CVE-2025-47287 and CVE-2025-47273
* Relocked poetry dependencies to resolve CVE-2025-47287 and CVE-2025-47273
* #198: Relocked poetry dependencies to resolve CVE-2025-50181 and CVE-2025-50182 for transitive dependency urllib3
3 changes: 2 additions & 1 deletion noxconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ class Config:
root: Path = ROOT_DIR
doc: Path = ROOT_DIR / "doc"
version_file: Path = ROOT_DIR / "version.py"
source: Path = ROOT_DIR / "exasol"
path_filters: Iterable[str] = ("dist", ".eggs", "venv")
python_versions = ["3.10", "3.11", "3.12"]
python_versions: Iterable[str] = ("3.10", "3.11", "3.12")


PROJECT_CONFIG = Config()
Loading
Loading