<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 5/8/15 10:41 AM, Ronald Bradford
wrote:<br>
</div>
<blockquote
cite="mid:CAMfkfg5Q_OifukLfsSasn+pTtRFKru5zmFnjvUJfAMN6=-biog@mail.gmail.com"
type="cite">
<div dir="ltr">I guess I may have spoken too soon. <a
moz-do-not-send="true"
href="https://wiki.openstack.org/wiki/PyMySQL_evaluation"><a class="moz-txt-link-freetext" href="https://wiki.openstack.org/wiki/PyMySQL_evaluation">https://wiki.openstack.org/wiki/PyMySQL_evaluation</a></a>
states "<span style="color:rgb(51,51,51);font-family:'Arial
Unicode MS',Arial,sans-serif;font-size:14px;line-height:20px"> Oracle
refuses to publish MySQL-connector-Python on Pypi, which is
critical to the Openstack infrastructure".</span>
<div><br>
</div>
<div>I am unclear when this statement was made and who is
involved in this discussion. As I have contacts in the MySQL
engineering and Oracle Corporation product development teams I
will endeavor to seek a more current and definitive response
and statement.</div>
</div>
</blockquote>
<br>
I made that statement. I and others have been in contact for many
months with
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Andrew Rist as well as Geert Vanderkelen regarding this issue
without any result. We all preferred mysql-connector originally but
as time has dragged on and I've sent a few messages to Andrew and
others that Openstack is essentially going to give up on their
driver to no result, we've all gotten more involved with PyMySQL,
it has come out as the better driver overall. PyMySQL is written
by the same author of the "mysqlclient" driver that it looks like we
are all switching to regardless (Django has already recommended this
to their userbase).<br>
<br>
PyMySQL also has very straightforward source code, performs better
in tests, and doesn't have weird decisions like deciding to make a
huge backwards-incompatible change to return bytearrays and not
bytes in Py3K raw mode
(<a class="moz-txt-link-freetext" href="http://dev.mysql.com/doc/relnotes/connector-python/en/news-2-0-0.html">http://dev.mysql.com/doc/relnotes/connector-python/en/news-2-0-0.html</a>).<br>
<br>
PyMySQL also is easily accessible as a project with very fast
support via Github; several of us have been able to improve PyMySQL
via pull requests quickly and without issue, and the maintainer even
made me a member of the project so I can even commit fixes directly
if I wanted. I don't know that Oracle's ownership of
MySQL-connector would be comfortable with these things, and the only
way to get support is through Oracle's large and cumbersome bug
tracker. <br>
<br>
<br>
<br>
<br>
<blockquote
cite="mid:CAMfkfg5Q_OifukLfsSasn+pTtRFKru5zmFnjvUJfAMN6=-biog@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<div>Ronald</div>
<div><br>
</div>
<div class="gmail_extra">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div>
<div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Fri, May 8, 2015 at 10:33 AM,
Ronald Bradford <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:me@ronaldbradford.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:me@ronaldbradford.com">me@ronaldbradford.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Has anybody considered the native python
connector for MySQL that supports Python 3.
<div><br>
</div>
<div>Here are the Ubuntu Packages.</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>$ apt-get show python-mysql.connector</div>
<div>E: Invalid operation show</div>
<div>rbradfor@rubble:~$ apt-cache show
python-mysql.connector</div>
<div>Package: python-mysql.connector</div>
<div>Priority: optional</div>
<div>Section: universe/python</div>
<div>Installed-Size: 386</div>
<div>Maintainer: Ubuntu Developers <<a
moz-do-not-send="true"
href="mailto:ubuntu-devel-discuss@lists.ubuntu.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ubuntu-devel-discuss@lists.ubuntu.com">ubuntu-devel-discuss@lists.ubuntu.com</a></a>></div>
<div>Original-Maintainer: Sandro Tosi <<a
moz-do-not-send="true"
href="mailto:morph@debian.org" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:morph@debian.org">morph@debian.org</a></a>></div>
<div>Architecture: all</div>
<div>Source: mysql-connector-python</div>
<div>Version: 1.1.6-1</div>
<div>Replaces: mysql-utilities (<< 1.3.5-2)</div>
<div>Depends: python:any (>= 2.7.5-5~), python:any
(<< 2.8)</div>
<div>Breaks: mysql-utilities (<< 1.3.5-2)</div>
<div>Filename:
pool/universe/m/mysql-connector-python/python-mysql.connector_1.1.6-1_all.deb</div>
<div>Size: 67196</div>
<div>MD5sum: 22b2cb35cf8b14ac0bf4493b0d676adb</div>
<div>SHA1: de626403e1b14f617e9acb0a6934f044fae061c7</div>
<div>SHA256:
99e34f67d085c28b49eb8145c281deaa6d2b2a48d741e6831e149510087aab94</div>
<div>Description-en: pure Python implementation of
MySQL Client/Server protocol</div>
<div> MySQL driver written in Python which does not
depend on MySQL C client</div>
<div> libraries and implements the DB API v2.0
specification (PEP-249).</div>
<div> .</div>
<div> MySQL Connector/Python is implementing the MySQL
Client/Server protocol</div>
<div> completely in Python. This means you don't have
to compile anything or MySQL</div>
<div> (client library) doesn't even have to be
installed on the machine.</div>
<div>Description-md5: bb7e2eba7769d706d44e0ef91171b4ed</div>
<div>Homepage: <a moz-do-not-send="true"
href="http://dev.mysql.com/doc/connector-python/en/index.html"
target="_blank">http://dev.mysql.com/doc/connector-python/en/index.html</a></div>
<div>Bugs: <a moz-do-not-send="true"
href="https://bugs.launchpad.net/ubuntu/+filebug"
target="_blank">https://bugs.launchpad.net/ubuntu/+filebug</a></div>
<div>Origin: Ubuntu</div>
<div><br>
</div>
<div>$ apt-cache show python3-mysql.connector</div>
<div>Package: python3-mysql.connector</div>
<div>Priority: optional</div>
<div>Section: universe/python</div>
<div>Installed-Size: 385</div>
<div>Maintainer: Ubuntu Developers <<a
moz-do-not-send="true"
href="mailto:ubuntu-devel-discuss@lists.ubuntu.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ubuntu-devel-discuss@lists.ubuntu.com">ubuntu-devel-discuss@lists.ubuntu.com</a></a>></div>
<div>Original-Maintainer: Sandro Tosi <<a
moz-do-not-send="true"
href="mailto:morph@debian.org" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:morph@debian.org">morph@debian.org</a></a>></div>
<div>Architecture: all</div>
<div>Source: mysql-connector-python</div>
<div>Version: 1.1.6-1</div>
<div>Depends: python3:any (>= 3.3.2-2~)</div>
<div>Filename:
pool/universe/m/mysql-connector-python/python3-mysql.connector_1.1.6-1_all.deb</div>
<div>Size: 64870</div>
<div>MD5sum: 461208ed1b89d516d6f6ce43c003a173</div>
<div>SHA1: bd439c4057824178490b402ad6c84067e1e2884e</div>
<div>SHA256:
487af52b98bc5f048faf4dc73420eff20b75a150e1f92c82de2ecdd4671659ae</div>
<div>Description-en: pure Python implementation of
MySQL Client/Server protocol (Python3)</div>
<div> MySQL driver written in Python which does not
depend on MySQL C client</div>
<div> libraries and implements the DB API v2.0
specification (PEP-249).</div>
<div> .</div>
<div> MySQL Connector/Python is implementing the MySQL
Client/Server protocol</div>
<div> completely in Python. This means you don't have
to compile anything or MySQL</div>
<div> (client library) doesn't even have to be
installed on the machine.</div>
<div> .</div>
<div> This package contains the Python 3 version of
mysql.connector.</div>
<div>Description-md5: 4bca3815f5856ddf4a629b418ec76c8f</div>
<div>Homepage: <a moz-do-not-send="true"
href="http://dev.mysql.com/doc/connector-python/en/index.html"
target="_blank">http://dev.mysql.com/doc/connector-python/en/index.html</a></div>
<div>Bugs: <a moz-do-not-send="true"
href="https://bugs.launchpad.net/ubuntu/+filebug"
target="_blank">https://bugs.launchpad.net/ubuntu/+filebug</a></div>
<div>Origin: Ubuntu</div>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div>
<div
style="font-family:arial;font-size:small">Ronald
Bradford</div>
<div
style="font-family:arial;font-size:small"><br>
</div>
<span style="color:rgb(102,102,102)">Web
Site: </span><a moz-do-not-send="true"
style="color:rgb(102,102,102)"
href="http://ronaldbradford.com/"
target="_blank">http://ronaldbradford.com</a><br
style="color:rgb(102,102,102)">
<span style="color:rgb(102,102,102)">LinkedIn:
</span><a moz-do-not-send="true"
style="color:rgb(102,102,102)"
href="http://www.linkedin.com/in/ronaldbradford"
target="_blank">http://www.linkedin.com/in/ronaldbradford</a><br>
<span style="color:rgb(102,102,102)">Twitter:
</span><a moz-do-not-send="true"
style="color:rgb(102,102,102)"
href="http://twitter.com/ronaldbradford"
target="_blank">@RonaldBradford</a><br>
<span style="color:rgb(102,102,102)">Skype:
RonaldBradford</span>
<div><span style="color:rgb(102,102,102)">GTalk:
Ronald.Bradford<br>
</span>
<div><span
style="color:rgb(102,102,102)"><br>
</span><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div class="h5">
<br>
<div class="gmail_quote">On Thu, May 7, 2015 at 9:39
PM, Mike Bayer <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:mbayer@redhat.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:mbayer@redhat.com">mbayer@redhat.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex"><span><br>
<br>
On 5/7/15 5:32 PM, Thomas Goirand wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
If there are really fixes and features we<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
need in Py2K then of course we have to
either convince MySQLdb to merge<br>
them or switch to mysqlclient.<br>
</blockquote>
<br>
Given the "no reply in 6 months" I think
that's enough to say it: mysql-python is a
dangerous package with a non-responsive
upstream. That's always bad, and IMO, enough
to try to get rid of it. If you think
switching to PyMYSQL is effortless, and the
best way forward, then let's do that ASAP!<br>
</blockquote>
<br>
</span>
haha - id rather have drop eventlet +
mysqlclient :)<br>
<br>
as far as this thread, where this has been
heading is that django has already been
recommending mysqlclient and it's become
apparent just what a barrage of emails and
messages have been sent Andy Dustman's way, with
no response. I agree this is troubling
behavior, and I've alerted people at RH internal
that we need to start thinking about this
package switch. My original issue was that
for Fedora etc., changing it in this way is
challenging, and from my discussions with
packaging people, this is actually correct -
this isn't an easy way to do it for them and
there have been many emails as a result. My
other issue is the SQLAlchemy testing issue -
I'd essentially have to just stop testing
mysql-python and switch to mysqlclient entirely,
which means i need to revise all my docs and get
all my users to switch also when the SQLAlchemy
MySQLdb dialect eventually diverges from
mysql-python 1.2.5, hence the whole thing is in
a not-minor-enough way my problem as well. A
simple module name change for mysqlclient, then
there's no problem. But there you go -
assuming continued crickets from AD, and seeing
that people continue find it important to
appease projects like Trac that IMO quite
amateurishly hardcode "import MySQLdb", I don't
see much other option.
<div>
<div><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for
usage questions)<br>
Unsubscribe: <a moz-do-not-send="true"
href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe"
target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>