Skip to content

Commit

Permalink
Update supported Python versions and remove Intel macOS testing
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson committed Mar 3, 2025
1 parent 1fee029 commit af3790a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,14 @@ jobs:
strategy:
matrix:
# Run all supported Python versions on linux
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12", "3.13"]
os: [ubuntu-latest]
# Include one windows and macos run
include:
- os: macos-13 # Intel Mac
python-version: "3.12"
- os: macos-latest # ARM Mac
python-version: "3.12"
- os: macos-latest
python-version: "3.13"
- os: windows-latest
python-version: "3.12"
python-version: "3.13"

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"
authors = [{ name = "BrainGlobe Developers", email = "[email protected]" }]
description = "Python-based tools for computational neuroanatomy."
readme = "README.md"
requires-python = ">=3.10.0"
requires-python = ">=3.11.0"
dynamic = ["version"]

license = { text = "BSD-3-Clause" }
Expand All @@ -12,9 +12,9 @@ classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License",
]
Expand Down Expand Up @@ -70,7 +70,7 @@ exclude = ["tests*"]
addopts = "--cov=brainglobe"

[tool.black]
target-version = ['py310', 'py311', 'py312']
target-version = ['py311', 'py312', 'py313']
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{311,312,313}
isolated_build = True
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
extras =
Expand Down

0 comments on commit af3790a

Please sign in to comment.