[3dprinter-general] Bug#1087159: uranium: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Sat Nov 9 10:00:49 GMT 2024


Source: uranium
Version: 5.0.0-5
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/u/uranium.html


  Setting up python3-uranium (5.0.0-5) ...
  /usr/lib/python3/dist-packages/UM/Settings/InstanceContainer.py:53:
SyntaxWarning: invalid escape sequence '\d'
    version_regex = re.compile("\nversion ?= ?(\d+)")
  /usr/lib/python3/dist-packages/UM/Settings/InstanceContainer.py:54:
SyntaxWarning: invalid escape sequence '\d'
    setting_version_regex = re.compile("\nsetting_version ?= ?(\d+)")
  /usr/lib/python3/dist-packages/UM/Settings/InstanceContainer.py:55:
SyntaxWarning: invalid escape sequence '\w'
    type_regex = re.compile("\ntype ?= ?(\w+)")
  /usr/lib/python3/dist-packages/UM/VersionUpgrade.py:22:
SyntaxWarning: invalid escape sequence '\d'
    self._version_regex = re.compile("\nversion ?= ?(\d+)")
  /usr/lib/python3/dist-packages/UM/VersionUpgrade.py:23:
SyntaxWarning: invalid escape sequence '\d'
    self._setting_version_regex = re.compile("\nsetting_version ?= ?(\d+)")
  /usr/lib/python3/dist-packages/UM/VersionUpgradeManager.py:98:
SyntaxWarning: invalid escape sequence '\.'
    ".*\.lock",       # Don't upgrade the configuration file lock.
It's not persistent.
  /usr/lib/python3/dist-packages/UM/VersionUpgradeManager.py:99:
SyntaxWarning: invalid escape sequence '\.'
    "plugins\.json",  # plugins.json and packages.json need to remain
the same for the version upgrade plug-ins.
  /usr/lib/python3/dist-packages/UM/VersionUpgradeManager.py:100:
SyntaxWarning: invalid escape sequence '\.'
    "packages\.json",
  /usr/lib/python3/dist-packages/UM/VersionUpgradeManager.py:101:
SyntaxWarning: invalid escape sequence '\.'
    ".*\.log",        # Don't process the log. It's not needed and it
could be really big.
  /usr/lib/python3/dist-packages/UM/VersionUpgradeManager.py:102:
SyntaxWarning: invalid escape sequence '\.'
    ".*\.log.?",      # Don't process the backup of the log. It's not
needed and it could be really big.
  /usr/lib/python3/dist-packages/UM/VersionUpgradeManager.py:111:
SyntaxWarning: invalid escape sequence '\.'
    "./*packages\.json",
  /usr/lib/python3/dist-packages/UM/VersionUpgradeManager.py:112:
SyntaxWarning: invalid escape sequence '\.'
    "./*plugins\.json"



More information about the 3dprinter-general mailing list