manage-dependencies

#923
by alozowski HF staff - opened
Files changed (2) hide show
  1. pyproject.toml +32 -39
  2. requirements.txt +12 -18
pyproject.toml CHANGED
@@ -1,3 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  [tool.ruff]
2
  line-length = 120
3
  target-version = "py312"
@@ -6,51 +34,16 @@ ignore=["I","EM","FBT","TRY003","S101","D101","D102","D103","D104","D105","G004"
6
  fixable=["ALL"]
7
  select=["ALL"]
8
 
9
- [tool.ruff.lint]
10
  select = ["E", "F"]
11
  fixable = ["ALL"]
12
  ignore = ["E501"] # line too long (black is taking care of this)
13
 
14
- [tool.isort]
15
  profile = "black"
16
- line_length = 119
17
 
18
  [tool.black]
19
  line-length = 119
20
 
21
- [tool.poetry]
22
- package-mode = false
23
- name = "open-llm-leaderboard"
24
- version = "0.1.0"
25
- description = ""
26
- authors = []
27
- readme = "README.md"
28
-
29
- [tool.poetry.dependencies]
30
- python = "3.12.1"
31
- apscheduler = "3.10.1"
32
- black = "23.11.0"
33
- click = "8.1.3"
34
- datasets = "2.14.5"
35
- huggingface-hub = ">=0.18.0"
36
- matplotlib = "3.8.4"
37
- numpy = "1.26.0"
38
- pandas = "2.2.2"
39
- plotly = "5.14.1"
40
- python-dateutil = "2.8.2"
41
- sentencepiece = "^0.2.0"
42
- tqdm = "4.65.0"
43
- transformers = "^4.44.2"
44
- tokenizers = ">=0.15.0"
45
- gradio-space-ci = {git = "https://huggingface.co/spaces/Wauplin/gradio-space-ci", rev = "0.2.3"}
46
- isort = "^5.13.2"
47
- ruff = "^0.3.5"
48
- gradio-leaderboard = "0.0.11"
49
- gradio = {extras = ["oauth"], version = "^4.43.0"}
50
- requests = "^2.31.0"
51
- requests-oauthlib = "^1.3.1"
52
- schedule = "^1.2.2"
53
-
54
- [build-system]
55
- requires = ["poetry-core"]
56
- build-backend = "poetry.core.masonry.api"
 
1
+ [project]
2
+ name = "open-llm-leaderboard"
3
+ version = "2.0"
4
+ description = ""
5
+ authors = []
6
+ readme = "README.md"
7
+ requires-python = "==3.12.1"
8
+
9
+ dependencies = [
10
+ "apscheduler>=3.10.4",
11
+ "black>=24.8.0",
12
+ "click>=8.1.7",
13
+ "datasets>=3.0.0",
14
+ "huggingface-hub>=0.24.6",
15
+ "pandas>=2.2.2",
16
+ "python-dateutil>=2.9.0",
17
+ "sentencepiece>=0.2.0",
18
+ "transformers==4.44.2",
19
+ "tokenizers>=0.19.0",
20
+ "gradio-space-ci @ git+https://huggingface.co/spaces/Wauplin/gradio-space-ci@0.2.3",
21
+ "isort>=5.13.2",
22
+ "ruff>=0.6.4",
23
+ "gradio-leaderboard==0.0.11",
24
+ "gradio[oauth]==4.44.0",
25
+ "schedule>=1.2.2",
26
+ "pigar>=2.1.6",
27
+ ]
28
+
29
  [tool.ruff]
30
  line-length = 120
31
  target-version = "py312"
 
34
  fixable=["ALL"]
35
  select=["ALL"]
36
 
37
+ [tool.ruff.lint]
38
  select = ["E", "F"]
39
  fixable = ["ALL"]
40
  ignore = ["E501"] # line too long (black is taking care of this)
41
 
42
+ [tool.isort]
43
  profile = "black"
 
44
 
45
  [tool.black]
46
  line-length = 119
47
 
48
+ [tool.hatch.metadata]
49
+ allow-direct-references = true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
requirements.txt CHANGED
@@ -1,23 +1,17 @@
1
- APScheduler==3.10.1
2
- black==23.11.0
3
- click==8.1.3
4
- datasets==2.14.5
5
- huggingface-hub>=0.18.0
6
- matplotlib==3.8.4
7
- numpy==1.26.0
8
  pandas==2.2.2
9
- plotly==5.14.1
10
- python-dateutil==2.8.2
11
- sentencepiece
12
- tqdm==4.65.0
13
  transformers==4.44.2
14
- tokenizers>=0.15.0
15
  gradio-space-ci @ git+https://huggingface.co/spaces/Wauplin/gradio-space-ci@0.2.3 # CI !!!
16
- isort
17
- ruff
18
- gradio==4.43.0
19
  gradio[oauth]
20
  gradio_leaderboard==0.0.11
21
- requests==2.31.0
22
- requests-oauthlib== 1.3.1
23
- schedule == 1.2.2
 
1
+ APScheduler==3.10.4
2
+ black==24.8.0
3
+ click==8.1.7
4
+ datasets==3.0.0
5
+ huggingface-hub>=0.24.6
 
 
6
  pandas==2.2.2
7
+ python-dateutil==2.9.0
8
+ sentencepiece==0.2.0
 
 
9
  transformers==4.44.2
10
+ tokenizers>=0.19.0
11
  gradio-space-ci @ git+https://huggingface.co/spaces/Wauplin/gradio-space-ci@0.2.3 # CI !!!
12
+ isort==5.13.2
13
+ ruff===0.6.4
14
+ gradio==4.44.0
15
  gradio[oauth]
16
  gradio_leaderboard==0.0.11
17
+ schedule == 1.2.2