Skip to content

Commit a78c9f2

Browse files
Filter out python 3.10 google.api_core future warnings
1 parent b8bad56 commit a78c9f2

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ for package in $packages; do
1313
if [ -d _tilebox ]; then
1414
module=_tilebox
1515
fi
16-
uv run --all-packages pytest -Wall -Werror --cov=$module --cov-branch -v --junitxml=test-report.xml . || exit 1
16+
uv run --all-packages pytest -Wall -Werror -W ignore::FutureWarning:google.api_core --cov=$module --cov-branch -v --junitxml=test-report.xml . || exit 1
1717

1818
cd .. || exit 1 # cd back to the root of the monorepo
1919
done

tilebox-datasets/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ omit = [
6363
[tool.pytest.ini_options]
6464
minversion = "6.0"
6565
testpaths = ["tests"]
66-
addopts = "-Wall -Werror --import-mode importlib"
66+
addopts = "-Wall -Werror --import-mode importlib -W ignore::FutureWarning:google.api_core"
6767
asyncio_default_fixture_loop_scope = "function"
6868

6969

tilebox-grpc/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ packages = ["_tilebox"]
5151
[tool.pytest.ini_options]
5252
minversion = "6.0"
5353
testpaths = ["tests"]
54-
addopts = "-Wall -Werror --import-mode importlib"
54+
addopts = "-Wall -Werror --import-mode importlib -W ignore::FutureWarning:google.api_core"
5555
asyncio_default_fixture_loop_scope = "function"
5656

5757
[build-system]

tilebox-storage/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ packages = ["tilebox"]
5151
[tool.pytest.ini_options]
5252
minversion = "6.0"
5353
testpaths = ["tests"]
54-
addopts = "-Wall -Werror --import-mode importlib"
54+
addopts = "-Wall -Werror --import-mode importlib -W ignore::FutureWarning:google.api_core"
5555
asyncio_default_fixture_loop_scope = "function"
5656

5757
[build-system]

tilebox-workflows/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ omit = ["tilebox/workflows/workflows/v1/*"]
5353
[tool.pytest.ini_options]
5454
minversion = "6.0"
5555
testpaths = ["tests"]
56-
addopts = "-Wall -Werror --import-mode importlib"
56+
addopts = "-Wall -Werror --import-mode importlib -W ignore::FutureWarning:google.api_core"
5757
asyncio_default_fixture_loop_scope = "function"
5858

5959
[build-system]

0 commit comments

Comments
 (0)