Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMCov-0003Cv-Kk for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Feb 2022 17:49:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nMCot-0005Oh-U8 for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Feb 2022 17:49:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMCot-0005OX-EB for pgsql-hackers@lists.postgresql.org; Mon, 21 Feb 2022 17:49:55 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMCom-0005xH-Hj for pgsql-hackers@postgresql.org; Mon, 21 Feb 2022 17:49:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=iTkuxgev0fIc8+daeCRkFOK6ZITatu8Vwn4uYc2rBQg=; b=UxdGmMPJLZggAQyK4gHZjqNXe4 /vI96FnShkehPnOiD2atoOxIF/piQL3CuUfqRnbeNXwLawK6nHpNF8X8I1ofFmgxybtVIVevU/mkg OFwpoE/J19qc0ov2uT0ghoILaTHgPD2QiX51VQaNKpoXLU0ThddgkqwSw14lxq2o8E4ePjLgywSW2 K0Jss7dRvgt9FdpsZCfwmNgocoqfV/+NE7OKlbM4M3AGagcLb4+zh3nAnWEX+tvGHac7DU9l+EH9o Wip61Dkk+OR3zB19G9Y1qClDY4h9jYTCkT2nMlli+j/0C9X6ee1MwHYuIL3kLXZE2AcIcMEpuLqoR UnDbiiBw==; Received: from 75-164-130-196.ptld.qwest.net ([75.164.130.196] helo=workstation-mark-wong) by meldrar.postgresql.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMCoe-0005oA-ST; Mon, 21 Feb 2022 17:49:44 +0000 Date: Mon, 21 Feb 2022 09:49:32 -0800 From: Mark Wong To: Andres Freund Cc: Peter Eisentraut , Tom Lane , pgsql-hackers@postgresql.org, pgbf@twiska.com, heikki.linnakangas@iki.fi Subject: Re: Time to drop plpython2? Message-ID: References: <20220215060131.vccqql2xelbujgtu@alap3.anarazel.de> <20220215214016.theaavgrleb72s5l@alap3.anarazel.de> <20220216195850.2ca4wnivsl3vbsib@alap3.anarazel.de> <20220217065208.2plo6mmx3ssu5fjd@alap3.anarazel.de> <20220217071446.tss2c3ozqpkl22iv@alap3.anarazel.de> <20220217180855.zdupcbamom6z5rxq@alap3.anarazel.de> <20220218224104.pv6caojcj2caixa6@alap3.anarazel.de> <20220219162229.hzrcea24hev4uj3u@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220219162229.hzrcea24hev4uj3u@alap3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Feb 19, 2022 at 08:22:29AM -0800, Andres Freund wrote: > Hi, > > On 2022-02-19 02:00:28 +0000, Mark Wong wrote: > > On Fri, Feb 18, 2022 at 02:41:04PM -0800, Andres Freund wrote: > > > There's snapper ("pgbf [ a t ] twiska.com"), and there's Mark Wong's large > > > menagerie. Mark said yesterday that he's working on updating. > > > > I've made one pass. Hopefully I didn't make any mistakes. :) > > Unfortunately it looks like it wasn't quite enough. All, or nearly all, your > animals that ran since still seem to be failing in the same spot... > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=gadwall&dt=2022-02-19%2011%3A22%3A48 > > checking Python.h usability... no > checking Python.h presence... no > checking for Python.h... no > configure: error: header file is required for Python > > > For that machine (and the other debian based ones) the relevant package likely > is python3-dev. > > For the Red Hat and Suse ones, it's likely python3-devel. > > > I've wondered before if it's worth maintaining a list of packages for > dependencies for at least the more popular distros. It's annoying to have to > figure it out everytime one needs to test something. > > > FWIW, here's the recipe I just used to verify the packages necessary for > Python.h to be found: > > $ podman run --rm -it opensuse/leap > # zypper install -y python3 > # ls -l $(python3 -c "import sysconfig; print(sysconfig.get_config_var('INCLUDEPY'))")/Python.h > > # zypper install -y python3-devel > # ls -l $(python3 -c "import sysconfig; print(sysconfig.get_config_var('INCLUDEPY'))")/Python.h > -rw-r--r-- 1 root root 3221 Jan 4 14:04 /usr/include/python3.6m/Python.h > > (Wow, zypper repos are expensive to refresh. And I thought dnf was slow doing > so, compared to apt.) Oops, made another pass for python3 dev libraries. I can't seem to find archived ppc repos OpenSUSE Leap 43.2. I'm debating whether to disable python or upgrade/rebrand that animal for a newer SUSE release. I've stopped my cron jobs on this animal for the time being. Regards, Mark