From 05b9af9ec18ddc58dcac1452a4b0be19eee79f24 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 19:07:58 +0000 Subject: [PATCH 1/3] Bump httpx from 0.22.0 to 0.23.0 in /tests Bumps [httpx](https://github.com/encode/httpx) from 0.22.0 to 0.23.0. - [Release notes](https://github.com/encode/httpx/releases) - [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md) - [Commits](https://github.com/encode/httpx/compare/0.22.0...0.23.0) --- updated-dependencies: - dependency-name: httpx dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- tests/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 573d2f5905d626bf578ef220f097abe1c91e676e Mon Sep 17 00:00:00 2001 From: Artyom Vancyan Date: Tue, 1 Aug 2023 16:48:11 +0400 Subject: [PATCH 2/3] Upgrade `httpx` version to `0.23.0` everywhere --- requirements.txt | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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..1d1dc21 100644 --- a/setup.cfg +++ b/setup.cfg @@ -43,7 +43,7 @@ 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 From 02bf748f79f7a0434d793ecf7b97b3794a947797 Mon Sep 17 00:00:00 2001 From: Artyom Vancyan Date: Tue, 1 Aug 2023 16:49:08 +0400 Subject: [PATCH 3/3] Drop support for Python 3.6 --- .github/workflows/tests.yml | 7 +++---- build.sh | 3 +-- setup.cfg | 4 ++-- tox.ini | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) 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/setup.cfg b/setup.cfg index 1d1dc21..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] @@ -49,7 +49,7 @@ install_requires = 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/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]