[Python-modules-team] Bug#831836: python-django: Add pymysql support
Corey Bryant
corey.bryant at canonical.com
Thu Jul 21 13:28:21 UTC 2016
On Wed, Jul 20, 2016 at 5:27 PM, Raphael Hertzog <hertzog at debian.org> wrote:
> On Wed, 20 Jul 2016, Corey Bryant wrote:
> > This was originally driven as a result of upstream OpenStack's decision
> to
> > move to PyMySQL [1]. Only one client is typically supported in Ubuntu
> > main, so we decided to go with python-pymysql. As a result, any Ubuntu
> > main packages that had a dependency on python-mysqldb had to be moved to
> > python-pymysql, and python-django was one of those.
>
> Thanks for the explanation.
>
> Strictly speaking, the package has no "dependency" on python-mysqldb, only
> a "suggests". It can be used with other database drivers as well.
>
> While I understand your reasoning, I believe that this change must happen
> at the upstream level first. Debian has no similar restriction and I thus
> don't see the need to diverge from upstream on this specific point.
>
Fair enough and I agree to getting this change upstream. I guess I don't
have context on what the core issue of this discussion is though. Is
Jeremy blocked on this or was he just trying to get rid of the delta
between the Debian and Ubuntu packages? It's perfectly normal for Ubuntu
to carry a delta on top of what Debian has.
>
> Jeremy, alternatively, you could possibly create a
> python-pymsql-as-mysqldb that would "Provide: python-mysqldb" and would
> contain the corresponding Python package but built on top of
> python-pymysql (and would conflict with python-mysqldb). That might be
> something upstreamable in pymysql or in the Debian package of
> python-pymysql.
>
> I see that many Openstack packages in Debian depend on both
> python-mysqldb and python-pymysql. I guess in Ubuntu they depend only in
> python-pymysql? Is the difference explained by this Django patch only?
Upstream OpenStack hasn't completed moved away from python-mysqldb yet. I
assume once they've completely moved to py3 (which they haven't yet)
they'll drop python-mysqldb support.
Looking at the reverse dependencies in Ubuntu, only three packages have
reverse Depends on python-mysqldb: python-trove python-sahara
python-murano, all of which are in universe. Note: this doesn't include
Build-Depends since build depends can now live in universe.
⟫ apt-cache rdepends python-pymysql
python-pymysql
Reverse Depends:
python-taskflow
python-nova
python-neutron
python-keystone
python-aodh
python-barbican
python-ironic
python-trove
python-neutron
python-heat
python-keystone
python-nova
python-heat
python-nova
python-trove
python-tornado
python-sahara
python-rally
python-murano
python-mistral
python-ironic
python-gnocchi
python-django16
python-barbican
python-aodh
jeepyb
python-tooz
python-django
python-sqlalchemy
python-nova
python-neutron
python-moinmoin
python-keystone
python-heat
⟫ apt-cache rdepends python-mysqldb
python-mysqldb
Reverse Depends:
emma
python-trove
mytharchive
libmyth-python
viewvc-query
rddmarc
python3-biopython
|python-webpy
python-trove
|python-storm-dbg
|python-storm
python-sqlobject
python-sqlkit
|python-sqlkit
python-sql
python-springpython
python-scrapy
python-sahara
python-rally
python-pyevolve
python-murano
python-biopython-sql
python-biopython
python-authkit
python-adodb
pysieved
pyrit
pyicqt
pyaimt
pwman3
puddletag
patator
papercut
openmolar
mercurial-common
|ibid
griffith
graphite-web
epigrass
python-mysqldb-dbg
|djagios
dhcpy6d
blogofile-converters
bley
bibus
bcfg2-web
|bauble
|bauble
automx
auth2db
--
Regards,
Corey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160721/ca346fee/attachment.html>
More information about the Python-modules-team
mailing list