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.

chore: drop Python 3.10 support, bump scikit-image to >=0.26.0 (#96)

Yakhyokhuja Valikhujaev7d37633b1ad8
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7143d02..d0801f2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
- python-version: "3.10"
+ python-version: "3.11"
- uses: pre-commit/[email protected]
test:
@@ -34,7 +34,7 @@ jobs:
include:
# Full Python range on Linux (fastest runner)
- os: ubuntu-latest
- python-version: "3.10"
+ python-version: "3.11"
- os: ubuntu-latest
python-version: "3.13"
- os: ubuntu-latest
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 4755e3b..7f95393 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -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
@@ -92,7 +92,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
- python-version: "3.10"
+ python-version: "3.11"
cache: 'pip'
- name: Install build tools
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f964fdd..68f7131 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file.
+## [3.1.1] - 2026-03-19
+
+- Drop Python 3.10 support; minimum is now Python 3.11 ([#95](https://github.com/yakhyo/uniface/pull/95))
+- Bump `scikit-image` to `>=0.26.0` and use `SimilarityTransform.from_estimate()` ([#95](https://github.com/yakhyo/uniface/pull/95))
+- Add Python 3.14 support ([#95](https://github.com/yakhyo/uniface/pull/95))
+
## [3.1.0] - 2026-03-11
- Add FAISS vector database for fast face search ([#86](https://github.com/yakhyo/uniface/pull/86))
@@ -48,6 +54,7 @@ All notable changes to this project will be documented in this file.
- SHA-256 weight verification
- Pure ONNX Runtime inference
+[3.1.1]: https://github.com/yakhyo/uniface/compare/v3.1.0...v3.1.1
[3.1.0]: https://github.com/yakhyo/uniface/compare/v3.0.0...v3.1.0
[3.0.0]: https://github.com/yakhyo/uniface/compare/v2.3.0...v3.0.0
[2.3.0]: https://github.com/yakhyo/uniface/compare/v2.2.1...v2.3.0
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 94e3bde..d0746c0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -59,12 +59,12 @@ This project uses [Ruff](https://docs.astral.sh/ruff/) for linting and formattin
#### General Rules
- **Line length:** 120 characters maximum
-- **Python version:** 3.10+ (use modern syntax)
+- **Python version:** 3.11+ (use modern syntax)
- **Quote style:** Single quotes for strings, double quotes for docstrings
#### Type Hints
-Use modern Python 3.10+ type hints (PEP 585 and PEP 604):
+Use modern Python 3.11+ type hints (PEP 585 and PEP 604):
```python
# Preferred (modern)
diff --git a/README.md b/README.md
index da4259b..1ab2a7b 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
<div align="center">
[![PyPI Version](https://img.shields.io/pypi/v/uniface.svg?label=Version)](https://pypi.org/project/uniface/)
-[![Python Version](https://img.shields.io/badge/Python-3.10%2B-blue)](https://www.python.org/)
+[![Python Version](https://img.shields.io/badge/Python-3.11%2B-blue)](https://www.python.org/)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Github Build Status](https://github.com/yakhyo/uniface/actions/workflows/ci.yml/badge.svg)](https://github.com/yakhyo/uniface/actions)
[![PyPI Downloads](https://static.pepy.tech/personalized-badge/uniface?period=total&units=INTERNATIONAL_SYSTEM&left_color=GRAY&right_color=BLUE&left_text=Downloads)](https://pepy.tech/projects/uniface)
diff --git a/docs/contributing.md b/docs/contributing.md
index 642509b..f4900a7 100644
--- a/docs/contributing.md
+++ b/docs/contributing.md
@@ -32,7 +32,7 @@ ruff check . --fix
**Guidelines:**
- Line length: 120
-- Python 3.10+ type hints
+- Python 3.11+ type hints
- Google-style docstrings
---
diff --git a/docs/index.md b/docs/index.md
index d47f8be..b3db832 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -13,7 +13,7 @@ template: home.html
<p class="hero-subtitle">All-in-One Open-Source Face Analysis Library</p>
[![PyPI Version](https://img.shields.io/pypi/v/uniface.svg?label=Version)](https://pypi.org/project/uniface/)
-[![Python Version](https://img.shields.io/badge/Python-3.10%2B-blue)](https://www.python.org/)
+[![Python Version](https://img.shields.io/badge/Python-3.11%2B-blue)](https://www.python.org/)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Github Build Status](https://github.com/yakhyo/uniface/actions/workflows/ci.yml/badge.svg)](https://github.com/yakhyo/uniface/actions)
[![PyPI Downloads](https://static.pepy.tech/personalized-badge/uniface?period=total&units=INTERNATIONAL_SYSTEM&left_color=GRAY&right_color=BLUE&left_text=Downloads)](https://pepy.tech/projects/uniface)
diff --git a/docs/installation.md b/docs/installation.md
index 477d586..57a730c 100644
--- a/docs/installation.md
+++ b/docs/installation.md
@@ -6,7 +6,7 @@ This guide covers all installation options for UniFace.
## Requirements
-- **Python**: 3.10 or higher
+- **Python**: 3.11 or higher
- **Operating Systems**: macOS, Linux, Windows
---
@@ -159,11 +159,11 @@ print("Installation successful!")
### Import Errors
-If you encounter import errors, ensure you're using Python 3.10+:
+If you encounter import errors, ensure you're using Python 3.11+:
```bash
python --version
-# Should show: Python 3.10.x or higher
+# Should show: Python 3.11.x or higher
```
### Model Download Issues
diff --git a/pyproject.toml b/pyproject.toml
index d4f2bff..5edb780 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "uniface"
-version = "3.1.0"
+version = "3.1.1"
description = "UniFace: A Comprehensive Library for Face Detection, Recognition, Tracking, Landmark Analysis, Face Parsing, Gaze Estimation, Age, and Gender Detection"
readme = "README.md"
license = "MIT"
@@ -9,7 +9,7 @@ maintainers = [
{ name = "Yakhyokhuja Valikhujaev", email = "[email protected]" },
]
-requires-python = ">=3.10,<3.15"
+requires-python = ">=3.11,<3.15"
keywords = [
"face-detection",
"face-recognition",
@@ -34,7 +34,6 @@ classifiers = [
"Intended Audience :: Science/Research",
"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",
@@ -45,7 +44,7 @@ dependencies = [
"numpy>=1.21.0",
"opencv-python>=4.5.0",
"onnxruntime>=1.16.0",
- "scikit-image>=0.19.0",
+ "scikit-image>=0.26.0",
"scipy>=1.7.0",
"requests>=2.28.0",
"tqdm>=4.64.0",
@@ -74,7 +73,7 @@ uniface = ["py.typed"]
[tool.ruff]
line-length = 120
-target-version = "py310"
+target-version = "py311"
exclude = [
".git",
".ruff_cache",
diff --git a/requirements.txt b/requirements.txt
index 33d4223..95070e8 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,7 +1,7 @@
numpy>=1.21.0
opencv-python>=4.5.0
onnxruntime>=1.16.0
-scikit-image>=0.19.0
+scikit-image>=0.26.0
scipy>=1.7.0
requests>=2.28.0
tqdm>=4.64.0
diff --git a/uniface/__init__.py b/uniface/__init__.py
index bc3592d..cba2b4d 100644
--- a/uniface/__init__.py
+++ b/uniface/__init__.py
@@ -29,7 +29,7 @@ from __future__ import annotations
__license__ = 'MIT'
__author__ = 'Yakhyokhuja Valikhujaev'
-__version__ = '3.1.0'
+__version__ = '3.1.1'
import contextlib