Re: Heads up: Barman, Patroni, psycopg and Python 3.12

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: PostgreSQL RPM Packaging <pgsql-pkg-yum(at)lists(dot)postgresql(dot)org>
Subject: Re: Heads up: Barman, Patroni, psycopg and Python 3.12
Date: 2025-05-20 13:44:26
Message-ID: f679031dc1d2672101a72d41d48735a96f08c8e4.camel@gunduz.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hi,

This is now completed except RHEL 9 - aarch64 (fat fingers on that
platform, so will work on that tomorrow).

https://github.com/pgdg-packaging/pgdg-rpms/issues/16

I had to introduce new packages for RHEL 8 and 9. Please note that I had
to use Python 3.11 on SLES 15 to use more packages in their repo.

Currently we use Python 3.13 on Fedora, Python 3.12 on RHEL 10, 9 and 8
and Python 3.11 on SLES 15.

I'd like to thank Seda Yavuz for testing Patroni packages extensively.

Still if you see any issues, please report it to us:

https://github.com/pgdg-packaging/pgdg-rpms/issues/new

Regards, Devrim

On Tue, 2025-05-13 at 16:30 +0300, Devrim Gündüz wrote:
>
> Hi,
>
> I've been getting lots of complaints about the Python version that we
> use for Barman, Patroni and psycopg on RHEL 8 (3.6.8) as security
> scanners show red flag each time. Something for 3.9 (RHEL 9) will also
> come up this year. Also due to a few spec file tweaks in some Python
> related packages, I have to do a few manual work for barman RHEL 8
> builds (like removing all Python versions except 3.6.8 and then
> reinstall newer versions because of pyproject macros), which is not
> sustainable. See:
> https://github.com/pgdg-packaging/pgdg-rpms/issues/5 
>
> Fedora 41 and 42 has 3.13 and RHEL 10 has 3.12. Fortunately both RHEL
> 8
> and RHEL 9 also have 3.12 in their repos which is safe for about 3
> more
> years.
>
> So the plan is using Python 3.12 for RHEL 8 and 9 and using whatever
> available for Fedora and RHEL 10.
>
> A major problem is psycopg3. My intention is to build a separate
> python312-psycopg3 package so that it won't break current
> installations.
> There are some missing Python 3.12 dependencies for Barman on RHEL 8
> and
> 9, and I will introduce new packages to solve that problem. Patroni is
> the easiest piece in here.
>
> Barring any objections, I plan to work on this soon.
>
> Regards,

--
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
BlueSky: @devrim.gunduz.org , @gunduz.org

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2025-05-20 15:22:41 Re: Cannot find v18 Beta 1 RPMs for Fedora 42
Previous Message Guillaume Lelarge 2025-05-16 11:59:35 Re: Cannot find v18 Beta 1 RPMs for Fedora 42