Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDhU1-0008Eo-BX for pgsql-general@arkaria.postgresql.org; Fri, 27 Sep 2019 04:03:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iDhU0-0007de-6p for pgsql-general@arkaria.postgresql.org; Fri, 27 Sep 2019 04:03:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDhTy-0007an-Sp; Fri, 27 Sep 2019 04:03:51 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iDhTv-0001GJ-Ug; Fri, 27 Sep 2019 04:03:49 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 196B52229F; Fri, 27 Sep 2019 00:03:47 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 27 Sep 2019 00:03:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=2 34qNv/abVGNO6x2F51u7ePR3T03Nmyx8Fc8o+c8/3o=; b=Pw2wX4hxhKMg6GuJe imort6qBtAxgCTrUclzJE3PMiWP9q3V+sBXWswFbpqsA0GIkeAiQivho5sHNK5KD l0DuYmSw9Um6f4sjdu8l85pBWbBR2Kxw+It6zDU2upAdxAPIvEk76W+LROgr2UxU +KOvYqxWrZM9CRDza9hxGCowx5Sdwlqb19p0ywmGx+iJStJEq0A72Zvk2j9edRvg D5TypZxHoeZ5RYbhcxXj9SvR26bwMZKGuI4s9ZxzRfWjxQ+y+X7baFCOp8qL7Stz LVKFmZPKNI4Ttr7doGZFg8GgQCBpNERqMFB6SaCUL66891G3kYfItf3Glyc+Btu7 cTlMg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=234qNv/abVGNO6x2F51u7ePR3T03Nmyx8Fc8o+c8/ 3o=; b=XG047tCShdYHpBNegFXPbT1S4a1RI2E2878Xzk2GDZCTvyNmL5pH+EQBX JTG/R3DkTi4+y13spm5zqB+zfgTEsYtB6MYkUbB/jIRcfsJz8f9+nAKgn1xrp3y/ dBFDI37OrBjAb9kxBu7HbxU4eEVxcHhWBwPJRExW3XPyMkVxff+OzVZ0qExVFJID xq+iZcrIMsaSpRBN5iA8ASA05Pm/2og1sm2EpPE47COdtQA+Pe6aqy99YfDtGZoX 10lDthHk5ZGI7c7DAcvtxs+S0+xSNpa9O77F+vD1pjhn77rJsvQwns/4E+x36AxU LygIKF/LXRzh+K1+FR8P0GH9i5Q8w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrfeehgdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucfkphepjedurddvuddv rddugeefrdekheenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvh gvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.3] (unknown [71.212.143.85]) by mail.messagingengine.com (Postfix) with ESMTPA id F3BDB80061; Fri, 27 Sep 2019 00:03:45 -0400 (EDT) Subject: Re: pg12 rc1 on CentOS8 depend python2 To: keisuke kuroda , pgsql-general@postgresql.org, pgsql-pkg-yum@postgresql.org References: From: Adrian Klaver Message-ID: Date: Thu, 26 Sep 2019 21:03:45 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 9/26/19 6:50 PM, keisuke kuroda wrote: > Hi. > > I tried to install PostgreSQL12 RC1 on CentOS8. > > # dnf install postgresql12-server postgresql12-contrib > > =============================================================================================== >  Package                           Arch                Version >                                      Repository >   Size > =============================================================================================== > Installing: >  postgresql12-contrib              x86_64 >  12rc1-1PGDG.rhel8 >  pgdg12-updates-testing              660 k >  postgresql12-server               x86_64 >  12rc1-1PGDG.rhel8 >  pgdg12-updates-testing              5.3 M > Installing dependencies: >  python2                           x86_64 >  2.7.15-22.module_el8.0.0+32+017b2cba                 AppStream >                   107 k >  python2-libs                      x86_64 >  2.7.15-22.module_el8.0.0+32+017b2cba                 AppStream >                   6.0 M >  python2-pip                       noarch >  9.0.3-13.module_el8.0.0+32+017b2cba                  AppStream >                   2.0 M >  python2-setuptools                noarch >  39.0.1-11.module_el8.0.0+32+017b2cba                 AppStream >                   643 k >  postgresql12                      x86_64 >  12rc1-1PGDG.rhel8 >  pgdg12-updates-testing              1.8 M >  postgresql12-libs                 x86_64 >  12rc1-1PGDG.rhel8 >  pgdg12-updates-testing              405 k > Enabling module streams: >  python27                                              2.7 > > CentOS8 does not have python2 installed by default, But PostgreSQL is > dependent on python2. > > Do we need to install python2 when we use PostgreSQL on CentOS8? If it is installing plpythonu, then yes. From the docs: https://www.postgresql.org/docs/12/plpython-python23.html "The language named plpythonu implements PL/Python based on the default Python language variant, which is currently Python 2. (This default is independent of what any local Python installations might consider to be their “default”, for example, what /usr/bin/python might be.) The default will probably be changed to Python 3 in a distant future release of PostgreSQL, depending on the progress of the migration to Python 3 in the Python community." > > Best Regards. > Keisuke Kuroda -- Adrian Klaver adrian.klaver@aklaver.com