Skip to content

Commit

Permalink
Add Python 3.13, and 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 10, 2024
1 parent eea109d commit b5f4cd0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 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
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Changes

unreleased
-----
- drop Django 4.2 support
- add Django 5.1 support

0.1.44
Expand Down
10 changes: 5 additions & 5 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,14 +56,14 @@ 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 coverage[toml]
pip install -U pip
pip --version
pip install -U edc-csf edc-microbiology
python --version
pip freeze
coverage run -a runtests.py
coverage report
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ keywords = django, edc, EFFECT, form validators, clinicedc, clinical trials
classifiers=
Environment :: Web Environment
Framework :: Django
Framework :: Django :: 4.2
Framework :: Django :: 5.1
Intended Audience :: Developers
Intended Audience :: Science/Research
Operating System :: OS Independent
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
License :: OSI Approved :: GNU General Public License v3 (GPLv3)

[options]
Expand Down

0 comments on commit b5f4cd0

Please sign in to comment.