Skip to content
Open
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 .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Autogenerated. Do not edit this by hand, use `copier update`.
---
_commit: 0.7.4
_commit: 0.7.5
_src_path: https://github.com/salt-extensions/salt-extension-copier
author: Marek Czernek
author_email: marek.czernek@suse.com
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
news-fragments-available: ${{ steps.check-available.outputs.available }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Check if news fragments are available
id: check-available
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
steps:
- name: Download Exit Status Files
if: always()
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
path: exitstatus
pattern: exitstatus-*
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ jobs:

steps:
- name: Download built docs
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: ${{ inputs.artifact-name }}
path: html-docs

- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
with:
name: html-docs-pages
path: html-docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-package-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Download Python Package Artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: salt-extension-${{ inputs.version }}-packages
path: dist
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0

- name: Set up Python 3.10 For Nox
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: "3.10"

Expand All @@ -24,8 +24,8 @@ jobs:
python -m pip install --upgrade pip
pip install "nox==$NOX_VERSION" "uv==$UV_VERSION"
env:
NOX_VERSION: '2025.2.9'
UV_VERSION: '0.6.15'
NOX_VERSION: '2025.5.1'
UV_VERSION: '0.8.18'

- name: Install Doc Requirements
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/get-changed-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
changed-files: ${{ toJSON(steps.changed-files.outputs) }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Get Changed Files
id: changed-files
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/package-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0

- name: Set up Python 3.10
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: "3.10"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Pre-Commit
runs-on: ubuntu-24.04
container:
image: 'docker.io/library/python:3.10.17-slim-bookworm@sha256:57038683f4a259e17fcff1ccef7ba30b1065f4b3317dabb5bd7c82640a5ed64f'
image: 'docker.io/library/python:3.10.18-slim-bookworm@sha256:e7eed6c2e7fd1ecc43f0a37da7a115f4c9c9f50f247e9cba086c2f4583412fd9'

steps:
- name: Install System Deps
Expand All @@ -23,7 +23,7 @@ jobs:
apt-get install -y enchant-2 git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev
git config --global --add safe.directory "$(pwd)"

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Install Pre-Commit
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prepare-release-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Set up Python 3.10
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: '3.10'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Extract tag name
id: get_version_tag
Expand All @@ -41,7 +41,7 @@ jobs:

steps:
- name: Find Pull Request
uses: juliangruber/find-pull-request-action@2f36c5fe1abfda4745dfab4f38217ebad8ded4eb # v1.9.0
uses: juliangruber/find-pull-request-action@20b962e58a4abbc0dc63bcc0fde0c997de8782b5 # v1.10.0
id: find-pull-request
with:
branch: release/auto
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Extract version of merged release PR
id: get_version_pr
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
max-parallel: 3
matrix:
include:
- {salt-version: "3006.10", python-version: "3.9"}
- {salt-version: "3006.10", python-version: "3.10"}
- {salt-version: "3007.1", python-version: "3.10"}
- {salt-version: "3006.15", python-version: "3.9"}
- {salt-version: "3006.15", python-version: "3.10"}
- {salt-version: "3007.7", python-version: "3.10"}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 2 # coverage: Issue detecting commit SHA

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -34,8 +34,8 @@ jobs:
python -m pip install --upgrade pip
pip install "nox==$NOX_VERSION" "uv==$UV_VERSION"
env:
NOX_VERSION: '2025.2.9'
UV_VERSION: '0.6.15'
NOX_VERSION: '2025.5.1'
UV_VERSION: '0.8.18'

- name: Install Test Requirements
env:
Expand All @@ -57,7 +57,7 @@ jobs:
echo "flags=$(python -c "import sys; print('{},{},salt_{}'.format('${{ runner.os }}'.replace('-latest', ''), 'py{}{}'.format(*sys.version_info), '_'.join(str(v) for v in '${{ matrix.salt-version }}'.replace('==', '_').split('.'))))")" >> "$GITHUB_OUTPUT"

- name: Upload Project Code Coverage
uses: codecov/codecov-action@1f60566a86da84c4b4b64c17662a90de97fbb8d7 # v5.4.2
uses: codecov/codecov-action@af09b5e394c93991b95a5e7646aeb90c1917f78f # v5.5.1
with:
files: artifacts/coverage-project.xml
disable_search: true
Expand All @@ -68,7 +68,7 @@ jobs:
version: v10.4.0

- name: Upload Tests Code Coverage
uses: codecov/codecov-action@1f60566a86da84c4b4b64c17662a90de97fbb8d7 # v5.4.2
uses: codecov/codecov-action@af09b5e394c93991b95a5e7646aeb90c1917f78f # v5.5.1
with:
files: artifacts/coverage-tests.xml
disable_search: true
Expand Down
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
minimum_pre_commit_version: 2.4.0
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # v5.0.0
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0
hooks:
- id: check-merge-conflict # Check for files that contain merge conflict strings.
args: [--assume-in-merge]
Expand Down Expand Up @@ -56,7 +56,7 @@ repos:
args: [--silent, -E, fix_docstrings]

- repo: https://github.com/asottile/pyupgrade
rev: ce40a160603ab0e7d9c627ae33d7ef3906e2d2b2 # v3.19.1
rev: 37bfa06d791fd38fb4e54910b36a2ff57641b074 # v3.20.0
hooks:
- id: pyupgrade
name: Rewrite Code to be Py3.9+
Expand All @@ -82,7 +82,7 @@ repos:
exclude: src/saltext/transactional_update/version.py

- repo: https://github.com/adamchainz/blacken-docs
rev: 78a9dcbecf4f755f65d1f3dec556bc249d723600 # 1.19.1
rev: dda8db18cfc68df532abf33b185ecd12d5b7b326 # 1.20.0
hooks:
- id: blacken-docs
args: [--skip-errors]
Expand All @@ -93,7 +93,7 @@ repos:

# ----- Security ------------------------------------------------------------------------------>
- repo: https://github.com/PyCQA/bandit
rev: 8ff25e07e487f143571cc305e56dd0253c60bc7b # 1.8.3
rev: 2d0b675b04c80ae42277e10500db06a0a37bae17 # 1.8.6
hooks:
- id: bandit
alias: bandit-salt
Expand All @@ -102,7 +102,7 @@ repos:
exclude: src/saltext/transactional_update/version.py

- repo: https://github.com/PyCQA/bandit
rev: 8ff25e07e487f143571cc305e56dd0253c60bc7b # 1.8.3
rev: 2d0b675b04c80ae42277e10500db06a0a37bae17 # 1.8.6
hooks:
- id: bandit
alias: bandit-tests
Expand All @@ -123,8 +123,8 @@ repos:
files: ^((setup|noxfile)|src/.*)\.py$
require_serial: true
additional_dependencies:
- nox==2025.2.9
- uv==0.6.15 # Makes this hook much faster
- nox==2025.5.1
- uv==0.8.18 # Makes this hook much faster

- id: nox
alias: lint-tests
Expand All @@ -134,13 +134,13 @@ repos:
files: ^tests/.*\.py$
require_serial: true
additional_dependencies:
- nox==2025.2.9
- uv==0.6.15 # Makes this hook much faster
- nox==2025.5.1
- uv==0.8.18 # Makes this hook much faster

- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: a185be0fd5b45112845b700d91b81050c75579e2 # v1.7.7.23
rev: f999ae59ac949d9b57aaa5569c2d60eb846b3a00 # v1.7.7.24
hooks:
- id: actionlint
additional_dependencies:
- shellcheck-py==0.10.0.1
- shellcheck-py==0.11.0.1
# <---- Code Analysis --------------------------------------------------------------------------
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
SKIP_REQUIREMENTS_INSTALL = os.environ.get("SKIP_REQUIREMENTS_INSTALL", "0") == "1"
EXTRA_REQUIREMENTS_INSTALL = os.environ.get("EXTRA_REQUIREMENTS_INSTALL")

COVERAGE_REQUIREMENT = os.environ.get("COVERAGE_REQUIREMENT") or "coverage==7.8.0"
COVERAGE_REQUIREMENT = os.environ.get("COVERAGE_REQUIREMENT") or "coverage==7.10.6"
SALT_REQUIREMENT = os.environ.get("SALT_REQUIREMENT") or "salt>=3006"
if SALT_REQUIREMENT == "salt==master":
SALT_REQUIREMENT = "git+https://github.com/saltstack/salt.git@master"
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Source = "https://github.com/m-czernek/saltext-transactional-update"
Tracker = "https://bugzilla.opensuse.org"

[project.optional-dependencies]
changelog = ["towncrier==24.8.0"]
changelog = ["towncrier==25.8.0"]
dev = [
"nox[uv]>=2024.3,!=2025.05.01",
"pre-commit>=2.21.0",
Expand All @@ -59,14 +59,14 @@ dev = [
dev_extra = [
"black==25.1.0",
"isort==6.0.1",
"coverage==7.8.0",
"coverage==7.10.6",
]
docs = [
"sphinx",
"sphinx-prompt",
"sphinxcontrib-spelling",
"sphinx-copybutton",
"towncrier==24.8.0",
"towncrier==25.8.0",
"sphinxcontrib-towncrier",
"myst_parser",
"furo",
Expand Down