• Bug#1099276: python-testscenarios: FTBFS: ModuleNotFoundError: No modul

    From Santiago Vila@21:1/5 to All on Sat Mar 1 22:10:16 2025
    Package: src:python-testscenarios
    Version: 0.5.0-4
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    make: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions
    dh clean --with python3
    dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
    debian/rules override_dh_auto_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    make[1]: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions
    rm -rf build
    find . -iname '*.pyc' -delete
    for i in $(find . -type d -iname __pycache__) ; do rm -rf $i ; done
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_clean
    dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
    debian/rules binary
    make: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions
    dh binary --with python3
    dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
    dh_update_autotools_config
    dh_auto_configure
    dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use)
    debian/rules override_dh_auto_build
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    make[1]: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions echo "Do nothing..."
    Do nothing...
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_test
    dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use)
    make -j1 check
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    PYTHONPATH=/<<PKGBUILDDIR>>: python3 -m testtools.run \
    testscenarios.test_suite
    Tests running... ======================================================================
    ERROR: unittest.loader._FailedTest.testscenarios ---------------------------------------------------------------------- ImportError: Failed to import test module: testscenarios
    Traceback (most recent call last):
    File "/usr/lib/python3.13/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
    File "/<<PKGBUILDDIR>>/testscenarios/__init__.py", line 41, in <module>
    from pbr.version import VersionInfo
    ModuleNotFoundError: No module named 'pbr'


    Ran 1 test in 0.001s
    FAILED (failures=1)
    make[1]: *** [Makefile:7: check] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_test: error: make -j1 check returned exit code 2
    make: *** [debian/rules:7: binary] Error 255
    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/202503/

    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 add an affects on src:python-testscenarios, so that this is still visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Mar 3 17:10:01 2025
    This is a multi-part message in MIME format...

    Your message dated Mon, 03 Mar 2025 16:07:09 +0000
    with message-id <E1tp8Jx-00F6z0-Qr@fasolo.debian.org>
    and subject line Bug#1099276: fixed in python-testscenarios 0.5.0-5
    has caused the Debian Bug report #1099276,
    regarding python-testscenarios: FTBFS: ModuleNotFoundError: No module named 'pbr'
    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 owner@bugs.debian.org
    immediately.)


    --
    1099276: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099276
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 1 Mar 2025 21:02:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-120.6 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
    RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 141; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto Return-path: <sanvila@debian.org>
    Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d