Package: src:python-nox
Version: 2024.04.15-2
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with sphinxdoc --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build"
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
* Building wheel...
Successfully built nox-2024.4.15-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with
"installer" module
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12
* Building wheel...
Successfully built nox-2024.4.15-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build;
python3.13 -m pytest --ignore tests/test_action_helper.py -k "not
test_create_reuse_stale_virtualenv_environment and not
test_create_reuse_venv_environment and not test_create_venv_backend"
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
testpaths: tests
plugins: typeguard-4.4.1
collected 547 items / 3 deselected / 544 selected
tests/test__option_set.py ......... [ 1%]
tests/test__parametrize.py .................... [ 5%]
tests/test__version.py ............. [ 7%]
tests/test_command.py ..s.....F...........s.s.......... [ 13%]
tests/test_logger.py ...X. [ 14%]
tests/test_main.py ..................................................... [ 24%]
......................................... [ 31%]
tests/test_manifest.py ................................................. [ 40%]
......... [ 42%]
tests/test_registry.py ........... [ 44%]
tests/test_sessions.py ................................................. [ 53%]
...............................................................s........ [ 66%]
............................... [ 72%]
tests/test_tasks.py ................................................... [ 81%]
tests/test_toml.py ...... [ 83%]
tests/test_tox_to_nox.py ........s. [ 84%]
tests/test_virtualenv.py .....ssss.sss..........s.sssssss...ss.s......s. [ 93%]
................................ [ 99%]
tests/test_workflow.py ... [100%]
=================================== FAILURES ===================================
___________________________ test_run_env_systemroot ____________________________
@mock.patch("sys.platform", "win32")
def test_run_env_systemroot():
systemroot = os.environ.setdefault("SYSTEMROOT", "sigil")
> result = nox.command.run(
[PYTHON, "-c", 'import os; print(os.environ["SYSTEMROOT"])'],
silent=True
)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_command.py:164:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/nox/command.py:102: in run
cmd_path = which(os.fspath(cmd), paths)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
program = '/usr/bin/python3.13', paths = None
def which(program: str | os.PathLike[str], paths: Sequence[str] | None) ->
str:
"""Finds the full path to an executable."""
if paths is not None:
full_path = shutil.which(program, path=os.pathsep.join(paths))
if full_path:
return os.fspath(full_path)
full_path = shutil.which(program)
if full_path:
return os.fspath(full_path)
logger.error(f"Program {program} not found.")
> raise CommandFailed(f"Program {program} not found")
E nox.command.CommandFailed: Program /usr/bin/python3.13 not found
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/nox/command.py:60: CommandFailed
------------------------------ Captured log call -------------------------------
ERROR nox:command.py:59 Program /usr/bin/python3.13 not found.
=================================== XPASSES ====================================
________________________ test_no_color_timestamp[color] ________________________
----------------------------- Captured stderr call -----------------------------
[36mnox > [34mbar[0m
[36mnox > [2024-12-14 17:33:10,366] [34mbar[0m
[36mnox > [34mbar[0m
[36mnox > [2024-12-14 17:33:10,366] [34mbar[0m
foo
foo
------------------------------ Captured log call -------------------------------
INFO nox:test_logger.py:75 bar
INFO nox:test_logger.py:84 bar
OUTPUT nox:logger.py:87 foo
=========================== short test summary info ============================
SKIPPED [1] tests/test_command.py:62: Needs git
SKIPPED [1] tests/test_command.py:383: Only run this test on Windows.
SKIPPED [1] tests/test_command.py:405: Only run this test on Windows.
SKIPPED [1] tests/test_sessions.py:1037: Missing conda command.
SKIPPED [1] tests/test_tox_to_nox.py:284: Not supported in tox 4.
SKIPPED [1] tests/test_virtualenv.py:156: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:185: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:197: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:211: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:241: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:247: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:264: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:431: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:463: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:476: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:488: Missing conda command.
SKIPPED [4] tests/test_virtualenv.py:507: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:532: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:532: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:587: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:687: Python 2.7 unsupported for
virtualenv>=20.22.0
XPASS tests/test_logger.py::test_no_color_timestamp[color]
FAILED tests/test_command.py::test_run_env_systemroot - nox.command.CommandFa...
===== 1 failed, 518 passed, 24 skipped, 3 deselected, 1 xpassed in 11.15s ======
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest --ignore
tests/test_action_helper.py -k "not
test_create_reuse_stale_virtualenv_environment and not
test_create_reuse_venv_environment and not test_create_venv_backend"
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build;
python3.12 -m pytest --ignore tests/test_action_helper.py -k "not
test_create_reuse_stale_virtualenv_environment and not
test_create_reuse_venv_environment and not test_create_venv_backend"
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build
configfile: pyproject.toml
testpaths: tests
plugins: typeguard-4.4.1
collected 547 items / 3 deselected / 544 selected
tests/test__option_set.py ......... [ 1%]
tests/test__parametrize.py .................... [ 5%]
tests/test__version.py ............. [ 7%]
tests/test_command.py ..s.....F...........s.s.......... [ 13%]
tests/test_logger.py ...X. [ 14%]
tests/test_main.py ..................................................... [ 24%]
......................................... [ 31%]
tests/test_manifest.py ................................................. [ 40%]
......... [ 42%]
tests/test_registry.py ........... [ 44%]
tests/test_sessions.py ................................................. [ 53%]
...............................................................s........ [ 66%]
............................... [ 72%]
tests/test_tasks.py ................................................... [ 81%]
tests/test_toml.py ...... [ 83%]
tests/test_tox_to_nox.py ........s. [ 84%]
tests/test_virtualenv.py .....ssss.sss..........s.sssssss...ss.s......s. [ 93%]
................................ [ 99%]
tests/test_workflow.py ... [100%]
=================================== FAILURES ===================================
___________________________ test_run_env_systemroot ____________________________
@mock.patch("sys.platform", "win32")
def test_run_env_systemroot():
systemroot = os.environ.setdefault("SYSTEMROOT", "sigil")
> result = nox.command.run(
[PYTHON, "-c", 'import os; print(os.environ["SYSTEMROOT"])'],
silent=True
)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_command.py:164:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/nox/command.py:102: in run
cmd_path = which(os.fspath(cmd), paths)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
program = '/usr/bin/python3.12', paths = None
def which(program: str | os.PathLike[str], paths: Sequence[str] | None) ->
str:
"""Finds the full path to an executable."""
if paths is not None:
full_path = shutil.which(program, path=os.pathsep.join(paths))
if full_path:
return os.fspath(full_path)
full_path = shutil.which(program)
if full_path:
return os.fspath(full_path)
logger.error(f"Program {program} not found.")
> raise CommandFailed(f"Program {program} not found")
E nox.command.CommandFailed: Program /usr/bin/python3.12 not found
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/nox/command.py:60: CommandFailed
------------------------------ Captured log call -------------------------------
ERROR nox:command.py:59 Program /usr/bin/python3.12 not found.
=================================== XPASSES ====================================
________________________ test_no_color_timestamp[color] ________________________
----------------------------- Captured stderr call -----------------------------
[36mnox > [34mbar[0m
[36mnox > [2024-12-14 17:33:21,750] [34mbar[0m
[36mnox > [34mbar[0m
[36mnox > [2024-12-14 17:33:21,750] [34mbar[0m
foo
foo
------------------------------ Captured log call -------------------------------
INFO nox:test_logger.py:75 bar
INFO nox:test_logger.py:84 bar
OUTPUT nox:logger.py:87 foo
=========================== short test summary info ============================
SKIPPED [1] tests/test_command.py:62: Needs git
SKIPPED [1] tests/test_command.py:383: Only run this test on Windows.
SKIPPED [1] tests/test_command.py:405: Only run this test on Windows.
SKIPPED [1] tests/test_sessions.py:1037: Missing conda command.
SKIPPED [1] tests/test_tox_to_nox.py:284: Not supported in tox 4.
SKIPPED [1] tests/test_virtualenv.py:156: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:185: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:197: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:211: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:241: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:247: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:264: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:431: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:463: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:476: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:488: Missing conda command.
SKIPPED [4] tests/test_virtualenv.py:507: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:532: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:532: Missing conda command.
SKIPPED [1] tests/test_virtualenv.py:587: Missing uv command.
SKIPPED [1] tests/test_virtualenv.py:687: Python 2.7 unsupported for
virtualenv>=20.22.0
XPASS tests/test_logger.py::test_no_color_timestamp[color]
FAILED tests/test_command.py::test_run_env_systemroot - nox.command.CommandFa...
===== 1 failed, 518 passed, 24 skipped, 3 deselected, 1 xpassed in 10.74s ======
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest --ignore
tests/test_action_helper.py -k "not
test_create_reuse_stale_virtualenv_environment and not
test_create_reuse_venv_environment and not test_create_venv_backend"
dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.12" returned
exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202412/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.