#35190: django with postgresql is incompatible with pypy
-------------------------------------+-------------------------------------
               Reporter:  Владимир   |          Owner:  nobody
                   Type:             |         Status:  new
  Uncategorized                      |
              Component:  Database   |        Version:  4.2
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:  pypy postgresql
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 When using django 4.2 and higher with pypy, it is impossible to use
 postgresql. Versions below require psycopg2cffi, and perfectly work with
 it, but once I switched to django.4.2, I faced following exception:

 File "/opt/pypy/lib/pypy3.10/site-
 packages/django/db/backends/postgresql/base.py", line 47, in <module>
      from .psycopg_any import IsolationLevel, is_psycopg3  # NOQA
 isort:skip
 File "/opt/pypy/lib/pypy3.10/site-
 packages/django/db/backends/postgresql/psycopg_any.py", line 77, in
 <module>
      from psycopg2 import errors, extensions, sql  # NOQA
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35190>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018da2c256f2-c9efc34d-3cba-414a-a9ea-d97611ce5d0b-000000%40eu-central-1.amazonses.com.

Reply via email to