diff --git a/.github/workflows/_smoke-test.yml b/.github/workflows/_smoke-test.yml index 1a5d078c..f7beaf61 100644 --- a/.github/workflows/_smoke-test.yml +++ b/.github/workflows/_smoke-test.yml @@ -21,7 +21,7 @@ jobs: max-parallel: 2 matrix: python-version: - - "3.8" + - "3.10" - "3.14" runs-on: "ubuntu-22.04" steps: diff --git a/.github/workflows/_test-integrations.yml b/.github/workflows/_test-integrations.yml index e5c25981..11ba9b1a 100644 --- a/.github/workflows/_test-integrations.yml +++ b/.github/workflows/_test-integrations.yml @@ -17,7 +17,7 @@ jobs: - "ubuntu-22.04" - "windows-2022" python-version: - - "3.8" + - "3.10" - "3.14" runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/_test-regressions.yml b/.github/workflows/_test-regressions.yml index 91d7f904..f685ea9e 100644 --- a/.github/workflows/_test-regressions.yml +++ b/.github/workflows/_test-regressions.yml @@ -17,7 +17,7 @@ jobs: - "ubuntu-22.04" - "windows-2022" python-version: - - "3.8" + - "3.10" - "3.14" runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/_test-units.yml b/.github/workflows/_test-units.yml index 7e13748f..ac23cdc9 100644 --- a/.github/workflows/_test-units.yml +++ b/.github/workflows/_test-units.yml @@ -16,8 +16,6 @@ jobs: - "ubuntu-22.04" - "windows-2022" python-version: - - "3.8" - - "3.9" - "3.10" - "3.11" - "3.12" @@ -38,7 +36,7 @@ jobs: uses: actions/cache@v5 with: path: ~/.cache/pip - key: ${{ runner.os }}-test-${{ hashFiles('setup.cfg') }} + key: ${{ runner.os }}-test-${{ hashFiles('pyproject.toml') }} restore-keys: | ${{ runner.os }}-test- diff --git a/mindee/versions.py b/mindee/versions.py index 6a528858..ab996f10 100644 --- a/mindee/versions.py +++ b/mindee/versions.py @@ -1,6 +1,6 @@ import sys -__version__ = "4.36.1" +__version__ = "5.0.0a1" PYTHON_VERSION = f"{sys.version_info[0]}.{sys.version_info[1]}" diff --git a/pyproject.toml b/pyproject.toml index 3c1520c4..5f4ff6b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools >= 68.0.0", "wheel >= 0.40.0"] +requires = ["setuptools >= 77.0.3", "wheel >= 0.40.0"] build-backend = "setuptools.build_meta" [project] @@ -10,10 +10,10 @@ authors = [ dynamic = ["version"] description = "Mindee API helper library for Python" readme = "README.md" -license = {file = "LICENSE"} +license = "MIT" +license-files = ["LICENSE"] classifiers = [ "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -23,10 +23,9 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Topic :: Software Development :: Libraries", - "License :: OSI Approved :: MIT License", ] -requires-python = ">=3.8" +requires-python = ">=3.10" dependencies = [ "pypdfium2>=4.0,<4.30.1", @@ -82,7 +81,7 @@ version = {attr = "mindee.versions.__version__"} [tool.ruff] line-length = 88 indent-width = 4 -target-version = "py38" +target-version = "py310" [tool.ruff.format] quote-style = "double"