From 2c595b74cc5512b17bd6085571642542d6e1e70d Mon Sep 17 00:00:00 2001 From: Hugo Rodger-Brown Date: Mon, 6 Nov 2023 15:43:12 +0000 Subject: [PATCH] Add Django 5.0 to classifiers --- .github/workflows/tox.yml | 43 +++------------------------------------ pyproject.toml | 2 ++ tox.ini | 2 +- 3 files changed, 6 insertions(+), 41 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 471af9c..8761e8a 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python (3.11) uses: actions/setup-python@v4 @@ -38,7 +38,7 @@ jobs: strategy: matrix: - python: ["3.11"] + python: ["3.11", "3.12"] django: ["32", "40", "41", "42", "50", "main"] env: @@ -46,7 +46,7 @@ jobs: steps: - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v4 @@ -57,40 +57,3 @@ jobs: run: | pip install tox tox - -# HRB: no longer required (SQLite supports UUID generation), but keeping -# around for future self. -# test-pg: -# name: Run tests (PostgreSQL) -# runs-on: ubuntu-latest - -# services: -# postgres: -# image: postgres -# env: -# POSTGRES_DB: postgres -# POSTGRES_USER: postgres -# POSTGRES_PASSWORD: postgres -# ports: -# - 5432:5432 -# # Set health checks to wait until postgres has started -# options: >- -# --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 - -# env: -# DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres - -# steps: -# - name: Check out the repository -# uses: actions/checkout@v3 - -# - name: Set up Python 3.11 -# uses: actions/setup-python@v4 -# with: -# python-version: "3.11" - -# - name: Install tox -# run: pip install tox - -# - name: Run tox (pg-only) -# run: tox -e pg-only diff --git a/pyproject.toml b/pyproject.toml index 971cde5..1f18739 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,10 +17,12 @@ classifiers = [ "Framework :: Django :: 4.0", "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] packages = [{ include = "anonymiser" }] diff --git a/tox.ini b/tox.ini index 290042d..1b4ee94 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ isolated_build = True envlist = fmt, lint, mypy, django-checks, - py{311}-django{32,40,41,42,50,main} + py{311,12}-django{32,40,41,42,50,main} [testenv] deps =