Skip to content

Commit b557595

Browse files
committed
skip on error
1 parent 06564a7 commit b557595

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/compile-and-prune-test-requirements

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ active_hashes=($($RIOT_CMD list --hash-only))
88
echo "Building requirements lockfiles for riot hashes that don't have them"
99
for hash in "${active_hashes[@]}"
1010
do
11-
[[ ! -f .riot/requirements/"$hash".txt ]] && $RIOT_CMD -P -v requirements "$hash"
11+
if [[ ! -f .riot/requirements/"$hash".txt ]]; then
12+
# Try to compile requirements, but continue on error
13+
# pip-tools des not currently handle compiling requirements for Python 3.14, so we skip it for now
14+
if ! $RIOT_CMD -P -v requirements "$hash"; then
15+
echo "Warning: Failed to compile requirements for hash $hash (likely Python 3.14 compatibility issue), skipping..."
16+
fi
17+
fi
1218
done
1319

1420
echo "Removing requirements lockfiles for riot hashes that don't exist"

0 commit comments

Comments
 (0)