diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 5a8b4e0f1..8fd18470f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -17,11 +17,11 @@ jobs: fail-fast: false matrix: python: + - '3.13' - '3.12' - '3.11' - '3.10' - '3.9' - - '3.8' - 'pypy-3.10' steps: - uses: actions/checkout@v2 @@ -40,7 +40,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.12' + python-version: '3.13' - uses: actions/cache@v1 with: path: ~/.cache/pip @@ -57,7 +57,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.12' + python-version: '3.13' - uses: actions/cache@v1 with: path: ~/.cache/pip diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 463faaf7d..b993109d1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: rev: v3.13.0 hooks: - id: pyupgrade - args: ["--py38-plus"] + args: ["--py39-plus"] - repo: https://github.com/asottile/reorder_python_imports rev: v3.11.0 hooks: diff --git a/CHANGES.rst b/CHANGES.rst index 62abfedc2..9f2d2cab4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,6 +8,7 @@ Released 2024-01-06 - Fix :class:`~fields.SelectMultipleField` value coercion on validation. :issue:`822` :pr:`823` - Move the repository to the pallets-eco organization. +- Stop supporting Python 3.9 and start supporting Python 3.13 :pr:`855` Version 3.1.1 ------------- diff --git a/docs/faq.rst b/docs/faq.rst index fd81592d9..7df747494 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -57,7 +57,7 @@ you should have no unicode issues. What versions of Python are supported? -------------------------------------- -WTForms supports Python 3.8+ +WTForms supports Python 3.9+ How can I contribute to WTForms? diff --git a/pyproject.toml b/pyproject.toml index c9d004ebb..d73a19d87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ classifiers = [ "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ "MarkupSafe", ] diff --git a/tox.ini b/tox.ini index 82ae66aa0..85c8a7899 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = style - py{312,311,310,39,38,py3} + py{313,312,311,310,39,py3} docs skip_missing_interpreters = true