diff --git a/tests/integration_tests/test_config_change_callback.py b/tests/integration_tests/test_config_change_callback.py index f7b3d6a3..d56ceb12 100644 --- a/tests/integration_tests/test_config_change_callback.py +++ b/tests/integration_tests/test_config_change_callback.py @@ -4,6 +4,7 @@ from __future__ import annotations +import sys import pytest from typing import Any from unittest.mock import patch @@ -35,6 +36,10 @@ def new_duckdb_destination() -> Destination: @pytest.fixture +@pytest.mark.skipif( + sys.version_info >= (3, 12), + reason="source-faker is not yet compatible with Python 3.12" +) def new_source_faker() -> Source: return get_source( "source-faker", diff --git a/tests/integration_tests/test_state_handling.py b/tests/integration_tests/test_state_handling.py index d9b7222c..9e339e48 100644 --- a/tests/integration_tests/test_state_handling.py +++ b/tests/integration_tests/test_state_handling.py @@ -4,6 +4,7 @@ from __future__ import annotations +import sys from pathlib import Path import airbyte as ab @@ -28,6 +29,10 @@ @pytest.fixture(scope="function") # Each test gets a fresh source-faker instance. +@pytest.mark.skipif( + sys.version_info >= (3, 12), + reason="source-faker is not yet compatible with Python 3.12" +) def source_faker_seed_a() -> ab.Source: """Fixture to return a source-faker connector instance.""" source = ab.get_source( @@ -43,6 +48,10 @@ def source_faker_seed_a() -> ab.Source: @pytest.fixture(scope="function") # Each test gets a fresh source-faker instance. +@pytest.mark.skipif( + sys.version_info >= (3, 12), + reason="source-faker is not yet compatible with Python 3.12" +) def source_faker_seed_b() -> ab.Source: """Fixture to return a source-faker connector instance.""" source = ab.get_source(