Python 3.9 reached end-of-life and the codebase uses PEP 604 union type syntax (str | None) which requires Python 3.10+. Changes: - Remove Python 3.9 from CI build matrix - Update requires-python to >=3.10 in all pyproject.toml files - Update classifiers to reflect supported Python versions (3.10-3.13)
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "leann"
|
|
version = "0.3.5"
|
|
description = "LEANN - The smallest vector index in the world. RAG Everything with LEANN!"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT" }
|
|
authors = [
|
|
{ name = "LEANN Team" }
|
|
]
|
|
keywords = ["vector-database", "rag", "embeddings", "search", "ai"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
]
|
|
|
|
# Default installation: core + hnsw + diskann
|
|
dependencies = [
|
|
"leann-core>=0.1.0",
|
|
"leann-backend-hnsw>=0.1.0",
|
|
"leann-backend-diskann>=0.1.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
# All backends now included by default
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/yichuan-w/LEANN"
|
|
Issues = "https://github.com/yichuan-w/LEANN/issues"
|