diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index de2453a..c825b7b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,13 +8,12 @@ on: jobs: test: - runs-on: ${{ matrix.os || 'ubuntu-latest' }} + runs-on: "ubuntu-latest" strategy: matrix: include: - - python: "3.6" - env: py36-fastapi68 - os: ubuntu-20.04 # 3.6 is not available on ubuntu-20.04 + - python: "3.7" + env: py37-fastapi68 - python: "3.8" env: py38-fastapi68 - python: "3.10" diff --git a/build.sh b/build.sh index b8d3a87..8e7b34c 100644 --- a/build.sh +++ b/build.sh @@ -1,7 +1,6 @@ #!/bin/bash -# last version of `build` supporting Python 3.6 -pip install build==0.9.0 +pip install build # build the wheel and install it WHEEL_NAME=$(python -m build | grep -Po "fastapi_oauth2-.*\.whl" | tail -n 1) diff --git a/requirements.txt b/requirements.txt index dd5f611..a388b0a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ fastapi>=0.68.1 -httpx>=0.22.0 +httpx>=0.23.0 oauthlib>=3.2.2 python-jose>=3.3.0 social-auth-core>=4.4.2 diff --git a/setup.cfg b/setup.cfg index ac5fc78..ed46db8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,11 +31,11 @@ classifiers = Framework :: FastAPI Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 License :: OSI Approved :: MIT License [options] @@ -43,13 +43,13 @@ packages = fastapi_oauth2 install_requires = fastapi>=0.68.1 - httpx>=0.22.0 + httpx>=0.23.0 oauthlib>=3.2.2 python-jose>=3.3.0 social-auth-core>=4.4.2 starlette>=0.19.1 include_package_data = yes -python_requires = >=3.6 +python_requires = >=3.7 package_dir = =src zip_safe = no \ No newline at end of file diff --git a/tests/requirements.txt b/tests/requirements.txt index b687b13..57e15b9 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,5 +1,5 @@ tox==3.24.3 trio>=0.19.0 pytest==6.2.5 -httpx==0.22.0 +httpx==0.23.0 appengine-python-standard # for loading the gae backend diff --git a/tox.ini b/tox.ini index 7edde4a..0ed3616 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{36,38,310,311}-fastapi68 + py{37,38,310,311}-fastapi68 py{37,39,310,311}-fastapi{84,100} [testenv]