From: CaselIT Date: Mon, 2 May 2022 19:11:39 +0000 (+0200) Subject: Alembic 1.8 now supports Python 3.7 and above X-Git-Tag: rel_1_8_0~6^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=717202241e3ab30f97cea8f4ec5bbacfd4b180a8;p=thirdparty%2Fsqlalchemy%2Falembic.git Alembic 1.8 now supports Python 3.7 and above Fixes: #1025 Change-Id: I7c7050afc2291a07a08d454a1b8f8b192768d068 --- diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml index 5f7701d3..1f19116d 100644 --- a/.github/workflows/run-test.yaml +++ b/.github/workflows/run-test.yaml @@ -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 diff --git a/alembic/__init__.py b/alembic/__init__.py index 4f28945c..09a4d622 100644 --- a/alembic/__init__.py +++ b/alembic/__init__.py @@ -3,4 +3,4 @@ import sys from . import context from . import op -__version__ = "1.7.8" +__version__ = "1.8.0" diff --git a/alembic/util/compat.py b/alembic/util/compat.py index 64148b61..cabff6e1 100644 --- a/alembic/util/compat.py +++ b/alembic/util/compat.py @@ -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 diff --git a/docs/build/front.rst b/docs/build/front.rst index ccbc95dc..547a60d9 100644 --- a/docs/build/front.rst +++ b/docs/build/front.rst @@ -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 index 00000000..84fea91b --- /dev/null +++ b/docs/build/unreleased/1025.rst @@ -0,0 +1,5 @@ +.. change:: + :tags: installation, changed + :tickets: 1025 + + Alembic 1.8 now supports Python 3.7 and above. diff --git a/setup.cfg b/setup.cfg index 9fe48346..5a5917b5 100644 --- 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