Bug#1087104: sumo: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Fri Nov 8 17:34:49 GMT 2024


Source: sumo
Version: 1.18.0+dfsg-4
User: debian-python at lists.debian.org
Usertags: syntaxwarning

Hi Maintainer

The SyntaxWarning below were emitted when this package was tested with
pipuarts[1].

Regards
Graham


[1] https://piuparts.debian.org/sid/source/s/sumo.html


  Setting up python3 (3.12.6-1) ...
  /usr/share/sumo/tools/contributed/sumopy/agilepy/lib_misc/docgen.py:93:
SyntaxWarning: invalid escape sequence '\m'
    self.f.write("""\n\maketitle""")
  /usr/share/sumo/tools/contributed/sumopy/agilepy/lib_misc/docgen.py:165:
SyntaxWarning: invalid escape sequence '\,'
    + "$\,%s$" % attrconfig.format_unit(show_parentesis=False),
  /usr/share/sumo/tools/contributed/sumopy/coremodules/network/networktools.py:2237:
SyntaxWarning: invalid escape sequence '\ '
    """
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:1110:
SyntaxWarning: invalid escape sequence '\m'
    label += ' $T_{\mathrm{TL}}=%ds$' % time_wait_tls
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:1150:
SyntaxWarning: invalid escape sequence '\m'
    label += ' $T_{\mathrm{TL}}=%ds$' % time_wait_tls
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:1211:
SyntaxWarning: invalid escape sequence '\m'
    label += ' $T_{\mathrm{TL}}=%ds$' % time_wait_tls
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:1238:
SyntaxWarning: invalid escape sequence '\m'
    label += ' $T_{\mathrm{TL}}=%ds$' % time_wait_tls
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2475:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f/km$, $\sigma=%.2f/km$' % (np.mean(matched), np.std(matched)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2477:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f/km$, $\sigma=%.2f/km$' % (np.mean(shortest), np.std(shortest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2513:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f/km$, $\sigma=%.2f/km$' % (np.mean(matched), np.std(matched)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2515:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f/km$, $\sigma=%.2f/km$' % (np.mean(shortest), np.std(shortest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2550:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f/km$, $\sigma=%.2f/km$' % (np.mean(matched), np.std(matched)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2552:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f/km$, $\sigma=%.2f/km$' % (np.mean(shortest), np.std(shortest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2587:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f$%%, $\sigma=%.2f$%%' % (np.mean(matched), np.std(matched)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2589:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f$%%, $\sigma=%.2f$%%' % (np.mean(shortest), np.std(shortest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2624:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f$%%, $\sigma=%.2f$%%' % (np.mean(matched), np.std(matched)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2626:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f$%%, $\sigma=%.2f$%%' % (np.mean(shortest), np.std(shortest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2661:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f$%%, $\sigma=%.2f$%%' % (np.mean(matched), np.std(matched)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2663:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f$%%, $\sigma=%.2f$%%' % (np.mean(shortest), np.std(shortest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2794:
SyntaxWarning: invalid escape sequence '\m'
    label='matched:'+'$\mu = %dm$, $\sigma=%dm$' %
(np.mean(dists_match), np.std(dists_match)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2796:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %dm$, $\sigma=%dm$' % (np.mean(dists_shortest),
np.std(dists_shortest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2841:
SyntaxWarning: invalid escape sequence '\m'
    label='matched:'+'$\mu = %dm$, $\sigma=%dm$' %
(np.mean(times_match), np.std(times_match)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2843:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %dm$, $\sigma=%dm$' % (np.mean(times_fastest),
np.std(times_fastest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2880:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %dm$, $\sigma=%dm$' % (np.mean(dists_match), np.std(dists_match)),
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:2887:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %dm$, $\sigma=%dm$' % (np.mean(dists_shortest),
np.std(dists_shortest)),
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:3067:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f/km$, $\sigma=%.2f/km$' % (np.mean(matched), np.std(matched)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:3069:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f/km$, $\sigma=%.2f/km$' % (np.mean(shortest), np.std(shortest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:3106:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f/km$, $\sigma=%.2f/km$' % (np.mean(matched), np.std(matched)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:3108:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f/km$, $\sigma=%.2f/km$' % (np.mean(shortest), np.std(shortest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:3145:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f/km$, $\sigma=%.2f/km$' % (np.mean(matched), np.std(matched)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:3147:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f/km$, $\sigma=%.2f/km$' % (np.mean(shortest), np.std(shortest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:3185:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f$%%, $\sigma=%.2f$%%' % (np.mean(matched), np.std(matched)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:3187:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f$%%, $\sigma=%.2f$%%' % (np.mean(shortest), np.std(shortest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:3225:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f$%%, $\sigma=%.2f$%%' % (np.mean(matched), np.std(matched)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:3227:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f$%%, $\sigma=%.2f$%%' % (np.mean(shortest), np.std(shortest)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:3265:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f$%%, $\sigma=%.2f$%%' % (np.mean(matched), np.std(matched)))
  /usr/share/sumo/tools/contributed/sumopy/plugins/mapmatching/results_mpl.py:3267:
SyntaxWarning: invalid escape sequence '\m'
    '$\mu = %.2f$%%, $\sigma=%.2f$%%' % (np.mean(shortest), np.std(shortest)))
  /usr/share/sumo/tools/contributed/sumopy/sumopy_gui.py:70:
SyntaxWarning: invalid escape sequence '\ '
    print('      /      _     |              / \  _ _ _ _ _ \     ')
  /usr/share/sumo/tools/contributed/sumopy/sumopy_gui.py:71:
SyntaxWarning: invalid escape sequence '\ '
    print('     /       |   / | \     v     / _ \ _|_|_|_|_ /     ')
  /usr/share/sumo/tools/contributed/sumopy/sumopy_gui.py:72:
SyntaxWarning: invalid escape sequence '\ '
    print('     \   __o-o__/  |  \  \ | /  / / \ \     ____/      ')
  /usr/share/sumo/tools/contributed/sumopy/sumopy_gui.py:73:
SyntaxWarning: invalid escape sequence '\ '
    print('      \        / \|o|/ \  \|/  / / o/\ \   |   _|__/_  ')
  /usr/share/sumo/tools/contributed/sumopy/sumopy_gui.py:74:
SyntaxWarning: invalid escape sequence '\ '
    print('       \      /  \|o|/  \  |  / / /|  \ \  |  | |      ')
  /usr/share/sumo/tools/contributed/sumopy/sumopy_gui.py:75:
SyntaxWarning: invalid escape sequence '\|'
    print('   | | | | | /   \|0|/   \ v /  \_/ \_/  \_|    |      ')
  /usr/share/sumo/tools/contributed/sumopy/sumopy_gui.py:76:
SyntaxWarning: invalid escape sequence '\_'
    print('   | | | | |/_____________\_/____________/ ____/       ')
  Setting up sumo-tools (1.18.0+dfsg-4) ...



More information about the debian-science-maintainers mailing list