You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test package installation in temporary virtual environment (#519)
Resolves#516
Creates a virtual environment in temporary package directory and tests
package installation in there rather than installing in parent
environment tests are run from.
Calling `pip install` command by directly referencing Python executable
in created virtual environment seems to work in terms of ensuring
package is installed in `site-packages` of temporary virtual environment
rather than parent environment (at least I no longer see a
`cookiecutter-test` entry when running `pip list` after running tests)
and it seemed non trivial to `source` the virtual environment script
with `subprocess.run`.
---------
Co-authored-by: Patrick J. Roddy <[email protected]>
0 commit comments