Skip to content

Commit b807ffd

Browse files
authored
Merge pull request #22 from zenml-io/misc/uv-as-default-docker-builder
UV for Docker by default
2 parents 37dcb95 + bfbc824 commit b807ffd

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
run-tests:
3737
runs-on: ${{ matrix.os }}
3838
strategy:
39+
fail-fast: false
3940
matrix:
4041
stack-name: [local]
4142
os: [windows-latest, ubuntu-latest, macos-13]

template/config.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ settings:
66
parent_image: 'huggingface/transformers-pytorch-gpu'
77
build_options:
88
platform: 'linux/amd64'
9+
python_package_installer_args:
10+
system: null
911
{%- endif %}
12+
python_package_installer: uv
13+
install_stack_requirements: False
1014
required_integrations:
1115
{%- if cloud_of_choice == 'aws' %}
1216
- aws

tests/conftest.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515

1616
import os
17+
import sys
1718
import shutil
1819
from typing import Generator
1920

@@ -99,4 +100,10 @@ def clean_zenml_client(
99100

100101
# remove all traces, and change working directory back to base path
101102
os.chdir(orig_cwd)
102-
shutil.rmtree(str(tmp_path))
103+
if sys.platform == "win32":
104+
try:
105+
shutil.rmtree(str(tmp_path))
106+
except:
107+
pass
108+
else:
109+
shutil.rmtree(str(tmp_path))

0 commit comments

Comments
 (0)