Skip to content

Commit

Permalink
Drop 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Sep 20, 2024
1 parent 72bdd2d commit eff2677
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 146 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4

Expand Down
29 changes: 16 additions & 13 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,21 @@ Hello. Contributions to this project are highly encouraged and appreciated. This

## Contents

- [Creating a pull request](#creating-a-pull-request)
* [Setting up the repository](#setting-up-the-repository)
- [Developing the project locally](#developing-the-project-locally)
* [Setup](#setup)
* [Test](#test)
+ [Coverage requirements](#coverage-requirements)
* [Lint](#lint)
+ [Code style and formatting](#code-style-and-formatting)
+ [Static type checking](#static-type-checking)
- [Using the issue tracker](#using-the-issue-tracker)
* [Technical support](#technical-support)
* [Feature requests](#feature-requests)
- [Contributing to Mangum](#contributing-to-mangum)
- [Contents](#contents)
- [Creating a pull request](#creating-a-pull-request)
- [Setting up the repository](#setting-up-the-repository)
- [Developing the project locally](#developing-the-project-locally)
- [Setup](#setup)
- [Test](#test)
- [Coverage requirements](#coverage-requirements)
- [Lint](#lint)
- [Code style and formatting](#code-style-and-formatting)
- [Static type checking](#static-type-checking)
- [Using the issue tracker](#using-the-issue-tracker)
- [Technical support](#technical-support)
- [Feature requests](#feature-requests)
- [Thank you](#thank-you)

## Creating a pull request

Expand Down Expand Up @@ -65,7 +68,7 @@ python -m venv venv
pip install -r requirements.txt
```

This environment is used to run the tests for Python versions 3.7, 3.8, 3.9, and 3.10.
This environment is used to run the tests for Python versions 3.8, 3.9, 3.10, 3.11, 3.12 and 3.13.

### Test

Expand Down
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,14 @@ Mangum is an adapter for running [ASGI](https://asgi.readthedocs.io/en/latest/)

- Event handlers for API Gateway [HTTP](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) and [REST](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-rest-api.html) APIs, [Application Load Balancer](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html), [Function URLs](https://docs.aws.amazon.com/lambda/latest/dg/lambda-urls.html), and [CloudFront Lambda@Edge](https://docs.aws.amazon.com/lambda/latest/dg/lambda-edge.html).

- Compatibility with ASGI application frameworks, such as [Starlette](https://www.starlette.io/), [FastAPI](https://fastapi.tiangolo.com/), [Quart](https://pgjones.gitlab.io/quart/) and [Django](https://www.djangoproject.com/).
- Compatibility with ASGI application frameworks, such as [Starlette](https://www.starlette.io/), [FastAPI](https://fastapi.tiangolo.com/), [Quart](https://pgjones.gitlab.io/quart/) and [Django](https://www.djangoproject.com/).

- Support for binary media types and payload compression in API Gateway using GZip or Brotli.

- Works with existing deployment and configuration tools, including [Serverless Framework](https://www.serverless.com/) and [AWS SAM](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html).

- Startup and shutdown [lifespan](https://asgi.readthedocs.io/en/latest/specs/lifespan.html) events.

## Requirements

Python 3.7+

## Installation

```shell
Expand Down
6 changes: 1 addition & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,14 @@ Mangum is an adapter for running [ASGI](https://asgi.readthedocs.io/en/latest/)

- Event handlers for API Gateway [HTTP](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) and [REST](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-rest-api.html) APIs, [Application Load Balancer](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html), [Function URLs](https://docs.aws.amazon.com/lambda/latest/dg/lambda-urls.html), and [CloudFront Lambda@Edge](https://docs.aws.amazon.com/lambda/latest/dg/lambda-edge.html).

- Compatibility with ASGI application frameworks, such as [Starlette](https://www.starlette.io/), [FastAPI](https://fastapi.tiangolo.com/), [Quart](https://pgjones.gitlab.io/quart/) and [Django](https://www.djangoproject.com/).
- Compatibility with ASGI application frameworks, such as [Starlette](https://www.starlette.io/), [FastAPI](https://fastapi.tiangolo.com/), [Quart](https://pgjones.gitlab.io/quart/) and [Django](https://www.djangoproject.com/).

- Support for binary media types and payload compression in API Gateway using GZip or Brotli.

- Works with existing deployment and configuration tools, including [Serverless Framework](https://www.serverless.com/) and [AWS SAM](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html).

- Startup and shutdown [lifespan](https://asgi.readthedocs.io/en/latest/specs/lifespan.html) events.

## Requirements

Python 3.7+

## Installation

```shell
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ authors = [
]
description = "AWS Lambda support for ASGI applications"
readme = "README.md"
requires-python = ">=3.7"
requires-python = ">=3.8"
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
Loading

0 comments on commit eff2677

Please sign in to comment.