From 26b17554f5e2e83b928c5ab792eeea8a3d3deded Mon Sep 17 00:00:00 2001 From: Jelmer Draaijer Date: Wed, 20 Sep 2023 08:36:15 +0200 Subject: [PATCH] Drop support for python 3.7 --- .github/workflows/test.yml | 2 +- CHANGELOG.rst | 16 +++++++++++++--- README.rst | 2 +- doc/index.rst | 2 +- doc/installation.rst | 2 +- setup.py | 1 - tox.ini | 2 +- 7 files changed, 18 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 820cca54..f86e6922 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.8"] + python-version: ["3.8", "3.9", "3.10", "3.11", "pypy3.8"] steps: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index dbd17bec..73eea75a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -25,10 +25,10 @@ Releases prior to 0.3.0 were “best effort” filled out, but are missing some info. If you see your contribution missing info, please open a PR on the Changelog! -.. _section-1.1.1: -1.1.0 +.. _section-1.2.0: +1.2.0 ----- -.. _bug_fixes-1.1.1 +.. _bug_fixes-1.2.0 Bug Fixes ~~~~~~~~~ @@ -37,6 +37,16 @@ Bug Fixes * Fixing test as HTTP Header MIMEAccept expects quality-factor number in form of `X.X` (#547) [chipndell] +.. _enhancements-1.2.0: + +Enhancements +~~~~~~~~~~~~ + +:: + + * Drop support for python 3.7 + + .. _section-1.1.0: 1.1.0 ----- diff --git a/README.rst b/README.rst index 793f7f90..5359bfbb 100644 --- a/README.rst +++ b/README.rst @@ -38,7 +38,7 @@ and expose its documentation properly using `Swagger`_. Compatibility ============= -Flask-RESTX requires Python 3.7+. +Flask-RESTX requires Python 3.8+. On Flask Compatibility ====================== diff --git a/doc/index.rst b/doc/index.rst index 25367d46..f0316aa4 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -33,7 +33,7 @@ development and to support our users. Compatibility ============= -Flask-RESTX requires Python 3.7+. +Flask-RESTX requires Python 3.8+. Installation diff --git a/doc/installation.rst b/doc/installation.rst index 79ba6f67..62d0ae42 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -20,5 +20,5 @@ The development version can be downloaded from pip install -e .[dev,test] -Flask-RESTX requires Python version 2.7, 3.5, 3.6, 3.7, or 3.8. +Flask-RESTX requires Python version 3.8+. It's also working with PyPy and PyPy3. diff --git a/setup.py b/setup.py index 85407173..2a788848 100644 --- a/setup.py +++ b/setup.py @@ -102,7 +102,6 @@ def pip(filename): "Topic :: System :: Software Distribution", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", diff --git a/tox.ini b/tox.ini index 5ea746ab..37785b49 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py{37, 38, 39, 310, 311}, pypy3.8, doc +envlist = py{38, 39, 310, 311}, pypy3.8, doc [testenv] commands = {posargs:inv test qa}