Skip to content

Commit 5616e14

Browse files
authored
Merge pull request #1686 from rmartin16/tox-pin-deps
Pin all deps in tox.ini
2 parents 4b69e2b + be3f7de commit 5616e14

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

changes/1686.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
All dependencies in tox.ini are now pinned to specific versions.

tox.ini

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ skip_missing_interpreters = True
3333
[testenv:pre-commit]
3434
skip_install = True
3535
deps =
36-
build
37-
setuptools
38-
wheel
36+
build==1.1.1
37+
setuptools==69.1.1
38+
wheel==0.42.0
3939
commands_pre = python -m install_requirement pre-commit --extra dev --project-root "{tox_root}"
4040
commands = pre-commit run --all-files --show-diff-on-failure --color=always
4141

@@ -81,9 +81,9 @@ setenv =
8181
# disable conditional coverage exclusions for host platform to test entire project
8282
project: COVERAGE_EXCLUDE_PLATFORM=disable
8383
deps =
84-
build
85-
setuptools
86-
wheel
84+
build==1.1.1
85+
setuptools==69.1.1
86+
wheel==0.42.0
8787
commands_pre =
8888
python --version
8989
python -m install_requirement coverage coverage-conditional-plugin --extra dev --project-root "{tox_root}"
@@ -95,7 +95,7 @@ commands =
9595
[testenv:towncrier{,-check}]
9696
skip_install = True
9797
deps =
98-
towncrier ~= 22.8
98+
towncrier==23.11.0
9999
commands =
100100
check : python -m towncrier.check --compare-with origin/main
101101
!check : python -m towncrier {posargs}

0 commit comments

Comments
 (0)