Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-11-04 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  closed
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:  wontfix
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  1
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by collinanderson):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 I think I'm fine with closing for now, though I still think pymysql is
 quite popular due to it being pure python.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.3c242b20f81e3a85489db4d67897cab2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-11-04 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  1
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-

Comment (by timgraham):

 Do we still need this now that we have support for mysqlclient (with no
 changes to Django)?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.e2aedb06f6c57933b835b2ca9268d209%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-08-12 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  1
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-

Comment (by collinanderson):

 Sorry, I should link to the django-developers ghost-thread, and maybe bump
 it. https://groups.google.com/d/topic/django-
 developers/n-TI8mBcegE/discussion

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.6f0cee348846c5e24dc5d3002eae499d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-08-12 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  1
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by akaariai):

 * needs_better_patch:  0 => 1


Comment:

 If I understand correctly we at least need CI support for testing pymysql
 builds? Also, if In understand correctly there are still some errors with
 pymysql?

 The best way forward is to ask for CI support for pymysql builds on
 django-developers mailing list.

 I'll set patch needs improvement for lack of better marker that this
 ticket isn't ready for merge.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.7b1458afde631a14bd52764c230c576e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-08-07 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by CollinAnderson):

 * cc: cmawebsite@… (added)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.41ce54ff701fdda49c486dbea57825da%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-06-09 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by CollinAnderson):

 * needs_better_patch:  1 => 0


Comment:

 My branch merges cleanly again.
 https://github.com/django/django/pull/2520#issuecomment-45358916
 https://github.com/collinanderson/django/compare/ticket_22391

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.5002f91ec16e24d7967a6e6da86898ca%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-06-05 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  1
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by timo):

 * needs_better_patch:  0 => 1


Comment:

 Maybe this needs discussion on the mailing list for a resolution. One
 question I have is how we are going to ensure that it doesn't break if we
 merge it to core. Do we need another MySQL build to the Jenkins matrix?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.7606668da8c62ec3b292c442263c4fdd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-04-09 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-

Comment (by CollinAnderson):

 My "fix dates before 1900" change just merged.
 https://github.com/PyMySQL/PyMySQL/pull/232

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.eade5c612f03f07ddc61d87425eedb3b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-04-06 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-

Comment (by CollinAnderson):

 It looks like testing against the latest version of pymysql, 0.6.1
 (October 2013), there are some errors, but, using pymysql's master branch,
 there are at least fewer errors. Some recent things that have been fixed
 are Thing2Literal and query encoding. I also have a pull request in to fix
 dates before 1900. It looks like there's a ticket open for timezone
 support.

 It seems to me we should try to fix pymysql as much as possible to try to
 get it compatible with MySQLdb, and then require the latest version of
 pymysql.

 Also, I'm personally interested in also using pymysql on python2.7, so I
 would prefer the fallback approach myself. Though, it's clear the real
 benefit of this is for python 3.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.7613ff3fa1014d1a6e99190d01db2fd7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-04-06 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-

Comment (by anonymous):

 I have also a dedicated branch for this:
 https://github.com/claudep/django/tree/pymysql. However, I think the test
 suite does not entirely pass with that patch.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.9bb13d0e7380483cedf167d6ec6c7123%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-04-06 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-

Comment (by aaugustin):

 Related: #12500.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.ed04f007e78e7edb02ee523c1ae01c4b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-04-06 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by loic84):

 * stage:  Unreviewed => Accepted


Comment:

 I agree it'd be nice to have support for pymysql, and I actually worked on
 it a little while ago before giving up.

 I don't think a fallback mechanism is the right approach though, I'd much
 prefer a minimal yet separate db backend that'd leverage most of the
 implementation of the default backend.

 Did you manage to get the test suite to work with this patch? I remember
 running into a lot of issues when I tried.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.289e68b13be85383b9319cfd9176ade8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22391: fallback to pymysql if MySQLdb not available

2014-04-05 Thread Django
#22391: fallback to pymysql if MySQLdb not available
-+-
 Reporter:  CollinAnderson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:   |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by CollinAnderson):

 * needs_docs:   => 0
 * has_patch:  0 => 1
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Comment:

 https://github.com/django/django/pull/2520

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.7f5c243c3f83b6cffa6ce7366c977c82%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #22391: fallback to pymysql if MySQLdb not available

2014-04-05 Thread Django
#22391: fallback to pymysql if MySQLdb not available
--+
 Reporter:  CollinAnderson|  Owner:  nobody
 Type:  New feature   | Status:  new
Component:  Database layer (models, ORM)  |Version:  master
 Severity:  Normal|   Keywords:
 Triage Stage:  Unreviewed|  Has patch:  0
Easy pickings:  0 |  UI/UX:  0
--+
 Currently, pymysql is the best-supported mysql adapter on python 3.
 However, users need to use the following trick to get it to work with
 django:

 {{{
try:
 import pymysql
 pymysql.install_as_MySQLdb()
 except ImportError:
 pass
 }}}

 I think it would help python 3 adoption if users could use django and
 pymysql without additional steps.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/057.f6394e1a069c1625ace7ebb70b9a8602%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.