From 286468838b0b1814bcaaff9076b62d758293dd52 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Fri, 5 Jun 2026 08:45:36 +0200 Subject: [PATCH] [REMOVE] Support for Alliance Auth v4 --- .pre-commit-config.yaml | 2 +- CHANGELOG.md | 11 +++++++++++ README.md | 2 +- pyproject.toml | 4 +--- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5b28f478..169c6fef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -187,7 +187,7 @@ repos: name: Django upgrade description: Upgrade Django code to a target version. args: - - --target-version=4.2 # Minimum supported Django version for AA. Update as needed. + - --target-version=5.2 # Minimum supported Django version for AA. Update as needed. - repo: https://github.com/asottile/pyupgrade rev: 75992aaa40730136014f34227e0135f63fc951b4 # frozen: v3.21.2 diff --git a/CHANGELOG.md b/CHANGELOG.md index d93d00a2..b715a5fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,17 @@ Section Order: +> [!IMPORTANT] +> +> **This version needs Alliance Auth v5!** +> +> Please make sure to update your Alliance Auth instance **before** you install this +> version, otherwise an update to Alliance Auth will be pulled in unsupervised. + +### Removed + +- Support for Alliance Auth v4 + ## [4.2.0] - 2026-06-02 ### Fixed diff --git a/README.md b/README.md index e929bb5d..9206df12 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ [![Translation status](https://weblate.ppfeufer.de/widget/alliance-auth-apps/aa-sov-timer/svg-badge.svg)](https://weblate.ppfeufer.de/engage/alliance-auth-apps/) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg "Contributor Covenant")](https://github.com/ppfeufer/aa-sov-timer/blob/master/CODE_OF_CONDUCT.md) [![Discord](https://img.shields.io/discord/399006117012832262?label=discord)](https://discord.gg/fjnHAmk) -[![Alliance Auth Compatibility](https://img.shields.io/badge/Alliance_Auth-v4_%7C_v5-brightgreen)](https://gitlab.com/allianceauth/allianceauth) +[![Alliance Auth Compatibility](https://img.shields.io/badge/Alliance_Auth-v5-brightgreen)](https://gitlab.com/allianceauth/allianceauth) [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/N4N8CL1BY) diff --git a/pyproject.toml b/pyproject.toml index 6e3fb1e8..612f6589 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,6 @@ requires-python = ">=3.10,<3.14" classifiers = [ "Environment :: Web Environment", "Framework :: Django", - "Framework :: Django :: 4.2", "Framework :: Django :: 5.2", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", @@ -40,8 +39,7 @@ dynamic = [ "version", ] dependencies = [ - "allianceauth>=4.12", - "django-esi>=8.3.1", + "allianceauth>=5,<6", "django-eveonline-sde>=0.0.1b9", ] optional-dependencies.tests-allianceauth-latest = [