Package: crmsh
Version: 4.6.0-2
Severity: normal

Hi,

noted while installing crmsh on Debian testing/unstable:

| Setting up python3 (3.12.6-1) ...
| running python rtupdate hooks for python3.12...
| /usr/share/crmsh/tests/unittests/test_utils.py:698: SyntaxWarning: invalid 
escape sequence '\ '
|   network_output_error = """1: lo    inet 127.0.0.1/8 scope host lo\       
valid_lft forever preferred_lft forever
| /usr/share/crmsh/tests/unittests/test_utils.py:736: SyntaxWarning: invalid 
escape sequence '\ '
|   only_lo = "1: lo    inet 127.0.0.1/8 scope host lo\       valid_lft forever 
preferred_lft forever"
| running python post-rtupdate hooks for python3.12...
| Setting up python3-zipp (3.20.2-1) ...
| Setting up python3-autocommand (2.2.2-3) ...
| Setting up python3-webencodings (0.5.1-5) ...
| Setting up python3-multidict (6.1.0-1) ...
| [...]
| Setting up crmsh (4.6.0-2) ...
| /usr/lib/python3/dist-packages/crmsh/bootstrap.py:2296: SyntaxWarning: 
invalid escape sequence '\w'
|   pcmk_delay_max_v_list = re.findall("pcmk_delay_max=(\w+)", out)
| /usr/lib/python3/dist-packages/crmsh/log_patterns.py:37: SyntaxWarning: 
invalid escape sequence '\['
|   "[(]%%[)]\[",
| /usr/lib/python3/dist-packages/crmsh/log_patterns.py:95: SyntaxWarning: 
invalid escape sequence '\['
|   "[(]%%[)]\[",
| /usr/lib/python3/dist-packages/crmsh/log_patterns.py:154: SyntaxWarning: 
invalid escape sequence '\['
|   "[(]%%[)]\[",
| /usr/lib/python3/dist-packages/crmsh/report/collect.py:238: SyntaxWarning: 
invalid escape sequence '\s'
|   name_list = re.findall("^name\s*(.*)$", out_string, re.MULTILINE)
| /usr/lib/python3/dist-packages/crmsh/report/utils.py:207: SyntaxWarning: 
invalid escape sequence '\s'
|   res = re.search("Description:\s+(.*)", out)
| /usr/lib/python3/dist-packages/crmsh/report/utils.py:550: SyntaxWarning: 
invalid escape sequence '\s'
|   patt_set |= set(re.split('\s*\|\s*|\s+', 
config.report.sanitize_rule.strip('|')))
| /usr/lib/python3/dist-packages/crmsh/sbd.py:96: SyntaxWarning: invalid escape 
sequence '\('
|   res = re.search("\(msgwait\)\s+:\s+(\d+)", out)
| /usr/lib/python3/dist-packages/crmsh/sbd.py:297: SyntaxWarning: invalid 
escape sequence '\s'
|   res = re.search("UUID\s*:\s*(.*)\n", out)
| /usr/lib/python3/dist-packages/crmsh/ui_configure.py:571: SyntaxWarning: 
invalid escape sequence '\s'
|   osargs = re.split('\s*\|\s*|\s+', config.core.obscure_pattern.strip('|'))
| /usr/lib/python3/dist-packages/crmsh/ui_utils.py:52: SyntaxWarning: invalid 
escape sequence '\w'
|   if re.search("\w+=\w+", attr):
| /usr/lib/python3/dist-packages/crmsh/utils.py:2070: SyntaxWarning: invalid 
escape sequence '\d'
|   ''.join([chr(int(n)) for n in re.findall("\d\d", chassis_asset_tag)]) == 
"MSFT AZURE VM":
| /usr/lib/python3/dist-packages/crmsh/utils.py:2536: SyntaxWarning: invalid 
escape sequence '\s'
|   return dict(re.findall("(Expected|Total) votes:\s+(\d+)", out))
| /usr/lib/python3/dist-packages/crmsh/utils.py:2544: SyntaxWarning: invalid 
escape sequence '\d'
|   for node in re.findall("\d+ (.*) \w+", out):
| /usr/lib/python3/dist-packages/crmsh/utils.py:2625: SyntaxWarning: invalid 
escape sequence '\s'
|   return re.findall("VG Name\s+(.*)", out)
| /usr/lib/python3/dist-packages/crmsh/utils.py:2633: SyntaxWarning: invalid 
escape sequence '\s'
|   res = re.search("Total PE\s+(\d+)", output)
| /usr/lib/python3/dist-packages/crmsh/utils.py:2721: SyntaxWarning: invalid 
escape sequence '\s'
|   res = re.search("Sync HB interval:\s+(\d+)ms", out)
| /usr/lib/python3/dist-packages/crmsh/utils.py:2756: SyntaxWarning: invalid 
escape sequence '\w'
|   return dict(re.findall("(\w+)=(\w+)", out))
| /usr/lib/python3/dist-packages/crmsh/utils.py:2792: SyntaxWarning: invalid 
escape sequence '\('
|   patt = f"\({ra_type}\):\s*Started"
| /usr/lib/python3/dist-packages/crmsh/utils.py:2792: SyntaxWarning: invalid 
escape sequence '\)'
|   patt = f"\({ra_type}\):\s*Started"
| /usr/lib/python3/dist-packages/crmsh/utils.py:2884: SyntaxWarning: invalid 
escape sequence '\d'
|   res_seconds = re.search("(\d+)s", time_res)
| /usr/lib/python3/dist-packages/crmsh/utils.py:2886: SyntaxWarning: invalid 
escape sequence '\d'
|   res_min = re.search("(\d+)min", time_res)
| /usr/lib/python3/dist-packages/crmsh/watchdog.py:13: SyntaxWarning: invalid 
escape sequence '\['
|   DEVICE_FIND_REGREX = "\[[0-9]+\] (/dev/.*)\n.*\nDriver: (.*)"
| /usr/lib/python3/dist-packages/crmsh/watchdog.py:64: SyntaxWarning: invalid 
escape sequence '\s'
|   return re.search("\n{}\s+".format(driver), out)
| Setting up python3-kubernetes (30.1.0-1) ...
| [...]

STR:

  podman run --pull=always --rm -i -t debian:unstable bash
  apt update && apt -y install crmsh

regards
-mika-

Reply via email to