Skip to content

Commit 24a72b9

Browse files
committed
Drop support for Python3.8 and support Python 3.13
The former is EoL and the latter was released a few months ago.
1 parent f38f629 commit 24a72b9

File tree

7 files changed

+24
-28
lines changed

7 files changed

+24
-28
lines changed

.github/workflows/tests.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
include:
26-
- {name: Linux, python: '3.12', os: ubuntu-latest, tox: py312}
27-
- {name: Windows, python: '3.12', os: windows-latest, tox: py312}
28-
- {name: Mac, python: '3.12', os: macos-latest, tox: py312}
26+
- {name: Linux, python: '3.13', os: ubuntu-latest, tox: py313}
27+
- {name: Windows, python: '3.13', os: windows-latest, tox: py313}
28+
- {name: Mac, python: '3.13', os: macos-latest, tox: py313}
29+
- {name: '3.13', python: '3.13', os: ubuntu-latest, tox: py313}
2930
- {name: '3.12', python: '3.12', os: ubuntu-latest, tox: py312}
3031
- {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311}
3132
- {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}
32-
- {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}
33-
- {name: Typing, python: '3.12', os: ubuntu-latest, tox: mypy}
34-
- {name: Package, python: '3.12', os: ubuntu-latest, tox: package}
35-
- {name: Lint, python: '3.12', os: ubuntu-latest, tox: pep8}
36-
- {name: Format, python: '3.12', os: ubuntu-latest, tox: format}
33+
- {name: Typing, python: '3.13', os: ubuntu-latest, tox: mypy}
34+
- {name: Package, python: '3.13', os: ubuntu-latest, tox: package}
35+
- {name: Lint, python: '3.13', os: ubuntu-latest, tox: pep8}
36+
- {name: Format, python: '3.13', os: ubuntu-latest, tox: format}
3737
steps:
3838
- uses: actions/checkout@v4
3939
- uses: actions/setup-python@v5

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Quart can be installed via `pip
2424
2525
$ pip install quart
2626
27-
and requires Python 3.8.0 or higher (see `python version support
27+
and requires Python 3.9.0 or higher (see `python version support
2828
<https://quart.palletsprojects.com/en/latest/discussion/python_versions.html>`_
2929
for reasoning).
3030

docs/discussion/python_versions.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,5 @@
33
Python version support
44
======================
55

6-
The main branch and releases >= 0.19.0 onwards only support Python
7-
3.8.0 or greater.
8-
9-
The 0.6-maintenance branch supported Python3.6. The final 0.6.X
10-
release, 0.6.15, was released in October 2019 after the release of
11-
Python3.8.
6+
The main branch and releases >= 0.20.0 onwards only support Python
7+
3.9.0 or greater.

docs/tutorials/installation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Installation
44
============
55

6-
Quart is only compatible with Python 3.8 or higher and can be installed
6+
Quart is only compatible with Python 3.9 or higher and can be installed
77
using pip or your favorite python package manager:
88

99
.. code-block:: console
@@ -20,11 +20,11 @@ be installed with Quart:
2020
- blinker, to manager signals,
2121
- click, to manage command line arguments
2222
- hypercorn, an ASGI server for development,
23-
- importlib_metadata only for Python 3.8,
23+
- importlib_metadata only for Python 3.9,
2424
- itsdangerous, for signing secure cookies,
2525
- jinja2, for template rendering,
2626
- markupsafe, for markup rendering,
27-
- typing_extensions only for Python 3.8,
27+
- typing_extensions only for Python 3.9,
2828
- werkzeug, as the basis of many Quart classes.
2929

3030
You can choose to install with the dotenv extra:

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ classifiers = [
1111
"Operating System :: OS Independent",
1212
"Programming Language :: Python",
1313
"Programming Language :: Python :: 3",
14-
"Programming Language :: Python :: 3.8",
1514
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
18+
"Programming Language :: Python :: 3.13",
1919
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
2020
"Topic :: Software Development :: Libraries :: Python Modules",
2121
]
@@ -26,7 +26,7 @@ repository = "https://github.com/pallets/quart/"
2626
documentation = "https://quart.palletsprojects.com"
2727

2828
[tool.poetry.dependencies]
29-
python = ">=3.8"
29+
python = ">=3.9"
3030
aiofiles = "*"
3131
blinker = ">=1.6"
3232
click = ">=8.0.0"
@@ -55,7 +55,7 @@ dotenv = ["python-dotenv"]
5555

5656
[tool.black]
5757
line-length = 100
58-
target-version = ["py38"]
58+
target-version = ["py39"]
5959

6060
[tool.isort]
6161
combine_as_imports = true

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[flake8]
22
ignore = E203, E252, E704, FI58, W503, W504
33
max_line_length = 100
4-
min_version = 3.8
4+
min_version = 3.9
55
per-file-ignores =
66
src/quart/__init__.py:F401
77
require_code = True

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ envlist =
55
mypy
66
package
77
pep8
8-
py38
98
py39
109
py310
1110
py311
1211
py312
12+
py313
1313
minversion = 3.3
1414
isolated_build = true
1515

@@ -24,15 +24,15 @@ deps =
2424
commands = pytest --cov=quart {posargs}
2525

2626
[testenv:docs]
27-
basepython = python3.12
27+
basepython = python3.13
2828
deps =
2929
pydata-sphinx-theme
3030
sphinx
3131
commands =
3232
sphinx-build -b html -d {envtmpdir}/doctrees docs/ docs/_build/html/
3333

3434
[testenv:format]
35-
basepython = python3.12
35+
basepython = python3.13
3636
deps =
3737
black
3838
isort
@@ -42,7 +42,7 @@ commands =
4242
skip_install = true
4343

4444
[testenv:pep8]
45-
basepython = python3.12
45+
basepython = python3.13
4646
deps =
4747
flake8
4848
pep8-naming
@@ -52,7 +52,7 @@ commands = flake8 src/quart/ tests/
5252
skip_install = true
5353

5454
[testenv:mypy]
55-
basepython = python3.12
55+
basepython = python3.13
5656
deps =
5757
flask
5858
mypy
@@ -67,7 +67,7 @@ commands =
6767
mypy src/quart/ tests/
6868

6969
[testenv:package]
70-
basepython = python3.12
70+
basepython = python3.13
7171
deps =
7272
poetry
7373
twine

0 commit comments

Comments
 (0)