diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 60620ab..dd67298 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,8 +13,9 @@ jobs: fail-fast: false matrix: python-version: ['3.12'] - django-version: ['4.2', '5.0', '5.1', 'dev'] + django-version: ['4.2', '5.1', 'dev'] database-engine: ["mysql", "postgres"] + services: mysql: image: mysql:latest @@ -68,7 +69,6 @@ jobs: python -m pip install --upgrade pip python -m pip install -r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/tox.txt - - name: Tox tests run: | tox -v diff --git a/pyproject.toml b/pyproject.toml index cd9712f..ec61418 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,12 +6,12 @@ version_file="_version.py" [tool.black] line-length = 95 -target-version = ["py311"] +target-version = ["py312"] extend-exclude = '''^(.*\/)*\b(migrations)\b($|\/.*$)''' [tool.isort] profile = "black" -py_version = "311" +py_version = "312" skip = [".tox", ".eggs", "migrations"] [tool.coverage.run] @@ -35,22 +35,20 @@ exclude_lines = [ legacy_tox_ini = """ [tox] envlist = - py{311}-dj{42,50,dev}, - py{312}-dj{50}, + py{312}-dj{42,51,dev}, lint isolated_build = true [gh-actions] python = - 3.11: py311, lint - 3.12: py312 + 3.12: py312, lint [gh-actions:env] DJANGO = - 4.2: dj42, lint - 5.0: dj50 - dev: djdev + 4.2: dj42 + 5.1: dj51 + dev: djdev, lint [testenv] deps = @@ -59,7 +57,7 @@ deps = -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 - dj50: Django>=5.0 + dj51: Django>=5.1,<5.2 djdev: https://github.com/django/django/tarball/main commands = diff --git a/setup.cfg b/setup.cfg index 66ae399..c6d6d6b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,15 +13,15 @@ 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.11 + Programming Language :: Python :: 3.12 License :: OSI Approved :: GNU General Public License v3 (GPLv3) - [options] -python_requires = >=3.11 +python_requires = >=3.12 zip_safe = False include_package_data = True packages = find: