Debian Patches

Status for python-leidenalg/0.10.2-3

Patch Description Author Forwarded Bugs Origin Last update
syntax-warnings.patch SyntaxWarnings: Invalid escape sequences. As seen at least with Python 3.13, a number of Python entities
descriptions are raising warnings, caught in pytest's summary:
.
leidenalg/VertexPartition.py:388
/build/reproducible-path/python-leidenalg-0.10.2/.pybuild/cpython3_3.13_leidenalg/build/leidenalg/VertexPartition.py:388: SyntaxWarning: invalid escape sequence '\m'
""" Implements modularity. This quality function is well-defined only for positive edge weights.
.
leidenalg/VertexPartition.py:761
/build/reproducible-path/python-leidenalg-0.10.2/.pybuild/cpython3_3.13_leidenalg/build/leidenalg/VertexPartition.py:761: SyntaxWarning: invalid escape sequence '\m'
""" Implements Reichardt and Bornholdt's Potts model with a configuration null model.
.
leidenalg/Optimiser.py:7
/build/reproducible-path/python-leidenalg-0.10.2/.pybuild/cpython3_3.13_leidenalg/build/leidenalg/Optimiser.py:7: SyntaxWarning: invalid escape sequence '\g'
""" Class for doing community detection using the Leiden algorithm.
.
leidenalg/Optimiser.py:305
/build/reproducible-path/python-leidenalg-0.10.2/.pybuild/cpython3_3.13_leidenalg/build/leidenalg/Optimiser.py:305: SyntaxWarning: invalid escape sequence '\s'
""" Optimise the given partitions simultaneously.
.
This change declares the classes and function descriptions as raw
strings, to avoid tripping the invalid escape sequence.
Étienne Mollier <emollier@debian.org> yes debian 2024-12-06

All known versions for source package 'python-leidenalg'

Links