public inbox for [email protected]  
help / color / mirror / Atom feed
From: Devrim Gündüz <[email protected]>
To: PostgreSQL RPM Packaging <[email protected]>
Subject: Re: Heads up: Barman, Patroni, psycopg and Python 3.12
Date: Tue, 20 May 2025 16:44:26 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

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


Attachments:

  [application/pgp-signature] signature.asc (858B, 2-signature.asc)
  download

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Heads up: Barman, Patroni, psycopg and Python 3.12
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox