Re: Broken python3-psycopg2 for F24 / PG 9.6

Поиск
Список
Период
Сортировка
От Oskari Saarenmaa
Тема Re: Broken python3-psycopg2 for F24 / PG 9.6
Дата
Msg-id 1a4df1d4-47bd-8421-fe09-d516e8edab47@ohmu.fi
обсуждение исходный текст
Ответ на Re: Broken python3-psycopg2 for F24 / PG 9.6  (Devrim Gündüz <devrim@gunduz.org>)
Ответы Re: Broken python3-psycopg2 for F24 / PG 9.6  (Devrim Gündüz <devrim@gunduz.org>)
Список pgsql-pkg-yum
27.09.2016, 00:18, Devrim Gündüz kirjoitti:
> On Tue, 2016-09-27 at 00:06 +0300, Oskari Saarenmaa wrote:
>> That's weird.  The
>> https://yum.postgresql.org/9.6/fedora/fedora-24-x86_64/python3-psycopg2-2.6.2
>> -2.f24.x86_64.rpm
>> package that I'm seeing definitely doesn't contain a _psycopg.so package
>> which is required by psycopg2.
>>
>> Try python3 -c 'from psycopg2 import _psycopg; print(_psycopg)' and run
>> rpm -qf on the reported file.
>
>
> Can you please install python3-psycopg2-debug from our repo, and try again?
> 'cause:
>
> $ python3 -c 'from psycopg2 import _psycopg; print(_psycopg)'
> <module 'psycopg2._psycopg' from
'/usr/lib64/python3.5/site-packages/psycopg2/_psycopg.cpython-35m-x86_64-linux-gnu.so'>
>
> $ rpm -qf /usr/lib64/python3.5/site-packages/psycopg2/_psycopg.cpython-35m-x86_64-linux-gnu.so
> python3-psycopg2-debug-2.6.2-2.f24.x86_64
>
> It looks RPMs are missing dependency -debug subpackage...

Ok, installing the -debug package makes it work.  Apparently the .so is
in the debug package for some reason.  It has nothing to do with debug
functionality though, it should be moved to the main package.

/ Oskari


В списке pgsql-pkg-yum по дате отправления:

Предыдущее
От: Devrim Gündüz
Дата:
Сообщение: Re: Broken python3-psycopg2 for F24 / PG 9.6
Следующее
От: Scott Mugnaini
Дата:
Сообщение: PostGIS 2.3 and PgRouting 2.0.3?