What are you changing in this pull request and why?
We changed how dbt-postgres is installed with regards to psycopg2 versus psycopg2-binary.
In prior versions you could configure it with an environment variable. In 1.8, that's not an option because we changed our build tooling to a more modern stack. We initially tried an OS-driven approach, but that had issues mainly due to CI workflows that normally run on linux images. So in 1.8.2 we reverted back to installing psycopg2-binary by default and prescribed the manual workaround of uninstalling psycopg2-binary and reinstalling psycopg2.
Checklist
[x] Review the Content style guide so my content adheres to these guidelines.
What are you changing in this pull request and why?
We changed how
dbt-postgres
is installed with regards topsycopg2
versuspsycopg2-binary
. In prior versions you could configure it with an environment variable. In 1.8, that's not an option because we changed our build tooling to a more modern stack. We initially tried an OS-driven approach, but that had issues mainly due to CI workflows that normally run on linux images. So in 1.8.2 we reverted back to installingpsycopg2-binary
by default and prescribed the manual workaround of uninstallingpsycopg2-binary
and reinstallingpsycopg2
.Checklist