#16250: Error with new pyscopg2 2.4.2 release and tests
-------------------------------------+-----------------------------------
               Reporter:  anonymous  |          Owner:  nobody
                   Type:  Bug        |         Status:  closed
              Milestone:             |      Component:  Testing framework
                Version:  1.3        |       Severity:  Release blocker
             Resolution:  fixed      |       Keywords:
           Triage Stage:  Accepted   |      Has patch:  1
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-----------------------------------
Changes (by ramiro):

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


Comment:

 In [16520]:
 {{{
 #!CommitTicketReference repository="" revision="16520"
 Fixed #16250 -- Made test database creation support code in the PostgreSQL
 DB backend compatible with psycopg2 2.4.2.

 Implemented this by adding an internal hook for work that should be
 performed
 before that point.

 Also, regarding the `DatabaseCreation.set_autocommit()` method:
  * Stop using it for such tasks
  * Stop providing an implementation that tries to cover all the possible
    idioms a third party database backend DB-API 2 driver could need to
 activate
    autocommit. It is now left for third party backends to implement.

 This can be backwards incompatible in the case of user applications that:
  * Had started using this method
  * Use a third a party database backend
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16250#comment:20>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to