From edc7fa75c6f07fd7befffcc69096375045868acc Mon Sep 17 00:00:00 2001 From: Jonathan Willitts Date: Fri, 11 Oct 2024 13:08:25 +0100 Subject: [PATCH] Add Python 3.13, remove Django 4.2 tox/GH actions test runners --- .github/workflows/build.yml | 4 ++-- pyproject.toml | 8 ++++---- setup.cfg | 1 - 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd67298..950e9aa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,8 +12,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.12'] - django-version: ['4.2', '5.1', 'dev'] + python-version: ['3.12', '3.13'] + django-version: ['5.1', 'dev'] database-engine: ["mysql", "postgres"] services: diff --git a/pyproject.toml b/pyproject.toml index 1f24c19..548661c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,18 +35,18 @@ exclude_lines = [ legacy_tox_ini = """ [tox] envlist = - py{312}-dj{42,51,dev}, + py{312,313}-dj{51,dev}, lint isolated_build = true [gh-actions] python = - 3.12: py312, lint + 3.12: py312 + 3.13: py313, lint [gh-actions:env] DJANGO = - 4.2: dj42 5.1: dj51 dev: djdev, lint @@ -56,12 +56,12 @@ deps = -r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/test_utils.txt -r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/edc.txt -r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/third_party_dev.txt - dj42: Django>=4.2,<5.0 dj51: Django>=5.1,<5.2 djdev: https://github.com/django/django/tarball/main commands = pip install -U pip + python --version pip --version pip freeze coverage run -a runtests.py diff --git a/setup.cfg b/setup.cfg index 96a8c0c..5ad0554 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,7 +12,6 @@ keywords = django Edc case report forms, CRF, clinicedc, clinical trials classifiers= Environment :: Web Environment Framework :: Django - Framework :: Django :: 4.2 Framework :: Django :: 5.1 Intended Audience :: Developers Intended Audience :: Science/Research