Debian Patches

Status for python-selectolax/0.4.13-1

Patch Description Author Forwarded Bugs Origin Last update
Fix-invalid-CSS-selector-test.patch Fix invalid CSS selector test
The test for invalid CSS selector in selectolax 0.4.12 no longer
catches the SelectolaxError raised for invalid CSS syntax. Restore
the intended assertion by explicitly expecting SelectolaxError.
.
The selector parser implementation is unchanged from 0.4.11.
Karsten Schöke <karsten.schoeke@geobasis-bb.de> yes 2026-09-29
Mock-selectolax-modules-in-docs.patch Mock selectolax modules in docs
This patch updates the Sphinx documentation configuration to prevent the import
of selectolax during the documentation build.
Since selectolax depends on compiled C extensions, the import would fail.

This change simulates the selectolax modules using `autodoc_mock_imports`
and suppresses any warnings. Instead of importing the package to obtain
the version, it now extracts it directly from `selectolax/__init__.py` using a
regular expression. This ensures that the documentation can be reliably
built without requiring the compiled extensions.
Karsten Schöke <karsten.schoeke@geobasis-bb.de> not-needed 2026-09-29
Adjust-the-library-folders-to-use.patch setup.py: Adjust the library folders to use
The lexbor and modest lib directories are located elsewhere in Debian
and must be activated separately.
Karsten Schöke <karsten.schoeke@geobasis-bb.de> not-needed 2026-09-29

All known versions for source package 'python-selectolax'

Links