clefourrier HF staff alozowski HF staff commited on
Commit
b202e95
1 Parent(s): 77a8008

python-upgrade (#683)

Browse files

- updated python to 3.12.1 (d1e0a09203e0f3ca9ed9b9b19dda58e5f3671500)


Co-authored-by: Alina Lozovskaya <[email protected]>

Files changed (3) hide show
  1. pyproject.toml +4 -4
  2. requirements.txt +4 -4
  3. src/display/utils.py +1 -1
pyproject.toml CHANGED
@@ -21,15 +21,15 @@ authors = []
21
  readme = "README.md"
22
 
23
  [tool.poetry.dependencies]
24
- python = "3.10.0"
25
  apscheduler = "3.10.1"
26
  black = "23.11.0"
27
  click = "8.1.3"
28
  datasets = "2.14.5"
29
  huggingface-hub = ">=0.18.0"
30
- matplotlib = "3.7.1"
31
- numpy = "1.24.2"
32
- pandas = "2.0.0"
33
  plotly = "5.14.1"
34
  python-dateutil = "2.8.2"
35
  requests = "2.28.2"
 
21
  readme = "README.md"
22
 
23
  [tool.poetry.dependencies]
24
+ python = "3.12.1"
25
  apscheduler = "3.10.1"
26
  black = "23.11.0"
27
  click = "8.1.3"
28
  datasets = "2.14.5"
29
  huggingface-hub = ">=0.18.0"
30
+ matplotlib = "3.8.4"
31
+ numpy = "1.26.0"
32
+ pandas = "2.2.2"
33
  plotly = "5.14.1"
34
  python-dateutil = "2.8.2"
35
  requests = "2.28.2"
requirements.txt CHANGED
@@ -3,9 +3,9 @@ black==23.11.0
3
  click==8.1.3
4
  datasets==2.14.5
5
  huggingface-hub>=0.18.0
6
- matplotlib==3.7.1
7
- numpy==1.24.2
8
- pandas==2.0.0
9
  plotly==5.14.1
10
  python-dateutil==2.8.2
11
  requests==2.28.2
@@ -13,4 +13,4 @@ sentencepiece
13
  tqdm==4.65.0
14
  transformers==4.40.0
15
  tokenizers>=0.15.0
16
- gradio-space-ci @ git+https://huggingface.co/spaces/Wauplin/[email protected] # CI !!!
 
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
  requests==2.28.2
 
13
  tqdm==4.65.0
14
  transformers==4.40.0
15
  tokenizers>=0.15.0
16
+ gradio-space-ci @ git+https://huggingface.co/spaces/Wauplin/[email protected] # CI !!!
src/display/utils.py CHANGED
@@ -37,7 +37,7 @@ class Tasks(Enum):
37
  # These classes are for user facing column names,
38
  # to avoid having to change them all around the code
39
  # when a modif is needed
40
- @dataclass
41
  class ColumnContent:
42
  name: str
43
  type: str
 
37
  # These classes are for user facing column names,
38
  # to avoid having to change them all around the code
39
  # when a modif is needed
40
+ @dataclass(frozen=True)
41
  class ColumnContent:
42
  name: str
43
  type: str