Debian Patches

Status for python-pyqtgraph/0.13.1-4

Patch Description Author Forwarded Bugs Origin Last update
2459.patch [PATCH] Update, import distutils after setuptools
This makes the package build again with newer setuptools, fixing this build failure:

make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
/<<PKGBUILDDIR>>/ DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
import distutils.dir_util
/usr/lib/python3/dist-packages/_distutils_hack/ UserWarning: Distutils was imported before Setuptools, but importing Setuptools also replaces the `distutils` module in `sys.modules`. This may lead to undesirable behaviors or errors. To avoid these issues, avoid using distutils directly, ensure that setuptools is installed in the traditional way (e.g. not an editable install), and/or make sure that setuptools is always imported before distutils.
/usr/lib/python3/dist-packages/_distutils_hack/ UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/", line 112, in <module>
File "/usr/lib/python3/dist-packages/setuptools/", line 87, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/", line 172, in setup
ok = dist.parse_command_line()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/", line 479, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/usr/lib/python3/dist-packages/setuptools/", line 1107, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/", line 545, in _parse_command_opts
raise DistutilsClassError(
distutils.errors.DistutilsClassError: command class <class '__main__.Build'> must subclass Command
dh_auto_build: error: pybuild --build -i python{version} -p 3.10 returned exit code 13
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
Gianfranco Costamagna <> no 2022-10-03
fix-build.patch Using sphinx_qt_documentation fails when internet is not available, due to missing pyside6 Gianfranco Costamagna <> no 2023-02-04

All known versions for source package 'python-pyqtgraph'