Skip to content

UniFace: A Unified Face Analysis Library for Python | Detection, alignment, landmarks, face-mesh, recognition, parsing, gaze, attributes and anti-spoofing under one API.

fix: Python 3.10 does not support tomlib (#43)

Yakhyokhuja Valikhujaev7c98a60d26bb
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 = "[email protected]" },
]
-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",