]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
test/pytest_suite: auto-create .venv via python3+pip when uv is unavailable
authorJim Jagielski <jim@apache.org>
Wed, 3 Jun 2026 19:05:31 +0000 (19:05 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 3 Jun 2026 19:05:31 +0000 (19:05 +0000)
commit3116f556b910b9a7842d2f8d31ffa00ca140a8e4
treeba176943660609b77abc29544aba083ef0f87741
parent91a32a49e9bcc0d7cbd30b05087462823a2e9686
test/pytest_suite: auto-create .venv via python3+pip when uv is unavailable

runtests.sh already bootstrapped the virtualenv with `uv sync` when uv
was present, but exited with an error when it was not.  Fall back to
`python3 -m venv .venv && .venv/bin/pip install -e .` so the suite is
self-bootstrapping on systems that have only a stock Python 3 install.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934945 13f79535-47bb-0310-9956-ffa450edef68
test/pytest_suite/runtests.sh