Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@ 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]
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
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand Down