Skip to content

Commit 040ab92

Browse files
authored
[MAINT] Drop python 3.8 and support 3.13 (#646)
* drop python 3.8 and support 3.13 * support prerelease * fix
1 parent fe4967f commit 040ab92

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/pull-request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-22.04
1515
strategy:
1616
matrix:
17-
python-version: ['3.12', '3.11', '3.10', '3.9', '3.8']
17+
python-version: ['3.13', '3.12', '3.11', '3.10', '3.9']
1818
fail-fast: false
1919
steps:
2020
- name: Install Apptainer
@@ -36,6 +36,7 @@ jobs:
3636
uses: actions/setup-python@v5
3737
with:
3838
python-version: ${{ matrix.python-version }}
39+
allow-prereleases: true
3940
- name: Install neurodocker
4041
run: python -m pip install --editable .[dev]
4142
- name: Run python tests

.github/workflows/type_checks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
python-version: ['3.12', '3.11', '3.10', '3.9', '3.8']
22+
python-version: ['3.13', '3.12', '3.11', '3.10', '3.9']
2323

2424
steps:
2525
- uses: actions/checkout@v4
@@ -28,6 +28,7 @@ jobs:
2828
uses: actions/setup-python@v5
2929
with:
3030
python-version: ${{ matrix.python-version }}
31+
allow-prereleases: true
3132

3233
- name: Install neurodocker
3334
run: python -m pip install . mypy

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ classifiers = [
1313
"Operating System :: OS Independent",
1414
"Programming Language :: Python :: 3",
1515
"Programming Language :: Python :: 3 :: Only",
16-
"Programming Language :: Python :: 3.8",
1716
"Programming Language :: Python :: 3.9",
1817
"Programming Language :: Python :: 3.10",
1918
"Programming Language :: Python :: 3.11",
2019
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
2121
"Topic :: Software Development",
2222
"Topic :: Software Development :: Libraries :: Python Modules"
2323
]
@@ -36,7 +36,7 @@ license = {text = "Apache License, 2.0"}
3636
maintainers = [{name = "Jakub Kaczmarzyk", email = "jakub.kaczmarzyk@gmail.com"}]
3737
name = "neurodocker"
3838
readme = "README.md"
39-
requires-python = ">=3.8"
39+
requires-python = ">=3.9"
4040

4141
[project.optional-dependencies]
4242
all = ["neurodocker[minify,dev,doc]"]
@@ -68,7 +68,7 @@ Homepage = "https://www.repronim.org/neurodocker/"
6868

6969
[tool.black]
7070
line-length = 88
71-
target-version = ['py38']
71+
target-version = ['py39']
7272

7373
[tool.codespell]
7474
# didi -- some name Dear to someone

0 commit comments

Comments
 (0)