]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
more fixes adopt-uv 3721/head
authorKar Petrosyan <kar.petrosyanpy@gmail.com>
Wed, 10 Dec 2025 13:49:29 +0000 (17:49 +0400)
committerKar Petrosyan <kar.petrosyanpy@gmail.com>
Wed, 10 Dec 2025 13:49:29 +0000 (17:49 +0400)
scripts/install
scripts/test

index adcb1cf0d4451283731258cdb6d3813aee72991b..e20452974fa21db40f2a7602fb7d7b6c61ad4af0 100755 (executable)
@@ -1,7 +1,4 @@
 #!/bin/sh -e
 
-echo "==> Installing Python…"
-uv python install
-
 echo "==> Installing Python dependencies…"
 uv sync --all-extras
index d778a544d2a45588e1f13c6e9a2e9a58fbb7b50f..8ec045b6d625845c199c7fbe9336278b1dc5f525 100755 (executable)
@@ -1,17 +1,12 @@
 #!/bin/sh
 
-export PREFIX=""
-if [ -d 'venv' ] ; then
-    export PREFIX="venv/bin/"
-fi
-
 set -ex
 
 if [ -z $GITHUB_ACTIONS ]; then
     scripts/check
 fi
 
-${PREFIX}coverage run -m pytest "$@"
+uv run coverage run -m pytest "$@"
 
 if [ -z $GITHUB_ACTIONS ]; then
     scripts/coverage