Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure uv uses same constraints as pip
Browse files Browse the repository at this point in the history
ssbarnea committed Jan 21, 2025
1 parent 485451b commit 7111480
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
@@ -27,6 +27,7 @@ pass_env =
USER
set_env =
!milestone: PIP_CONSTRAINT = {toxinidir}/.config/constraints.txt
!milestone: UV_CONSTRAINT = {toxinidir}/.config/constraints.txt
COVERAGE_COMBINED = {envdir}/.coverage
COVERAGE_FILE = {env:COVERAGE_FILE:{envdir}/.coverage.{envname}}
COVERAGE_PROCESS_START = {toxinidir}/pyproject.toml
@@ -57,6 +58,7 @@ deps =
extras =
set_env =
PIP_CONSTRAINT = /dev/null
UV_CONSTRAINT = /dev/null
commands_pre =
commands =
-pre-commit run --all-files --show-diff-on-failure --hook-stage manual deps
@@ -83,6 +85,7 @@ deps =
pre-commit
set_env =
PIP_CONSTRAINT = /dev/null
UV_CONSTRAINT = /dev/null
commands =
pre-commit run --show-diff-on-failure --all-files

@@ -94,6 +97,7 @@ deps =
set_env =
{[testenv]set_env}
PIP_CONSTRAINT = /dev/null
UV_CONSTRAINT = /dev/null

[testenv:pkg]
description =

0 comments on commit 7111480

Please sign in to comment.