Source: poetry-core
Version: 1.1.0~b3-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

poetry-core/experimental recently sarted to FTBFS (the version in sid is
not affected). A previous rebuild on Aug. 3 was still successful.

=================================== 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() -> None:
        with temporary_directory() as tmp_dir, cwd(os.path.join(fixtures, 
"extended")):
>           filename = api.build_wheel(tmp_dir)

tests/masonry/test_api.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
poetry/core/masonry/api.py:67: in build_wheel
    return WheelBuilder.make_in(poetry, Path(wheel_directory))
poetry/core/masonry/builders/wheel.py:79: in make_in
    wb.build(target_dir=directory)
poetry/core/masonry/builders/wheel.py:113: in build
    self._build(zip_file)
poetry/core/masonry/builders/wheel.py:167: in _build
    self._run_build_command(setup)
poetry/core/masonry/builders/wheel.py:205: in _run_build_command
    subprocess.check_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/usr/bin/python3.10', 
'/build/poetry-core-1.1.0~b3/.pybuild/cpython3_3.10_poetry-core/build/tests/masonry/builders/.../build/poetry-core-1.1.0~b3/.pybuild/cpython3_3.10_poetry-core/build/tests/masonry/builders/fixtures/extended/build'],)
kwargs = {}, retcode = 1
cmd = ['/usr/bin/python3.10', 
'/build/poetry-core-1.1.0~b3/.pybuild/cpython3_3.10_poetry-core/build/tests/masonry/builders/f...
 
'/build/poetry-core-1.1.0~b3/.pybuild/cpython3_3.10_poetry-core/build/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.10', 
'/build/poetry-core-1.1.0~b3/.pybuild/cpython3_3.10_poetry-core/build/tests/masonry/builders/fixtures/extended/setup.py',
 'build', '-b', 
'/build/poetry-core-1.1.0~b3/.pybuild/cpython3_3.10_poetry-core/build/tests/masonry/builders/fixtures/extended/build']'
 returned non-zero exit status 1.

/usr/lib/python3.10/subprocess.py:369: CalledProcessError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File 
"/build/poetry-core-1.1.0~b3/.pybuild/cpython3_3.10_poetry-core/build/tests/masonry/builders/fixtures/extended/setup.py",
 line 1, in <module>
    from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'
------------------------------ Captured log call -------------------------------
WARNING  poetry.core.masonry.builders.sdist:sdist.py:224 A setup.py file 
already exists. Using it.
=========================== short test summary info ============================
FAILED tests/masonry/test_api.py::test_build_wheel_extended - subprocess.Call...
=========== 1 failed, 1134 passed, 8 skipped, 9 deselected in 8.14s ============
E: pybuild pybuild:379: test: plugin pyproject failed with: exit code=1: cd 
'/build/poetry-core-1.1.0~b3/.pybuild/cpython3_3.10_poetry-core/build'; 
python3.10 -m pytest -k 'not test_version_is_synced'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 
returned exit code 13
make: *** [debian/rules:10: binary] Error 25


Andreas

Attachment: poetry-core_1.1.0~b3-1.log.gz
Description: application/gzip

Reply via email to