Skip to content

Commit

Permalink
[MAINT] Drop python 3.8 and support 3.13 (#646)
Browse files Browse the repository at this point in the history
* drop python 3.8 and support 3.13

* support prerelease

* fix
  • Loading branch information
Remi-Gau authored Oct 8, 2024
1 parent fe4967f commit 040ab92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.12', '3.11', '3.10', '3.9', '3.8']
python-version: ['3.13', '3.12', '3.11', '3.10', '3.9']
fail-fast: false
steps:
- name: Install Apptainer
Expand All @@ -36,6 +36,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install neurodocker
run: python -m pip install --editable .[dev]
- name: Run python tests
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/type_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
python-version: ['3.12', '3.11', '3.10', '3.9', '3.8']
python-version: ['3.13', '3.12', '3.11', '3.10', '3.9']

steps:
- uses: actions/checkout@v4
Expand All @@ -28,6 +28,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Install neurodocker
run: python -m pip install . mypy
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules"
]
Expand All @@ -36,7 +36,7 @@ license = {text = "Apache License, 2.0"}
maintainers = [{name = "Jakub Kaczmarzyk", email = "[email protected]"}]
name = "neurodocker"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"

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

[tool.black]
line-length = 88
target-version = ['py38']
target-version = ['py39']

[tool.codespell]
# didi -- some name Dear to someone
Expand Down

0 comments on commit 040ab92

Please sign in to comment.