Re: Replace uses of deprecated Python module distutils.sysconfig

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Replace uses of deprecated Python module distutils.sysconfig
Date: 2022-01-18 17:04:21
Message-ID: 322779.1642525461@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> writes:
> I don't have a clear idea how to fix this in the long run. We would
> perhaps need to determine at which points the various platforms had
> fixed this issue in their Python installations and select between the
> old and the new approach based on that. Seems messy.

Are we sure it's an issue within Python, rather than something we
could dodge by invoking sysconfig differently? It's hard to believe
that sysconfig could be totally unfit for the purpose of finding out
the include path and would remain so for multiple years.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sadhuprasad Patro 2022-01-18 17:14:10 Re: Per-table storage parameters for TableAM/IndexAM extensions
Previous Message Tom Lane 2022-01-18 16:53:00 Re: Push down time-related SQLValue functions to foreign server