Skip to content

Commit

Permalink
update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
snopoke committed Aug 3, 2023
1 parent 37d7ffd commit f160832
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions requirements/production.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ sqlparse==0.4.4
# via
# -c requirements/base.txt
# django
typing-extensions==4.7.1
# via
# -c requirements/base.txt
# asgiref
urllib3==1.26.16
# via
# -c requirements/base.txt
Expand Down
4 changes: 2 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def requirements(c: Context, upgrade=False):
args = " -U" if upgrade else ""
cmd_base = "pip-compile -q --resolver=backtracking"
env = {"CUSTOM_COMPILE_COMMAND": "inv requirements"}
c.run(f"{cmd_base} --resolver=backtracking requirements/base.in{args}", env=env)
c.run(f"{cmd_base} --resolver=backtracking requirements/dev.in{args}", env=env)
c.run(f"{cmd_base} requirements/base.in{args}", env=env)
c.run(f"{cmd_base} requirements/dev.in{args}", env=env)
# can't use backtracking resolver for now: https://github.com/pypa/pip/issues/8713
c.run(f"{cmd_base} requirements/production.in{args}", env=env)

Expand Down

0 comments on commit f160832

Please sign in to comment.