• Bug#1066791: pyiosxr: FTBFS: ModuleNotFoundError: No module named 'netm

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 16:20:01 2024
    Source: pyiosxr
    Version: 0.53-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240313 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    debian/rules build
    dh build --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
    I: pybuild base:305: python3.12 setup.py config /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section)
    running config
    I: pybuild base:305: python3.11 setup.py config /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section)
    running config
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild base:305: /usr/bin/python3.12 setup.py build /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section)
    running build
    running build_py
    file pyIOSXR.py (for module pyIOSXR) not found
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyIOSXR/build/pyIOSXR copying pyIOSXR/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyIOSXR/build/pyIOSXR
    copying pyIOSXR/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyIOSXR/build/pyIOSXR
    copying pyIOSXR/iosxr.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyIOSXR/build/pyIOSXR
    running egg_info
    creating pyIOSXR.egg-info
    writing pyIOSXR.egg-info/PKG-INFO
    writing dependency_links to pyIOSXR.egg-info/dependency_links.txt
    writing requirements to pyIOSXR.egg-info/requires.txt
    writing top-level names to pyIOSXR.egg-info/top_level.txt
    writing manifest file 'pyIOSXR.egg-info/SOURCES.txt'
    file pyIOSXR.py (for module pyIOSXR) not found
    reading manifest file 'pyIOSXR.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pyIOSXR.egg-info/SOURCES.txt'
    file pyIOSXR.py (for module pyIOSXR) not found
    I: pybuild base:305: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section)
    running build
    running build_py
    file pyIOSXR.py (for module pyIOSXR) not found
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyIOSXR/build/pyIOSXR copying pyIOSXR/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyIOSXR/build/pyIOSXR
    copying pyIOSXR/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyIOSXR/build/pyIOSXR
    copying pyIOSXR/iosxr.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyIOSXR/build/pyIOSXR
    running egg_info
    writing pyIOSXR.egg-info/PKG-INFO
    writing dependency_links to pyIOSXR.egg-info/dependency_links.txt
    writing requirements to pyIOSXR.egg-info/requires.txt
    writing top-level names to pyIOSXR.egg-info/top_level.txt
    file pyIOSXR.py (for module pyIOSXR) not found
    reading manifest file 'pyIOSXR.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pyIOSXR.egg-info/SOURCES.txt'
    file pyIOSXR.py (for module pyIOSXR) not found
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyIOSXR/build; python3.12 -m unittest discover -v
    pyIOSXR (unittest.loader._FailedTest.pyIOSXR) ... ERROR

    ======================================================================
    ERROR: pyIOSXR (unittest.loader._FailedTest.pyIOSXR) ---------------------------------------------------------------------- ImportError: Failed to import test module: pyIOSXR
    Traceback (most recent call last):
    File "/usr/lib/python3.12/unittest/loader.py", line 427, in _find_test_path
    package = self._get_module_from_name(name)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
    __import__(name)
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyIOSXR/build/pyIOSXR/__init__.py", line 20, in <module>
    from pyIOSXR.iosxr import IOSXR
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyIOSXR/build/pyIOSXR/iosxr.py", line 29, in <module>
    from netmiko.ssh_exception import NetMikoTimeoutException ModuleNotFoundError: No module named 'netmiko.ssh_exception'


    ----------------------------------------------------------------------
    Ran 1 test in 0.000s

    FAILED (errors=1)
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyIOSXR/build; python3.12 -m unittest discover -v
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyIOSXR/build; python3.11 -m unittest discover -v
    pyIOSXR (unittest.loader._FailedTest.pyIOSXR) ... ERROR

    ======================================================================
    ERROR: pyIOSXR (unittest.loader._FailedTest.pyIOSXR) ---------------------------------------------------------------------- ImportError: Failed to import test module: pyIOSXR
    Traceback (most recent call last):
    File "/usr/lib/python3.11/unittest/loader.py", line 452, in _find_test_path
    package = self._get_module_from_name(name)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/unittest/loader.py", line 362, in _get_module_from_name
    __import__(name)
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyIOSXR/build/pyIOSXR/__init__.py", line 20, in <module>
    from pyIOSXR.iosxr import IOSXR
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyIOSXR/build/pyIOSXR/iosxr.py", line 29, in <module>
    from netmiko.ssh_exception import NetMikoTimeoutException ModuleNotFoundError: No module named 'netmiko.ssh_exception'


    ----------------------------------------------------------------------
    Ran 1 test in 0.000s

    FAILED (errors=1)
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyIOSXR/build; python3.11 -m unittest discover -v
    dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" returned exit code 13


    The full build log is available from: http://qa-logs.debian.net/2024/03/13/pyiosxr_0.53-1_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

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

    Your message dated Sun, 17 Mar 2024 18:46:40 +0000
    with message-id <E1rlvWq-00AwGS-2R@fasolo.debian.org>
    and subject line Bug#1065370: Removed package(s) from unstable
    has caused the Debian Bug report #1066791,
    regarding pyiosxr: FTBFS: ModuleNotFoundError: No module named 'netmiko.ssh_exception'
    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.)


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

    Received: (at submit) by bugs.debian.org; 13 Mar 2024 15:11:37 +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=-106.1 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    FROMDEVELOPER,FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_NONE,
    T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 37; hammy, 150; neutral, 238; spammy,
    0. spammytokens: hammytokens:0.000-+--python3,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:311
    Return-path: <lucas@debian.org>
    Received: from stravinsky.