Skip to content

Commit

Permalink
Remove Python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson committed Oct 13, 2023
1 parent b7209ef commit 40628f1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
# Run all supported Python versions on linux
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]
os: [ubuntu-latest]
# Include one windows and macos run
include:
Expand Down
11 changes: 2 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "brainglobe-utils"
authors = [{name = "Adam Tyson", email= "[email protected]"}]
description = "Shared general purpose tools for the BrainGlobe project"
readme = "README.md"
requires-python = ">=3.8.0"
requires-python = ">=3.9.0"
dynamic = ["version"]

dependencies = [
Expand All @@ -24,7 +24,6 @@ classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down Expand Up @@ -75,7 +74,7 @@ exclude = ["tests", "docs*"]
addopts = "--cov=brainglobe_utils"

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

Expand All @@ -99,12 +98,6 @@ exclude = ["__init__.py","build",".eggs"]
select = ["I", "E", "F"]
fix = true

[tool.cibuildwheel]
build = "cp38-* cp39-* cp310-*"

[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]

[tool.mypy]
ignore_errors = true

Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tox]
envlist = py{38,39,310}
envlist = py{39,310,311}
isolated_build = True

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311

[testenv]
extras =
Expand Down

0 comments on commit 40628f1

Please sign in to comment.