File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ find tests -name "*.py" -exec sed -i "s/'orb\._/'orb_sdk._/g" {} +
3333echo " Updating scripts/lint import check"
3434sed -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
3742echo " Updating pyproject.toml"
3843sed -i ' s/name = "orb-billing"/name = "orb_sdk"/' pyproject.toml
Original file line number Diff line number Diff line change @@ -56,6 +56,3 @@ export DEFER_PYDANTIC_BUILD=false
5656
5757echo " ==> Running tests"
5858rye run pytest " $@ "
59-
60- echo " ==> Running Pydantic v1 tests"
61- rye run nox -s test-pydantic-v1 -- " $@ "
You can’t perform that action at this time.
0 commit comments