diff --git a/tests/functional/adapter/test_python_model.py b/tests/functional/adapter/test_python_model.py index 43631bb73..49e8e40ad 100644 --- a/tests/functional/adapter/test_python_model.py +++ b/tests/functional/adapter/test_python_model.py @@ -48,7 +48,7 @@ def test_incremental(self, project): models__simple_python_model = """ -import pandas +import pyspark.pandas as pandas import torch import spacy @@ -68,7 +68,7 @@ def model(dbt, spark): "ResourceClass": "SingleNode" } }, - packages=['spacy', 'torch', 'pydantic>=1.10.8'] + packages=['spacy', 'torch', 'pydantic>=1.10.3', 'numpy<2'] ) data = [[1,2]] * 10 return spark.createDataFrame(data, schema=['test', 'test2'])