pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jacob Champion <jchampion@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: oauth: Support Python 3.6 in tests
Date: Wed, 23 Apr 2025 20:02:36 +0000
Message-ID: <E1u7gIm-001SEP-1L@gemulon.postgresql.org> (raw)

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@sss.pgh.pa.us>
Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl>
Tested-by: Renan Alves Fonseca <renanfonseca@gmail.com>
Tested-by: Tom Lane <tgl@sss.pgh.pa.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(-)



Message-ID: <E1u7gIm-001SEP-1L@gemulon.postgresql.org>
Permalink:  ../E1u7gIm-001SEP-1L@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1u7gIm-001SEP-1L@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jchampion@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: oauth: Support Python 3.6 in tests
  In-Reply-To: <E1u7gIm-001SEP-1L@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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