From 1cc1c433b17b1d376d0c9bc7e4d6b73fcb283b7e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 17:25:07 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/eslint/eslint: 2656772377429ba90ade21adc69661e4ae3a4625 → 9bc0cc45b645bacb23e36e88c7b43c55f22d00d3](https://github.com/eslint/eslint/compare/2656772377429ba90ade21adc69661e4ae3a4625...9bc0cc45b645bacb23e36e88c7b43c55f22d00d3) - [github.com/thibaudcolas/pre-commit-stylelint: c5ea22efe1dcff25ec53dd5b88540d6e922e3076 → 8b94b3ea55a821d67fa8a86c898b7874bfebc47d](https://github.com/thibaudcolas/pre-commit-stylelint/compare/c5ea22efe1dcff25ec53dd5b88540d6e922e3076...8b94b3ea55a821d67fa8a86c898b7874bfebc47d) - [github.com/PyCQA/isort: a333737ed43df02b18e6c95477ea1b285b3de15a → dac090ce4d9ee313d086e2e89ab1acb8c2664fa1](https://github.com/PyCQA/isort/compare/a333737ed43df02b18e6c95477ea1b285b3de15a...dac090ce4d9ee313d086e2e89ab1acb8c2664fa1) - [github.com/tox-dev/pyproject-fmt: 6e10264313f53d6247a8b1b984f5b5ccf50ba539 → 91de51aef61c5f2383f03da25604e3d65a8309e0](https://github.com/tox-dev/pyproject-fmt/compare/6e10264313f53d6247a8b1b984f5b5ccf50ba539...91de51aef61c5f2383f03da25604e3d65a8309e0) - [github.com/python-jsonschema/check-jsonschema: ed81924a8b1cecdaa570b072528fa80c9c4d6ccd → 943377262562a12b57292fc98fabd7dbf81451fe](https://github.com/python-jsonschema/check-jsonschema/compare/ed81924a8b1cecdaa570b072528fa80c9c4d6ccd...943377262562a12b57292fc98fabd7dbf81451fe) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 689b8d60..6f3cfeb7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -121,7 +121,7 @@ repos: description: Ensure that files end with a newline. - repo: https://github.com/eslint/eslint - rev: 2656772377429ba90ade21adc69661e4ae3a4625 # frozen: v10.2.0 + rev: 9bc0cc45b645bacb23e36e88c7b43c55f22d00d3 # frozen: v10.3.0 hooks: - id: eslint name: ESLint @@ -133,7 +133,7 @@ repos: - globals@17.4.0 # https://github.com/sindresorhus/globals/releases/latest - repo: https://github.com/thibaudcolas/pre-commit-stylelint - rev: c5ea22efe1dcff25ec53dd5b88540d6e922e3076 # frozen: v17.6.0 + rev: 8b94b3ea55a821d67fa8a86c898b7874bfebc47d # frozen: v17.10.0 hooks: - id: stylelint name: Stylelint @@ -213,7 +213,7 @@ repos: description: Check for extraneous `# noqa` comments. - repo: https://github.com/PyCQA/isort - rev: a333737ed43df02b18e6c95477ea1b285b3de15a # frozen: 8.0.1 + rev: dac090ce4d9ee313d086e2e89ab1acb8c2664fa1 # frozen: 9.0.0a3 hooks: - id: isort name: Isort @@ -266,7 +266,7 @@ repos: description: Format the tox.ini file. - repo: https://github.com/tox-dev/pyproject-fmt - rev: 6e10264313f53d6247a8b1b984f5b5ccf50ba539 # frozen: v2.21.0 + rev: 91de51aef61c5f2383f03da25604e3d65a8309e0 # frozen: v2.21.1 hooks: - id: pyproject-fmt name: pyproject.toml formatter @@ -293,7 +293,7 @@ repos: - --py-version=3.10 # Minimum required Python version for AA. Update as needed. - repo: https://github.com/python-jsonschema/check-jsonschema - rev: ed81924a8b1cecdaa570b072528fa80c9c4d6ccd # frozen: 0.37.1 + rev: 943377262562a12b57292fc98fabd7dbf81451fe # frozen: 0.37.2 hooks: - id: check-github-actions name: Check GitHub Actions From 944646bb7c68ccdc055338fdef8aae02ed2d8c1d Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Wed, 6 May 2026 09:56:16 +0200 Subject: [PATCH 2/2] [CHANGE] Additional dependencies and test matrix updated --- .github/workflows/automated-checks.yml | 84 +++++++++++++++++++++++++- .pre-commit-config.yaml | 8 +-- CHANGELOG.md | 1 + 3 files changed, 86 insertions(+), 7 deletions(-) diff --git a/.github/workflows/automated-checks.yml b/.github/workflows/automated-checks.yml index bec2c2f9..5bc23e73 100644 --- a/.github/workflows/automated-checks.yml +++ b/.github/workflows/automated-checks.yml @@ -51,7 +51,7 @@ jobs: - name: Run Pre Commit Checks uses: pre-commit/action@v3.0.1 - # Run Test Coverage + # Run Test Coverage for Laatest Release test-coverage: needs: [ pre-commit ] name: AA Latest (Python ${{ matrix.python-version }} with ${{ matrix.database }}) @@ -66,18 +66,19 @@ jobs: - '3.11' # [EOL] End of Life: 31 Dec 2027 - '3.12' # [EOL] End of Life: 31 Dec 2028 - '3.13' # [EOL] End of Life: 31 Oct 2029 +# - '3.14' # [EOL] End of Life: 31 Oct 2030 # MySQL versions to test against database: # https://endoflife.date/mysql - - mysql:8.0 # [LTS] Maintained until: 30 Apr 2026 - mysql:8.4 # [LTS] Maintained until: 30 Apr 2032 + - mysql:9.7 # [LTS] Maintained until: 21 Apr 2034 # https://endoflife.date/mariadb and https://mariadb.com/kb/en/mariadb-server-release-dates/ - mariadb:10.6 # [LTS] Maintained until: 06 Jul 2026 - mariadb:10.11 # [LTS] Maintained until: 16 Feb 2028 - mariadb:11.4 # [LTS] Maintained until: 29 May 2029 - mariadb:11.8 # [LTS] Maintained until: 04 Jun 2028 - continue-on-error: ${{ matrix.python-version == '3.13' }} +# continue-on-error: ${{ matrix.python-version == '3.14' }} # Set up services services: @@ -152,6 +153,83 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + + # Run Test Coverage for Development (master branch) +# test-coverage-development: +# needs: [ pre-commit ] +# name: AA Develeopment (Python ${{ matrix.python-version }} with ${{ matrix.database }}) +# runs-on: ubuntu-latest +# +# strategy: +# # Set Python versions to test against +# matrix: +# python-version: +# # https://endoflife.date/python +# - '3.10' # [EOL] End of Life: 31 Oct 2026 +# - '3.11' # [EOL] End of Life: 31 Dec 2027 +# - '3.12' # [EOL] End of Life: 31 Dec 2028 +# - '3.13' # [EOL] End of Life: 31 Oct 2029 +# # MySQL versions to test against +# database: +# # https://endoflife.date/mysql +# - mysql:8.0 # [LTS] Maintained until: 30 Apr 2026 +# - mysql:8.4 # [LTS] Maintained until: 30 Apr 2032 +# # https://endoflife.date/mariadb and https://mariadb.com/kb/en/mariadb-server-release-dates/ +# - mariadb:10.6 # [LTS] Maintained until: 06 Jul 2026 +# - mariadb:10.11 # [LTS] Maintained until: 16 Feb 2028 +# - mariadb:11.4 # [LTS] Maintained until: 29 May 2029 +# - mariadb:11.8 # [LTS] Maintained until: 04 Jun 2028 +# +# # continue-on-error: ${{ matrix.python-version == '3.12' }} +# +# # Set up services +# services: +# database: +# image: ${{ matrix.database }} +# env: +# MYSQL_ROOT_PASSWORD: temp_password_aa_tox_tests +# MYSQL_DATABASE: tox_allianceauth +# ports: +# - 3306:3306 +# options: --tmpfs /var/lib/mysql +# +# steps: +# # Checkout the repository +# - name: Checkout +# uses: actions/checkout@v6 +# +# # Install redis +# - name: Install redis +# uses: shogo82148/actions-setup-redis@v1 +# with: +# redis-version: ${{ env.REDIS_VERSION }} +# +# # Verify that redis is up +# - name: Verify that redis is up +# run: redis-cli ping +# +# # Set up Python +# - name: Setup Python ${{ matrix.python-version }} +# uses: actions/setup-python@v6 +# with: +# python-version: ${{ matrix.python-version }} +# +# # Install Tox and any other packages +# - name: Install Tox and any other packages +# run: | +# python -m pip install --upgrade pip +# python -m pip install --upgrade tox tox-gh-actions +# +# # Run Tox with the specified environment +# - name: Run Tox +# env: +# TOX_ENV: allianceauth-development +# DB_HOST: 127.0.0.1 +# DB_USER: root +# DB_PASSWORD: temp_password_aa_tox_tests +# run: tox -v -e ${{ env.TOX_ENV }} + + # Run PyPi Build Test pypi-build-test: needs: [ test-coverage ] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6f3cfeb7..174b103f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -129,8 +129,8 @@ repos: language: node additional_dependencies: # eslint itself needs to be here when using additional_dependencies. - - eslint@10.2.0 # https://github.com/eslint/eslint/releases/latest - - globals@17.4.0 # https://github.com/sindresorhus/globals/releases/latest + - eslint@10.3.0 # https://github.com/eslint/eslint/releases/latest + - globals@17.6.0 # https://github.com/sindresorhus/globals/releases/latest - repo: https://github.com/thibaudcolas/pre-commit-stylelint rev: 8b94b3ea55a821d67fa8a86c898b7874bfebc47d # frozen: v17.10.0 @@ -143,7 +143,7 @@ repos: - --formatter=compact additional_dependencies: # stylelint itself needs to be here when using additional_dependencies. - - stylelint@17.6.0 # https://github.com/stylelint/stylelint/releases/latest + - stylelint@17.10.0 # https://github.com/stylelint/stylelint/releases/latest - stylelint-config-standard@40.0.0 # https://github.com/stylelint/stylelint-config-standard/releases/latest - repo: https://github.com/pre-commit/pygrep-hooks @@ -274,7 +274,7 @@ repos: args: - --indent=4 additional_dependencies: - - tox==4.52.0 # https://github.com/tox-dev/tox/releases/latest + - tox==4.53.1 # https://github.com/tox-dev/tox/releases/latest - repo: https://github.com/abravalheri/validate-pyproject rev: 4b2e70d08cb2ccd26d1fba73588de41c7a5d50b7 # frozen: v0.25 diff --git a/CHANGELOG.md b/CHANGELOG.md index 89e83524..6fcbe277 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ Section Order: ### Deprecated ### Removed ### Security +### Miscellaneous -->