From 264ba158ee4c26700f12e7bc397cd26ccd296e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Wed, 26 Apr 2023 22:30:15 +0800 Subject: [PATCH] Updated minimal Python version to 3.8. As "typing.Literal" is used from the beginning of the project, it is never compatible with Python 3.7. I suppose it was ignored by Python 3.7 when importing the "typing" package but not the name "Literal" itself for type hints. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bdc895a..bdedc74 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ name = "Flask-DigestAuth" dynamic = ["version"] description = "The Flask HTTP Digest Authentication project." readme = "README.rst" -requires-python = ">=3.7" +requires-python = ">=3.8" authors = [ {name = "imacat", email = "imacat@mail.imacat.idv.tw"}, ]