Skip to content

Dependencies in docs/requirements.txt are not found #662

Answered by abravalheri
jachinte asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jachinte, have you tried running tox -re docs when after you modified docs/requirements.txt?
(Currently tox has a limitation: it cannot automatically detect that a dependency file has changed and automatically identify that the cache has expired -- the -r flag forces the recreation of the environment).


I run the experiment below with Python 3.8, PyScaffold 4.3, tox 3.25.1 in a Ubuntu 20.04.4 LTS installation and I did not find the problem you are describing (maybe it is a Mac or a 3.9 specific problem?).
So I am assuming that maybe you had previously run tox -e docs which caused tox to cache the packages... Would this be the case?

cd /tmp
putup mypackage
cd mypackage
echo "furo" >> d…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jachinte
Comment options

You must be logged in to vote
0 replies
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