Skip to content

Commit

Permalink
Use non-dev dependencies in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nariman committed May 27, 2024
1 parent a8fd59d commit e3cd4ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ deps =
pytest-cov
coverage
extras = test
# Unfortunately, tox does not allow separate installation flags for the project
# dependencies and the test dependencies. When running tox, we want to install the
# project dependencies with the --pre flag, so that we get the latest version of all
# dependencies. We do the installation step ourselves for this reason.
skip_install = true
commands_pre =
pip install --pre -e .[test]
commands =
# Capturing output will fail on pypy, possibly due to this issue: https://github.com/pytest-dev/pytest/issues/5502
pytest --basetemp="{envtmpdir}" {posargs:--color=yes --capture=no --cov=flow --cov-report=term-missing -v tests}
Expand Down

0 comments on commit e3cd4ed

Please sign in to comment.