Commit 7e838ad 1 parent c411c42 commit 7e838ad Copy full SHA for 7e838ad
File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
[build-system ]
2
2
requires = [
3
3
" setuptools >= 65.3.0" , # required by pyproject+setuptools_scm integration and editable installs
4
- " setuptools_scm[toml] >= 7.0.5" , # required for "no-local-version" scheme
4
+ " setuptools_scm[toml] >= 7.0.5, != 8.0.0 " , # required for "no-local-version" scheme
5
5
6
6
]
7
7
build-backend = " setuptools.build_meta"
Original file line number Diff line number Diff line change @@ -185,8 +185,9 @@ setenv =
185
185
description =
186
186
Build package, verify metadata, install package and assert behavior when ansible is missing.
187
187
deps =
188
- build >= 0.9.0
189
- twine >= 4.0.1
188
+ setuptools_scm>=7.0.3,!=8.0.0
189
+ build >= 1.0.3
190
+ twine >= 4.0.2
190
191
skip_install = true
191
192
# Ref: https://twitter.com/di_codes/status/1044358639081975813
192
193
commands_pre =
@@ -202,6 +203,8 @@ commands =
202
203
python3 -m twine check --strict {toxinidir}/dist/*
203
204
# Install the wheel
204
205
sh -c ' python3 -m pip install "ansible-lint[lock] @ file://$(echo {toxinidir}/dist/*.whl)"'
206
+ # Check if tool can display its version (validates setuptools-scm integration)
207
+ ansible-lint --version
205
208
# Uninstall it
206
209
python3 -m pip uninstall -y ansible-lint
207
210
You can’t perform that action at this time.
0 commit comments