Open alexeyegorov opened 4 months ago
Our upstream dependencies at dbt Labs have communicated to me that they are going to be pinning to numpy < 2, so even if I remove the pandas pin, we can't expect numpy 2 to work. We need to verify that a newer Pandas works as well, as the reason we started pinning is that newer Pandas started breaking dbt-databricks. Keeping the ticket open to try upgrading Pandas again at some point.
@benc-db It's all fine. I fixed the version for myself and made sure it is known in the community. ;) tanks.
For anyone else who sees this issue, newer versions of pandas also drop support for python 3.8, which we are not prepared to drop support for yet.
Describe the bug
Since Numpy released its latest version 2.0, it is not compatible with an older version of Pandas. However, dbt-databricks in version 1.8.3 only supports pandas up to version 2.0.
Workaround: fix numpy version to 1.26.4 (latest before 2.0).
Steps To Reproduce
requirements.txt
with only few entries:dbt deps
dbt compile
Expected behavior
Successfull dbt run.
Screenshots and log output
The outcome of the commans:
DBT now has installed the packages.
But it fails in any other execution (in this case, it is
dbt compile
):Quote from the logs:
System information
The output of
dbt --version
:The operating system you're using:
The output of
python --version
:Additional context