Skip to content

Commit 803ad08

Browse files
committed
use safe activation for sync
1 parent de18c2d commit 803ad08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hatch_uvenv/plugin.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ def dependency_hash(self):
190190
return time.time().hex()
191191

192192
def sync_dependencies(self):
193-
self.platform.check_command(self.construct_uv_sync_command())
193+
with self.safe_activation():
194+
self.platform.check_command(self.construct_uv_sync_command())
194195

195196
@contextmanager
196197
def build_environment(self, dependencies):

0 commit comments

Comments
 (0)