sqlbag icon indicating copy to clipboard operation
sqlbag copied to clipboard

Cannot install on a box without gcc - due to psycopg2

Open jn0 opened this issue 1 year ago • 0 comments

I'm building a fork of migra. It includes schemainspect package. That relays on sqlbag[pg]. That wants psycopg2 (not psycopg2-binary) in turn.

The box where I have to run the code has no gcc installed.

So, I see the crash in attempt to build psycopg2 (even having psycopg2-binary installed!).

This effectively prevents me from using migra.

Proposal: could you please replace psycopg2 with psycopg2-binary in your dependancies?

P.S. It's Python 3.10.12 in Ubuntu 22.04.3 LTS if it matters.

jn0 avatar Sep 15 '23 15:09 jn0