Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: stop support for python<=3.7 and start support for python>=3.11 #41

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ jobs:
fail-fast: false
matrix:
python:
- '3.12'
- '3.11'
- '3.10'
- '3.9'
- '3.8'
- '3.7'
- '3.6'
- pypy3
- pypy-3.10
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand All @@ -39,7 +40,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.11'
- uses: actions/cache@v1
with:
path: ~/.cache/pip
Expand All @@ -56,7 +57,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.11'
- uses: actions/cache@v1
with:
path: ~/.cache/pip
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repos:
rev: v3.15.0
hooks:
- id: pyupgrade
args: ["--py36-plus"]
args: ["--py38-plus"]
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.12.0
hooks:
Expand Down
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changes
Version 0.x
-----------

Unreleased
- Stop support for python 3.6 and 3.7. Start support for python3
3.11 and 3.12. (`#41`)

Version 0.3
-----------
Expand Down
2 changes: 0 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ to install::

pip install WTForms-SQLAlchemy

Python 3.6 to 3.10 are supported.

An example using Flask is included in ``examples/flask``.

Features
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ 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
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Internet :: WWW/HTTP :: Dynamic Content
Topic :: Software Development :: Libraries :: Python Modules

[options]
packages = wtforms_sqlalchemy
include_package_data = true
python_requires = >= 3.6
python_requires = >= 3.8
install_requires =
WTForms>=1.0.5,<3.1
SQLAlchemy>=0.7.10,<2
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py36, py37, py38, py39, py310, style, docs
envlist = py38, py39, py310, py311, py312, style, docs

[testenv]
deps =
Expand Down