Skip to content

Commit

Permalink
Ensure we constrain test dependencies with uv (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Jan 17, 2025
1 parent 4db0011 commit 0d3774e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ setenv =
COVERAGE_PROCESS_START={toxinidir}/pyproject.toml
PIP_DISABLE_PIP_VERSION_CHECK = 1
PIP_CONSTRAINT = {toxinidir}/.config/constraints.txt
UV_CONSTRAINT = {toxinidir}/.config/constraints.txt
PRE_COMMIT_COLOR = always
FORCE_COLOR = 1
allowlist_externals =
Expand Down Expand Up @@ -108,6 +109,7 @@ passenv =
setenv =
{[testenv]setenv}
PIP_CONSTRAINT = /dev/null
UV_CONSTRAINT = /dev/null

[testenv:deps]
description = Bump all test dependencies
Expand All @@ -121,6 +123,7 @@ commands =
setenv =
{[testenv]setenv}
PIP_CONSTRAINT = /dev/null
UV_CONSTRAINT = /dev/null

[testenv:pkg]
description =
Expand Down Expand Up @@ -183,6 +186,7 @@ deps =
setenv =
{[testenv]setenv}
PIP_CONSTRAINT = /dev/null
UV_CONSTRAINT = /dev/null
PYTEST_REQPASS = 0
changedir = {envdir}/tmp/ansible-lint
allowlist_externals =
Expand Down

0 comments on commit 0d3774e

Please sign in to comment.