Replies: 2 comments 6 replies
-
No, you cannot and we don't plan to offer this functionality. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry if I'm asking silly questions, but why not? And what can I do about this situation? I don't suppose needing |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm testing a Qt application and for some reason it needs to have
HOME
set. So I went and set it to a temporary folder:This works fine, but I noticed that recreating the virtual environment takes an awfully long time. So I ran
pip cache info
in the env and apparently instead of/home/user/.cache/pip
, it is using/home/user/project/.tox/py310-test/tmp/home/.cache/pip
as the cache location. This means it downloads all dependencies for every environmnt. This is I guess becausesetenv
is “used for all test command invocations as well as for installing the sdist package into a virtual environment”.So, can I set an environmental variable only for test commands? Sorry if I'm missing some basic configuration bit.
Beta Was this translation helpful? Give feedback.
All reactions