Update metadata as Python3.7 and Python3.8 support was dropped (#1724)

* Update metadata as python3.7 and python3.8 support was dropped

* Format pyproject.toml: unify quotes and indentation
This commit is contained in:
Nighthawk
2025-02-11 17:52:59 +08:00
committed by GitHub
parent c45aebd102
commit fbe3365a13

View File

@ -1,9 +1,9 @@
[project] [project]
name = 'tokenizers' name = "tokenizers"
requires-python = '>=3.9' requires-python = ">=3.9"
authors = [ authors = [
{ name = 'Nicolas Patry', email = 'patry.nicolas@protonmail.com' }, { name = "Nicolas Patry", email = "patry.nicolas@protonmail.com" },
{ name = 'Anthony Moi', email = 'anthony@huggingface.co' }, { name = "Anthony Moi", email = "anthony@huggingface.co" },
] ]
classifiers = [ classifiers = [
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
@ -13,20 +13,21 @@ classifiers = [
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Artificial Intelligence",
] ]
keywords = ["NLP", "tokenizer", "BPE", "transformer", "deep learning"] keywords = ["NLP", "tokenizer", "BPE", "transformer", "deep learning"]
dynamic = ['description', 'license', 'readme', 'version'] dynamic = ["description", "license", "readme", "version"]
dependencies = ["huggingface_hub>=0.16.4,<1.0"] dependencies = ["huggingface_hub>=0.16.4,<1.0"]
[project.urls] [project.urls]
Homepage = 'https://github.com/huggingface/tokenizers' Homepage = "https://github.com/huggingface/tokenizers"
Source = 'https://github.com/huggingface/tokenizers' Source = "https://github.com/huggingface/tokenizers"
[project.optional-dependencies] [project.optional-dependencies]
@ -42,12 +43,12 @@ build-backend = "maturin"
[tool.maturin] [tool.maturin]
python-source = "py_src" python-source = "py_src"
module-name = "tokenizers.tokenizers" module-name = "tokenizers.tokenizers"
bindings = 'pyo3' bindings = "pyo3"
features = ["pyo3/extension-module"] features = ["pyo3/extension-module"]
[tool.black] [tool.black]
line-length = 119 line-length = 119
target-version = ['py35'] target-version = ["py35"]
[tool.ruff] [tool.ruff]
line-length = 119 line-length = 119