Skip to content

Commit 3c3cf7b

Browse files
Merge pull request #24 from kili-technology/claude/add-python-3.13-support-01CupUBnkzfQojWoF6KSGr1y
Add Python 3.13 Drop Python 3.9
2 parents 2a5f807 + 0d68a57 commit 3c3cf7b

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/checkout@v4
99
- uses: actions/setup-python@v5
1010
with:
11-
python-version: 3.9
11+
python-version: "3.10"
1212
cache: "pip"
1313
- uses: pre-commit/action@v3.0.1
1414

@@ -17,7 +17,7 @@ jobs:
1717
name: Pylint test
1818
strategy:
1919
matrix:
20-
python-version: ["3.9", "3.12"]
20+
python-version: ["3.10", "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.10", "3.13"]
4141
steps:
4242
- uses: actions/checkout@v4
4343
- uses: actions/setup-python@v5
@@ -58,11 +58,11 @@ jobs:
5858
matrix:
5959
include:
6060
- os: ubuntu-latest
61-
python-version: 3.9
61+
python-version: "3.10"
6262
- os: windows-latest
63-
python-version: 3.9
63+
python-version: "3.10"
6464
- os: ubuntu-latest
65-
python-version: 3.12
65+
python-version: "3.13"
6666
runs-on: ${{ matrix.os }}
6767
steps:
6868
- name: Checkout repo
@@ -90,7 +90,7 @@ jobs:
9090
- name: Set up Python
9191
uses: actions/setup-python@v5
9292
with:
93-
python-version: 3.9
93+
python-version: "3.10"
9494
cache: "pip"
9595

9696
- name: Install dependencies

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.8
18+
python-version: "3.10"
1919
cache: "pip"
2020

2121
- name: Install dependencies

pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[project]
22
name = "kili-formats"
3-
version = "0.2.10"
3+
version = "1.0.0"
44
description = ""
55
authors = [{ name = "Kili Technology", email = "contact@kili-technology.com" }]
66
license = { file = "LICENSE.txt" }
7-
requires-python = ">=3.8"
7+
requires-python = ">=3.10"
88
readme = "README.md"
99
dependencies = [
1010
"typing-extensions >= 4.1.0, < 5.0.0"
@@ -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"
@@ -62,11 +62,11 @@ exclude = '''
6262

6363
[tool.isort]
6464
profile = "black"
65-
py_version = 38
65+
py_version = 310
6666

6767
[tool.ruff]
6868
line-length = 100
69-
target-version = "py38"
69+
target-version = "py310"
7070
ignore = ["E501"]
7171

7272
[tool.ruff.pydocstyle]

0 commit comments

Comments
 (0)