Skip to content

Commit 4491b56

Browse files
srirclaude
andcommitted
Remove pydantic v1 tests from CI
We only use pydantic v2, so no need to run v1 tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 2318ec9 commit 4491b56

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

scripts/apply-customizations.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ find tests -name "*.py" -exec sed -i "s/'orb\._/'orb_sdk._/g" {} +
3333
echo "Updating scripts/lint import check"
3434
sed -i "s/python -c 'import orb'/python -c 'import orb_sdk'/" scripts/lint
3535

36+
# Remove pydantic v1 tests (we only use pydantic v2)
37+
echo "Removing pydantic v1 tests from scripts/test"
38+
sed -i '/Running Pydantic v1 tests/d' scripts/test
39+
sed -i '/nox -s test-pydantic-v1/d' scripts/test
40+
3641
# Update pyproject.toml
3742
echo "Updating pyproject.toml"
3843
sed -i 's/name = "orb-billing"/name = "orb_sdk"/' pyproject.toml

scripts/test

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,3 @@ export DEFER_PYDANTIC_BUILD=false
5656

5757
echo "==> Running tests"
5858
rye run pytest "$@"
59-
60-
echo "==> Running Pydantic v1 tests"
61-
rye run nox -s test-pydantic-v1 -- "$@"

0 commit comments

Comments
 (0)