From 00b373aff8c9bbfe8c86d3364b414bcbc4b5b321 Mon Sep 17 00:00:00 2001 From: Erick Daniszewski Date: Thu, 24 Jun 2021 09:31:09 -0400 Subject: [PATCH] fix supported python versions to include 3.6, 3.7 --- .github/workflows/test.yaml | 2 +- setup.py | 9 +++++---- tox.ini | 1 - 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index fdb4691..23a44e0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - py-version: ['3.8', '3.9'] + py-version: ['3.6', '3.7', '3.8', '3.9'] name: Python ${{ matrix.py-version }} Test steps: - name: Checkout diff --git a/setup.py b/setup.py index 8e361ed..07fa160 100644 --- a/setup.py +++ b/setup.py @@ -38,12 +38,10 @@ 'fastapi_rfc7807': ['py.typed'], }, include_package_data=True, - python_requires='>=3.8', + python_requires='>=3.6', install_requires=[ 'fastapi', - # FIXME: temporarily pinned as the 0.14.x release has breaking changes and fastapi - # has not yet been updated for them. - 'starlette==0.13.6', + 'starlette', 'pydantic', ], keywords=[ @@ -52,7 +50,10 @@ classifiers=[ 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', 'Operating System :: OS Independent', ], diff --git a/tox.ini b/tox.ini index f460e0e..501c1a7 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,6 @@ python = [testenv] basepython = - py35: python3.5 py36: python3.6 py37: python3.7 py38: python3.8