Source: python-nox
Version: 2024.04.15-1
Severity: normal
User: [email protected]
Usertags: python3.13
This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.
I suggest Build-Depending on python3-all-venv.
Log snippet:
nox > Command /usr/bin/python3.13 -m venv
/tmp/pytest-of-debusine-worker/pytest-0/test_stale_environment_venv_vi0/venv
failed with exit code 1:
nox > Command /usr/bin/python3.13 -m venv
/tmp/pytest-of-debusine-worker/pytest-0/test_stale_environment_venv_vi0/venv
failed with exit code 1:
nox > Command /usr/bin/python3.13 -m venv
/tmp/pytest-of-debusine-worker/pytest-0/test_stale_environment_venv_vi0/venv
failed with exit code 1:
nox > Command /usr/bin/python3.13 -m venv
/tmp/pytest-of-debusine-worker/pytest-0/test_stale_environment_venv_vi0/venv
failed with exit code 1:
nox > Command /usr/bin/python3.13 -m venv
/tmp/pytest-of-debusine-worker/pytest-0/test_stale_environment_venv_vi0/venv
failed with exit code 1:
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt install python3.13-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command:
/tmp/pytest-of-debusine-worker/pytest-0/test_stale_environment_venv_vi0/venv/bin/python3.13
------------------------------ Captured log call -------------------------------
INFO nox:virtualenv.py:593 Creating virtual environment (venv) using
python3.13 in
/tmp/pytest-of-debusine-worker/pytest-0/test_stale_environment_venv_vi0/venv
ERROR nox:command.py:141 Command /usr/bin/python3.13 -m venv
/tmp/pytest-of-debusine-worker/pytest-0/test_stale_environment_venv_vi0/venv
failed with exit code 1:
=================================== XPASSES ====================================
________________________ test_no_color_timestamp[color] ________________________
----------------------------- Captured stderr call -----------------------------
[36mnox > [34mbar[0m
[36mnox > [2024-09-19 04:40:02,439] [34mbar[0m
[36mnox > [34mbar[0m
[36mnox > [2024-09-19 04:40:02,440] [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_virtualenv.py::test_stale_environment[venv-virtualenv-True]
===== 1 failed, 518 passed, 24 skipped, 3 deselected, 1 xpassed in 17.93s ======
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.6, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build
configfile: pyproject.toml
testpaths: tests
plugins: typeguard-4.3.0
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.................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%]
=================================== XPASSES ====================================
________________________ test_no_color_timestamp[color] ________________________
----------------------------- Captured stderr call -----------------------------
[36mnox > [34mbar[0m
[36mnox > [2024-09-19 04:40:20,907] [34mbar[0m
[36mnox > [34mbar[0m
[36mnox > [2024-09-19 04:40:20,907] [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]
========== 519 passed, 24 skipped, 3 deselected, 1 xpassed in 18.41s ===========
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
--------------------------------------------------------------------------------
Build finished at 2024-09-19T04:40:36Z
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/786417/
This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.
Thanks,
Stefano