Closed wolever closed 1 year ago
Output of Tox run:
py310-pytest3: install_deps> python -I -m pip install mock nose 'pytest<4,>=3' .pkg: install_requires> python -I -m pip install 'setuptools>=61.2' .pkg: _optional_hooks> python /usr/local/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta .pkg: get_requires_for_build_sdist> python /usr/local/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta .pkg: freeze> python -m pip freeze --all .pkg: pip==23.0.1,setuptools==67.4.0,wheel==0.38.4 .pkg: build_sdist> python /usr/local/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta py310-pytest3: install_package> python -I -m pip install --force-reinstall --no-deps /root/project/.tox/.tmp/package/1/parameterized-0.8.1.tar.gz py310-pytest3: freeze> python -m pip freeze --all py310-pytest3: atomicwrites==1.4.1,attrs==22.2.0,mock==5.0.1,more-itertools==9.1.0,nose==1.3.7,parameterized @ file:///root/project/.tox/.tmp/package/1/parameterized-0.8.1.tar.gz,pip==23.0.1,pluggy==1.0.0,py==1.11.0,pytest==3.10.1,setuptools==67.4.0,six==1.16.0,wheel==0.38.4 py310-pytest3: commands[0]> py.test parameterized/test.py ============================= test session starts ============================== platform linux -- Python 3.10.10, pytest-3.10.1, py-1.11.0, pluggy-1.0.0 rootdir: /root/project, inifile: collecting ... collected 0 items / 1 errors ==================================== ERRORS ==================================== ____________________ ERROR collecting parameterized/test.py ____________________ <frozen importlib._bootstrap>:939: in _find_spec ??? E AttributeError: 'AssertionRewritingHook' object has no attribute 'find_spec' During handling of the above exception, another exception occurred: .tox/py310-pytest3/lib/python3.10/site-packages/py/_path/local.py:704: in pyimport __import__(modname) <frozen importlib._bootstrap>:1027: in _find_and_load ??? <frozen importlib._bootstrap>:1002: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:941: in _find_spec ??? <frozen importlib._bootstrap>:915: in _find_spec_legacy ??? .tox/py310-pytest3/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:162: in find_module source_stat, co = _rewrite_test(self.config, fn_pypath) .tox/py310-pytest3/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:412: in _rewrite_test co = compile(tree, fn.strpath, "exec", dont_inherit=True) E TypeError: required field "lineno" missing from alias !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! =========================== 1 error in 0.12 seconds ============================ py310-pytest3: exit 2 (0.45 seconds) /root/project> py.test parameterized/test.py pid=139 .pkg: _exit> python /usr/local/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta py310-pytest3: FAIL code 2 (9.25=setup[8.80]+cmd[0.45] seconds) evaluation failed :( (9.71 seconds)
Output of Tox run: