Bug#1061858: wannier90 fails its autopkg tests with Python 3.12

Matthias Klose doko at debian.org
Mon Jan 29 21:28:40 GMT 2024


Package: src:wannier90
Version: 3.1.0+ds-7
Severity: important
Tags: sid trixie ftbfs
User: debian-python at lists.debian.org
Usertags: python3.12

With python3-defaults from experimental, the package fails its autopkg 
tests:

[...]
808s autopkgtest [14:33:03]: test upstream: -----------------------]
808s upstream             FAIL stderr: 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/testcode/bin/testcode.py:354: 
SyntaxWarning: invalid escape sequence '\*'autopkgtest [14:33:03]: test 
upstream:  - - - - - - - - - - results - - - - - - - - - -
808s
808s autopkgtest [14:33:03]: test upstream:  - - - - - - - - - - stderr 
- - - - - - - - - -
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/testcode/bin/testcode.py:354: 
SyntaxWarning: invalid escape sequence '\*'
808s   wildcards = re.compile('.*(\*|\?|\[.*\]).*')
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wout.py:17: 
SyntaxWarning: invalid escape sequence '\s'
808s   near_neigh_re = re.compile("^\s*\|\s+(\d+)\s+([\d\.]+)\s*(\d+)\s*")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wout.py:27: 
SyntaxWarning: invalid escape sequence '\s'
808s   completeness_re = 
re.compile("^\s*\|\s+(\d+)\s+([\d\.-]+)\s+([\d\.-]+)\s+([\d\.-]+)\s*([\d\.]+)\s*")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wout.py:36: 
SyntaxWarning: invalid escape sequence '\s'
808s   spread_re = re.compile("^\s*WF centre and 
spread\s+(\d+)\s+\(\s*([0-9\.-]+)\s*,\s*([0-9\.-]+)\s*,\s*([0-9\.-]+)\s*\)\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wout.py:41: 
SyntaxWarning: invalid escape sequence '\ '
808s   omegaI_re = re.compile("Omega\ I\s+=\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wout.py:42: 
SyntaxWarning: invalid escape sequence '\ '
808s   omegaD_re = re.compile("Omega\ D\s+=\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wout.py:43: 
SyntaxWarning: invalid escape sequence '\ '
808s   omegaOD_re = re.compile("Omega\ OD\s+=\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wout.py:44: 
SyntaxWarning: invalid escape sequence '\ '
808s   omegaTotal_re = re.compile("Omega\ Total\s+=\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wout.py:45: 
SyntaxWarning: invalid escape sequence '\ '
808s   omegaIOD_C_re = re.compile("Omega\ IOD_C\s+=\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wout.py:46: 
SyntaxWarning: invalid escape sequence '\ '
808s   omegaRest_re = re.compile("Omega\ Rest\s+=\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wout.py:47: 
SyntaxWarning: invalid escape sequence '\ '
808s   penaltyfunc_re = re.compile("Penalty\ func\s+=\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wout.py:48: 
SyntaxWarning: invalid escape sequence '\ '
808s   omegaTotal_C_re = re.compile("Omega\ Total_C\s+=\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:16: 
SyntaxWarning: invalid escape sequence '\s'
808s   near_neigh_re = re.compile("^\s*\|\s+(\d+)\s+([\d\.]+)\s*(\d+)\s*")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:26: 
SyntaxWarning: invalid escape sequence '\s'
808s   completeness_re = 
re.compile("^\s*\|\s+(\d+)\s+([\d\.-]+)\s+([\d\.-]+)\s+([\d\.-]+)\s*([\d\.]+)\s*")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:35: 
SyntaxWarning: invalid escape sequence '\s'
808s   spread_re = re.compile("^\s*WF centre and 
spread\s+(\d+)\s+\(\s*([0-9\.-]+)\s*,\s*([0-9\.-]+)\s*,\s*([0-9\.-]+)\s*\)\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:42: 
SyntaxWarning: invalid escape sequence '\s'
808s   ahc_re = 
re.compile("^\s*==========\s+([-+]?[0-9]*\.?[0-9]+)\s+([-+]?[0-9]*\.?[0-9]+)\s+([-+]?[0-9]*\.?[0-9]+)\s*")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:50: 
SyntaxWarning: invalid escape sequence '\s'
808s   morb_re = 
re.compile("^\s*======================\s+([-+]?[0-9]*\.?[0-9]+)\s+([-+]?[0-9]*\.?[0-9]+)\s+([-+]?[0-9]*\.?[0-9]+)\s*")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:54: 
SyntaxWarning: invalid escape sequence '\ '
808s   spinx_re = re.compile("x\ component:\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:55: 
SyntaxWarning: invalid escape sequence '\ '
808s   spiny_re = re.compile("y\ component:\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:56: 
SyntaxWarning: invalid escape sequence '\ '
808s   spinz_re = re.compile("z\ component:\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:57: 
SyntaxWarning: invalid escape sequence '\ '
808s   spinp_re = re.compile("Polar\ theta\ \(deg\):\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:58: 
SyntaxWarning: invalid escape sequence '\ '
808s   spina_re = re.compile("Azim.\ phi\ \(deg\):\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:63: 
SyntaxWarning: invalid escape sequence '\ '
808s   omegaI_re = re.compile("Omega\ I\s+=\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:64: 
SyntaxWarning: invalid escape sequence '\ '
808s   omegaD_re = re.compile("Omega\ D\s+=\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:65: 
SyntaxWarning: invalid escape sequence '\ '
808s   omegaOD_re = re.compile("Omega\ OD\s+=\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_wpout.py:66: 
SyntaxWarning: invalid escape sequence '\ '
808s   omegaTotal_re = re.compile("Omega\ Total\s+=\s*([0-9\.-]+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_nnkp.py:17: 
SyntaxWarning: invalid escape sequence '\s'
808s   nnkpts_re = 
re.compile("^\s*\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s*$")
808s 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/tools/parsers/parse_nnkp.py:23: 
SyntaxWarning: invalid escape sequence '\s'
808s   kpts_re = re.compile("^\s*([\d\.-]+)\s+([\d\.-]+)\s+([\d\.-]+)\s*$")
809s autopkgtest [14:33:04]: @@@@@@@@@@@@@@@@@@@@ summary
809s upstream             FAIL stderr: 
/tmp/autopkgtest.o659zE/autopkgtest_tmp/test-suite/testcode/bin/testcode.py:354: 
SyntaxWarning: invalid escape sequence '\*'



More information about the debian-science-maintainers mailing list