Re: pg12 rc1 on CentOS8 depend python2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: keisuke kuroda <keisuke(dot)kuroda(dot)3862(at)gmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)postgresql(dot)org, pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: pg12 rc1 on CentOS8 depend python2
Date: 2019-09-27 13:38:18
Message-ID: 19495.1569591498@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-pkg-yum

keisuke kuroda <keisuke(dot)kuroda(dot)3862(at)gmail(dot)com> writes:
> Even if I don't need to install plpythonu,
> RPM package includes "CONFIGURE = --with-python".
> Therefore I think that I need to install python2 when RPM install.
> Is my understanding correct?

The core server package shouldn't have any python dependency.

It doesn't surprise me so much that the contrib package does, though.
Most likely, that includes the plpython transform modules
(hstore_plpython, jsonb_plpython, etc), which are certainly going to
depend on whichever libpython PG was built with.

It might've been better to split out those modules as a separate
package. OTOH that would add confusion, and we have a lot of
subpackages already.

Another idea might be to bundle them into the plpython package
instead of contrib (and similarly for the plperl transforms).

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2019-09-27 13:52:22 Re: incoherent dead tuples between pg_stat_user_tables and pgstattuple?
Previous Message Marco Ippolito 2019-09-27 12:58:08 Re: "Failed to connect to Postgres database"

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Christoph Berg 2019-09-27 14:15:06 Re: pg12 rc1 on CentOS8 depend python2
Previous Message Devrim Gündüz 2019-09-27 06:41:25 Re: rpm small typo