Skip to content
Discussion options

You must be logged in to vote

Hi! This is working as documented — --skip-env-install skips both dependency installation and building/installing your package (it is a superset of --skip-pkg-install), so your tests ran against the previously installed wheel, which is why the assert False was not seen.

Note that by default tox 4 does not recreate the environment or re-download dependencies on every run — environments are reused and deps are only reinstalled when their configuration changes. The only per-run cost is rebuilding and reinstalling your package, which is what makes your code changes visible.

If you want to skip even that, use an editable install so the environment points directly at your source tree:

[testenv]
p…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gaborbernat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants