Closed jspreddy closed 3 years ago
For anyone experiencing the same issue, here is a workaround.
In your requirements.txt lock the agate version to agate==1.6.1
.
dbt==0.18.*
# dbt's 3rd level dependency broken, so locking said dependency "agate" to working version 1.6.1
agate==1.6.1
.
.
.
Two other workarounds (thanks to @sean-rose in Slack):
Upgrading pip
+ setuptools
to the latest version does allow the dbt installation to complete, despite the PyICU error—but the package is not installed, and it's likely to have a subtle and negative effect on agate/dbt operation.
Install PyICU
via the instructions here. On MacOS, it looks like the recommendation is brew install icu4c
, with some follow-on steps to ensure that icu-config
utility is accessible via the PATH
. After doing this, dbt installation can complete with the latest version of agate
, and its new dependency PyICU
successfully installed.
However, both of those workarounds seem far from ideal! In the meantime, I agree it makes most sense to pin dbt's dependency to agate>=1.6,<1.6.2
. This shouldn't be a breaking change for any users, so we'll try to include the fix in v0.19.1.
Describe the bug
Package failed to install
dbt==0.18.1
starting on March 10, 2021.Steps To Reproduce
dbt==0.18.1
started failing on March 10, 2021.dbt-core==0.18.1
namelyagate<2,>=1.6
which resolves toagate==1.6.2
.Expected behavior
It should install properly.
Summary log
Failure while -> Collecting PyICU>=2.4.2 (from agate<2,>=1.6 -> dbt-core==0.18.1 -> dbt==0.18.1 -> -r ./requirements.txt (line 1))
Detailed logs
The output of
dbt --version
:The operating system you're using: ubuntu:bionic
The output of
python --version
: Python 3.6.1Additional context
Installing
dbt==0.18.1
in a Dockerfile during build process via requirements.txtDockerfile:
Requirements.txt