Skip to content

Commit f093087

Browse files
committed
[TEST_PYTHON_VERSIONS=3.14] Trigger full build
1 parent b4f91ef commit f093087

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

python_modules/libraries/dagster-dg-cli/dagster_dg_cli_tests/yaml_template/test_yaml_template_generator.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
SlingReplicationCollectionComponent,
1515
)
1616

17-
# dbt-core doesn't support Python 3.14
18-
if not seven.IS_PYTHON_3_14:
19-
from dagster_dbt.components.dbt_project.component import DbtProjectComponent
20-
2117

2218
class TestYamlTemplateGenerator:
2319
@property
@@ -150,10 +146,15 @@ def test_sling_replication_collection_component_template(self):
150146
f"Generated example values do not match expected output.\n\nGenerated:\n{example_result}\n\nExpected:\n{expected_example}"
151147
)
152148

153-
@pytest.mark.skipif(seven.IS_PYTHON_3_14, reason="dbt-core doesn't support Python 3.14")
154149
def test_dbt_project_component_template(self):
155150
"""Test generation of DbtProjectComponent template using actual component class."""
156151
# Get schema from the actual component class
152+
# dbt-core doesn't support Python 3.14
153+
if seven.IS_PYTHON_3_14:
154+
pytest.skip("dbt-core doesn't support Python 3.14")
155+
156+
from dagster_dbt.components.dbt_project.component import DbtProjectComponent
157+
157158
schema = self.get_component_schema(DbtProjectComponent)
158159

159160
# Test schema generation

0 commit comments

Comments
 (0)