Package Details: python-pyqt5-stubs 5.15.6.0-2

Git Clone URL: https://aur.archlinux.org/python-pyqt5-stubs.git (read-only, click to copy)
Package Base: python-pyqt5-stubs
Description: PEP561 stub files for the PyQt5 framework
Upstream URL: https://github.com/python-qt-tools/PyQt5-stubs
Licenses: GPL3
Submitter: hexchain
Maintainer: hexchain
Last Packager: hexchain
Votes: 2
Popularity: 0.000009
First Submitted: 2020-06-18 09:46 (UTC)
Last Updated: 2023-09-30 14:31 (UTC)

Latest Comments

Antiz commented on 2023-09-30 14:12 (UTC)

This package is missing python-setuptools as a makedepends:

$ pkgctl build --repo extra
[...]
==> Starting build()...
Traceback (most recent call last):
  File "/build/python-pyqt5-stubs/src/PyQt5-stubs-5.15.6.0/setup.py", line 14, in <module>
    from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'
==> ERROR: A failure occurred in build().
    Aborting...

hexchain commented on 2022-05-26 13:45 (UTC)

@zeGolem: I cannot reproduce this in a clean chroot.

zeGolem commented on 2022-05-26 12:27 (UTC)

Getting this very weird warning trying to install this:

WARNING: Discarding https://files.pythonhosted.org/packages/ce/18/81a91dab05831434d70a51bc5711fe83c4da5cc3bdbbfa798409ef3684c0/PyQt5-5.14.2-5.14.2-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl#sha256=ee168a486c9a758511568147815e2959652cd0aabea832fa5e87cf6b241d2180 (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.5). Requested PyQt5==5.14.* from https://files.pythonhosted.org/packages/ce/18/81a91dab05831434d70a51bc5711fe83c4da5cc3bdbbfa798409ef3684c0/PyQt5-5.14.2-5.14.2-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl#sha256=ee168a486c9a758511568147815e2959652cd0aabea832fa5e87cf6b241d2180 has inconsistent version: filename has '5.14.2', but metadata has '5.14.2'

This is followed by a very, very long error backtrace that comes down to this:

    Checking to see if the dbus-python support should be built...
    The dbus-python package does not seem to be installed.
    Traceback (most recent call last):
      File "/usr/lib/python3.10/site-packages/pep517/in_process/_in_process.py", line 156, in prepare_metadata_for_build_wheel
        hook = backend.prepare_metadata_for_build_wheel
    AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/lib/python3.10/site-packages/pep517/in_process/_in_process.py", line 363, in <module>
        main()
      File "/usr/lib/python3.10/site-packages/pep517/in_process/_in_process.py", line 345, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/usr/lib/python3.10/site-packages/pep517/in_process/_in_process.py", line 160, in prepare_metadata_for_build_wheel
        whl_basename = backend.build_wheel(metadata_directory, config_settings)
      File "/tmp/pip-build-env-jk88qh3y/overlay/lib/python3.10/site-packages/sipbuild/api.py", line 51, in build_wheel
        project = AbstractProject.bootstrap('pep517')
      File "/tmp/pip-build-env-jk88qh3y/overlay/lib/python3.10/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
        project.setup(pyproject, tool, tool_description)
      File "/tmp/pip-build-env-jk88qh3y/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 501, in setup
        self.verify_configuration(tool)
      File "/tmp/pip-build-env-jk88qh3y/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 577, in verify_configuration
        raise UserException(
    sipbuild.exceptions.UserException

which confuses me, because I have the dbus-python package installed on my system…