Skip to content

Commit fbe3365

Browse files
authored
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
1 parent c45aebd commit fbe3365

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

bindings/python/pyproject.toml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[project]
2-
name = 'tokenizers'
3-
requires-python = '>=3.9'
2+
name = "tokenizers"
3+
requires-python = ">=3.9"
44
authors = [
5-
{ name = 'Nicolas Patry', email = '[email protected]' },
6-
{ name = 'Anthony Moi', email = '[email protected]' },
5+
{ name = "Nicolas Patry", email = "[email protected]" },
6+
{ name = "Anthony Moi", email = "[email protected]" },
77
]
88
classifiers = [
99
"Development Status :: 5 - Production/Stable",
@@ -13,20 +13,21 @@ classifiers = [
1313
"License :: OSI Approved :: Apache Software License",
1414
"Operating System :: OS Independent",
1515
"Programming Language :: Python :: 3",
16-
"Programming Language :: Python :: 3.7",
17-
"Programming Language :: Python :: 3.8",
1816
"Programming Language :: Python :: 3.9",
1917
"Programming Language :: Python :: 3.10",
2018
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
21+
"Programming Language :: Python :: 3 :: Only",
2122
"Topic :: Scientific/Engineering :: Artificial Intelligence",
2223
]
2324
keywords = ["NLP", "tokenizer", "BPE", "transformer", "deep learning"]
24-
dynamic = ['description', 'license', 'readme', 'version']
25+
dynamic = ["description", "license", "readme", "version"]
2526
dependencies = ["huggingface_hub>=0.16.4,<1.0"]
2627

2728
[project.urls]
28-
Homepage = 'https://github.com/huggingface/tokenizers'
29-
Source = 'https://github.com/huggingface/tokenizers'
29+
Homepage = "https://github.com/huggingface/tokenizers"
30+
Source = "https://github.com/huggingface/tokenizers"
3031

3132

3233
[project.optional-dependencies]
@@ -42,12 +43,12 @@ build-backend = "maturin"
4243
[tool.maturin]
4344
python-source = "py_src"
4445
module-name = "tokenizers.tokenizers"
45-
bindings = 'pyo3'
46+
bindings = "pyo3"
4647
features = ["pyo3/extension-module"]
4748

4849
[tool.black]
4950
line-length = 119
50-
target-version = ['py35']
51+
target-version = ["py35"]
5152

5253
[tool.ruff]
5354
line-length = 119

0 commit comments

Comments
 (0)