[MIR] python-pymysql

Bug #1477668 reported by Corey Bryant
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-pymysql (Ubuntu)
Fix Released
High
Unassigned

Bug Description

[Availability]
Currently in universe

[Rationale]
Dependency for Openstack Liberty release.

[Security]
No security history

[Quality Assurance]
Package works out of the box with no prompting. There are no major bugs in Ubuntu and there are no major bugs in Debian. Unit tests are run during build.

[Dependencies]
All are in main

[Standards Compliance]
FHS and Debian Policy compliant.

[Maintenance]
Simple python package that the Ubuntu Server Team will take care of.

[Background]
python-pymysql is a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.

If I understand correctly, if python-pymysql is going to be promoted to main, I think we'll need to work on demoting python-mysqldb to universe and take care of any reverse dependencies (using python-pymysql as a replacement).

Revision history for this message
Michael Terry (mterry) wrote :

Doko, do you have time for this?

Changed in python-pymysql (Ubuntu):
assignee: nobody → Matthias Klose (doko)
Revision history for this message
James Page (james-page) wrote :

The milestone we're currently working on updating to switches most of the core openstack projects onto this dependency as well.

description: updated
Changed in python-pymysql (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-15.08
Revision history for this message
Corey Bryant (corey.bryant) wrote :

This is blocking OpenStack Liberty. Can someone take a look please?

Revision history for this message
Michael Terry (mterry) wrote :

https://wiki.openstack.org/wiki/PyMySQL_evaluation has rationale behind the move for OpenStack and some evaluation of the code itself.

Revision history for this message
Michael Terry (mterry) wrote :

I was hesitant to swap out python mysql libraries, but there aren't that many rdepends for the old one and the link above gives some good reasons to switch (old one is poorly maintained and unlikely to support python3).

So OK. But:

- python-pymysql is ftbfs right now (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796010)
- Needs a team bug subscriber

Besides that, it looks fine.

Changed in python-pymysql (Ubuntu):
assignee: Matthias Klose (doko) → nobody
status: New → Incomplete
Revision history for this message
Corey Bryant (corey.bryant) wrote :

The following packages have been updated to depend on python-pymysql, and have been uploaded.

moin - 1.9.7-2ubuntu2
python-django - 1.7.9-1ubuntu3
python-django16 - 1.6.6-1ubuntu6
python-taskflow - 1.17.0-1ubuntu1
python-tornado - 4.2.1-1ubuntu1
sqlalchemy - 1.0.8+ds1-1ubuntu2

python-pymysql tests have been fixed up and it now builds successfully. It's been uploaded and it now has a team bug subscriber.

Please let me know if we need to do anything else to get python-pymysql into main. Thanks!

Revision history for this message
Corey Bryant (corey.bryant) wrote :

The following packages have been updated and uploaded with patches to enable the drop-in replacement of python-mysqldb with python-pymysql:

moin - 1.9.7-2ubuntu3
python-django - 1.7.9-1ubuntu4
python-django16 - 1.6.6-1ubuntu7
python-tornado - 4.2.1-1ubuntu2
sqlalchemy - 1.0.8+ds1-1ubuntu3

python-tornado doesn't require a patch.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

The last comment should say *python-taskflow doesn't require a patch

Revision history for this message
Michael Terry (mterry) wrote :

Awesome, thanks Corey. Looks good from my side then.

Changed in python-pymysql (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

Moved to main.

Changed in python-pymysql (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.