Skip to content

Commit 55f08d9

Browse files
committed
Add Python 3.13 support
- Add Python 3.13 to CI test matrix (pylint, pyright, unit-integration-test) - Update Pillow version constraint from <11.0.0 to <13.0.0 - Python 3.13 requires Pillow >= 11.0.0 (released October 2024)
1 parent 2a5f807 commit 55f08d9

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Pylint test
1818
strategy:
1919
matrix:
20-
python-version: ["3.9", "3.12"]
20+
python-version: ["3.9", "3.12", "3.13"]
2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: Set up Python ${{ matrix.python-version }}
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
strategy:
3939
matrix:
40-
version: ["3.9", "3.12"]
40+
version: ["3.9", "3.12", "3.13"]
4141
steps:
4242
- uses: actions/checkout@v4
4343
- uses: actions/setup-python@v5
@@ -63,6 +63,8 @@ jobs:
6363
python-version: 3.9
6464
- os: ubuntu-latest
6565
python-version: 3.12
66+
- os: ubuntu-latest
67+
python-version: 3.13
6668
runs-on: ${{ matrix.os }}
6769
steps:
6870
- name: Checkout repo

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ all = [
1919
"numpy >= 2, < 3",
2020
"shapely >= 1.8, < 3",
2121
# image
22-
"Pillow >=9.0.0, <11.0.0",
22+
"Pillow >=9.0.0, <13.0.0",
2323
# video
2424
"ffmpeg-python >= 0.2.0, < 0.3.0"
2525
]
@@ -34,7 +34,7 @@ dev = [
3434
# optional dependencies - coco
3535
"shapely >= 1.8, < 3",
3636
# optional dependencies - image
37-
"Pillow >=9.0.0, <11.0.0",
37+
"Pillow >=9.0.0, <13.0.0",
3838
# optional dependencies - video
3939
"ffmpeg-python >= 0.2.0, < 0.3.0"
4040
]
@@ -43,7 +43,7 @@ coco = [
4343
"shapely >= 1.8, < 3"
4444
]
4545
image = [
46-
"Pillow >=9.0.0, <11.0.0"
46+
"Pillow >=9.0.0, <13.0.0"
4747
]
4848
video = [
4949
"ffmpeg-python >= 0.2.0, < 0.3.0"

0 commit comments

Comments
 (0)