Skip to content

Commit 08fde97

Browse files
NO SNOW: skip udtf test of data source in py313 (#3586)
1 parent d23e0e8 commit 08fde97

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

tests/integ/datasource/test_databricks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ def test_double_quoted_column_databricks(session, custom_schema):
174174
[("table", TEST_TABLE_NAME), ("query", f"(SELECT * FROM {TEST_TABLE_NAME})")],
175175
)
176176
@pytest.mark.udf
177+
@pytest.mark.skipif(
178+
sys.version_info[:2] == (3, 13), reason="driver not supported in python 3.13"
179+
)
177180
def test_udtf_ingestion_databricks(session, input_type, input_value, caplog):
178181
# we define here to avoid test_databricks.py to be pickled and unpickled in UDTF
179182
def local_create_databricks_connection():

tests/integ/datasource/test_mysql.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#
44
import logging
55
import math
6+
import sys
67
from decimal import Decimal
78

89
import pytest
@@ -227,6 +228,9 @@ def test_infer_type_from_data(data, number_of_columns, expected_result):
227228

228229

229230
@pytest.mark.udf
231+
@pytest.mark.skipif(
232+
sys.version_info[:2] == (3, 13), reason="driver not supported in python 3.13"
233+
)
230234
def test_udtf_ingestion_mysql(session, caplog):
231235
from tests.parameters import MYSQL_CONNECTION_PARAMETERS
232236

tests/integ/datasource/test_oracledb.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
import logging
66
import math
7+
import sys
8+
79
import pytest
810

911
from snowflake.snowpark import Row
@@ -153,6 +155,9 @@ def test_oracledb_driver_coverage(caplog):
153155

154156

155157
@pytest.mark.udf
158+
@pytest.mark.skipif(
159+
sys.version_info[:2] == (3, 13), reason="driver not supported in python 3.13"
160+
)
156161
def test_udtf_ingestion_oracledb(session):
157162
from tests.parameters import ORACLEDB_CONNECTION_PARAMETERS
158163

tests/integ/datasource/test_postgres.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#
22
# Copyright (c) 2012-2025 Snowflake Computing Inc. All rights reserved.
33
#
4+
import sys
45

56
import pytest
67

@@ -149,6 +150,9 @@ def test_unicode_column_name_postgres(session, custom_schema):
149150
],
150151
)
151152
@pytest.mark.udf
153+
@pytest.mark.skipif(
154+
sys.version_info[:2] == (3, 13), reason="driver not supported in python 3.13"
155+
)
152156
def test_udtf_ingestion_postgres(session, input_type, input_value, caplog):
153157
from tests.parameters import POSTGRES_CONNECTION_PARAMETERS
154158

0 commit comments

Comments
 (0)