diff --git a/README.rst b/README.rst index 170c3bdad9..b6662da90e 100644 --- a/README.rst +++ b/README.rst @@ -58,7 +58,7 @@ Sanic | Build fast. Run fast. .. end-badges -Sanic is a **Python 3.8+** web server and web framework that's written to go fast. It allows the usage of the ``async/await`` syntax added in Python 3.5, which makes your code non-blocking and speedy. +Sanic is a **Python 3.9+** web server and web framework that's written to go fast. It allows the usage of the ``async/await`` syntax added in Python 3.5, which makes your code non-blocking and speedy. Sanic is also ASGI compliant, so you can deploy it with an `alternative ASGI webserver `_. diff --git a/guide/content/en/guide/getting-started.md b/guide/content/en/guide/getting-started.md index ed8b6bb87f..8166e7befd 100644 --- a/guide/content/en/guide/getting-started.md +++ b/guide/content/en/guide/getting-started.md @@ -1,6 +1,6 @@ # Getting Started -Before we begin, make sure you are running Python 3.8 or higher. Currently, Sanic is works with Python versions 3.8 – 3.11. +Before we begin, make sure you are running Python 3.9 or higher. Currently, Sanic is works with Python versions 3.9 – 3.13. ## Install diff --git a/guide/content/en/guide/introduction.md b/guide/content/en/guide/introduction.md index e4b37f7d45..8d7e959e2b 100644 --- a/guide/content/en/guide/introduction.md +++ b/guide/content/en/guide/introduction.md @@ -1,6 +1,6 @@ # Introduction -Sanic is a Python 3.8+ web server and web framework that’s written to go fast. It allows the usage of the async/await syntax added in Python 3.5, which makes your code non-blocking and speedy. +Sanic is a Python 3.9+ web server and web framework that’s written to go fast. It allows the usage of the async/await syntax added in Python 3.5, which makes your code non-blocking and speedy. .. attrs:: :class: introduction-table diff --git a/guide/webapp/display/base.py b/guide/webapp/display/base.py index b504948745..f5e1ad3eb7 100644 --- a/guide/webapp/display/base.py +++ b/guide/webapp/display/base.py @@ -38,7 +38,7 @@ def _head(self) -> list[Builder]: E.meta( name="description", content=( - "Sanic is a Python 3.8+ web server and " + "Sanic is a Python 3.9+ web server and " "web framework that's written to go fast." ), ), diff --git a/pyproject.toml b/pyproject.toml index 36452502ce..172eb85d3f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [tool.ruff] -target-version = "py38" +target-version = "py39" line-length = 79 [tool.ruff.lint] diff --git a/setup.py b/setup.py index bc9a6e37c3..632a0f0576 100644 --- a/setup.py +++ b/setup.py @@ -89,10 +89,11 @@ def str_to_bool(val: str) -> bool: "Development Status :: 4 - Beta", "Environment :: Web Environment", "License :: OSI Approved :: MIT License", - "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", + "Programming Language :: Python :: 3.13", ], "entry_points": {"console_scripts": ["sanic = sanic.__main__:main"]}, }