Skip to content

Commit

Permalink
Update supported python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn committed Oct 15, 2024
1 parent 6d45a8c commit 9aef0d9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- published

env:
MINIMUM_PYTHON_VERSION: '3.8'
MINIMUM_PYTHON_VERSION: '3.9'

concurrency:
group: ${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
hooks:
- id: pyupgrade
language: python
args: [--py38-plus]
args: [--py39-plus]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
**NOT FOR CLINICAL USE**

Conversion of medical images to MHA and TIFF.
Requires Python 3.8, 3.9, 3.10 or 3.11.
Requires Python 3.9, 3.10, 3.11, 3.12 or 3.13.
`libvips-dev` and `libopenslide-dev` must be installed on your system.

Under the hood we use:
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ classifiers = [
panimg = "panimg.cli:cli"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"
pydantic = ">=2"
numpy = ">=1.22"
# Exclude 2.1.1.1 due to
Expand Down Expand Up @@ -68,14 +68,15 @@ addopts = "--strict-markers --showlocals -n auto --dist loadscope"
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py38, py39, py310, py311
envlist = py39, py310, py311, py312, py313
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
allowlist_externals = poetry
Expand Down

0 comments on commit 9aef0d9

Please sign in to comment.