diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b3b831a..0f4d103 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,19 +10,11 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - django-version: ["3.2", "4.0", "4.1", "4.2", "5.0", "main"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + django-version: ["3.2", "4.0", "4.1", "4.2", "5.0", "5.1", "main"] exclude: - - python-version: "3.7" - django-version: "main" - - python-version: "3.8" - django-version: "main" - python-version: "3.9" django-version: "main" - - python-version: "3.7" - django-version: "5.0" - - python-version: "3.8" - django-version: "5.0" - python-version: "3.9" django-version: "5.0" @@ -59,3 +51,10 @@ jobs: DJANGO: ${{ matrix.django-version }} DESCOPE_PROJECT_ID: P2ZRsmAQw8MKG78knGZ9GXWRqxM5 DESCOPE_MANAGEMENT_KEY: ${{ secrets.DESCOPE_MANAGEMENT_KEY }} + done: + name: Build Matrix Complete + needs: build + runs-on: ubuntu-latest + steps: + - name: Done + run: echo "Done" diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index 9752fbd..507a7a8 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -18,7 +18,7 @@ jobs: - name: Setup uses: descope/.github/.github/actions/python/poetry/setup@main with: - python-version: "3.8" + python-version: "3.9" - name: Autobump version run: | poetry version $(git describe --tags --abbrev=0) diff --git a/pyproject.toml b/pyproject.toml index 6f25739..11ddd72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,9 @@ classifiers = [ "Framework :: Django :: 3.2", "Framework :: Django :: 4.0", "Framework :: Django :: 4.1", + "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", @@ -30,17 +33,18 @@ classifiers = [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ] [tool.poetry.dependencies] -python = ">=3.8.1,<4.0" -Django = ">=3.2.19,<5.1" +python = ">=3.9,<4.0" +Django = ">=3.2.19,<5.2" descope = "^1.5.1" [tool.poetry.group.dev.dependencies] diff --git a/tox.ini b/tox.ini index f28f870..081432b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,16 +1,16 @@ [tox] isolated_build=true envlist= - py{38,39,310}-dj{32,40,41,42} - py{311,312}-dj{42, 50} + py3{8,9,10}-dj{32,40,41,42} + py31{1,2,3}-dj{42, 50, 51} [gh-actions] python= - 3.8: py38 3.9: py39 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313 [gh-actions:env] DJANGO= @@ -19,6 +19,7 @@ DJANGO= 4.1: dj41 4.2: dj42 5.0: dj50 + 5.1: dj51 main: djmain [testenv] @@ -37,6 +38,7 @@ deps= dj41: Django>=4.1,<4.2 dj42: Django>=4.2,<4.3 dj50: Django>=5.0,<5.1 + dj51: Django>=5.1,<5.2 djmain: https://github.com/django/django/archive/main.tar.gz python-dotenv django-debug-toolbar