From d6c8a8ad742a60dcf5938511b121a66ab996fadd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sat, 2 Oct 2021 19:46:31 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20support=20for=20Python?= =?UTF-8?q?=202.7=20(#63)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 -- .github/workflows/test.yml | 2 -- README.md | 9 ++++++++- pyproject.toml | 2 +- scripts/process_all.py | 1 - 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 76d3edc..eb1f4b1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,8 +20,6 @@ jobs: python_version: "3.7" - name: python3.6 python_version: "3.6" - - name: python2.7 - python_version: "2.7" - name: python3.9-alpine3.13 python_version: "3.8" - name: python3.8-alpine3.11 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3490a19..e1d1421 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,8 +20,6 @@ jobs: python_version: "3.7" - name: python3.6 python_version: "3.6" - - name: python2.7 - python_version: "2.7" - name: python3.9-alpine3.13 python_version: "3.9" - name: python3.8-alpine3.11 diff --git a/README.md b/README.md index 5245b61..72d9627 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,20 @@ * [`python3.7-alpine3.8` _(Dockerfile)_](https://github.com/tiangolo/meinheld-gunicorn-flask-docker/blob/master/docker-images/python3.7-alpine3.8.dockerfile) * [`python3.6` _(Dockerfile)_](https://github.com/tiangolo/meinheld-gunicorn-flask-docker/blob/master/docker-images/python3.6.dockerfile) * [`python3.6-alpine3.8` _(Dockerfile)_](https://github.com/tiangolo/meinheld-gunicorn-flask-docker/blob/master/docker-images/python3.6-alpine3.8.dockerfile) + +## Deprecated + +These tags are no longer supported: + * [`python2.7` _(Dockerfile)_](https://github.com/tiangolo/meinheld-gunicorn-flask-docker/blob/master/docker-images/python2.7.dockerfile) +--- + **Note**: There are [tags for each build date](https://hub.docker.com/r/tiangolo/meinheld-gunicorn-flask/tags). If you need to "pin" the Docker image version you use, you can select one of those tags. E.g. `tiangolo/meinheld-gunicorn-flask:python3.7-2019-10-15`. # meinheld-gunicorn-flask -[**Docker**](https://www.docker.com/) image with [**Meinheld**](http://meinheld.org/) managed by [**Gunicorn**](https://gunicorn.org/) for high-performance web applications in [**Flask**](http://flask.pocoo.org/) using **[Python](https://www.python.org/) 3.6** and above and **Python 2.7**, with performance auto-tuning. Optionally with Alpine Linux. +[**Docker**](https://www.docker.com/) image with [**Meinheld**](http://meinheld.org/) managed by [**Gunicorn**](https://gunicorn.org/) for high-performance web applications in [**Flask**](http://flask.pocoo.org/) using **[Python](https://www.python.org/)** with performance auto-tuning. Optionally with Alpine Linux. **GitHub repo**: [https://github.com/tiangolo/meinheld-gunicorn-flask-docker](https://github.com/tiangolo/meinheld-gunicorn-flask-docker) diff --git a/pyproject.toml b/pyproject.toml index ac08498..cc0bc39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "meinheld-gunicorn-docker" version = "0.1.0" -description = "Docker image with Meinheld managed by Gunicorn for high-performance web applications in Python 3.6 and above and Python 2.7, with performance auto-tuning. Optionally with Alpine Linux." +description = "Docker image with Meinheld managed by Gunicorn for high-performance web applications in Python with performance auto-tuning. Optionally with Alpine Linux." authors = ["Sebastián Ramírez "] license = "MIT" diff --git a/scripts/process_all.py b/scripts/process_all.py index 3b6de77..1d4ead3 100644 --- a/scripts/process_all.py +++ b/scripts/process_all.py @@ -8,7 +8,6 @@ {"NAME": "python3.8", "PYTHON_VERSION": "3.8"}, {"NAME": "python3.7", "PYTHON_VERSION": "3.7"}, {"NAME": "python3.6", "PYTHON_VERSION": "3.6"}, - {"NAME": "python2.7", "PYTHON_VERSION": "2.7"}, {"NAME": "python3.9-alpine3.13", "PYTHON_VERSION": "3.9"}, {"NAME": "python3.8-alpine3.11", "PYTHON_VERSION": "3.8"}, {"NAME": "python3.7-alpine3.8", "PYTHON_VERSION": "3.7"},