Skip to content

Commit a575f5c

Browse files
authored
cleanup py3.8 (#3023)
1 parent 2beeeee commit a575f5c

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Sanic | Build fast. Run fast.
5858

5959
.. end-badges
6060
61-
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.
61+
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.
6262

6363
Sanic is also ASGI compliant, so you can deploy it with an `alternative ASGI webserver <https://sanicframework.org/en/guide/deployment/running.html#asgi>`_.
6464

guide/content/en/guide/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Getting Started
22

3-
Before we begin, make sure you are running Python 3.8 or higher. Currently, Sanic is works with Python versions 3.8 – 3.11.
3+
Before we begin, make sure you are running Python 3.9 or higher. Currently, Sanic is works with Python versions 3.9 – 3.13.
44

55
## Install
66

guide/content/en/guide/introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Introduction
22

3-
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.
3+
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.
44

55
.. attrs::
66
:class: introduction-table

guide/webapp/display/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _head(self) -> list[Builder]:
3838
E.meta(
3939
name="description",
4040
content=(
41-
"Sanic is a Python 3.8+ web server and "
41+
"Sanic is a Python 3.9+ web server and "
4242
"web framework that's written to go fast."
4343
),
4444
),

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55

66
[tool.ruff]
7-
target-version = "py38"
7+
target-version = "py39"
88
line-length = 79
99

1010
[tool.ruff.lint]

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,11 @@ def str_to_bool(val: str) -> bool:
8989
"Development Status :: 4 - Beta",
9090
"Environment :: Web Environment",
9191
"License :: OSI Approved :: MIT License",
92-
"Programming Language :: Python :: 3.8",
9392
"Programming Language :: Python :: 3.9",
9493
"Programming Language :: Python :: 3.10",
9594
"Programming Language :: Python :: 3.11",
95+
"Programming Language :: Python :: 3.12",
96+
"Programming Language :: Python :: 3.13",
9697
],
9798
"entry_points": {"console_scripts": ["sanic = sanic.__main__:main"]},
9899
}

0 commit comments

Comments
 (0)