Skip to content

Commit 8f8cd1d

Browse files
authored
Merge pull request #96 from smkent/toml-for-update
Ensure toml is installed in repo sandbox before running cruft update
2 parents ae5c427 + eef08fc commit 8f8cd1d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cookie_python/manage/update.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def update_cruft(repo: RepoSandbox) -> Optional[str]:
1818
repo.run(["poetry", "env", "remove", "--all"], check=False)
1919
repo.run(["poetry", "env", "use", "/usr/bin/python3"])
2020
repo.run(["poetry", "install"])
21+
repo.run(["poetry", "run", "pip", "install", "toml"])
2122
repo.run(["poetry", "run", "cruft", "update", "-y"])
2223
after_ref = repo.cruft_attr("commit")
2324
if before_ref == after_ref:

0 commit comments

Comments
 (0)