Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ python -m venv venv
pip install -r requirements.txt
```

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

### Test

Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ python -m venv venv
pip install -r requirements.txt
```

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

### Test

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_long_description():
url="https://github.com/jordaneremieff/mangum",
description="AWS Lambda support for ASGI applications",
long_description=get_long_description(),
python_requires=">=3.6",
python_requires=">=3.7",
install_requires=["typing_extensions"],
package_data={"mangum": ["py.typed"]},
long_description_content_type="text/markdown",
Expand Down
10 changes: 1 addition & 9 deletions tests/test_lifespan.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import logging

import pytest
Expand All @@ -9,13 +8,7 @@
from mangum import Mangum
from mangum.exceptions import LifespanFailure

# Quart no longer support python3.6.
IS_PY36 = sys.version_info[:2] == (3, 6)

if not IS_PY36:
from quart import Quart
else:
Quart = None
from quart import Quart


@pytest.mark.parametrize(
Expand Down Expand Up @@ -269,7 +262,6 @@ def homepage(request):
}


@pytest.mark.skipif(IS_PY36, reason="Quart does not support Python 3.6.")
@pytest.mark.parametrize(
"mock_aws_api_gateway_event", [["GET", None, None]], indirect=True
)
Expand Down