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

Renan Alves Fonseca <renanfonseca@gmail.com>

From: Renan Alves Fonseca <renanfonseca@gmail.com>
To: Jacob Champion <jacob.champion@enterprisedb.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Daniel Gustafsson <daniel@yesql.se>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2025-04-22T21:43:10Z
Lists: pgsql-hackers
Jacob Champion <jacob.champion@enterprisedb.com> writes:

>
> This is tested against Python 3.6.15 (3.6 went EOL at the end of
> 2021). I'm working on getting Rocky 8 installed locally to test
> against. If it's decided we want to support downwards to 3.5, I will
> test there too (but I hope we don't; see parent thread).
>

I did a quick test on 3.5. It seems to work after removing
f-strings... At this point, I would be really happy with 3.6.




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