Python 3.12 invalid escape sequences warnings
When installing squidpy I got this syntax warning from this repo. I think this does not affect anything but it is best to bring it to your attention.
/home/zaf4/tests/sq_test/sq_interactive_312/lib/python3.12/site-packages/leidenalg/VertexPartition.py:388: SyntaxWarning: invalid escape sequence '\m' """ Implements modularity. This quality function is well-defined only for positive edge weights. /home/zaf4/tests/sq_test/sq_interactive_312/lib/python3.12/site-packages/leidenalg/VertexPartition.py:761: SyntaxWarning: invalid escape sequence '\m' """ Implements Reichardt and Bornholdt's Potts model with a configuration null model. /home/zaf4/tests/sq_test/sq_interactive_312/lib/python3.12/site-packages/leidenalg/Optimiser.py:7: SyntaxWarning: invalid escape sequence '\g' """ Class for doing community detection using the Leiden algorithm. /home/zaf4/tests/sq_test/sq_interactive_312/lib/python3.12/site-packages/leidenalg/Optimiser.py:305: SyntaxWarning: invalid escape sequence '\s' """ Optimise the given partitions simultaneously.
This was fixed in 4f660763e8270ff84aa5f1f273356fd331a9b607 but the fix isn't part of a release yet.
Closing it because it's already fixed, will be part of a next release (planned for after the summer somewhere).