Skip to content

Commit

Permalink
Merge pull request #1130 from KPostOffice/pipenv_update_use_lock
Browse files Browse the repository at this point in the history
Use lock when updating the dependencies to avoid resource limitations
  • Loading branch information
sesheta authored Sep 7, 2022
2 parents d743231 + 40f30fe commit 5582e5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kebechet/managers/update/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,7 @@ def _create_initial_lock(
def _pipenv_update_all(cls):
"""Update all dependencies to their latest version."""
_LOGGER.info("Updating all dependencies to their latest version")
cls.run_pipenv("pipenv update --dev")
cls.run_pipenv("pipenv lock")
cls.run_pipenv("pipenv lock --dev")
return None

def _add_refresh_comment(self, exc: PipenvError, issue: Issue):
Expand Down

0 comments on commit 5582e5b

Please sign in to comment.