Skip to content

Commit de64e99

Browse files
📌 Remove references to Python 3.6, update setup.py. (#246)
1 parent 3a0a422 commit de64e99

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ python -m venv venv
6565
pip install -r requirements.txt
6666
```
6767

68-
This environment is used to run the tests. Python versions 3.6, 3.7, and 3.8 are supported.
68+
This environment is used to run the tests for Python versions 3.7, 3.8, 3.9, and 3.10.
6969

7070
### Test
7171

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ python -m venv venv
6565
pip install -r requirements.txt
6666
```
6767

68-
This environment is used to run the tests. Python versions 3.6, 3.7, and 3.8 are supported.
68+
This environment is used to run the tests for Python versions 3.7, 3.8, 3.9, and 3.10.
6969

7070
### Test
7171

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def get_long_description():
1313
url="https://github.com/jordaneremieff/mangum",
1414
description="AWS Lambda support for ASGI applications",
1515
long_description=get_long_description(),
16-
python_requires=">=3.6",
16+
python_requires=">=3.7",
1717
install_requires=["typing_extensions"],
1818
package_data={"mangum": ["py.typed"]},
1919
long_description_content_type="text/markdown",

tests/test_lifespan.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import sys
21
import logging
32

43
import pytest
@@ -9,13 +8,7 @@
98
from mangum import Mangum
109
from mangum.exceptions import LifespanFailure
1110

12-
# Quart no longer support python3.6.
13-
IS_PY36 = sys.version_info[:2] == (3, 6)
14-
15-
if not IS_PY36:
16-
from quart import Quart
17-
else:
18-
Quart = None
11+
from quart import Quart
1912

2013

2114
@pytest.mark.parametrize(
@@ -269,7 +262,6 @@ def homepage(request):
269262
}
270263

271264

272-
@pytest.mark.skipif(IS_PY36, reason="Quart does not support Python 3.6.")
273265
@pytest.mark.parametrize(
274266
"mock_aws_api_gateway_event", [["GET", None, None]], indirect=True
275267
)

0 commit comments

Comments
 (0)