Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bocNx-0001Hm-Sk for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 26 Sep 2016 20:20:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bocNw-0003V2-72 for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 26 Sep 2016 20:20:20 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bocNs-0003Pq-Ac for pgsql-pkg-yum@postgresql.org; Mon, 26 Sep 2016 20:20:16 +0000 Received: from ohmu.fi ([213.157.68.249]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bocNm-0008MR-DI for pgsql-pkg-yum@postgresql.org; Mon, 26 Sep 2016 20:20:13 +0000 Received: from [127.0.0.1] (localhost [IPv6:::1]) by ohmu.fi (Postfix) with ESMTP id 3CE6E60C77; Mon, 26 Sep 2016 23:20:06 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ohmu.fi; s=ohmu20151014; t=1474921206; bh=vNjfRGFtVaneUEtKmZgrhNhK8qTPoH1+FgPg2D2puqk=; h=Subject:To:References:From:Date:In-Reply-To:From; b=UaGRl0hMotTo5ennTicxjo8fSgv/ejl5s2OVsaKirP3Zii4UOSNWQfdGACySXiAHe 3Ey4DmWwOWYAgowXssNPaZJcqOhNJWV6fuLi2NKVMPoDD8EQgODypLgUXq0oB9RwHO vFWJKXF9qQQXSFqQcFNuYlh+WvRelDPsfEo7tH6I= Subject: Re: Broken python3-psycopg2 for F24 / PG 9.6 To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= , pgsql-pkg-yum@postgresql.org References: <1474885640.28685.18.camel@gunduz.org> From: Oskari Saarenmaa Message-ID: <403242bb-2cd3-78be-bf4a-2df63c221cac@ohmu.fi> Date: Mon, 26 Sep 2016 23:20:04 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1474885640.28685.18.camel@gunduz.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -5.0 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org 26.09.2016, 13:27, Devrim Gündüz kirjoitti: > On Wed, 2016-08-24 at 22:55 +0300, Oskari Saarenmaa wrote: >> >> http://yum.postgresql.org/9.6/fedora/fedora-24-x86_64/ contains a >> python3-psycopg2-2.6.2-1.f24.x86_64.rpm package which is lacking the >> _psycopg.so file, making the package unusable. >> >> None of the other Fedora / PG version combinations I checked appear to >> have psycopg2 packages so it seems to me that it shouldn't be published >> for F24 / PG 9.6 either. > > Starting Fedora 24, Python3 support is added to most of the Python packages, > that is why you cannot see this subpackage in other distros. This package is > under a conditional. The python3-psycopg2 package is broken and unusable as it is. It's missing the essential _psycopg.so file: >>> import psycopg2 Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python3.5/site-packages/psycopg2/__init__.py", line 50, in from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID ImportError: No module named 'psycopg2._psycopg' Also, Fedora 24 provides python3-psycopg2 2.6.1 by default, do we really need 2.6.2 for pgadmin4? Thanks, Oskari -- Sent via pgsql-pkg-yum mailing list (pgsql-pkg-yum@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-yum