Dependencies in docs/requirements.txt are not found #662
-
Hi, Where should I specify docs dependencies? I tried customizing the docs theme but the theme wasn't found.
This is what I get:
I tried running
My question is why installing the package from Thank you! -- I'm running these commands with Python 3.9.13 and pip 22.1.1 on a Mac. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @jachinte, have you tried running 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?). cd /tmp
putup mypackage
cd mypackage
echo "furo" >> docs/requirements.txt
sed -i 's/alabaster/furo/' docs/conf.py
tox -e docs If you think it is not an expired caching problem, could you share with us a sequence of commands (like the one below) that can be used to reproduce the problem? |
Beta Was this translation helpful? Give feedback.
-
Hi @abravalheri, Thanks again! |
Beta Was this translation helpful? Give feedback.
Hi @jachinte, have you tried running
tox -re docs
when after you modifieddocs/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?