Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions projects/astral.sh/uv/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ companions:
python.org: "*"

dependencies:
libgit2.org: ~1.7 # links to libgit2.so.1.7
libgit2.org: '>=1.7<2'

build:
dependencies:
linux:
nixos.org/patchelf: ^0.18
sqlite.org: "*" # as of v0.5.22, to build libz-ng-sys
cmake.org: ^3.28
cmake.org: '>=3.28'
rust-lang.org/cargo: ^0
maturin.rs: ^1.4.0
info-zip.org/unzip: ^6
Expand Down Expand Up @@ -75,7 +75,11 @@ test:
flask run --port $PORT &
PID=$!
# otherwise the server may not be ready
- sleep 10
- |
for i in $(seq 1 15); do
curl -sf 127.0.0.1:$PORT && break
sleep 1
done
- test "$(curl 127.0.0.1:$PORT)" = "<p>Hello, World!</p>"
# TODO need to install a signal handler or our build servers could be left with a running flask process
- kill $PID
- kill $PID || true
Loading