diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b3a7d61..9db06b6 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/README.md b/README.md index 810303d..663255a 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,13 @@ _(These badges are examples, you can and should replace them with your own)_ For the GitLab version of this example app, please have a look over here, Erik Kalkoken was so friendly to provide it ยป [Alliance Auth Example App (GitLab Version)](https://gitlab.com/ErikKalkoken/allianceauth-example-plugin) +> [!IMPORTANT] +> +> **This app 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. + ______________________________________________________________________ diff --git a/pyproject.toml b/pyproject.toml index 92d522a..df593c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,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)", @@ -38,7 +37,7 @@ dynamic = [ "version", ] dependencies = [ - "allianceauth>=4.3.1", + "allianceauth>=5", ] urls.Changelog = "https://github.com/ppfeufer/aa-example-plugin/blob/master/CHANGELOG.md" urls.Tracker = "https://github.com/ppfeufer/aa-example-plugin/issues"