From 87503f69a6055ca7d999e9b2375b642491170c01 Mon Sep 17 00:00:00 2001 From: Eleftherios Zisis Date: Wed, 9 Oct 2024 12:43:38 +0200 Subject: [PATCH] Add python3.13 & remove EOL python3.8 --- .github/workflows/run-tox.yml | 2 +- pyproject.toml | 6 +++--- tox.ini | 7 +++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-tox.yml b/.github/workflows/run-tox.yml index 5dfcdaaa..cd5864bb 100644 --- a/.github/workflows/run-tox.yml +++ b/.github/workflows/run-tox.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 6deabda7..2d266887 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta" name = "neurom" description = "NeuroM: a light-weight neuron morphology analysis package" readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.9" license = { file = "LICENSE.txt" } authors = [ { name = "Blue Brain Project, EPFL" }, @@ -19,7 +19,6 @@ classifiers = [ "Intended Audience :: Education", "Intended Audience :: Science/Research", "Programming Language :: Python", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -78,10 +77,11 @@ testpaths = [ [tool.black] line-length = 100 target-version = [ - 'py38', 'py39', 'py310', 'py311', + 'py312', + 'py313', ] skip-string-normalization = true include = 'neurom\/.*\.py$|tests\/.*\.py$|doc\/source\/conf\.py$|setup\.py$|examples\/.*\.py$' diff --git a/tox.ini b/tox.ini index 89c07dd9..8d569dae 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ envlist = coverage tutorial check-packaging - py{38,39,310,311,312,313} + py{39,310,311,312,313} [testenv] deps = @@ -97,9 +97,8 @@ convention = google [gh-actions] python = - 3.8: py38, lint - 3.9: py39, docs + 3.9: py39, lint 3.10: py310, tutorial 3.11: py311, check-packaging - 3.12: py312 + 3.12: py312, docs 3.13: py313