File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -427,9 +427,8 @@ def call(){
427427 try {
428428 sh( label : ' Running Tox' ,
429429 script : """ python3 -m venv venv && venv/bin/pip install uv
430- . ./venv/bin/activate
431- uv python install cpython-${ version}
432- uvx -p ${ version} --with tox-uv tox run -e ${ toxEnv}
430+ ./venv/bin/uv python install cpython-${ version}
431+ ./venv/bin/uv run --frozen --only-group tox --with tox-uv tox run -e ${ toxEnv} --runner uv-venv-lock-runner
433432 """
434433 )
435434 } catch (e) {
@@ -575,7 +574,7 @@ def call(){
575574 trap "rm -rf venv" EXIT
576575 venv/bin/pip install --disable-pip-version-check uv
577576 trap "rm -rf venv && rm -rf .tox" EXIT
578- venv/bin/uvx --with tox-uv tox --installpkg ${ installpkg} -e py${ PYTHON_VERSION.replace('.', '')}
577+ venv/bin/uv run --frozen --no-dev --only-group tox --with tox-uv tox --installpkg ${ installpkg} -e py${ PYTHON_VERSION.replace('.', '')}
579578 """
580579 )
581580 }
You can’t perform that action at this time.
0 commit comments