diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 561a70f..7ecd8a9 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -38,16 +38,16 @@ jobs: strategy: matrix: # Run all supported Python versions on linux - python-version: ["3.9", "3.10"] + python-version: ["3.10", "3.11", "3.12"] os: [ubuntu-latest] # Include one windows and macos run include: - os: macos-13 # Intel Mac - python-version: "3.10" + python-version: "3.12" - os: macos-latest # ARM Mac - python-version: "3.10" + python-version: "3.12" - os: windows-latest - python-version: "3.10" + python-version: "3.12" steps: # Run tests diff --git a/pyproject.toml b/pyproject.toml index 16e0b14..1d5fda1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "brainglobe" authors = [{ name = "BrainGlobe Developers", email = "hello@brainglobe.info" }] description = "Python-based tools for computational neuroanatomy." readme = "README.md" -requires-python = ">=3.9.0" +requires-python = ">=3.10.0" dynamic = ["version"] license = { text = "BSD-3-Clause" } @@ -12,23 +12,24 @@ classifiers = [ "Development Status :: 2 - Pre-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", ] dependencies = [ "brainglobe-atlasapi>=2.0.6,<3", - "brainglobe-heatmap>=0.5.2,<1", + "brainglobe-heatmap>=0.5.3,<1", "brainglobe-napari-io>=0.3.4,<1", - "brainglobe-segmentation>=1.2.3,<2", + "brainglobe-segmentation>=1.2.4,<2", "brainglobe-space>=1.0.2,<2", "brainglobe-utils>=0.5.0,<1", "brainreg[napari]>=1.0.9,<2", "brainrender-napari>=0.0.3,<1", "brainrender>=2.1.9,<3", - "cellfinder[napari]>=1.2.0,<2", + "cellfinder[napari]>=1.3.0,<2", "napari[all]", # brainglobe-napari [WIP], ] @@ -69,7 +70,7 @@ exclude = ["tests*"] addopts = "--cov=brainglobe" [tool.black] -target-version = ['py39', 'py310'] +target-version = ['py310', 'py311', 'py312'] skip-string-normalization = false line-length = 79 @@ -93,13 +94,14 @@ fix = true [tool.tox] legacy_tox_ini = """ [tox] -envlist = py{39,310} +envlist = py{39,310,311} isolated_build = True [gh-actions] python = - 3.9: py39 3.10: py310 + 3.11: py311 + 3.12: py312 [testenv] extras =