pgsql: oauth: Support Python 3.6 in tests

From: Jacob Champion <jchampion(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: oauth: Support Python 3.6 in tests
Date: 2025-04-23 20:02:36
Message-ID: E1u7gIm-001SEP-1L@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

oauth: Support Python 3.6 in tests

RHEL8 ships a patched 3.6.8 as its base Python version, and I
accidentally let some newer Python-isms creep into oauth_server.py
during development.

Reported-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Reviewed-by: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
Tested-by: Renan Alves Fonseca <renanfonseca(at)gmail(dot)com>
Tested-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/16098.1745079444%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/005ccae0f2d68ad3d44141a748635f3dd4a46c1f

Modified Files
--------------
src/test/modules/oauth_validator/t/oauth_server.py | 26 ++++++++++++++--------
1 file changed, 17 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-04-23 20:05:17 pgsql: Avoid possibly-theoretical OOM crash hazard in hash_create().
Previous Message Tom Lane 2025-04-23 18:14:34 Re: pgsql: Add function to get memory context stats for processes