Skip to content

Commit 0a7b269

Browse files
authored
Apply fix from template (#17)
1 parent f2b0e1a commit 0a7b269

File tree

4 files changed

+25
-8
lines changed

4 files changed

+25
-8
lines changed

.github/workflows/docs-action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ jobs:
2222
- name: Install Nox
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install nox
25+
pip install "nox==$NOX_VERSION" "uv==$UV_VERSION"
26+
env:
27+
NOX_VERSION: '2025.2.9'
28+
UV_VERSION: '0.6.9'
2629

2730
- name: Install Doc Requirements
2831
run: |

.github/workflows/test-action.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ jobs:
3232
- name: Install Nox
3333
run: |
3434
python -m pip install --upgrade pip
35-
pip install nox
35+
pip install "nox==$NOX_VERSION" "uv==$UV_VERSION"
36+
env:
37+
NOX_VERSION: '2025.2.9'
38+
UV_VERSION: '0.6.9'
3639

3740
- name: Install Test Requirements
3841
env:
@@ -121,7 +124,10 @@ jobs:
121124
- name: Install Nox
122125
run: |
123126
python -m pip install --upgrade pip
124-
pip install nox
127+
pip install "nox==$env:NOX_VERSION" "uv==$env:UV_VERSION"
128+
env:
129+
NOX_VERSION: '2025.2.9'
130+
UV_VERSION: '0.6.9'
125131

126132
- name: Install Test Requirements
127133
shell: bash
@@ -215,7 +221,10 @@ jobs:
215221
- name: Install Nox
216222
run: |
217223
python -m pip install --upgrade pip
218-
pip install nox
224+
pip install "nox==$NOX_VERSION" "uv==$UV_VERSION"
225+
env:
226+
NOX_VERSION: '2025.2.9'
227+
UV_VERSION: '0.6.9'
219228

220229
- name: Install Test Requirements
221230
env:

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ repos:
123123
files: ^((setup|noxfile)|src/.*)\.py$
124124
require_serial: true
125125
additional_dependencies:
126-
- nox==2024.10.9
127-
- uv==0.4.29 # Makes this hook much faster
126+
- nox==2025.2.9
127+
- uv==0.6.9 # Makes this hook much faster
128128

129129
- id: nox
130130
alias: lint-tests
@@ -134,8 +134,8 @@ repos:
134134
files: ^tests/.*\.py$
135135
require_serial: true
136136
additional_dependencies:
137-
- nox==2024.10.9
138-
- uv==0.4.29 # Makes this hook much faster
137+
- nox==2025.2.9
138+
- uv==0.6.9 # Makes this hook much faster
139139

140140
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
141141
rev: 27445053da613c660ed5895d9616662059a53ca7 # v1.7.3.17

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ tests = [
8181
[project.entry-points."salt.loader"]
8282
"saltext.kubernetes" = "saltext.kubernetes"
8383

84+
[tool.uv]
85+
# Salt's legacy setup.py requires old setuptools.
86+
# Since uv 0.6.0, it does not fall back to reading requirements from egg-info.
87+
build-constraint-dependencies = ["setuptools<69"]
88+
8489
[tool.setuptools]
8590
zip-safe = false
8691
include-package-data = true

0 commit comments

Comments
 (0)