pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: martin@vhagen.de
Subject: BUG #15531: python-sqlobject shipped with EPEL 7 not compatible with PostgreSQL 9.6.11
Date: Fri, 30 Nov 2018 13:46:26 +0000
Message-ID: <15531-c3c6ea24c978c550@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15531
Logged by:          Martin vom Hagen
Email address:      martin@vhagen.de
PostgreSQL version: 9.6.11
Operating system:   CentOS 7.5
Description:        

The python-sqlobject-1.2.2-3.el7.noarch shipped with EPEL 7 is not
compatible with PyGreSQL-5.0.6-1.rhel7.x86_64 from PostgreSQL 9.6.11

The python-sqlobject RPM requires "postgresql-python" meta RPM, which was
provided by PyGreSQL:4.0-9 (from CentOS 7 repo) and PyGreSQL:5.0.3-1 (from
PostgreSQL 9.6.10 Yum repo) as a migration path. In PostgreSQL 9.6.11
PyGreSQL:5.0.6-1 is shipped, which does provide the newer "python2-PyGreSQL
= 5.0.6-1", but not the "postgresql-python" meta RPM anymore. A dependency
resolution fails.

Steps to Reproduce:
1. install PostgreSQL 9.6 repo: yum install
https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rp...
2. yum install PyGreSQL
3. yum install python-sqlobject

Actual results:
Loaded plugins: etckeeper, fastestmirror, priorities
Loading mirror speeds from cached hostfile
17 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package python-sqlobject.noarch 0:1.2.2-3.el7 will be installed
--> Processing Dependency: postgresql-python for package:
python-sqlobject-1.2.2-3.el7.noarch
--> Finished Dependency Resolution
Error: Package: python-sqlobject-1.2.2-3.el7.noarch (epel)
           Requires: postgresql-python
           Available: PyGreSQL-4.0-9.el7.x86_64 (base)
               postgresql-python = 8.5.0-1
           Available: PyGreSQL-5.0.3-1.rhel7.x86_64 (pgdg96)
               postgresql-python = 8.5.0-1
           Installed: PyGreSQL-5.0.6-1.rhel7.x86_64 (@pgdg96)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Expected results:
A successful installation.

Additional info:
Newer upstream version of python2-sqlobject (note the "2") require
"python2-PyGreSQL" directly (e.g. on Fedora). But this RPM is not contained
in EPEL nor PostgreSQL Yum repo. Would it be a possible solution to include
it?



Message-ID: <15531-c3c6ea24c978c550@postgresql.org>
Permalink:  ../15531-c3c6ea24c978c550@postgresql.org/
Also on:    postgresql.org/message-id/15531-c3c6ea24c978c550@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, martin@vhagen.de
  Subject: Re: BUG #15531: python-sqlobject shipped with EPEL 7 not compatible with PostgreSQL 9.6.11
  In-Reply-To: <15531-c3c6ea24c978c550@postgresql.org>
  References: <15531-c3c6ea24c978c550@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox