From c59bf0007f0148b73c80a3d6b86d6c66ae0ab422 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 29 Jan 2016 11:44:58 -0500 Subject: - The ``sqlalchemy.dialects.postgres`` module, long deprecated, is removed; this has emitted a warning for many years and projects should be calling upon ``sqlalchemy.dialects.postgresql``. Engine URLs of the form ``postgres://`` will still continue to function, however. --- lib/sqlalchemy/dialects/postgres.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 lib/sqlalchemy/dialects/postgres.py (limited to 'lib/sqlalchemy/dialects/postgres.py') diff --git a/lib/sqlalchemy/dialects/postgres.py b/lib/sqlalchemy/dialects/postgres.py deleted file mode 100644 index 04d37a2e6..000000000 --- a/lib/sqlalchemy/dialects/postgres.py +++ /dev/null @@ -1,18 +0,0 @@ -# dialects/postgres.py -# Copyright (C) 2005-2016 the SQLAlchemy authors and contributors -# -# -# This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php - -# backwards compat with the old name -from sqlalchemy.util import warn_deprecated - -warn_deprecated( - "The SQLAlchemy PostgreSQL dialect has been renamed from 'postgres' to " - "'postgresql'. The new URL format is " - "postgresql[+driver]://:@/" -) - -from sqlalchemy.dialects.postgresql import * -from sqlalchemy.dialects.postgresql import base -- cgit v1.2.1