Skip to content

Commit 36336dd

Browse files
chore(internal): avoid using unstable Python versions in tests
1 parent dd94553 commit 36336dd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ fi
5858

5959
export DEFER_PYDANTIC_BUILD=false
6060

61+
# Note that we need to specify the patch version here so that uv
62+
# won't use unstable (alpha, beta, rc) releases for the tests
63+
PY_VERSION_MIN=">=3.9.0"
64+
PY_VERSION_MAX=">=3.14.0"
65+
6166
function run_tests() {
6267
echo "==> Running tests with Pydantic v2"
6368
uv run --isolated --all-extras pytest -W ignore::DeprecationWarning "$@"

0 commit comments

Comments
 (0)