Skip to content

Commit 427472e

Browse files
authored
[CI] Fix setuptools pkg_resources Errors (#13129)
Try to fix setuptools pkg_resources issue on CI
1 parent 985d83c commit 427472e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/push_tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ jobs:
126126

127127
- name: Install dependencies
128128
run: |
129+
# Install pkgs which depend on setuptools<81 for pkg_resources first with no build isolation
130+
uv pip install pip==25.2 setuptools==80.10.2
131+
uv pip install --no-build-isolation k-diffusion==0.0.12
132+
uv pip install --upgrade pip setuptools
133+
# Install the rest as normal
129134
uv pip install -e ".[quality]"
130135
uv pip install peft@git+https://github.com/huggingface/peft.git
131136
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git

0 commit comments

Comments
 (0)