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
16 changes: 8 additions & 8 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ jobs:
fail-fast: true
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.9", "3.13", "3.14"]
django-version: ["4.2.*", "5.2.*"]
python-version: ["3.10", "3.14"]
django-version: ["4.2.*", "5.2.*", "6.0.*"]
exclude:
# Django 5.2 only supports Python 3.10 and above
- python-version: "3.9"
django-version: "5.2.*"
# Django 6.0 only supports Python 3.12 and above
- python-version: "3.10"
django-version: "6.0.*"
- python-version: "3.11"
django-version: "6.0.*"
# No need to test all combinations on Ubuntu
- os: "ubuntu-latest"
python-version: "3.9"
- os: "ubuntu-latest"
python-version: "3.13"
python-version: "3.10"
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
10 changes: 7 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -14,14 +14,18 @@ repos:
- id: check-illegal-windows-names
- id: debug-statements
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.7
rev: v0.14.10
hooks:
- id: ruff-check
args: [ "--fix" ]
- id: ruff-format
- repo: https://github.com/adamchainz/django-upgrade
rev: "1.25.0"
rev: "1.29.1"
hooks:
- id: django-upgrade
# 'request_headers' rule doesn't like reading HTTP_REMOTE_USER from request.META
args: ["--skip", "request_headers"]
- repo: https://github.com/asottile/pyupgrade
rev: v3.21.2
hooks:
- id: pyupgrade
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ authors = [
{ name = "Tom Hendrikx", email = "tom@whyscream.net" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.9",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -20,7 +19,7 @@ classifiers = [
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows",
]
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = [
"django>=4.2",
"pywin32>=311; sys_platform == 'win32'",
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sonar.projectName=Django WindowsAuthToken
sonar.projectKey=django-windowsauthtoken
sonar.python.version=3.9, 3.10, 3.11, 3.12, 3.13, 3.14
sonar.python.version=3.10, 3.11, 3.12, 3.13, 3.14
sonar.sources = src
sonar.tests = tests
sonar.python.coverage.reportPaths=coverage.xml
Expand Down
Loading
Loading