Skip to content

Commit

Permalink
cleanup py3.8 (#3023)
Browse files Browse the repository at this point in the history
  • Loading branch information
erhuabushuo authored Jan 2, 2025
1 parent 2beeeee commit a575f5c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://sanicframework.org/en/guide/deployment/running.html#asgi>`_.

Expand Down
2 changes: 1 addition & 1 deletion guide/content/en/guide/getting-started.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion guide/content/en/guide/introduction.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion guide/webapp/display/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
),
),
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"


[tool.ruff]
target-version = "py38"
target-version = "py39"
line-length = 79

[tool.ruff.lint]
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]},
}
Expand Down

0 comments on commit a575f5c

Please sign in to comment.