This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 75d53ac1e6 [python] Fix Python CI checks (#8898)
75d53ac1e6 is described below
commit 75d53ac1e6c32a942c3de4142feee35119d538a7
Author: XiaoHongbo <[email protected]>
AuthorDate: Wed Jul 29 11:20:44 2026 +0800
[python] Fix Python CI checks (#8898)
---
paimon-python/pypaimon/tests/py36/rest_ao_read_write_test.py | 8 +++++++-
paimon-python/pypaimon/tests/shard_table_updator_test.py | 1 -
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/paimon-python/pypaimon/tests/py36/rest_ao_read_write_test.py
b/paimon-python/pypaimon/tests/py36/rest_ao_read_write_test.py
index a5aa88d7ca..03fd763a9e 100644
--- a/paimon-python/pypaimon/tests/py36/rest_ao_read_write_test.py
+++ b/paimon-python/pypaimon/tests/py36/rest_ao_read_write_test.py
@@ -16,8 +16,10 @@
# under the License.
import logging
-import time
import random
+import sys
+import time
+import unittest
from datetime import date
from decimal import Decimal
from unittest.mock import Mock
@@ -649,6 +651,10 @@ class RESTAOReadWritePy36Test(RESTBaseTest):
table_write.write_arrow_batch(record_batch)
self.assertTrue(str(e.exception).startswith("Input schema isn't
consistent with table schema and write cols."))
+ @unittest.skipIf(
+ sys.version_info[:2] == (3, 6),
+ "Large wide-table test is prohibitively slow on Python 3.6."
+ )
def test_write_wide_table_large_data(self):
logging.basicConfig(level=logging.INFO)
catalog = CatalogFactory.create(self.options)
diff --git a/paimon-python/pypaimon/tests/shard_table_updator_test.py
b/paimon-python/pypaimon/tests/shard_table_updator_test.py
index 7efb58085c..5f9eb236aa 100644
--- a/paimon-python/pypaimon/tests/shard_table_updator_test.py
+++ b/paimon-python/pypaimon/tests/shard_table_updator_test.py
@@ -651,7 +651,6 @@ class ShardTableUpdatorTest(unittest.TestCase):
"Row-id-check commits must enable conflict detection."
)
-
def test_shard_update_ignores_target_file_row_num(self):
"""Regression: a shard maps to exactly one output file, so
target-file-row-num must not split it. Before the fix the