hashar added a comment.

  In T187009#5717532 <https://phabricator.wikimedia.org/T187009#5717532>, 
@Dvorapa wrote:
  
  > @hashar Could you please help with
  >
  >   08:36:55 WARNING: test command found but not installed in testenv
  >   08:36:55   cmd: /usr/bin/make
  >   08:36:55   env: /src/.tox/doc
  >   08:36:55 Maybe you forgot to specify a dependency? See also the 
whitelist_externals envconfig setting.
  >   08:36:55 
  >   08:36:55 DEPRECATION WARNING: this will be an error in tox 4 and above!
  >
  > This warning still occurs in doc tests and I'm unable to find out, what 
does it mean and how to fix it. That's why there was 
#continuous-integration-config 
<https://phabricator.wikimedia.org/tag/continuous-integration-config/> tag
  
  `tox` complains because one of the commands comes from outside the virtual 
env. In this case `make`.  In `tox.ini` the `doc` environment is defined as:
  
  name=tox.ini
    [testenv:doc]
    commands =
        pip install -e .[security]
        make html -C ./docs
        rstcheck --recursive --report warning --ignore-directives 
automodule,autoclass,autofunction .
    basepython = python3.4
    deps =
        -rrequirements.txt
        -rdocs/requirements-py3.txt
        rstcheck >= 3.3.1
  
  `make html -C ./docs` has been generated by Sphinx which is merely an helper 
to run the `sphinx-build` command.  When it is running, you should see the full 
command being used which you can use instead of the `make` one.
  
  Or use something like: `python setup.py build_sphinx -b html`
  
  > `commands = pip install -e .[security]`
  
  Unrelated, but I wonder why one has to reinstall those dependencies on every 
run and why it is in editable mode.  Probably that command should be dropped 
and one can instead use:
  
    deps = .[security]

TASK DETAIL
  https://phabricator.wikimedia.org/T187009

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Morgan11235, hashar
Cc: hashar, Morgan11235, mstucky, Didicodes, Dalba, Xqt, zhuyifei1999, 
Zoranzoki21, gerritbot, Aklapper, pywikibot-bugs-list, Dvorapa, AndreasTraut, 
Chaytanya, Zkhalido, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, 
E.S.A-Sheild, Pavithraes, Urstrulykkr, Meekrab2012, joker88john, Viztor, 
DannyS712, CucyNoiD, NebulousIris, Wenyi, Kieubinhtb, Guilhermebm, Gaboe420, 
Mh-3110, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, 
Asad_Ali_Palijo, Cpaulf30, Lahi, Af420, Darkminds3113, Bsandipan, Lordiis, 
Ivana_Isadora, Adik2382, Soteriaspace, RazeSoldier, Jayprakash12345, Th3d3v1ls, 
JakeTheDeveloper, Ramalepe, Liugev6, Tbscho, MayS, WSH1906, Lewizho99, Mdupont, 
JJMC89, Maathavan, D3r1ck01, Altostratus, Avicennasis, MuhammadShuaib, 
srodlund, Tmalhotra, SimmeD, mys_721tx, Dinoguy1000, jayvdb, Masti, Alchimista, 
Rxy, Jay8g
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to