Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Seehttps://www.psycopg.org/docs/install.html#psycopg-vs-psycopg-binary I was able to build in 3.8 slim by adding:
The build-time packages can be removed from the docker image after psycopg2 python package is installed. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
Thanks, it seems the main reason why it's not recommended is if the system underneath upgrades the versions of the libraries it bundles. Nevertheless if you upgrade the version of pyscopg-binary, it would come with the latest version that it was built with, so I would think that's comparable.
Also, I normally wouldn't want to suggest or encourage users to build dependencies from source, that's can cause so many problems. But I think people that want to set up this way would be perfectly able to do so as well. 🤓
Replies: 1 comment
-
Thanks, it seems the main reason why it's not recommended is if the system underneath upgrades the versions of the libraries it bundles. Nevertheless if you upgrade the version of pyscopg-binary, it would come with the latest version that it was built with, so I would think that's comparable. Also, I normally wouldn't want to suggest or encourage users to build dependencies from source, that's can cause so many problems. But I think people that want to set up this way would be perfectly able to do so as well. 🤓 |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue#421 on January 22, 2026 20:55.