abalkin / pytest-leaks

A pytest plugin to trace resource leaks.
https://abalkin.github.io/pytest-leaks
Other
115 stars 4 forks source link

Fix plugincompat listing #20

Closed abalkin closed 4 years ago

abalkin commented 5 years ago

pytest Plugins Compatibility list is available at http://plugincompat.herokuapp.com/ and pytest-leaks can be found there.

image

The red x-buttons mean that their own testing failed with both python 3.6 and 3.7. Here is how they test with py37:

py37 create: /tmp/tmpz0a550dz/pytest-leaks-0.3.0/.tox/py37
py37 installdeps: pytest==5.0.0
py37 inst: /tmp/tmpz0a550dz/pytest-leaks-0.3.0/.tox/.tmp/package/1/pytest-leaks-0.3.0.zip
py37 installed: atomicwrites==1.3.0,attrs==19.1.0,importlib-metadata==0.18,more-itertools==7.2.0,packaging==19.0,pluggy==0.12.0,py==1.8.0,pyparsing==2.4.0,pytest==5.0.0,pytest-leaks==0.3.0,six==1.12.0,wcwidth==0.1.7,zipp==0.5.2
py37 run-test-pre: PYTHONHASHSEED='1442157275'
py37 run-test: commands[0] | pytest tests
============================= test session starts ==============================
platform linux -- Python 3.7.1, pytest-5.0.0, py-1.8.0, pluggy-0.12.0
cachedir: .tox/py37/.pytest_cache
rootdir: /tmp/tmpz0a550dz/pytest-leaks-0.3.0
plugins: leaks-0.3.0
collected 0 items / 1 errors

==================================== ERRORS ====================================
_____________________ ERROR collecting tests/test_leaks.py _____________________
tests/test_leaks.py:7: in <module>
    pytest.fail('python debug build compiled with --with-pydebug is required')
E   Failed: python debug build compiled with --with-pydebug is required
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.41 seconds ============================
ERROR: InvocationError for command /tmp/tmpz0a550dz/pytest-leaks-0.3.0/.tox/py37/bin/pytest tests (exited with code 2)
___________________________________ summary ____________________________________
ERROR:   py37: commands failed
write json report at: /tmp/tmpz0a550dz/pytest-leaks-0.3.0/result.json

Time: 30.8 seconds

Obviously the problem is that we require debug build and they don't know that.

/cc: @pv