Skip to content

Commit 94fc6a4

Browse files
⬆️ bump minimum python version to 3.10
1 parent 782148f commit 94fc6a4

6 files changed

Lines changed: 9 additions & 10 deletions

File tree

.github/workflows/_smoke-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
max-parallel: 2
2222
matrix:
2323
python-version:
24-
- "3.8"
24+
- "3.10"
2525
- "3.14"
2626
runs-on: "ubuntu-22.04"
2727
steps:

.github/workflows/_test-integrations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- "ubuntu-22.04"
1818
- "windows-2022"
1919
python-version:
20-
- "3.8"
20+
- "3.10"
2121
- "3.14"
2222
runs-on: ${{ matrix.os }}
2323
steps:

.github/workflows/_test-regressions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- "ubuntu-22.04"
1818
- "windows-2022"
1919
python-version:
20-
- "3.8"
20+
- "3.10"
2121
- "3.14"
2222
runs-on: ${{ matrix.os }}
2323
steps:

.github/workflows/_test-units.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616
- "ubuntu-22.04"
1717
- "windows-2022"
1818
python-version:
19-
- "3.8"
20-
- "3.9"
2119
- "3.10"
2220
- "3.11"
2321
- "3.12"
@@ -38,7 +36,7 @@ jobs:
3836
uses: actions/cache@v5
3937
with:
4038
path: ~/.cache/pip
41-
key: ${{ runner.os }}-test-${{ hashFiles('setup.cfg') }}
39+
key: ${{ runner.os }}-test-${{ hashFiles('pyproject.toml') }}
4240
restore-keys: |
4341
${{ runner.os }}-test-
4442

mindee/versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import sys
22

3-
__version__ = "4.36.1"
3+
__version__ = "5.0.0a1"
44

55
PYTHON_VERSION = f"{sys.version_info[0]}.{sys.version_info[1]}"
66

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ authors = [
1010
dynamic = ["version"]
1111
description = "Mindee API helper library for Python"
1212
readme = "README.md"
13-
license = {file = "LICENSE"}
13+
license = "MIT"
14+
license-files = ["LICENSE"]
1415
classifiers = [
1516
"Programming Language :: Python :: 3",
1617
"Programming Language :: Python :: 3.9",
@@ -26,7 +27,7 @@ classifiers = [
2627
"License :: OSI Approved :: MIT License",
2728
]
2829

29-
requires-python = ">=3.8"
30+
requires-python = ">=3.10"
3031

3132
dependencies = [
3233
"pypdfium2>=4.0,<4.30.1",
@@ -82,7 +83,7 @@ version = {attr = "mindee.versions.__version__"}
8283
[tool.ruff]
8384
line-length = 88
8485
indent-width = 4
85-
target-version = "py38"
86+
target-version = "py310"
8687

8788
[tool.ruff.format]
8889
quote-style = "double"

0 commit comments

Comments
 (0)