public inbox for [email protected]
help / color / mirror / Atom feedFrom: Devrim Gündüz <[email protected]>
To: PostgreSQL RPM Packaging <[email protected]>
Subject: Heads up: Barman, Patroni, psycopg and Python 3.12
Date: Tue, 13 May 2025 16:30:13 +0300
Message-ID: <[email protected]> (raw)
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