Source: poetry-core
Version: 1.0.0-2
Severity: serious
https://ci.debian.net/data/autopkgtest/testing/amd64/p/poetry-core/9884892/log.gz
...
=== FAILURES ===
__ test_build_wheel_extended ___
@pytest.mark.skipif(
sys.platform == "win32"
and sys.version_info <= (3, 6)
or platform.python_implementation().lower() == "pypy",
reason="Disable test on Windows for Python <=3.6 and for PyPy",
)
def test_build_wheel_extended():
with temporary_directory() as tmp_dir, cwd(os.path.join(fixtures,
"extended")):
> filename = api.build_wheel(tmp_dir)
tests/masonry/test_api.py:76:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/poetry/core/masonry/api.py:57: in build_wheel
return unicode(WheelBuilder.make_in(poetry, Path(wheel_directory)))
/usr/lib/python3/dist-packages/poetry/core/masonry/builders/wheel.py:59: in
make_in
wb.build()
/usr/lib/python3/dist-packages/poetry/core/masonry/builders/wheel.py:89: in
build
self._build(zip_file)
/usr/lib/python3/dist-packages/poetry/core/masonry/builders/wheel.py:121: in
_build
self._run_build_command(setup)
/usr/lib/python3/dist-packages/poetry/core/masonry/builders/wheel.py:149: in
_run_build_command
subprocess.check_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = (['/usr/bin/python3.9',
'/tmp/autopkgtest-lxc.crqjv1iy/downtmp/autopkgtest_tmp/tests/masonry/builders/fixtures/extende...build',
'-b',
'/tmp/autopkgtest-lxc.crqjv1iy/downtmp/autopkgtest_tmp/tests/masonry/builders/fixtures/extended/build'],)
kwargs = {}, retcode = 1
cmd = ['/usr/bin/python3.9',
'/tmp/autopkgtest-lxc.crqjv1iy/downtmp/autopkgtest_tmp/tests/masonry/builders/fixtures/extended...
'build', '-b',
'/tmp/autopkgtest-lxc.crqjv1iy/downtmp/autopkgtest_tmp/tests/masonry/builders/fixtures/extended/build']
def check_call(*popenargs, **kwargs):
"""Run command with arguments. Wait for command to complete. If
the exit code was zero then return, otherwise raise
CalledProcessError. The CalledProcessError object will have the
return code in the returncode attribute.
The arguments are the same as for the call function. Example:
check_call(["ls", "-l"])
"""
retcode = call(*popenargs, **kwargs)
if retcode:
cmd = kwargs.get("args")
if cmd is None:
cmd = popenargs[0]
> raise CalledProcessError(retcode, cmd)
E subprocess.CalledProcessError: Command '['/usr/bin/python3.9',
'/tmp/autopkgtest-lxc.crqjv1iy/downtmp/autopkgtest_tmp/tests/masonry/builders/fixtures/extended/setup.py',
'build', '-b',
'/tmp/autopkgtest-lxc.crqjv1iy/downtmp/autopkgtest_tmp/tests/masonry/builders/fixtures/extended/build']'
returned non-zero exit status 1.
/usr/lib/python3.9/subprocess.py:373: CalledProcessError
- Captured stdout call -
...
autodep8-python3 PASS (superficial)
autopkgtest [09:36:57]: summary
pytest FAIL non-zero exit status 1
autodep8-python3 PASS (superficial)