[Django] #30483: Switch test requirements from psycopg2-binary package to pscyopg2

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Django] #30483: Switch test requirements from psycopg2-binary package to pscyopg2

Django
#30483: Switch test requirements from psycopg2-binary package to pscyopg2
------------------------------------------------+------------------------
               Reporter:  Jon Dufresne          |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Testing framework     |        Version:  master
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 The psycopg2 project recommends **not** using the psycopg2-binary package.
 Here are the relevant warnings:

 http://initd.org/psycopg/docs/install.html#binary-install-from-pypi

 > Note: The psycopg2-binary package is meant for beginners to start
 playing with Python and PostgreSQL without the need to meet the build
 requirements.
 >
 > If you are the maintainer of a publish package depending on psycopg2 you
 shouldn’t use ‘psycopg2-binary’ as a module dependency. For production use
 you are advised to use the source distribution.
 >
 > Note: The binary packages come with their own versions of a few C
 libraries, among which libpq and libssl, which will be used regardless of
 other libraries available on the client: upgrading the system libraries
 will not upgrade the libraries used by psycopg2. Please build psycopg2
 from source if you want to maintain binary upgradeability.
 >
 > Warning: The psycopg2 wheel package comes packaged, among the others,
 with its own libssl binary. This may create conflicts with other extension
 modules binding with libssl as well, for instance with the Python ssl
 module: in some cases, under concurrency, the interaction between the two
 libraries may result in a segfault. In case of doubts you are advised to
 use a package built from source.

 We should follow the advice and use the pscyopg2 package and used stop
 using the binary package.

--
Ticket URL: <https://code.djangoproject.com/ticket/30483>
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 unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/052.4f0afecfa23798ec721305ec701f8b2c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #30483: Switch test requirements from psycopg2-binary package to pscyopg2

Django
#30483: Switch test requirements from psycopg2-binary package to pscyopg2
-------------------------------------+-------------------------------------
     Reporter:  Jon Dufresne         |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Testing framework    |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Jon Dufresne):

 * has_patch:  0 => 1


Comment:

 [https://github.com/django/django/pull/11371 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/30483#comment:1>
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 unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.25ee00beeb1df0b20dbe7ac1c765d121%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #30483: Switch test requirements from psycopg2-binary package to pscyopg2

Django
In reply to this post by Django
#30483: Switch test requirements from psycopg2-binary package to pscyopg2
--------------------------------------+------------------------------------
     Reporter:  Jon Dufresne          |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Testing framework     |                  Version:  master
     Severity:  Normal                |               Resolution:
     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 Simon Charette):

 * stage:  Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/30483#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.770ad63024ed12c690ac6b63c454e326%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #30483: Switch test requirements from psycopg2-binary package to pscyopg2

Django
In reply to this post by Django
#30483: Switch test requirements from psycopg2-binary package to pscyopg2
--------------------------------------+------------------------------------
     Reporter:  Jon Dufresne          |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  closed
    Component:  Testing framework     |                  Version:  master
     Severity:  Normal                |               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 Carlton Gibson <carlton.gibson@…>):

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


Comment:

 In [changeset:"8076ae68c1842aec26cbab51dc8ab609fb135eb0" 8076ae68]:
 {{{
 #!CommitTicketReference repository=""
 revision="8076ae68c1842aec26cbab51dc8ab609fb135eb0"
 Fixed #30483 -- Switched test requirement to psycopg2 package.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30483#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.ccf47a348f29827a68fe1dd25e21bcdd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.