Skip to content

Commit

Permalink
Update supported python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson committed Jun 5, 2024
1 parent d5f06d9 commit c5a971f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ jobs:
strategy:
matrix:
# Run all supported Python versions on linux
python-version: ["3.9", "3.10", "3.11"]
os: [ubuntu-latest]
# Include one windows and ARM/Intel macos run
python-version: ["3.10", "3.11", "3.12"]
# Include one windows and two macOS (intel based and arm based) runs
include:
- os: macos-13 # Intel Mac
python-version: "3.10"
- os: macos-latest # ARM Mac
python-version: "3.10"
- os: windows-latest
python-version: "3.10"
- os: macos-13
python-version: "3.12"
- os: macos-latest
python-version: "3.12"
- os: windows-latest
python-version: "3.12"

steps:
# Run tests
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "brainglobe-napari-io"
authors = [{ name = "Adam Tyson", email = "[email protected]" }]
description = "Read and write files from the BrainGlobe computational neuroanatomy suite into napari"
readme = "README.md"
requires-python = ">=3.9.0"
requires-python = ">=3.10"
dynamic = ["version"]

license = { text = "BSD-3-Clause" }
Expand All @@ -14,9 +14,9 @@ classifiers = [
"Operating System :: OS Independent",
"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",
"Topic :: Scientific/Engineering :: Image Recognition",
]
dependencies = [
Expand Down Expand Up @@ -70,7 +70,7 @@ exclude = ["tests*"]
addopts = "--cov=brainglobe_napari_io"

[tool.black]
target-version = ['py39', 'py310', 'py311']
target-version = ['py310','py311', 'py312']
skip-string-normalization = false
line-length = 79

Expand All @@ -94,14 +94,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 =
Expand Down

0 comments on commit c5a971f

Please sign in to comment.