Skip to content

Commit

Permalink
Alembic 1.8 now supports Python 3.7 and above
Browse files Browse the repository at this point in the history
Fixes: #1025
Change-Id: I7c7050afc2291a07a08d454a1b8f8b192768d068
  • Loading branch information
CaselIT committed May 6, 2022
1 parent 1684d0e commit 7172022
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/run-test.yaml
Expand Up @@ -27,7 +27,6 @@ jobs:
- "windows-latest"
- "macos-latest"
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion alembic/__init__.py
Expand Up @@ -3,4 +3,4 @@
from . import context
from . import op

__version__ = "1.7.8"
__version__ = "1.8.0"
1 change: 0 additions & 1 deletion alembic/util/compat.py
Expand Up @@ -12,7 +12,6 @@

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
Expand Down
3 changes: 2 additions & 1 deletion docs/build/front.rst
Expand Up @@ -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.

Expand Down
5 changes: 5 additions & 0 deletions 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.
3 changes: 1 addition & 2 deletions setup.cfg
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7172022

Please sign in to comment.