diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 734724d..71b3228 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,12 +13,10 @@ jobs: matrix: codebase: ['Prod', 'Dev'] django-version: ['4.2', '5.0', 'dev'] - python-version: ['3.11', '3.12'] + python-version: ['3.12'] exclude: - codebase: 'Prod' django-version: 'dev' - - python-version: '3.11' - django-version: 'dev' services: mysql: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3d0fdbe..df05b16 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: rev: 24.4.2 hooks: - id: black - language_version: python3.11 + language_version: python3.12 - repo: https://github.com/pycqa/flake8 rev: 7.0.0 diff --git a/CHANGES b/CHANGES index 80ed034..e420bc5 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,10 @@ Changes +++++++ +unreleased +------ +- drop Python 3.11 support + 0.1.54 ------ - update Subject Screening to extend window for serum CrAg to be diff --git a/README.rst b/README.rst index 32491ce..8600812 100644 --- a/README.rst +++ b/README.rst @@ -35,7 +35,7 @@ Create a virtualenv, clone the main repo and checkout master .. code-block:: bash - conda create -n edc python=3.11 + conda create -n edc python=3.12 conda activate edc diff --git a/pyproject.toml b/pyproject.toml index 7a10596..bce6f28 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,7 +35,7 @@ exclude_lines = [ legacy_tox_ini = """ [tox] envlist = - py{311,312}-dj{42,50}-edc{prod,dev}, + py{312}-dj{42,50}-edc{prod,dev}, py{312}-dj{dev}-edc{dev}, lint @@ -43,8 +43,7 @@ isolated_build = true [gh-actions] python = - 3.11: py311, lint - 3.12: py312 + 3.12: py312, lint [gh-actions:env] DJANGO = diff --git a/setup.cfg b/setup.cfg index 1897bd4..3c74b36 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,12 +16,12 @@ classifiers= 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: