]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Alembic 1.8 now supports Python 3.7 and above
authorCaselIT <cfederico87@gmail.com>
Mon, 2 May 2022 19:11:39 +0000 (21:11 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Fri, 6 May 2022 19:39:32 +0000 (19:39 +0000)
Fixes: #1025
Change-Id: I7c7050afc2291a07a08d454a1b8f8b192768d068

.github/workflows/run-test.yaml
alembic/__init__.py
alembic/util/compat.py
docs/build/front.rst
docs/build/unreleased/1025.rst [new file with mode: 0644]
setup.cfg

index 5f7701d3839bfa82f039250d8bd8d7ef4f57c9b9..1f19116db4848ce72da01598219e9bac194f4441 100644 (file)
@@ -27,7 +27,6 @@ jobs:
           - "windows-latest"
           - "macos-latest"
         python-version:
-          - "3.6"
           - "3.7"
           - "3.8"
           - "3.9"
@@ -37,11 +36,6 @@ jobs:
           - sqla14
           - sqlamain
 
-        exclude:
-          # main no longer support 3.6
-          - sqlalchemy: sqlamain
-            python-version: "3.6"
-
       fail-fast: false
 
     # steps to run in each job. Some are github actions, others run shell commands
index 4f28945c928c51e65f75365d9301d3fa12141b75..09a4d622a9f1d980d9f7f0c5c7bb2d584b099f00 100644 (file)
@@ -3,4 +3,4 @@ import sys
 from . import context
 from . import op
 
-__version__ = "1.7.8"
+__version__ = "1.8.0"
index 64148b614de89a26fcd70048ed0a70d2132b47c0..cabff6e1efead4c192fdd21f83ecfa57592326e7 100644 (file)
@@ -12,7 +12,6 @@ is_posix = os.name == "posix"
 
 py39 = sys.version_info >= (3, 9)
 py38 = sys.version_info >= (3, 8)
-py37 = sys.version_info >= (3, 7)
 
 
 # produce a wrapper that allows encoded text to stream
index ccbc95dc7d081eb620f79fcfb4210bb97a4c98fc..547a60d97dff2a51e5ba022bb229aa0cae056efb 100644 (file)
@@ -83,8 +83,9 @@ SQLAlchemy as of version **1.3.0**.
 
 .. versionchanged:: 1.5.0 Support for SQLAlchemy older than 1.3.0 was dropped.
 
-Alembic supports Python versions **3.6 and above**
+Alembic supports Python versions **3.7 and above**
 
+.. versionchanged::  1.8  Alembic now supports Python 3.7 and newer.
 .. versionchanged::  1.7  Alembic now supports Python 3.6 and newer; support
    for Python 2.7 has been dropped.
 
diff --git a/docs/build/unreleased/1025.rst b/docs/build/unreleased/1025.rst
new file mode 100644 (file)
index 0000000..84fea91
--- /dev/null
@@ -0,0 +1,5 @@
+.. change::
+    :tags: installation, changed
+    :tickets: 1025
+
+    Alembic 1.8 now supports Python 3.7 and above.
index 9fe4834645ac08964a4830eaed273754e1a884c2..5a5917b5e0d7f88441959122e5c27d7248b99256 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -25,7 +25,6 @@ classifiers =
     Operating System :: OS Independent
     Programming Language :: Python
     Programming Language :: Python :: 3
-    Programming Language :: Python :: 3.6
     Programming Language :: Python :: 3.7
     Programming Language :: Python :: 3.8
     Programming Language :: Python :: 3.9
@@ -42,7 +41,7 @@ project_urls =
 packages = find:
 include_package_data = true
 zip_safe = false
-python_requires = >=3.6
+python_requires = >=3.7
 
 install_requires =
     SQLAlchemy>=1.3.0