Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update supported Python versions #82

Merged
merged 6 commits into from
Jan 5, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.7.14", "3.8.14", "3.9.15", "3.10.8", "3.11.0" ]
python-version: [ "3.8.18", "3.9.18", "3.10.13", "3.11.7", "3.12.1" ]
# Ideally we would test starlette versions, not FastAPI,
# but our test suite currently uses FastAPI comprehensively,
# so we would need to redo that first.
fastapi-version: [ "0.78", "0.79", "0.87"]
fastapi-version: [ "0.106", "0.107", "0.108"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.12.1
hooks:
- id: black

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-ast
- id: check-merge-conflict
Expand All @@ -25,7 +25,7 @@ repos:
- id: double-quote-string-fixer

- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies: [
Expand All @@ -40,18 +40,18 @@ repos:
]

- repo: https://github.com/sirosen/check-jsonschema
rev: 0.22.0
rev: 0.27.3
hooks:
- id: check-github-actions
- id: check-github-workflows

- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.15.0
hooks:
- id: pyupgrade
args: [ "--py36-plus" ]
args: [ "--py36-plus", "--py37-plus" ]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.2.0
rev: v1.8.0
hooks:
- id: mypy
Loading