Hi, On Wed, 2025-04-23 at 11:46 +0200, Jelte Fennema-Nio wrote: > I'm confused. The upstream RHEL8 repo depends on packages in pgdg??? > > Or are you saying that psycopg (and patroni) are not part of the > pgdg-repo, and instead part of the upstream-repo. And so that other > packages in pgdg that depend on upstream psycopg, would always need to > support python 3.6 (because that's what upstream psycopg uses).
psycopg is included in RHEL 8, but PGDG packages are up2date (2.7.5 vs 2.9.5) so they override OS packages. That is why things will break. A solution would be creating our own psycopg2 (likely for Python 3.12) package, update all PGDG packages that depend on psycopg2 to use that package. That is not impossible (I have already psycopg2 built against Python 3.11 on SLES 15), but I don't know how much work it will be and its impact as that set of update should go to both RHEL 8, 9 and 10 (RHEL 10 already includes Python 3.12 by default) I can go for this solution if it is *absolutely* required. We already have custom packages to support PostGIS, so that is not a new topic for me. Regards, -- Devrim Gündüz Open Source Solution Architect, PostgreSQL Major Contributor BlueSky: @devrim.gunduz.org , @gunduz.org
signature.asc
Description: This is a digitally signed message part