Skip to content

Commit

Permalink
recompile_requirements: Run pip check
Browse files Browse the repository at this point in the history
Changing cwd as workaround for pypa/pip#7971
  • Loading branch information
The-Compiler committed Apr 9, 2020
1 parent dd9989a commit b802728
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/dev/recompile_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ def main():

subprocess.run([venv_python, '-m', 'pip',
'install', '-r', filename], check=True)
subprocess.run([venv_python, '-m', 'pip', 'check'], check=True)

proc = subprocess.run([venv_python, '-m', 'pip', 'freeze'],
check=True, stdout=subprocess.PIPE)
reqs = proc.stdout.decode('utf-8')
Expand Down

0 comments on commit b802728

Please sign in to comment.