Skip to content

Commit 99ad44c

Browse files
committed
fix backup example for new build environment
1 parent 230ad04 commit 99ad44c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/plugins/my_app/management/plugins/backup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def environment(
3131

3232
typer.echo(f"Capturing python environment to {output_file}")
3333
with output_file.open("w") as f:
34-
subprocess.run(["pip", "freeze"], stdout=f)
34+
subprocess.run(["uv", "pip", "freeze"], stdout=f)
3535

3636

3737
@Backup.command()

examples/plugins/my_app/management/plugins/backup_typer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def environment(
3131

3232
typer.echo(f"Capturing python environment to {output_file}")
3333
with output_file.open("w") as f:
34-
subprocess.run(["pip", "freeze"], stdout=f)
34+
subprocess.run(["uv", "pip", "freeze"], stdout=f)
3535

3636

3737
@backup_typer.app.command()

0 commit comments

Comments
 (0)