diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-12-22 20:32:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-22 20:32:55 +0100 |
commit | ca04659b4b3f042c1bc7e557c25ed91e3c56c745 (patch) | |
tree | 053ba7592f3055adc4544f56888189ccd37b7e72 /django/db/backends/postgresql/base.py | |
parent | c4328c2f4e958c13dbe1ff47368f06982dfa59b2 (diff) | |
download | django-ca04659b4b3f042c1bc7e557c25ed91e3c56c745.tar.gz |
Refs #32355 -- Bumped required psycopg2 version to 2.8.4.
psycopg2 2.8.4 is the first release to support Python 3.8.
Diffstat (limited to 'django/db/backends/postgresql/base.py')
-rw-r--r-- | django/db/backends/postgresql/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py index 8864a4f543..e49d453f94 100644 --- a/django/db/backends/postgresql/base.py +++ b/django/db/backends/postgresql/base.py @@ -36,8 +36,8 @@ def psycopg2_version(): PSYCOPG2_VERSION = psycopg2_version() -if PSYCOPG2_VERSION < (2, 5, 4): - raise ImproperlyConfigured("psycopg2_version 2.5.4 or newer is required; you have %s" % psycopg2.__version__) +if PSYCOPG2_VERSION < (2, 8, 4): + raise ImproperlyConfigured("psycopg2 version 2.8.4 or newer is required; you have %s" % psycopg2.__version__) # Some of these import psycopg2, so import them after checking if it's installed. |