diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 8d4ffbba..5d9e017a 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -36,16 +36,16 @@ jobs: fail-fast: false matrix: # Run all supported Python versions on linux - python-version: ["3.9", "3.10", "3.11"] os: [ubuntu-latest] - # Include one windows and macos run each of Intel/ARM + python-version: ["3.10", "3.11", "3.12"] + # Include one windows and two macOS (intel based and arm based) runs include: - - os: macos-13 - python-version: "3.11" - - os: macos-latest - python-version: "3.11" - - os: windows-latest - python-version: "3.11" + - os: macos-13 + python-version: "3.12" + - os: macos-latest + python-version: "3.12" + - os: windows-latest + python-version: "3.12" steps: - name: Cache brainglobe directory diff --git a/pyproject.toml b/pyproject.toml index 7fe8417b..0702c7a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ authors = [ ] description = "Visualisation and exploration of brain atlases and other anatomical data" readme = "README.md" -requires-python = ">=3.9.0" +requires-python = ">=3.10" dynamic = ["version"] dependencies = [ @@ -34,9 +34,9 @@ classifiers = [ "Development Status :: 3 - Alpha", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Operating System :: OS Independent", "License :: OSI Approved :: BSD License", "Intended Audience :: Developers", @@ -86,7 +86,7 @@ markers = [ ] [tool.black] -target-version = ['py39', 'py310', 'py311'] +target-version = ['py310','py311', 'py312'] skip-string-normalization = false line-length = 79 @@ -116,14 +116,14 @@ select = ["I", "E", "F"] [tool.tox] legacy_tox_ini = """ [tox] -envlist = py{39,310,311} +envlist = py{310,311,312} isolated_build = True [gh-actions] python = - 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] extras =