• Bug#1098590: pynput: FTBFS: /usr/bin/python3.12: No module named pip

    From Santiago Vila@21:1/5 to All on Sat Feb 22 00:40:08 2025
    Package: src:pynput
    Version: 1.7.7-1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

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

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean --with sphinxdoc --buildsystem=pybuild
    dh_auto_clean -O--buildsystem=pybuild
    I: pybuild base:311: python3.12 setup.py clean /usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    dist.fetch_build_eggs(dist.setup_requires)
    /usr/bin/python3.12: No module named pip
    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 107, in _fetch_build_egg_no_warn
    subprocess.check_call(cmd)
    File "/usr/lib/python3.12/subprocess.py", line 415, in check_call
    raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['/usr/bin/python3.12', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpuxdcscu6', '--quiet', 'six']' returned non-zero exit status 1.

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/setup.py", line 87, in <module>
    setuptools.setup(
    File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 116, in setup
    _install_setup_requires(attrs)
    File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 89, in _install_setup_requires
    _fetch_build_eggs(dist)
    File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 94, in _fetch_build_eggs
    dist.fetch_build_eggs(dist.setup_requires)
    File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 663, in fetch_build_eggs
    return _fetch_build_eggs(self, requires)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 44, in _fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 888, in resolve
    dist = self._resolve_dist(
    ^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 924, in _resolve_dist
    dist = best[req.key] = env.best_match(
    ^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1262, in best_match
    return self.obtain(req, installer)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1298, in obtain
    return installer(requirement) if installer else None
    ^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 109, in _fetch_build_egg_no_warn
    raise DistutilsError(str(e)) from e
    distutils.errors.DistutilsError: Command '['/usr/bin/python3.12', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpuxdcscu6', '--quiet', 'six']' returned non-zero exit status 1.
    E: pybuild pybuild:389: clean: plugin distutils failed with: exit code=1: python3.12 setup.py clean
    dh_auto_clean: error: pybuild --clean -i python{version} -p "3.12 3.13" returned exit code 13
    make: *** [debian/rules:6: clean] Error 25
    dpkg-buildpackage: error: debian/rules clean 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/202502/

    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:pynput, 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 Sun Feb 23 17:00:01 2025
    Processing control commands:

    tag -1 pending
    Bug #1098590 [src:pynput] pynput: FTBFS: /usr/bin/python3.12: No module named pip
    Added tag(s) pending.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Colin Watson@21:1/5 to All on Sun Feb 23 17:00:01 2025
    Control: tag -1 pending

    Hello,

    Bug #1098590 in pynput reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/python-team/packages/pynput/-/commit/0d013b0dd97b26724d22d8733ea9aabad1bce280

    ------------------------------------------------------------------------ Build-depend on python3-six

    Closes: #1098590 ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1098590

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

    Your message dated Sun, 23 Feb 2025 16:20:55 +0000
    with message-id <E1tmEit-00F2c8-0Y@fasolo.debian.org>
    and subject line Bug#1098590: fixed in pynput 1.7.7-2
    has caused the Debian Bug report #1098590,
    regarding pynput: FTBFS: /usr/bin/python3.12: No module named pip
    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.)


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

    Received: (at submit) by bugs.debian.org; 21 Feb 2025 23:28:20 +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.5 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, 12; hammy, 150; neutral, 203; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila Return-path: <sanvila@debian.org>
    Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff: