Skip to content

Commit

Permalink
Update supported Python versions (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson committed Jun 5, 2024
1 parent 2acded2 commit 517d578
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
# Run across a mixture of Python versions and operating systems
include:
- os: ubuntu-latest
python-version: "3.11"
python-version: "3.12"
- os: macos-13 # just intel mac here, silicon mac tested with mamba due to niftyreg complications
python-version: "3.10"
python-version: "3.11"
- os: windows-latest
python-version: "3.9"
python-version: "3.10"

steps:
- name: Cache brainglobe directory
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
init-shell: bash
environment-name: niftyreg-env
create-args: >-
python=3.11
python=3.12
setuptools
setuptools_scm
wheel
Expand Down
11 changes: 5 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ classifiers = [
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: napari",
]
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = [
"brainglobe-atlasapi>=2.0.1",
"brainglobe-space>=1.0.0",
Expand Down Expand Up @@ -87,7 +87,7 @@ addopts = "--cov=brainreg"
[tool.black]
line-length = 79
skip-string-normalization = false
target-version = ['py39', 'py310', 'py311']
target-version = ['py310','py311', 'py312']

[tool.ruff]
line-length = 79
Expand All @@ -98,15 +98,14 @@ fix = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py{38,39,310,311}
envlist = py{310,311,312}
isolated_build = True
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
extras =
Expand Down

0 comments on commit 517d578

Please sign in to comment.