diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 9efc51a..222a6d6 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] name: Build with Python ${{ matrix.python-version }} steps: @@ -52,12 +52,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Install dependencies - run: python -m pip install tox==4.6.3 + run: python -m pip install tox==4.24.1 - name: Lint with tox run: tox env: @@ -89,12 +89,12 @@ jobs: # Fetch all tags and branches because tests rely on it with: fetch-depth: 0 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Install dependencies and coverage - run: python -m pip install tox==4.6.3 + run: python -m pip install tox==4.24.1 - name: Test with tox with coverage run: tox env: diff --git a/CHANGELOG.md b/CHANGELOG.md index ed2d2cd..57fd26e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ ## 5.x.y -- ... +Miscellaneous: + +- Add support for Python 3.13 +- Add support for Django 5.1 ## 5.1.0 diff --git a/pyproject.toml b/pyproject.toml index ed48eba..26352e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ authors = [ { name="3YOURMIND GmbH", email="fb@3yourmind.com" }, ] maintainers = [{name = "David Wobrock", email = "david.wobrock@gmail.com"}] -license = {text = "Apache License 2.0"} +license = {text = "Apache-2.0"} readme = "README.md" requires-python = ">=3.7" dependencies = [ @@ -28,6 +28,7 @@ classifiers = [ "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", @@ -36,6 +37,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] keywords = [ "django", diff --git a/tox.ini b/tox.ini index c64cb49..7ffcb30 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ envlist = py{38,39,310,311,312}-django41 py{38,39,310,311,312}-django42 py{310,311,312}-django50 + py{310,311,312,313}-django51 lint coverage @@ -16,6 +17,7 @@ python = 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313 [testenv] allowlist_externals = ./manage.py @@ -29,9 +31,10 @@ deps = django41: django>=4.1,<4.2 django42: django>=4.2,<4.3 django50: django>=5.0,<5.1 + django51: django>=5.1,<5.2 [testenv:lint] -basepython = python3.11 +basepython = python3.12 deps = pre-commit commands = pre-commit run --all-files --show-diff-on-failure