Skip to content

Commit

Permalink
Add Python 3.13, remove Django 4.2 tox/GH actions test runners
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanWillitts committed Oct 11, 2024
1 parent 907a21a commit 42b4b04
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ keywords = django edc vitals, clinicedc, clinical trials
classifiers=
Environment :: Web Environment
Framework :: Django
Framework :: Django :: 4.2
Framework :: Django :: 5.1
Intended Audience :: Developers
Intended Audience :: Science/Research
Expand Down

0 comments on commit 42b4b04

Please sign in to comment.