Skip to content

Commit

Permalink
Use -r in make-changelog tox env
Browse files Browse the repository at this point in the history
This is necessary because the most recent versions of pip have a bug
with using `-c` having `--require-hashes` or entries with extras.

Ref: pypa/pip#9243
  • Loading branch information
webknjaz committed Mar 1, 2021
1 parent f5ec7f5 commit 0eb5a7f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,12 @@ commands =
--version \
{posargs:'[UNRELEASED DRAFT]' --draft}
deps =
towncrier
-c{toxinidir}/docs/requirements.txt
-r{toxinidir}/docs/requirements.txt
# FIXME: re-enable the "-r" + "-c" paradigm once the pip bug is fixed.
# Ref: https:/pypa/pip/issues/9243
# towncrier
# -r{toxinidir}/docs/requirements.in
# -c{toxinidir}/docs/requirements.txt
isolated_build = true
skip_install = true

Expand Down

0 comments on commit 0eb5a7f

Please sign in to comment.