Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uHNHl-00158b-7M for pgsql-pkg-yum@arkaria.postgresql.org; Tue, 20 May 2025 13:45:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uHNGl-006oHy-V9 for pgsql-pkg-yum@arkaria.postgresql.org; Tue, 20 May 2025 13:44:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uHNGl-006oHm-PJ for pgsql-pkg-yum@lists.postgresql.org; Tue, 20 May 2025 13:44:35 +0000 Received: from ns7.gunduz.org ([165.232.104.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uHNGi-002xLT-2I for pgsql-pkg-yum@lists.postgresql.org; Tue, 20 May 2025 13:44:35 +0000 Received: from dell-laptop07.gunduz.org (unknown [85.100.221.78]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ns7.gunduz.org (Postfix) with ESMTPSA id 03DD430002C1 for ; Tue, 20 May 2025 13:44:31 +0000 (UTC) Message-ID: Subject: Re: Heads up: Barman, Patroni, psycopg and Python 3.12 From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: PostgreSQL RPM Packaging Date: Tue, 20 May 2025 16:44:26 +0300 In-Reply-To: References: Autocrypt: addr=devrim@gunduz.org; prefer-encrypt=mutual; keydata=mQINBFN+TjkBEAC6pudhV1V54kHPe91nr6Erz6VuG93VKfcHOHN86yET35s8ytey7f//m 93mW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Co9mNaJc+kRXP7yGbsQa rOWvLMtCvKa0DjFJ6SDY45h3g1XF+Xp/ZMZLbJ7xNc3zEVnBZc0AIvGL+IlQbo9trPdJvjdrFATio UV/cLxug1p4kl8JB6YMvToiKFmMlpQv2wcKK63bm01lDjU93sAy8oZpeKYlOYlN9D0WmyhJbFTlTl IJhMX0aY/xfxUaMYJC5DxV+9s18uviqGWDb2zQR3i3qUbfzV27yHnKo194rUblZ128CzAjs32NerE CLJjKEpc2Ci14fJZz6c6P0J5JTONBKhAzygQi/l97RGBqsLiniJIsTUjGH+hEr7hTnhEg/ZOQSs32 h9vVjhQB7WJ9Xg9A3Frw5mD+W3YkMMM4bFryLTM5p7E1iwGlx+XeM8UMzhtYt Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-LB0yN4K6ik+4Z8cxJg0N" User-Agent: Evolution 3.56.1 (3.56.1-1.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --=-LB0yN4K6ik+4Z8cxJg0N Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.=20 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=C3=BCnd=C3=BCz wrote: >=20 > Hi, >=20 > 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=C2=A0 >=20 > 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. >=20 > So the plan is using Python 3.12 for RHEL 8 and 9 and using whatever > available for Fedora and RHEL 10. >=20 > 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. >=20 > Barring any objections, I plan to work on this soon. >=20 > Regards, --=20 Devrim G=C3=BCnd=C3=BCz Open Source Solution Architect, PostgreSQL Major Contributor BlueSky: @devrim.gunduz.org , @gunduz.org --=-LB0yN4K6ik+4Z8cxJg0N Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQJGBAABCgAwFiEEH8GKHNUOKtDEiyD22MM9/pLPbrUFAmgshzoSHGRldnJpbUBn dW5kdXoub3JnAAoJENjDPf6Sz261DuMQAJyIqsCFsYapJ7cJritVe/YWM0SScvjv hvaqqwvbBcvlTNwGX8UNtBWBbjaLNtX94JRnMSMX537GptwdaD/OXMQNmdeE2fko I/FumGc/clTi5/0JstjWlylCYPAlYZ98TaR38DvdicIx6s3M25Z9gvtizo8u8Lto 8ZTtiPR2vIooZwdRZm3xE6eXY32aWU3ApOz1ezcEeWMKWwV+P2rydrWyCbQAdzoc cAPcu+69lftP2T54Fz+yq861o58oksMq3Fcc/geVH/mYwYRN5bwXlqL14hIIs/gQ RJIgOyrs5bhksP67FmWK8FQS37u7300A1l9LbS7hbwhLQQjGB1soBgU0FdXxCsPO +fiGaKhpN8cJjuXSJK5jSA3iQidoaNkMYGHFxP51SILkEzjEqKoSHFLQ1PTtfnXs lWLkZZgW9AjHfGK3+ZzSYwUYSfMp4PaMWpoyQXADz19jmABVPug+nUNKhjU4Nekf b9n3GgYa9BJUoU6knIElSsessMcEWL2XMZAs2Y0347XfbnSwUcSAcCcrDSG10/UB Ujnrcv7FdDX/6WaeFGqQTwfIRIf2izhVBm/zSHkvXO/lsIYFqSWh7jjC75HHdbCA H3o2mNnu3uZ5xY70aciq32+bzRRwMm27u7Ij85g2ok9+ib/HY06m31MqTAZ5Kb4C Aaat52FoOzWw =upHP -----END PGP SIGNATURE----- --=-LB0yN4K6ik+4Z8cxJg0N--