Skip to content

Commit

Permalink
Setup upper bound on numpy import in TestChangingSchemaSpark (#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt authored Oct 15, 2024
1 parent 257e390 commit e6e1e10
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 e6e1e10

Please sign in to comment.