Re: [PATCH] Support older Pythons in oauth_server.py

Jacob Champion <jacob.champion@enterprisedb.com>

From: Jacob Champion <jacob.champion@enterprisedb.com>
To: Renan Alves Fonseca <renanfonseca@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Daniel Gustafsson <daniel@yesql.se>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2025-04-22T22:03:51Z
Lists: pgsql-hackers
On Tue, Apr 22, 2025 at 2:43 PM Renan Alves Fonseca
<renanfonseca@gmail.com> wrote:
> I did a quick test on 3.5.

Thanks!

> It seems to work after removing
> f-strings... At this point, I would be really happy with 3.6.

Ah, makes sense. Well, I'm starting with the 3.6 fix regardless, since
it's preventing RHEL8 testing. If we decide we must support 3.5, I can
patch f-strings too. Fingers crossed...

--Jacob



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. plpython: Remove obsolete test expected file

  2. Bump the minimum supported Python version to 3.6.8

  3. oauth: Support Python 3.6 in tests