From 40628f16df0e61f260fd2554a4e8c4de4b3de24b Mon Sep 17 00:00:00 2001 From: Adam Tyson Date: Fri, 13 Oct 2023 15:06:46 +0100 Subject: [PATCH] Remove Python 3.8 support --- .github/workflows/test_and_deploy.yml | 2 +- pyproject.toml | 11 ++--------- tox.ini | 4 ++-- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 898c3d2..5729807 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 6fdd346..f096267 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "brainglobe-utils" authors = [{name = "Adam Tyson", email= "code@adamltyson.com"}] 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 = [ @@ -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", @@ -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 @@ -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 diff --git a/tox.ini b/tox.ini index 5b30d0e..b26baec 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =