This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
The following commit(s) were added to refs/heads/main by this push:
new ef95e636a Tests: Ignore google.api_core unsupported Python version
warning (#4100)
ef95e636a is described below
commit ef95e636adf21273622920fe2f7fd9a97eb1da9b
Author: Alex Stephen <[email protected]>
AuthorDate: Fri Oct 16 06:00:44 2026 +0000
Tests: Ignore google.api_core unsupported Python version warning (#4100)
google.api_core now emits its "non-supported Python version" FutureWarning
on 3.10, which the existing filter did not match, so test collection failed.
Widen the filter to cover every variant of the warning.
---
pyproject.toml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index e5d92af23..8fa9f1e86 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -243,8 +243,8 @@ markers = [
# Turns a warning into an error
filterwarnings = [
"error",
- # Ignore Python version deprecation warning from google.api_core while we
still support 3.10
- "ignore:You are using a Python version.*which Google will stop
supporting:FutureWarning:google.api_core",
+ # Ignore Python version deprecation, end-of-life and unsupported warnings
from google.api_core while we still support 3.10
+ "ignore:You are using a (non-supported )?Python
version:FutureWarning:google.api_core",
# Python 3.13 sqlite3 module ResourceWarnings for unclosed database
connections
"ignore:unclosed database in <sqlite3.Connection object*:ResourceWarning",
# Ignore Ray subprocess cleanup warnings