diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 76fb0e9..08893b8 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -27,16 +27,16 @@ jobs: strategy: matrix: # Run all supported Python versions on linux - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] os: [ubuntu-latest] - # Include one windows and macos run + # Include one windows two macos runs (intel and arm based) 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: - name: Set up Python ${{ matrix.python-version }} diff --git a/pyproject.toml b/pyproject.toml index 5927e6f..9317c22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "brainglobe-registration" authors = [{name = "Brainglobe Developers", email= "hello@brainglobe.info"}] description = "A napari plugin for registration to a BrainGlobe atlas." readme = "README.md" -requires-python = ">=3.9.0" +requires-python = ">=3.10" dynamic = ["version"] license = {text = "BSD-3-Clause"} @@ -14,9 +14,9 @@ classifiers = [ "Intended Audience :: Science/Research", "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", "Topic :: Scientific/Engineering :: Image Processing", @@ -82,7 +82,7 @@ markers = [ ] [tool.black] -target-version = ['py39', 'py310', 'py311'] +target-version = ['py310','py311', 'py312'] skip-string-normalization = false line-length = 79 @@ -108,14 +108,14 @@ fix = true [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 =