Skip to content

Commit

Permalink
Setup upper bound on numpy import in TestChangingSchemaSpark
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt committed Oct 15, 2024
1 parent 257e390 commit 88c67a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/adapter/test_python_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def model(dbt, spark):
"ResourceClass": "SingleNode"
}
},
packages=['spacy', 'torch', 'pydantic>=1.10.8']
packages=['spacy', 'torch', 'pydantic>=1.10.8', 'numpy<2']
)
data = [[1,2]] * 10
return spark.createDataFrame(data, schema=['test', 'test2'])
Expand Down

0 comments on commit 88c67a6

Please sign in to comment.