Bug#1025183: silx: (autopkgtest) needs update for python3.11: Segmentation fault
Hi Simon (2023.01.26_19:30:35_-0400) > While I can't confirm the original error in the bug report, I can confirm > that the autopkgtests fail with Python 3.11, and require some fixes. > > I have uploaded a fix for this to Ubuntu, the delta is attached. I also > uploaded this to DELAYED/2 (the fix is non-intrusive and only affects the > test suite, so it should be safe). Please let me know if you would like this > delayed further, cancelled, or expedited. Thanks, I'll team-upload that now. I had looked at the next upstream version, and got a whole slew of other test failures. This looks like a much simpler solution... SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
Bug#1025183: silx: (autopkgtest) needs update for python3.11: Segmentation fault
Hello, While I can't confirm the original error in the bug report, I can confirm that the autopkgtests fail with Python 3.11, and require some fixes. I have uploaded a fix for this to Ubuntu, the delta is attached. I also uploaded this to DELAYED/2 (the fix is non-intrusive and only affects the test suite, so it should be safe). Please let me know if you would like this delayed further, cancelled, or expedited. Thanks, -- Simon Quigley si...@tsimonq2.net tsimonq2 on LiberaChat and OFTC @tsimonq2:linuxdelta.com on Matrix 5C7A BEA2 0F86 3045 9CC8 C8B5 E27F 2CF8 458C 2FA4 diff -Nru silx-1.1.0+dfsg/debian/changelog silx-1.1.0+dfsg/debian/changelog --- silx-1.1.0+dfsg/debian/changelog 2022-11-04 15:54:24.0 + +++ silx-1.1.0+dfsg/debian/changelog 2023-01-26 22:56:43.0 + @@ -1,3 +1,9 @@ +silx (1.1.0+dfsg-3ubuntu1) lunar; urgency=medium + + * Add a patch fixing the build with Python 3.11. + + -- Simon Quigley Thu, 26 Jan 2023 16:56:43 -0600 + silx (1.1.0+dfsg-3) unstable; urgency=medium * do not run test which use lot's of memory diff -Nru silx-1.1.0+dfsg/debian/control silx-1.1.0+dfsg/debian/control --- silx-1.1.0+dfsg/debian/control 2022-11-04 15:54:24.0 + +++ silx-1.1.0+dfsg/debian/control 2023-01-26 22:56:43.0 + @@ -1,5 +1,6 @@ Source: silx -Maintainer: Debian Science Maintainers +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Science Maintainers Uploaders: Jerome Kieffer , Picca Frédéric-Emmanuel , diff -Nru silx-1.1.0+dfsg/debian/patches/0008-python3.11-fix.patch silx-1.1.0+dfsg/debian/patches/0008-python3.11-fix.patch --- silx-1.1.0+dfsg/debian/patches/0008-python3.11-fix.patch 1970-01-01 00:00:00.0 + +++ silx-1.1.0+dfsg/debian/patches/0008-python3.11-fix.patch 2023-01-26 22:56:38.0 + @@ -0,0 +1,27 @@ +Description: Remove special-case for Python 3.11 +Author: Simon Quigley +Origin: vendor +Last-Update: 2023-01-26 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/src/silx/gui/utils/testutils.py b/src/silx/gui/utils/testutils.py +@@ -141,14 +141,10 @@ class TestCaseQt(unittest.TestCase): + + def _currentTestSucceeded(self): + if hasattr(self, '_outcome'): +-if hasattr(self, '_feedErrorsToResult'): +-# For Python 3.4 -3.10 +-result = self.defaultTestResult() # these 2 methods have no side effects +-if hasattr(self._outcome, 'errors'): +-self._feedErrorsToResult(result, self._outcome.errors) +-else: +-# Python 3.11+ +-result = self._outcome.result ++# For Python 3.4 -3.10 ++result = self.defaultTestResult() # these 2 methods have no side effects ++if hasattr(self._outcome, 'errors'): ++self._feedErrorsToResult(result, self._outcome.errors) + else: + # For Python < 3.4 + result = getattr(self, '_outcomeForDoCleanups', self._resultForDoCleanups) diff -Nru silx-1.1.0+dfsg/debian/patches/series silx-1.1.0+dfsg/debian/patches/series --- silx-1.1.0+dfsg/debian/patches/series 2022-11-04 15:54:24.0 + +++ silx-1.1.0+dfsg/debian/patches/series 2023-01-26 22:54:36.0 + @@ -5,3 +5,4 @@ 0005-removed-hdf5plugin-from-full-dependencies.patch 0007-python3.10-fix.patch 0007-do-not-install-scipy_spatial-COPYING.txt.patch +0008-python3.11-fix.patch OpenPGP_signature Description: OpenPGP digital signature
Bug#1025183: silx: (autopkgtest) needs update for python3.11: Segmentation fault
On Sat, Dec 03, 2022 at 10:06:21PM +1100, Stuart Prescott wrote: > It appears that src:silx FTBFS at present too. The failure is during > building the docs with python3.10, meaning that this failure predates > python3.11. > > The failing line is: > > # build the documentation > pybuild --build -s custom -p 3.10 --build-args="cd doc && env > PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' xvfb-run -a > --server-args=\"-screen 0 1024x768x24\" {interpreter} -m sphinx -N -bhtml > source build/html" > I: pybuild base:240: cd doc && env > PYTHONPATH=/build/silx-pvssnu/silx-1.1.0+dfsg/.pybuild/cpython3_3.10_silx/build > http_proxy='127.0.0.1:9' xvfb-run -a --server-args="-screen 0 1024x768x24" > python3.10 -m sphinx -N -bhtml source build/html > Running Sphinx v4.5.0 > [...snip...] > reading sources... [ 92%] modules/sx > qt.qpa.xcb: could not connect to display :109 > qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though > it was found. > This application failed to start because no Qt platform plugin could be > initialized. Reinstalling the application may fix this problem. > > Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, > offscreen, vnc, xcb. > > Aborted (core dumped) This doesn't happen for me or in the reproducible CI, it might be (or was) a bug that only triggers in some setups? cu Adrian
Bug#1025183: silx: (autopkgtest) needs update for python3.11: Segmentation fault
It appears that src:silx FTBFS at present too. The failure is during building the docs with python3.10, meaning that this failure predates python3.11. The failing line is: # build the documentation pybuild --build -s custom -p 3.10 --build-args="cd doc && env PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} -m sphinx -N -bhtml source build/html" I: pybuild base:240: cd doc && env PYTHONPATH=/build/silx-pvssnu/silx-1.1.0+dfsg/.pybuild/cpython3_3.10_silx/build http_proxy='127.0.0.1:9' xvfb-run -a --server-args="-screen 0 1024x768x24" python3.10 -m sphinx -N -bhtml source build/html Running Sphinx v4.5.0 [...snip...] reading sources... [ 92%] modules/sx qt.qpa.xcb: could not connect to display :109 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb. Aborted (core dumped) -- Stuart Prescott http://www.nanonanonano.net/ stu...@nanonanonano.net Debian Developer http://www.debian.org/ stu...@debian.org GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
Bug#1025183: silx: (autopkgtest) needs update for python3.11: Segmentation fault
Source: silx Version: 1.1.0+dfsg-3 Severity: serious Tags: sid bookworm User: debian...@lists.debian.org Usertags: needs-update User: debian-pyt...@lists.debian.org Usertags: python3.11 Control: affects -1 src:python3-defaults Dear maintainer(s), We are in the transition of adding python3.11 as a supported Python version [0]. With a recent upload of python3-defaults the autopkgtest of silx fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form: passfail python3-defaults from testing3.10.6-3 silx from testing1.1.0+dfsg-3 all others from testingfrom testing I copied some of the output at the bottom of this report. Currently this regression is blocking the migration of python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists what's new in Python3.11, it may help to identify what needs to be updated. More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [0] https://bugs.debian.org/1021984 [1] https://qa.debian.org/excuses.php?package=python3-defaults https://ci.debian.net/data/autopkgtest/testing/amd64/s/silx/28796438/log.gz Testing with python3.11: = test session starts == platform linux -- Python 3.11.0+, pytest-7.1.2, pluggy-1.0.0+repack rootdir: /tmp/autopkgtest-lxc.btdfxoen/downtmp/autopkgtest_tmp plugins: xvfb-2.0.0 collected 1796 items app/test/test_convert.py [ 0%] app/view/test/test_launcher.py . [ 0%] app/view/test/test_view.py FF [ 2%] gui/data/test/test_arraywidget.py sFFF [ 3%] gui/data/test/test_dataviewer.py FFF [ 5%] FFF [ 5%] gui/data/test/test_numpyaxesselector.py F [ 6%] gui/data/test/test_textformatter.py [ 7%] gui/dialog/test/test_colormapdialog.py FEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFE [ 8%] FEFE [ 8%] gui/dialog/test/test_datafiledialog.py F [ 10%] FF [ 10%] gui/dialog/test/test_imagefiledialog.py Fatal Python error: Segmentation fault Current thread 0x7fb29d541040 (most recent call first): File "/usr/lib/python3/dist-packages/silx/gui/utils/testutils.py", line 334 in qWait File "/usr/lib/python3/dist-packages/silx/gui/utils/testutils.py", line 393 in qWaitForDestroy File "/usr/lib/python3/dist-packages/silx/gui/dialog/test/test_imagefiledialog.py", line 124 in _deleteDialog File "/usr/lib/python3/dist-packages/silx/gui/dialog/test/test_imagefiledialog.py", line 151 in tearDown File "/usr/lib/python3.11/unittest/case.py", line 584 in _callTearDown File "/usr/lib/python3.11/unittest/case.py", line 626 in run File "/usr/lib/python3.11/unittest/case.py", line 678 in __call__ File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 327 in runtest File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 166 in pytest_runtest_call File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 259 in File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 338 in from_call File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 258 in call_runtest_hook File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 219 in call_and_report File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 130 in runtestprotocol File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 111 in pytest_runtest_protocol File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3/dist-packages/_pytest/main.py", line 347 in pytest_runtestloop File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3/dist-packages/_pytest/main.py", line 322 in _main File "/usr/lib/python3/dist-packages/_pytest/main.py", line 268 in wrap_session File "/usr/lib/python3/dist-packages/_pytest/main.py", line 315 in pytest_cmdline_main File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 80 in _hookexec File