]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Drop python 3.4 support
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 Aug 2019 17:51:44 +0000 (13:51 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 Aug 2019 17:55:02 +0000 (13:55 -0400)
mysqlclient is no longer working in Python 3.4, and as pip is also
emitting warnings for dropped support, in order to maintain CI
we need to drop Python 3.4.  Also include 3.7, 3.8 in classifiers.

Change-Id: I6fb2514934b6133d2a484621a0d7003b424c66f4

alembic/util/compat.py
docs/build/front.rst
docs/build/unreleased/drop_py34.rst [new file with mode: 0644]
setup.py

index a08b1017b1cceb9553f21602749479236a118c3b..78a93fe97f269c008cd52798f5e85b39ba793b77 100644 (file)
@@ -6,7 +6,6 @@ import sys
 py27 = sys.version_info >= (2, 7)
 py2k = sys.version_info.major < 3
 py3k = sys.version_info.major >= 3
-py33 = sys.version_info >= (3, 3)
 py35 = sys.version_info >= (3, 5)
 py36 = sys.version_info >= (3, 6)
 
@@ -84,7 +83,7 @@ else:
 
     range = xrange  # noqa
 
-if py33:
+if py3k:
     import collections.abc as collections_abc
 else:
     import collections as collections_abc  # noqa
index fdc536fc6a54035e736ff54e7c693bccdf208c12..d288472f7997898ab54561d657323fcd4ae2f2b8 100644 (file)
@@ -40,10 +40,12 @@ newer versions such as the 1.1 or 1.2 series.
 
 .. versionchanged:: 1.0.0 Support for SQLAlchemy 0.8 and 0.7.9 was dropped.
 
-Alembic supports Python versions 2.7, 3.4 and above.
+Alembic supports Python versions 2.7, 3.5 and above.
 
 .. versionchanged::  1.0.0  Support for Python 2.6 and 3.3 was dropped.
 
+.. versionchanged::  1.1.1  Support for Python 3.4 was dropped.
+
 Community
 =========
 
diff --git a/docs/build/unreleased/drop_py34.rst b/docs/build/unreleased/drop_py34.rst
new file mode 100644 (file)
index 0000000..5ba5c8c
--- /dev/null
@@ -0,0 +1,6 @@
+.. change::
+    :tags: change: py3k
+
+    Python 3.4 support is dropped, as the upstream tooling (pip, mysqlclient)
+    etc are already dropping support for Python 3.4, which itself is no longer
+    maintained.
index 9574ac69877189f301306a6d25ef1971203141a7..52c764ec0ae67a35a296b235b12c1eb9edc1ae2f 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -56,9 +56,10 @@ setup(
         "Programming Language :: Python :: 2",
         "Programming Language :: Python :: 2.7",
         "Programming Language :: Python :: 3",
-        "Programming Language :: Python :: 3.4",
         "Programming Language :: Python :: 3.5",
         "Programming Language :: Python :: 3.6",
+        "Programming Language :: Python :: 3.7",
+        "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: Implementation :: CPython",
         "Programming Language :: Python :: Implementation :: PyPy",
         "Topic :: Database :: Front-Ends",