Files
gradio-app--gradio/scripts/create_test_requirements.sh
wehub-resource-sync adf0d17497
publish / version_or_publish (push) Waiting to run
storybook-build / changes (push) Waiting to run
storybook-build / :storybook-build (push) Blocked by required conditions
Sync Gradio Skills to Hugging Face / sync-skills (push) Waiting to run
functional / changes (push) Waiting to run
functional / build-frontend (push) Blocked by required conditions
functional / functional-test-SSR=false (push) Blocked by required conditions
functional / functional-reload (push) Blocked by required conditions
functional / functional-test-SSR=true (push) Blocked by required conditions
hygiene / hygiene-test (push) Waiting to run
python / changes (push) Waiting to run
python / build (push) Blocked by required conditions
python / test-ubuntu-latest-flaky (push) Blocked by required conditions
python / test-ubuntu-latest-not-flaky (push) Blocked by required conditions
python / test-windows-latest-flaky (push) Blocked by required conditions
python / test-windows-latest-not-flaky (push) Blocked by required conditions
js / changes (push) Waiting to run
js / js-test (push) Blocked by required conditions
docs-build / changes (push) Waiting to run
docs-build / docs-build (push) Blocked by required conditions
docs-build / website-build (push) Blocked by required conditions
chore: import upstream snapshot with attribution
2026-07-13 13:17:32 +08:00

20 lines
668 B
Bash
Executable File

#!/bin/bash -eu
cd "$(dirname ${0})/.."
source scripts/helpers.sh
pip_required
echo "Creating test requirements...
To match the CI environment, this script should be run from a Unix-like system in Python 3.10."
# Passing --exclude-newer on the CLI overrides the entire exclude-newer config
# (including the per-package exemptions in pyproject.toml's [tool.uv]), so the
# starlette exemption must be repeated here to allow starlette>=1.0.1, which was
# released just inside the exclude-newer window.
uv pip compile \
--exclude-newer "${UV_EXCLUDE_NEWER:-7 days}" \
--exclude-newer-package "starlette=false" \
test/requirements.in \
-o test/requirements.txt