Skip to content

windows: pypy.exe not found with virtualenv>=16.6.0 #1389

@blueyed

Description

@blueyed

pytest-cov's AppVeyor builds install tox via the system Python35, and then use them for testing with PyPy.

This produces warnings:

Successfully installed attrs-19.1.0 filelock-3.0.12 importlib-metadata-0.19 packaging-19.1 pluggy-0.12.0 py-1.8.0 pyparsing-2.4.2 six-1.12.0 toml-0.10.0 tox-3.13.2 zipp-0.5.2
C:\Python35\python -m tox
GLOB sdist-make: C:\projects\pytest-cov\setup.py
pypy-t310-c45 create: C:\projects\pytest-cov\.tox\pypy-t310-c45
pypy-t310-c45 installdeps: pytest==3.10.1, pytest-xdist==1.27.0, coverage==4.5.3
WARNING: test command found but not installed in testenv
  cmd: C:\Python27\python.EXE
  env: C:\projects\pytest-cov\.tox\pypy-t310-c45
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!
WARNING: test command found but not installed in testenv
  cmd: C:\Python27\python.EXE
  env: C:\projects\pytest-cov\.tox\pypy-t310-c45
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!
pypy-t310-c45 inst: C:\projects\pytest-cov\.tox\.tmp\package\1\pytest-cov-2.7.1.zip
WARNING: test command found but not installed in testenv
  cmd: C:\Python27\python.EXE
  env: C:\projects\pytest-cov\.tox\pypy-t310-c45
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!
WARNING: test command found but not installed in testenv
  cmd: C:\Python27\python.EXE
  env: C:\projects\pytest-cov\.tox\pypy-t310-c45
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!
pypy-t310-c45 installed: apipkg==1.5,atomicwrites==1.3.0,attrs==19.1.0,colorama==0.4.1,configparser==3.7.4,contextlib2==0.5.5,coverage==4.5.3,execnet==1.6.1,fields==5.0.0,funcsigs==1.0.2,hunter==3.0.1,importlib-metadata==0.19,more-itertools==5.0.0,pathlib2==2.3.4,pluggy==0.12.0,process-tests==2.0.2,py==1.8.0,pytest==3.10.1,pytest-cov==2.7.1,pytest-forked==1.0.2,pytest-xdist==1.27.0,scandir==1.10.0,six==1.12.0,virtualenv==15.0.1,zipp==0.5.2
pypy-t310-c45 run-test-pre: PYTHONHASHSEED='748'
pypy-t310-c45 run-test: commands[0] | pytest -vv
WARNING: test command found but not installed in testenv
  cmd: C:\Python27\Scripts\pytest.EXE
  env: C:\projects\pytest-cov\.tox\pypy-t310-c45
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!
============================= test session starts =============================
platform win32 -- Python 2.7.16, pytest-3.10.1, py-1.8.0, pluggy-0.12.0 -- c:\python27\python.exe
cachedir: .pytest_cache
rootdir: C:\projects\pytest-cov, inifile: setup.cfg
plugins: cov-2.7.1, forked-1.0.2, xdist-1.27.0
collecting ... collected 119 items

This is not coming from the "commands" section (there is only one, "pytest"), so it looks like this is triggered by internal command executions?!

Full log: https://ci.appveyor.com/project/pytestbot/pytest-cov/builds/26457910/job/c80jjfqynsmoayrk

Ref: #1127

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:normalaffects many people or has quite an impact

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions