Skip to content

Commit 2b36d48

Browse files
committed
chore: support python3.11
1 parent b38adb0 commit 2b36d48

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

.github/workflows/codeql-analysis.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: actions/setup-python@v4
2424
with:
25-
python-version: "3.10"
25+
python-version: "3.11"
2626

2727
- name: Install poetry
2828
uses: snok/install-poetry@v1

.github/workflows/coverage.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-python@v4
1515
with:
16-
python-version: "3.10"
16+
python-version: "3.11.0"
1717
- name: Install poetry
1818
uses: snok/install-poetry@v1
1919
with:
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/[email protected]
2525
with:
2626
path: .venv
27-
key: venv-${{ runner.os }}-3.10-${{ hashFiles('**/poetry.lock') }}-0
27+
key: venv-${{ runner.os }}-3.11.0-${{ hashFiles('**/poetry.lock') }}-0
2828
- name: Install dependencies
2929
run: poetry install
3030
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'

.github/workflows/publish_to_pypi.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-python@v4
1414
with:
15-
python-version: 3.9
15+
python-version: 3.11
1616
- uses: snok/install-poetry@v1
1717
- name: Publish to pypi
1818
run: |

.github/workflows/testing.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@v3
1010
- uses: actions/setup-python@v4
1111
with:
12-
python-version: 3.9
12+
python-version: 3.11
1313
- uses: actions/[email protected]
1414
with:
1515
path: |
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
python-version: [ "3.8", "3.9", "3.10" ]
30+
python-version: [ "3.8.15", "3.9.15", "3.10.8", "3.11.0" ]
3131
fastapi-version: [ "0.68.0", "0.70.0", "0.71.0" ]
3232
steps:
3333
- name: Check out repository

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
exclude: README.md
22
repos:
33
- repo: https://github.com/ambv/black
4-
rev: '22.3.0'
4+
rev: '22.10.0'
55
hooks:
66
- id: black
77
args: ['--quiet']
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.1.0
9+
rev: v4.3.0
1010
hooks:
1111
- id: check-case-conflict
1212
- id: end-of-file-fixer
@@ -32,7 +32,7 @@ repos:
3232
]
3333
args: ['--enable-extensions=G']
3434
- repo: https://github.com/asottile/pyupgrade
35-
rev: v2.31.1
35+
rev: v3.2.1
3636
hooks:
3737
- id: pyupgrade
3838
args: ["--py36-plus"]
@@ -41,7 +41,7 @@ repos:
4141
hooks:
4242
- id: isort
4343
- repo: https://github.com/pre-commit/mirrors-mypy
44-
rev: "v0.942"
44+
rev: "v0.990"
4545
hooks:
4646
- id: mypy
4747
exclude: "test_*"

fastapi_azure_auth/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
SingleTenantAzureAuthorizationCodeBearer as SingleTenantAzureAuthorizationCodeBearer,
55
)
66

7-
__version__ = '3.5.0'
7+
__version__ = '3.5.1'

mypy.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Global options
22
[mypy]
3-
python_version = 3.10
3+
python_version = 3.11
44
# flake8-mypy expects the two following for sensible formatting
55
show_column_numbers = True
66
show_error_context = False

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "fastapi-azure-auth"
3-
version = "3.5.0" # Remember to change in __init__.py as well
3+
version = "3.5.1" # Remember to change in __init__.py as well
44
description = "Easy and secure implementation of Azure AD for your FastAPI APIs"
55
authors = ["Jonas Krüger Svensson <[email protected]>"]
66
readme = "README.md"
@@ -32,7 +32,7 @@ classifiers = [
3232
'License :: OSI Approved :: MIT License',
3333
'Operating System :: OS Independent',
3434
'Programming Language :: Python',
35-
'Programming Language :: Python :: 3.9',
35+
'Programming Language :: Python :: 3.11',
3636
'Topic :: Software Development',
3737
'Topic :: Software Development :: Libraries',
3838
'Topic :: Software Development :: Libraries :: Application Frameworks',

0 commit comments

Comments
 (0)