Debian Patches
Status for spyder/6.1.3+ds-6
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| Customize-paths-for-Debian.patch | Customize paths for Debian <debian-science-maintainers@lists.alioth.debian.org> | Debian Science Maintainers | not-needed | 2014-07-18 | ||
| Customize-tests-for-Debian.patch | Use Debian packages for tests rather than local imports =================================================================== |
Julian Gilbey <jdg@debian.org> | not-needed | vendor | 2024-11-24 | |
| no_check_for_updates.patch | Do not check for Spyder updates when running the Debian version =================================================================== |
Julian Gilbey <jdg@debian.org> | not-needed | vendor | 2024-11-24 | |
| skip-failing-yapf-test.patch | Skip a failing yapf test | Jochen Sprickerhof <jspricke@debian.org> and Julian Gilbey <jdg@debian.org> | yes | 2024-12-29 | ||
| python3.13-tests.patch | Some parameters in tests are different in Python 3.13 Upstream will make this or a similar change when they start officially supporting Python 3.13. |
Julian Gilbey <jdg@debian.org> | not-needed | 2024-12-29 | ||
| drop_importlib_metadata.patch | Drop dependency on importlib-metadata This is only used as a fallback when running under Python < 3.10, so we don't need it in Debian. =================================================================== |
Alexandre Detiste <tchet@debian.org> and Julian Gilbey <jdg@debian.org> | not-needed | 2025-05-11 | ||
| python3.14-tests.patch | Bump some test parameters for Python 3.14 | Colin Watson <cjwatson@debian.org> | no | 2025-12-17 | ||
| pytest9_FixtureDef_no_fixturemanager.patch | =================================================================== | no | ||||
| no_ruff.patch | =================================================================== | no | ||||
| fix-svg-zero-division.patch | Fix ZeroDivisionError in svg_to_scaled_pixmap QPixmap cannot reliably load SVG files in all Qt/PyQt versions; Qt 6.9 / PyQt6 6.10 returns a null 0x0 pixmap for SVG paths, which caused a ZeroDivisionError when computing the aspect ratio: aspect_ratio = width / height # height == 0 → ZeroDivisionError Use QSvgRenderer.defaultSize() instead to obtain the natural SVG dimensions, and reuse the already-created renderer for painting so the file is only opened once. |
Bastian Germann <bage@debian.org> | no | |||
| fix-svg-zero-division-tests.patch | Fix SVG dimension handling in test_plots_widgets.py QPixmap.loadFromData(svg_bytes, 'IMAGE/SVG+XML') returns a null 0x0 pixmap in Qt 6.9+, causing tests to fail when fmt='image/svg+xml': - test_save_figure_to_file[image/svg+xml-.svg] - test_save_figure_to_file[image/svg+xml-.png] - test_zoom_figure_viewer[image/svg+xml] - test_autofit_figure_viewer[image/svg+xml] Add a figure_to_qpixmap() helper that uses qtconsole's svg_to_image (which uses QSvgRenderer internally) for SVG figures, and use it in the affected tests. Also fix test_save_figure_to_file[image/svg+xml-.svg]: when loading the saved .svg file back for comparison, use svg_to_image instead of QPixmap.load() which also returns a null pixmap for SVG in Qt 6.9+. This is the test-side counterpart of fix-svg-zero-division.patch. |
Bastian Germann <bage@debian.org> | no | |||
| explorer-fix-infinite-loop.patch | explorer: fix infinite loop in remove_tree when moveToTrash fails QFile.moveToTrash() can silently return False (e.g. in headless/CI environments with no D-Bus trash service). The previous while-loop retried indefinitely in that case, causing test_delete_file to hang until the pytest timeout fired. Replace the loop with a single attempt; fall back to shutil.rmtree if moveToTrash reports failure. Additionally fall back to shutil.rmtree if moveToTrash reports success but the directory still exists, which can happen in headless environments where the trash operation silently does nothing. Fixes autopkgtest hang in test_delete_file. |
Bastian Germann <bage@debian.org> | no |
All known versions for source package 'spyder'
- 6.1.3+ds-6 (sid, forky)
- 6.0.5+ds-6 (trixie)
- 5.4.2+ds-5+deb12u1 (bookworm)
