Your message dated Tue, 24 Dec 2024 19:21:07 +0000
with message-id <[email protected]>
and subject line Bug#1090281: fixed in python-nox 2024.04.15-3
has caused the Debian Bug report #1090281,
regarding python-nox: FTBFS: E nox.command.CommandFailed: Program 
/usr/bin/python3.12 not found
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1090281: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090281
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 -----------------------------
nox > bar
nox > [2024-12-14 17:33:10,366] bar
nox > bar
nox > [2024-12-14 17:33:10,366] bar
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 -----------------------------
nox > bar
nox > [2024-12-14 17:33:21,750] bar
nox > bar
nox > [2024-12-14 17:33:21,750] bar
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.

--- End Message ---
--- Begin Message ---
Source: python-nox
Source-Version: 2024.04.15-3
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-nox, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated python-nox package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 24 Dec 2024 18:56:26 +0000
Source: python-nox
Architecture: source
Version: 2024.04.15-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1090281
Changes:
 python-nox (2024.04.15-3) unstable; urgency=medium
 .
   * Team upload.
   * tests: fix broken mock on CPython 3.12.8+ (closes: #1090281).
Checksums-Sha1:
 8eabbb481a8840c1d4545b34db81c5608b5537f1 2536 python-nox_2024.04.15-3.dsc
 f0e7c5128baff7c3e7e2dc8836f009b155e892a6 6384 
python-nox_2024.04.15-3.debian.tar.xz
Checksums-Sha256:
 02b60b696bec9ef354eeb3b3120e30d7fb8e95d250af4ce9f25ee5c5af9acc00 2536 
python-nox_2024.04.15-3.dsc
 b575d63a53de4f4de7bdd98b1af9366741749025df30aa06013c737340c45c0e 6384 
python-nox_2024.04.15-3.debian.tar.xz
Files:
 fb0a18341fc774e387671a7f544e2ec3 2536 python optional 
python-nox_2024.04.15-3.dsc
 ec774de2c0cd8794882ee9555097f68a 6384 python optional 
python-nox_2024.04.15-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmdrA/YACgkQOTWH2X2G
UAuoOQ/+PYR2B74qEstc2eJZL79QDI7YecnWQF8oiKWNFD6Lih9HwqQQP+Vclomx
/AY1GzEh92VDuSWy5XUcnny9RhvWTgVrlaTM3YDxEqYJVPKno4opwP2jlMiKRRnK
7kyt2Nei3dwCBA8GgIBoaQ4UdYgDLZHzfBPh7HPYfLfPAP8zykRuXxjwT/EDC61v
waJHbpO18VR+LAjukaNEWhj+7b+ltl4RRatr38x6ythiSMC9TErcjiHXghqAUSXg
8L6+56xUZWKLX2I9K8xLm1YRWNROE9aGGE5ASO/M4gZH4B49IBLyk7I1tgbTaHPB
Ec0W78ikNtOUTXKlDteUKeeQK45Jf7HQOHXiLPjEx6dGhA0r+O4gN9bc2BB+L6+s
JdNaipgCtnL8C8MWIxBC1KTpzT2NYDYHupKonqM111r4ni7lb42lNbrk3pXO7ocd
000juPasJHIg4bPpwJsRZxyCD8vrGi5s7BVcWm/7ygR9Ik9fAtcL1++25OID3UzB
9M5Gk5LTN99lTdHdhZ9+R683v95/ndye4JoQbiMWc30+OFBjUKdnqDzdjsL9LiFF
5Oq36vp6AA39LSixtYJW655KD4Q4lcpmZIQXNbUdSyNP9szMMiB+pbz/MxPwKsY4
WLNwbysOighWI9es8feOoJzcxWbeV6nZ/ER9reZfMGHaASPWFVM=
=JB0C
-----END PGP SIGNATURE-----

Attachment: pgphdOV5z1Rdm.pgp
Description: PGP signature


--- End Message ---

Reply via email to