Skip to content

Commit f4fd100

Browse files
committed
Bump minimal version to Python3.9
1 parent d40e4ac commit f4fd100

File tree

14 files changed

+37
-28
lines changed

14 files changed

+37
-28
lines changed

.github/workflows/contrib-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626

2727
steps:
2828
- uses: actions/checkout@v2
29-
- name: Set up Python 3.8
29+
- name: Set up Python 3.9
3030
uses: actions/setup-python@v2
3131
with:
32-
python-version: 3.8
32+
python-version: 3.9
3333

3434
# Install pip
3535
- name: Install pip

.github/workflows/python-tests.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
python-version: ["3.8", "3.13"]
24+
python-version: ["3.9", "3.13"]
2525
test_name:
2626
[
2727
"Repository only",
@@ -30,18 +30,18 @@ jobs:
3030
"Xet only"
3131
]
3232
include:
33-
- python-version: "3.13" # LFS not ran on 3.8
33+
- python-version: "3.13" # LFS not ran on 3.9
3434
test_name: "lfs"
35-
- python-version: "3.8"
35+
- python-version: "3.9"
3636
test_name: "fastai"
3737
- python-version: "3.10" # fastai not supported on 3.12 and 3.11 -> test it on 3.10
3838
test_name: "fastai"
39-
- python-version: "3.8"
39+
- python-version: "3.9"
4040
test_name: "tensorflow"
4141
- python-version: "3.10" # tensorflow not supported on 3.12 -> test it on 3.10
4242
test_name: "tensorflow"
43-
- python-version: "3.8" # test torch~=1.11 on python 3.8 only.
44-
test_name: "Python 3.8, torch_1.11"
43+
- python-version: "3.9" # test torch~=1.11 on python 3.9 only.
44+
test_name: "Python 3.9, torch_1.11"
4545
- python-version: "3.12" # test torch latest on python 3.12 only.
4646
test_name: "torch_latest"
4747
steps:
@@ -84,7 +84,7 @@ jobs:
8484
uv pip install --upgrade torch
8585
;;
8686
87-
"Python 3.8, torch_1.11")
87+
"Python 3.9, torch_1.11")
8888
uv pip install "huggingface_hub[torch] @ ."
8989
uv pip install torch~=1.11
9090
;;
@@ -147,7 +147,7 @@ jobs:
147147
eval "$PYTEST ../tests/test_serialization.py"
148148
;;
149149
150-
"Python 3.8, torch_1.11" | torch_latest)
150+
"Python 3.9, torch_1.11" | torch_latest)
151151
eval "$PYTEST ../tests/test_hub_mixin*"
152152
eval "$PYTEST ../tests/test_serialization.py"
153153
;;
@@ -178,7 +178,7 @@ jobs:
178178
strategy:
179179
fail-fast: false
180180
matrix:
181-
python-version: ["3.8", "3.11"]
181+
python-version: ["3.9", "3.11"]
182182
test_name: ["Everything else", "Xet only"]
183183

184184
steps:

.github/workflows/release-conda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
auto-update-conda: true
2828
auto-activate-base: false
29-
python-version: 3.8
29+
python-version: 3.9
3030
activate-environment: "build-hub"
3131

3232
- name: Setup conda env

docs/source/cn/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rendered properly in your Markdown viewer.
66

77
在开始之前,您需要通过安装适当的软件包来设置您的环境
88

9-
huggingface_hub 在 Python 3.8 或更高版本上进行了测试,可以保证在这些版本上正常运行。如果您使用的是 Python 3.7 或更低版本,可能会出现兼容性问题
9+
huggingface_hub 在 Python 3.9 或更高版本上进行了测试,可以保证在这些版本上正常运行。如果您使用的是 Python 3.7 或更低版本,可能会出现兼容性问题
1010

1111
## 使用 pip 安装
1212

docs/source/de/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rendered properly in your Markdown viewer.
66

77
Bevor Sie beginnen, müssen Sie Ihre Umgebung vorbereiten, indem Sie die entsprechenden Pakete installieren.
88

9-
`huggingface_hub` wurde für **Python 3.8+** getestet.
9+
`huggingface_hub` wurde für **Python 3.9+** getestet.
1010

1111
## Installation mit pip
1212

docs/source/en/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rendered properly in your Markdown viewer.
66

77
Before you start, you will need to setup your environment by installing the appropriate packages.
88

9-
`huggingface_hub` is tested on **Python 3.8+**.
9+
`huggingface_hub` is tested on **Python 3.9+**.
1010

1111
## Install with pip
1212

docs/source/fr/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rendered properly in your Markdown viewer.
77
Avant de commencer, vous allez avoir besoin de préparer votre environnement
88
en installant les packages appropriés.
99

10-
`huggingface_hub` est testée sur **Python 3.8+**.
10+
`huggingface_hub` est testée sur **Python 3.9+**.
1111

1212
## Installation avec pip
1313

docs/source/hi/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rendered properly in your Markdown viewer.
66

77
आरंभ करने से पहले, आपको उपयुक्त पैकेज स्थापित करके अपना परिवेश सेटअप करना होगा।
88

9-
`huggingface_hub` का परीक्षण **Python 3.8+** पर किया गया है।
9+
`huggingface_hub` का परीक्षण **Python 3.9+** पर किया गया है।
1010

1111
## पिप के साथ स्थापित करें
1212

docs/source/ko/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rendered properly in your Markdown viewer.
66

77
시작하기 전에 적절한 패키지를 설치하여 환경을 설정해야 합니다.
88

9-
`huggingface_hub`**Python 3.8+**에서 테스트되었습니다.
9+
`huggingface_hub`**Python 3.9+**에서 테스트되었습니다.
1010

1111
## pip로 설치하기 [[install-with-pip]]
1212

docs/source/tm/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
நீங்கள் தொடங்குவதற்கு முன், தகுந்த தொகுப்புகளை நிறுவுவதன் மூலம் உங்கள் சூழலை அமைக்க வேண்டும்.
44

5-
`huggingface_hub` **Python 3.8+** மின்பொருள்களில் சோதிக்கப்பட்டுள்ளது.
5+
`huggingface_hub` **Python 3.9+** மின்பொருள்களில் சோதிக்கப்பட்டுள்ளது.
66

77
### பிப் மூலம் நிறுவு
88

0 commit comments

Comments
 (0)