Debian Patches
Status for python-mne/1.13.2-5
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0001-allow-missing-metadata-in-sys_info.patch | allow missing metadata in sys_info The upstream test assumes that all installed Python packages provide version metadata accessible via importlib.metadata. This assumption does not hold in Debian environments, especially on non-amd64 architectures (e.g., arm64), where packages may be built differently and lack dist-info metadata. In such cases, MNE-Python correctly falls back to '?' for unknown versions. This is expected behavior and should not cause test failures. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-04-23 | ||
| 0002-fix-python-interpreter-issue.patch | fix python interpreter issue | Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-16 | ||
| 0003-skip-quaternion-test-without-pyvistaqt.patch | skip-quaternion-test-without-pyvistaqt The test_quat_to_vtk_wxyz test only exercises the quaternion conversion helper, but importing the _pyvista module also requires pyvistaqt. pyvistaqt is not currently packaged in Debian, so the test fails with ModuleNotFoundError when running the test suite in Debian. Skip the test when pyvistaqt is unavailable, as is already done for other optional visualization dependencies. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-16 | ||
| 0004-use-local-intersphinx_mapping-files.patch | use local intersphinx_mapping files. | Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-18 | ||
| 0005-Skip-PyVistaQt-during-documentation-builds.patch | Skip unavailable PyVistaQt backend during documentation builds The Debian archive does not currently provide the pyvistaqt Python module. MNE's Sphinx-Gallery reset hook unconditionally selects the PyVistaQt 3D backend, causing the documentation build to fail before individual examples are executed. . Only select the PyVistaQt backend when the optional module is available. This allows documentation examples that do not require the Qt-based 3D backend to be processed without requiring an unavailable Debian dependency. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-18 | ||
| 0006-Use-an-absolute-path-for-the-default-thumbnail.patch | Use an absolute path for the default Sphinx-Gallery thumbnail Sphinx-Gallery could not find the default thumbnail because the relative path was resolved against the current working directory instead of the documentation source directory. . Build the path relative to doc/conf.py to ensure that the thumbnail can be located independently of the working directory. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-18 | ||
| 0007-Read-the-minimum-Python-version-from-pyproject.toml.patch | Read the minimum Python version from pyproject.toml The documentation configuration retrieves the minimum supported Python version from the installed MNE package metadata. This fails when the documentation is built from the Debian source tree before the package metadata is installed. . The pyproject.toml file is already loaded by the configuration. Use its requires-python field instead of querying the installed package metadata. This makes the documentation build independent of the installation state of the MNE package. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-18 | ||
| 0008-Skip-the-MNE-Qt-browser-scraper.patch | Skip the MNE Qt browser scraper when the optional dependency is unavailable The documentation configuration unconditionally enables the MNE Qt browser Sphinx-Gallery scraper. This causes the documentation build to fail when mne-qt-browser is not available in the Debian archive. . Enable the scraper only when mne_qt_browser can be imported. This allows the documentation build to proceed without the optional Qt browser dependency. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-18 | ||
| 0009-Disable-Sphinx-Gallery-example-execution-for-offline.patch | Disable Sphinx-Gallery example execution for offline builds The Debian build environment does not have network access. Executing Sphinx-Gallery examples therefore fails when tutorials attempt to download MNE sample datasets and other external resources. . Make gallery execution configurable through the MNE_DOC_BUILD_PLOT_GALLERY environment variable and disable it for Debian documentation builds. This avoids network-dependent example execution while still generating the documentation. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-18 | ||
| 0010-Use-relative-paths-for-generated-documentation-redir.patch | Use relative paths for generated documentation redirects The documentation build generated HTML redirects containing absolute paths based on Sphinx's output directory. In Debian builds this exposed the package build path, for example /build/python-mne-1.13.2/debian/python-mne-doc/usr/share/doc/.... . Use paths relative to the generated redirect pages instead. This avoids embedding the build directory in the installed documentation and makes the redirects work correctly after installation. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-18 | ||
| 0011-Disable-Google-Analytics-in-the-Debian-documentation.patch | Disable Google Analytics in the Debian documentation The upstream documentation enables Google Analytics through the PyData Sphinx Theme. This adds external tracking scripts to the generated HTML files and causes Lintian to report privacy-breach-generic warnings. . Remove the Google Analytics configuration from the documentation theme options to prevent the Debian documentation from loading external tracking scripts. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-18 | ||
| 0012-Disable-embedded-YouTube-videos-in-the-Debian-docume.patch | Disable embedded YouTube videos in the Debian documentation The upstream documentation enables the sphinxcontrib.youtube extension, which generates embedded YouTube iframes in the HTML documentation. These iframes cause Lintian to report privacy-breach-generic warnings because viewing the documentation can contact external YouTube servers. . The Debian documentation does not require embedded videos, so disable the YouTube Sphinx extension during the documentation build. This prevents external YouTube content from being embedded in the generated HTML. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-18 | ||
| 0013-Use-local-MathJax-installation-for-doc.patch | Use Debian's local MathJax installation for the documentation Sphinx 9 defaults to loading MathJax 4 from the jsDelivr CDN. This causes the generated MNE documentation to reference an external JavaScript resource and triggers Lintian privacy-breach-generic warnings. . Use the Debian-packaged MathJax 3 distribution from node-mathjax-full instead. Copy the packaged ES5 distribution into the documentation's static files during the Debian build and configure Sphinx to load the local tex-mml-chtml.js file. . This removes the external CDN dependency and allows the HTML documentation to render mathematical expressions without network access. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-18 | ||
| 0014-Disable-nitpicky-Sphinx-mode-for-the-Debian-document.patch | Disable nitpicky Sphinx mode for the Debian documentation build MNE enables Sphinx's nitpicky mode to detect unresolved cross-references during the upstream documentation build. This produces a large number of warnings when the documentation is built in the Debian environment because not all external intersphinx inventories are available locally. . Disable nitpicky mode for the Debian documentation build. The generated documentation remains usable while avoiding thousands of warnings for optional or unavailable external cross-references. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-18 | ||
| 0015-Resolve-the-NumPy-glossary-term.patch | Resolve the NumPy glossary term through the local Intersphinx inventory Use an explicit external Intersphinx reference so that the NumPy glossary term can be resolved from the local Debian inventory. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-09-18 | ||
| 0016-Reproducible-documentation.patch | Make the build reproducible | Chris Lamb <lamby@debian.org> | not-needed | 2026-09-30 |
All known versions for source package 'python-mne'
- 1.13.2-5 (sid)
- 1.13.2-2 (forky)
- 1.9.0-2 (trixie)
- 1.3.0+dfsg-1 (bookworm)
