plone / plone.app.testing

Testing tools for Plone-the-application
http://pypi.python.org/pypi/plone.app.testing
2 stars 7 forks source link

tox broken: "ImportError: No module name `zope.testrunner` #74

Open jugmac00 opened 3 years ago

jugmac00 commented 3 years ago
tox -e py38

WARNING: The easy_install command is deprecated and will be removed in a future version.
Got z3c.objpath 1.2.
Generated script '/home/jugmac00/All/output_plone/plone/plone.app.testing/.tox/py38/bin/test'.
py38 run-test: commands[2] | ls -la /home/jugmac00/All/output_plone/plone/plone.app.testing/.tox/py38/bin
WARNING: test command found but not installed in testenv
  cmd: /bin/ls
  env: /home/jugmac00/All/output_plone/plone/plone.app.testing/.tox/py38
Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting.

DEPRECATION WARNING: this will be an error in tox 4 and above!
total 100
drwxr-xr-x  2 jugmac00 jugmac00  4096 Mar  2 15:43 .
drwxr-xr-x 10 jugmac00 jugmac00  4096 Mar  2 15:43 ..
-rw-r--r--  1 jugmac00 jugmac00  2254 Mar  2 15:38 activate
-rw-r--r--  1 jugmac00 jugmac00  1473 Mar  2 15:38 activate.csh
-rw-r--r--  1 jugmac00 jugmac00  3104 Mar  2 15:38 activate.fish
-rw-r--r--  1 jugmac00 jugmac00  1751 Mar  2 15:38 activate.ps1
-rw-r--r--  1 jugmac00 jugmac00  1199 Mar  2 15:38 activate_this.py
-rw-r--r--  1 jugmac00 jugmac00  1195 Mar  2 15:38 activate.xsh
-rwxr-xr-x  1 jugmac00 jugmac00   279 Mar  2 15:38 buildout
-rwxr-xr-x  1 jugmac00 jugmac00   290 Mar  2 15:38 easy_install
-rwxr-xr-x  1 jugmac00 jugmac00   290 Mar  2 15:38 easy_install-3.8
-rwxr-xr-x  1 jugmac00 jugmac00   281 Mar  2 15:38 pip
-rwxr-xr-x  1 jugmac00 jugmac00   281 Mar  2 15:38 pip3
-rwxr-xr-x  1 jugmac00 jugmac00   281 Mar  2 15:38 pip-3.8
-rwxr-xr-x  1 jugmac00 jugmac00   281 Mar  2 15:38 pip3.8
lrwxrwxrwx  1 jugmac00 jugmac00    18 Mar  2 15:38 python -> /usr/bin/python3.8
lrwxrwxrwx  1 jugmac00 jugmac00     6 Mar  2 15:38 python3 -> python
lrwxrwxrwx  1 jugmac00 jugmac00     6 Mar  2 15:38 python3.8 -> python
-rwxr-xr-x  1 jugmac00 jugmac00 25716 Mar  2 15:43 test
-rwxr-xr-x  1 jugmac00 jugmac00   268 Mar  2 15:38 wheel
-rwxr-xr-x  1 jugmac00 jugmac00   268 Mar  2 15:38 wheel3
-rwxr-xr-x  1 jugmac00 jugmac00   268 Mar  2 15:38 wheel-3.8
py38 run-test: commands[3] | coverage run /home/jugmac00/All/output_plone/plone/plone.app.testing/.tox/py38/bin/test --all -vvc
WARNING: test command found but not installed in testenv
  cmd: /home/jugmac00/.local/bin/coverage
  env: /home/jugmac00/All/output_plone/plone/plone.app.testing/.tox/py38
Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting.

DEPRECATION WARNING: this will be an error in tox 4 and above!
Traceback (most recent call last):
  File ".tox/py38/bin/test", line 247, in <module>
    import zope.testrunner
ImportError: No module named 'zope.testrunner'
Coverage.py warning: No data was collected. (no-data-collected)
ERROR: InvocationError for command /home/jugmac00/.local/bin/coverage run .tox/py38/bin/test --all -vvc (exited with code 1)
_____________________________________________________________________________ summary _____________________________________________________________________________
ERROR:   py38: commands failed

I noticed the broken tox build as I tried to run all Zope and Plone repos this weekend, see https://jugmac00.github.io/blog/testing-the-tox-4-pre-release-at-scale/