Skip to content

Commit

Permalink
Merge pull request #1686 from rmartin16/tox-pin-deps
Browse files Browse the repository at this point in the history
Pin all deps in tox.ini
  • Loading branch information
freakboy3742 committed Mar 7, 2024
2 parents 4b69e2b + be3f7de commit 5616e14
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions changes/1686.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
All dependencies in tox.ini are now pinned to specific versions.
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ skip_missing_interpreters = True
[testenv:pre-commit]
skip_install = True
deps =
build
setuptools
wheel
build==1.1.1
setuptools==69.1.1
wheel==0.42.0
commands_pre = python -m install_requirement pre-commit --extra dev --project-root "{tox_root}"
commands = pre-commit run --all-files --show-diff-on-failure --color=always

Expand Down Expand Up @@ -81,9 +81,9 @@ setenv =
# disable conditional coverage exclusions for host platform to test entire project
project: COVERAGE_EXCLUDE_PLATFORM=disable
deps =
build
setuptools
wheel
build==1.1.1
setuptools==69.1.1
wheel==0.42.0
commands_pre =
python --version
python -m install_requirement coverage coverage-conditional-plugin --extra dev --project-root "{tox_root}"
Expand All @@ -95,7 +95,7 @@ commands =
[testenv:towncrier{,-check}]
skip_install = True
deps =
towncrier ~= 22.8
towncrier==23.11.0
commands =
check : python -m towncrier.check --compare-with origin/main
!check : python -m towncrier {posargs}
Expand Down

0 comments on commit 5616e14

Please sign in to comment.