Skip to content

Commit 02bf748

Browse files
committed
Drop support for Python 3.6
1 parent 573d2f5 commit 02bf748

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

Diff for: .github/workflows/tests.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
11+
runs-on: "ubuntu-latest"
1212
strategy:
1313
matrix:
1414
include:
15-
- python: "3.6"
16-
env: py36-fastapi68
17-
os: ubuntu-20.04 # 3.6 is not available on ubuntu-20.04
15+
- python: "3.7"
16+
env: py37-fastapi68
1817
- python: "3.8"
1918
env: py38-fastapi68
2019
- python: "3.10"

Diff for: build.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash
22

3-
# last version of `build` supporting Python 3.6
4-
pip install build==0.9.0
3+
pip install build
54

65
# build the wheel and install it
76
WHEEL_NAME=$(python -m build | grep -Po "fastapi_oauth2-.*\.whl" | tail -n 1)

Diff for: setup.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ classifiers =
3131
Framework :: FastAPI
3232
Programming Language :: Python
3333
Programming Language :: Python :: 3
34-
Programming Language :: Python :: 3.6
3534
Programming Language :: Python :: 3.7
3635
Programming Language :: Python :: 3.8
3736
Programming Language :: Python :: 3.9
3837
Programming Language :: Python :: 3.10
38+
Programming Language :: Python :: 3.11
3939
License :: OSI Approved :: MIT License
4040

4141
[options]
@@ -49,7 +49,7 @@ install_requires =
4949
social-auth-core>=4.4.2
5050
starlette>=0.19.1
5151
include_package_data = yes
52-
python_requires = >=3.6
52+
python_requires = >=3.7
5353
package_dir =
5454
=src
5555
zip_safe = no

Diff for: tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{36,38,310,311}-fastapi68
3+
py{37,38,310,311}-fastapi68
44
py{37,39,310,311}-fastapi{84,100}
55

66
[testenv]

0 commit comments

Comments
 (0)