Skip to content

Commit f6f2664

Browse files
author
Hugging Face Bot (Xet RC Testing)
committed
Test hfh 1.2.1rc0
1 parent 781a5ac commit f6f2664

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.github/workflows/python-prerelease.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ jobs:
7878
git add src/diffusers/dependency_versions_table.py
7979
fi
8080
81-
# Any line with `uv pip install --prerelease=allow` in the `.github/` folder must be updated with `--prerelease=allow` flag
82-
find .github/workflows/ -type f -exec sed -i 's/uv pip install /uv pip install --prerelease=allow /g' {} +
81+
# Any line with `uv pip install --prerelease=allow --prerelease=allow` in the `.github/` folder must be updated with `--prerelease=allow` flag
82+
find .github/workflows/ -type f -exec sed -i 's/uv pip install --prerelease=allow /uv pip install --prerelease=allow --prerelease=allow /g' {} +
8383
git add .github/workflows/
8484
8585
# Commit and push changes

.github/workflows/python-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
uv venv
3535
3636
- name: Install dependencies
37-
run: uv pip install "huggingface_hub[dev] @ ."
37+
run: uv pip install --prerelease=allow "huggingface_hub[dev] @ ."
3838
- run: .venv/bin/ruff check tests src # linter
3939
- run: .venv/bin/ruff format --check tests src # formatter
4040
- run: .venv/bin/python utils/check_inference_input_params.py

.github/workflows/python-tests.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
# Install dependencies
5454
- name: Install dependencies
5555
run: |
56-
uv pip install "huggingface_hub[testing] @ ."
56+
uv pip install --prerelease=allow "huggingface_hub[testing] @ ."
5757
5858
case "${{ matrix.test_name }}" in
5959
@@ -68,21 +68,21 @@ jobs:
6868
;;
6969
7070
fastai)
71-
uv pip install "huggingface_hub[fastai] @ ."
71+
uv pip install --prerelease=allow "huggingface_hub[fastai] @ ."
7272
;;
7373
7474
gradio)
75-
uv pip install "huggingface_hub[gradio] @ ."
75+
uv pip install --prerelease=allow "huggingface_hub[gradio] @ ."
7676
;;
7777
7878
torch_latest)
79-
uv pip install "huggingface_hub[torch] @ ."
80-
uv pip install --upgrade torch
79+
uv pip install --prerelease=allow "huggingface_hub[torch] @ ."
80+
uv pip install --prerelease=allow --upgrade torch
8181
;;
8282
8383
"Python 3.9, torch_1.11")
84-
uv pip install "huggingface_hub[torch] @ ."
85-
uv pip install torch~=1.11
84+
uv pip install --prerelease=allow "huggingface_hub[torch] @ ."
85+
uv pip install --prerelease=allow torch~=1.11
8686
;;
8787
8888
esac
@@ -178,9 +178,9 @@ jobs:
178178
# Install dependencies
179179
- name: Install dependencies
180180
run: |
181-
uv pip install "huggingface_hub[testing] @ ."
181+
uv pip install --prerelease=allow "huggingface_hub[testing] @ ."
182182
if ("${{ matrix.test_name }}" -eq "Xet only") {
183-
uv pip install hf_xet
183+
uv pip install --prerelease=allow hf_xet
184184
}
185185
186186
# Run tests

.github/workflows/update-inference-types.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
pip install --upgrade uv
2828
- name: Install dependencies
29-
run: uv pip install --system "huggingface_hub[dev] @ ."
29+
run: uv pip install --prerelease=allow --system "huggingface_hub[dev] @ ."
3030
working-directory: ./huggingface_hub
3131

3232
# Setup JS

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_version() -> str:
1616
install_requires = [
1717
"filelock",
1818
"fsspec>=2023.5.0",
19-
"hf-xet>=1.2.0,<2.0.0; platform_machine=='x86_64' or platform_machine=='amd64' or platform_machine=='AMD64' or platform_machine=='arm64' or platform_machine=='aarch64'",
19+
"hf_xet==1.2.1rc0; platform_machine=='x86_64' or platform_machine=='amd64' or platform_machine=='AMD64' or platform_machine=='arm64' or platform_machine=='aarch64'",
2020
"httpx>=0.23.0, <1",
2121
"packaging>=20.9",
2222
"pyyaml>=5.1",
@@ -45,7 +45,7 @@ def get_version() -> str:
4545
"fastcore>=1.3.27",
4646
]
4747

48-
extras["hf_xet"] = ["hf-xet>=1.1.3,<2.0.0"]
48+
extras["hf_xet"] = ["hf_xet==1.2.1rc0"]
4949

5050
extras["mcp"] = ["mcp>=1.8.0"]
5151

0 commit comments

Comments
 (0)