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
5 changes: 4 additions & 1 deletion .github/workflows/docs-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ jobs:
- name: Install Nox
run: |
python -m pip install --upgrade pip
pip install nox
pip install "nox==$NOX_VERSION" "uv==$UV_VERSION"
env:
NOX_VERSION: '2025.2.9'
UV_VERSION: '0.6.9'

- name: Install Doc Requirements
run: |
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ jobs:
- name: Install Nox
run: |
python -m pip install --upgrade pip
pip install nox
pip install "nox==$NOX_VERSION" "uv==$UV_VERSION"
env:
NOX_VERSION: '2025.2.9'
UV_VERSION: '0.6.9'

- name: Install Test Requirements
env:
Expand Down Expand Up @@ -121,7 +124,10 @@ jobs:
- name: Install Nox
run: |
python -m pip install --upgrade pip
pip install nox
pip install "nox==$env:NOX_VERSION" "uv==$env:UV_VERSION"
env:
NOX_VERSION: '2025.2.9'
UV_VERSION: '0.6.9'

- name: Install Test Requirements
shell: bash
Expand Down Expand Up @@ -215,7 +221,10 @@ jobs:
- name: Install Nox
run: |
python -m pip install --upgrade pip
pip install nox
pip install "nox==$NOX_VERSION" "uv==$UV_VERSION"
env:
NOX_VERSION: '2025.2.9'
UV_VERSION: '0.6.9'

- name: Install Test Requirements
env:
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ repos:
files: ^((setup|noxfile)|src/.*)\.py$
require_serial: true
additional_dependencies:
- nox==2024.10.9
- uv==0.4.29 # Makes this hook much faster
- nox==2025.2.9
- uv==0.6.9 # Makes this hook much faster

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

- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: 27445053da613c660ed5895d9616662059a53ca7 # v1.7.3.17
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ tests = [
[project.entry-points."salt.loader"]
"saltext.kubernetes" = "saltext.kubernetes"

[tool.uv]
# Salt's legacy setup.py requires old setuptools.
# Since uv 0.6.0, it does not fall back to reading requirements from egg-info.
build-constraint-dependencies = ["setuptools<69"]

[tool.setuptools]
zip-safe = false
include-package-data = true
Expand Down