public inbox for [email protected]  
help / color / mirror / Atom feed
Heads up: Barman, Patroni, psycopg and Python 3.12
2+ messages / 1 participants
[nested] [flat]

* Heads up: Barman, Patroni, psycopg and Python 3.12
@ 2025-05-13 13:30  Devrim Gündüz <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Devrim Gündüz @ 2025-05-13 13:30 UTC (permalink / raw)
  To: PostgreSQL RPM Packaging <[email protected]>


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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Heads up: Barman, Patroni, psycopg and Python 3.12
@ 2025-05-20 13:44  Devrim Gündüz <[email protected]>
  parent: Devrim Gündüz <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Devrim Gündüz @ 2025-05-20 13:44 UTC (permalink / raw)
  To: PostgreSQL RPM Packaging <[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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-05-20 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-05-13 13:30 Heads up: Barman, Patroni, psycopg and Python 3.12 Devrim Gündüz <[email protected]>
2025-05-20 13:44 ` Devrim Gündüz <[email protected]>

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