Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3 support #62

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open

Python 3 support #62

wants to merge 38 commits into from

Conversation

methane
Copy link
Collaborator

@methane methane commented Apr 18, 2014

This pull request is based on #31 and a lot of fix.

okin and others added 30 commits January 9, 2014 18:03
because it's generated from metadata.cfg

and because I keep getting annoying diffs because of newline differences
-- e.g.:

    $ git diff
    diff --git a/MySQLdb/release.py b/MySQLdb/release.py
    index 5c30a6c..4ce9412 100644
    --- a/MySQLdb/release.py
    +++ b/MySQLdb/release.py
    @@ -1,4 +1,4 @@
    -
    -__author__ = "Andy Dustman <farcepest@gmail.com>"
    -version_info = (1,2,4,'final',1)
    -__version__ = "1.2.4"
    +
    +__author__ = "Andy Dustman <farcepest@gmail.com>"
    +version_info = (1,2,4,'final',1)
    +__version__ = "1.2.4"
These are reasonably modern versions of Python that I think are worth
supporting for the planned 1.3.0 release.
It makes tests take longer to install deps and now causes this error on
Python < 2.7, because of IPython 2.0.0 requiring 2.7:

    ERROR: IPython requires Python Version 2.7 or above.
Remove macros for Python <2.6
escape_string() -- only accepts bytes
string_literal() -- Use ASCII to encode str(o)
@farcepest
Copy link
Owner

I hope to have some time to review this and other pull requests this weekend. I'm in the process of moving and starting a new job over the next two weeks.

@methane
Copy link
Collaborator Author

methane commented Apr 28, 2014

I've created fork named mysqlclient.
I'm sorry about forking. I respect your long work.
But I can't wait because I'll be too busy to release including windows binaries.

I hope my fork is merged back like setuptools and distribute.

@haizaar
Copy link

haizaar commented Jun 24, 2014

Any update / plans on Python 3 support please?

@methane, I can not find any mysqlclient fork on your page. Should we better use this fork instead?

@methane
Copy link
Collaborator Author

methane commented Jun 24, 2014

@wldcordeiro
Copy link

@farcepest Were you able to merge this PR?

@jdufresne
Copy link

@farcepest Any update on merging this?

@frewsxcv
Copy link

For those who need Python 3 support, I recommend this fork: https://github.com/PyMySQL/mysqlclient-python

@vikt0rs
Copy link

vikt0rs commented Oct 13, 2014

@farcepest any hope to get it merged?

@frewsxcv
Copy link

If you're looking for a working (and maintained!) fork of this library that supports Python 3, check out mysqlclient-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants