Skip to content

Commit 7b8ee8d

Browse files
committed
upd
1 parent 071b38f commit 7b8ee8d

File tree

1 file changed

+37
-38
lines changed

1 file changed

+37
-38
lines changed

pyproject.toml

Lines changed: 37 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
[tool.poetry]
1+
[project]
22
name = "autointent"
33
version = "0.0.1"
44
description = "A tool for automatically configuring a text classification pipeline for intent prediction."
5-
authors = ["Alexeev Ilya <[email protected]>", "Kuznetsov Denis <[email protected]>"]
5+
license = { text = "Apache 2.0" }
6+
authors = [
7+
{ name = "Alexeev Ilya", email = "[email protected]" },
8+
{ name = "Kuznetsov Denis", email = "[email protected]" },
9+
]
610
maintainers = [
7-
"Alexeev Ilya <[email protected]>",
8-
"Solomatin Roman <[email protected]>",
9-
"Sergeenko Egor <[email protected]>",
11+
{ name = "Alexeev Ilya", email = "[email protected]" },
12+
{ name = "Solomatin Roman", email = "[email protected]" },
13+
{ name = "Sergeenko Egor", email = "[email protected]" },
1014
]
1115
readme = "README.md"
12-
homepage = "https://deeppavlov.github.io/AutoIntent/"
13-
repository = "https://github.com/deeppavlov/AutoIntent"
14-
documentation = "https://deeppavlov.github.io/AutoIntent/"
1516
keywords = ["nlp", "dialog-systems", "transformers", "auto-ml"]
1617
classifiers=[
1718
'Development Status :: 4 - Beta',
@@ -29,25 +30,34 @@ classifiers=[
2930
'Framework :: Sphinx',
3031
'Typing :: Typed',
3132
]
33+
requires-python = ">=3.10,<=4.0"
34+
dependencies = [
35+
"sentence-transformers (>=3,<4)",
36+
"scikit-learn (>=1.5,<2.0)",
37+
"scikit-multilearn (==0.2.0)",
38+
"appdirs (>=1.4,<2.0)",
39+
"sre-yield (>=1.2,<2.0)",
40+
"optuna (>=4.0.0,<5.0.0)",
41+
"xeger (>=0.4.0,<0.5.0)",
42+
"pathlib (>=1.0.1,<2.0.0)",
43+
"pydantic (>=2.10.5,<3.0.0)",
44+
"faiss-cpu (>=1.9.0,<2.0.0)",
45+
"openai (>=1.59.6,<2.0.0)",
46+
"datasets (>=3.2.0,<4.0.0)",
47+
"xxhash (>=3.5.0,<4.0.0)",
48+
"hydra-core (>=1.3.2,<2.0.0)"
49+
]
3250

51+
[project.urls]
52+
Homepage = "https://deeppavlov.github.io/AutoIntent/"
53+
Repository = "https://github.com/deeppavlov/AutoIntent"
54+
Documentation = "https://deeppavlov.github.io/AutoIntent/"
55+
56+
[project.scripts]
57+
"autointent" = "autointent._pipeline._cli_endpoint:optimize"
58+
"autointent-inference" = "autointent.pipeline.inference.cli_endpoint:main"
59+
"clear-cache" = "autointent.context.vector_index_client.cache:clear_chroma_cache"
3360

34-
[tool.poetry.dependencies]
35-
python = "^3.10"
36-
sentence-transformers = "3.0.1"
37-
scikit-learn = "1.5.1"
38-
scikit-multilearn = "0.2.0"
39-
appdirs = "^1.4.4"
40-
sre-yield = "^1.2"
41-
optuna = "^4.0.0"
42-
xeger = "^0.4.0"
43-
pathlib = "^1.0.1"
44-
pydantic = "^2.9.2"
45-
hydra-core = "^1.3.2"
46-
faiss-cpu = "^1.9.0"
47-
openai = "^1.52.1"
48-
datasets = "^3.1.0"
49-
ruff = "==0.8.4"
50-
xxhash = "^3.5.0"
5161

5262
[tool.poetry.group.dev]
5363
optional = true
@@ -56,7 +66,7 @@ optional = true
5666
tach = "^0.11.3"
5767
ipykernel = "^6.29.5"
5868
ipywidgets = "^8.1.5"
59-
ruff = "^0.8.0"
69+
ruff = "==0.8.4"
6070

6171
[tool.poetry.group.test]
6272
optional = true
@@ -67,12 +77,6 @@ pytest-cov = "^5.0.0"
6777
coverage = "^7.6.1"
6878
pytest-asyncio = "^0.24.0"
6979

70-
[tool.poetry.group.lint]
71-
optional = true
72-
73-
[tool.poetry.group.lint.dependencies]
74-
ruff = "^0.8.0"
75-
7680
[tool.poetry.group.typing]
7781
optional = true
7882

@@ -98,11 +102,6 @@ ipykernel = "^6.29.5"
98102
tensorboardx = "^2.6.2.2"
99103
sphinx-multiversion = "^0.2.4"
100104

101-
[tool.poetry.scripts]
102-
"autointent" = "autointent._pipeline._cli_endpoint:optimize"
103-
"autointent-inference" = "autointent.pipeline.inference.cli_endpoint:main"
104-
"clear-cache" = "autointent.context.vector_index_client.cache:clear_chroma_cache"
105-
106105
[tool.ruff]
107106
line-length = 120
108107
indent-width = 4
@@ -138,7 +137,7 @@ max-args = 10
138137
convention = "pep257"
139138

140139
[build-system]
141-
requires = ["poetry-core"]
140+
requires = ["poetry-core>=2.0"]
142141
build-backend = "poetry.core.masonry.api"
143142

144143
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)