Skip to content

Commit

Permalink
Drop Python 3.11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanWillitts committed Aug 1, 2024
1 parent edbfa9b commit 6ef0396
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -35,16 +35,15 @@ 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
isolated_build = true
[gh-actions]
python =
3.11: py311, lint
3.12: py312
3.12: py312, lint
[gh-actions:env]
DJANGO =
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6ef0396

Please sign in to comment.