From 7c98a60d26bb06b854f82e020f2c403f03f9e03b Mon Sep 17 00:00:00 2001 From: Yakhyokhuja Valikhujaev Date: Wed, 24 Dec 2025 00:51:36 +0900 Subject: [PATCH] fix: Python 3.10 does not support tomlib (#43) --- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yml | 4 ++-- pyproject.toml | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad163b4..4912a0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.13"] + python-version: ["3.11", "3.13"] steps: - name: Checkout code diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a21c65a..2833d25 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" - name: Get version from tag and pyproject.toml id: get_version @@ -54,7 +54,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.13"] + python-version: ["3.11", "3.13"] steps: - name: Checkout code diff --git a/pyproject.toml b/pyproject.toml index fe7e013..f77d87a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ maintainers = [ { name = "Yakhyokhuja Valikhujaev", email = "yakhyo9696@gmail.com" }, ] -requires-python = ">=3.10,<3.14" +requires-python = ">=3.11,<3.14" keywords = [ "face-detection", "face-recognition", @@ -34,7 +34,6 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", @@ -73,7 +72,7 @@ uniface = ["py.typed"] [tool.ruff] line-length = 120 -target-version = "py310" +target-version = "py311" exclude = [ ".git", ".ruff_cache",