Source: python-rstr
Version: 2.2.6-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/dist.py:771: UserWarning: Usage of 
> dash-separated 'description-file' will not be supported in future versions. 
> Please use the underscore name 'description_file' instead
>   warnings.warn(
> running config
> I: pybuild base:240: python3.10 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/dist.py:771: UserWarning: Usage of 
> dash-separated 'description-file' will not be supported in future versions. 
> Please use the underscore name 'description_file' instead
>   warnings.warn(
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.11 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/dist.py:771: UserWarning: Usage of 
> dash-separated 'description-file' will not be supported in future versions. 
> Please use the underscore name 'description_file' instead
>   warnings.warn(
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rstr/build/rstr
> copying rstr/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rstr/build/rstr
> copying rstr/rstr_base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rstr/build/rstr
> copying rstr/xeger.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rstr/build/rstr
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rstr/build/rstr/tests
> copying rstr/tests/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rstr/build/rstr/tests
> copying rstr/tests/test_xeger.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rstr/build/rstr/tests
> copying rstr/tests/test_package_level_access.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rstr/build/rstr/tests
> copying rstr/tests/test_rstr.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_rstr/build/rstr/tests
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/dist.py:771: UserWarning: Usage of 
> dash-separated 'description-file' will not be supported in future versions. 
> Please use the underscore name 'description_file' instead
>   warnings.warn(
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rstr/build/rstr
> copying rstr/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rstr/build/rstr
> copying rstr/rstr_base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rstr/build/rstr
> copying rstr/xeger.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rstr/build/rstr
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rstr/build/rstr/tests
> copying rstr/tests/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rstr/build/rstr/tests
> copying rstr/tests/test_xeger.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rstr/build/rstr/tests
> copying rstr/tests/test_package_level_access.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rstr/build/rstr/tests
> copying rstr/tests/test_rstr.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rstr/build/rstr/tests
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py test 
> /usr/lib/python3/dist-packages/setuptools/dist.py:771: UserWarning: Usage of 
> dash-separated 'description-file' will not be supported in future versions. 
> Please use the underscore name 'description_file' instead
>   warnings.warn(
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> creating rstr.egg-info
> writing rstr.egg-info/PKG-INFO
> /usr/lib/python3/dist-packages/setuptools/dist.py:160: UserWarning: newlines 
> not allowed and will break in the future
>   warnings.warn("newlines not allowed and will break in the future")
> writing dependency_links to rstr.egg-info/dependency_links.txt
> writing top-level names to rstr.egg-info/top_level.txt
> writing manifest file 'rstr.egg-info/SOURCES.txt'
> reading manifest file 'rstr.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> adding license file 'AUTHORS'
> writing manifest file 'rstr.egg-info/SOURCES.txt'
> running build_ext
> test_add_alphabet 
> (rstr.tests.test_rstr.TestCustomAlphabets.test_add_alphabet) ... ok
> test_alphabet_at_instantiation 
> (rstr.tests.test_rstr.TestCustomAlphabets.test_alphabet_at_instantiation) ... 
> ok
> test_all_digits (rstr.tests.test_rstr.TestDigits.test_all_digits) ... ok
> test_digits_exclude (rstr.tests.test_rstr.TestDigits.test_digits_exclude) ... 
> ok
> test_digits_include (rstr.tests.test_rstr.TestDigits.test_digits_include) ... 
> ok
> test_letters (rstr.tests.test_rstr.TestLetters.test_letters) ... ok
> test_letters_exclude (rstr.tests.test_rstr.TestLetters.test_letters_exclude) 
> ... ok
> test_letters_include (rstr.tests.test_rstr.TestLetters.test_letters_include) 
> ... ok
> test_nondigits (rstr.tests.test_rstr.TestNondigits.test_nondigits) ... ok
> test_nondigits_exclude 
> (rstr.tests.test_rstr.TestNondigits.test_nondigits_exclude) ... ok
> test_nondigits_include 
> (rstr.tests.test_rstr.TestNondigits.test_nondigits_include) ... ok
> test_alphabet_as_list (rstr.tests.test_rstr.TestRstr.test_alphabet_as_list) 
> ... ok
> test_custom_alphabet (rstr.tests.test_rstr.TestRstr.test_custom_alphabet) ... 
> ok
> test_exclude (rstr.tests.test_rstr.TestRstr.test_exclude) ... ok
> test_exclude_as_list (rstr.tests.test_rstr.TestRstr.test_exclude_as_list) ... 
> ok
> test_include (rstr.tests.test_rstr.TestRstr.test_include) ... ok
> test_include_as_list (rstr.tests.test_rstr.TestRstr.test_include_as_list) ... 
> ok
> test_length_range (rstr.tests.test_rstr.TestRstr.test_length_range) ... ok
> test_specific_length (rstr.tests.test_rstr.TestRstr.test_specific_length) ... 
> ok
> test_alphabet_as_list 
> (rstr.tests.test_rstr.TestSystemRandom.test_alphabet_as_list) ... ok
> test_custom_alphabet 
> (rstr.tests.test_rstr.TestSystemRandom.test_custom_alphabet) ... ok
> test_exclude (rstr.tests.test_rstr.TestSystemRandom.test_exclude) ... ok
> test_exclude_as_list 
> (rstr.tests.test_rstr.TestSystemRandom.test_exclude_as_list) ... ok
> test_include (rstr.tests.test_rstr.TestSystemRandom.test_include) ... ok
> test_include_as_list 
> (rstr.tests.test_rstr.TestSystemRandom.test_include_as_list) ... ok
> test_length_range (rstr.tests.test_rstr.TestSystemRandom.test_length_range) 
> ... ok
> test_specific_length 
> (rstr.tests.test_rstr.TestSystemRandom.test_specific_length) ... ok
> test_backreference (rstr.tests.test_xeger.TestXeger.test_backreference) ... 
> ERROR
> test_carot (rstr.tests.test_xeger.TestXeger.test_carot) ... ERROR
> test_character_group (rstr.tests.test_xeger.TestXeger.test_character_group) 
> ... ERROR
> test_digit (rstr.tests.test_xeger.TestXeger.test_digit) ... ERROR
> test_dollarsign (rstr.tests.test_xeger.TestXeger.test_dollarsign) ... ERROR
> test_dot (rstr.tests.test_xeger.TestXeger.test_dot)
> Verify that the dot character doesn't produce newlines. ... ERROR
> test_literal_with_range_repeat 
> (rstr.tests.test_xeger.TestXeger.test_literal_with_range_repeat) ... ERROR
> test_literal_with_repeat 
> (rstr.tests.test_xeger.TestXeger.test_literal_with_repeat) ... ERROR
> test_literals (rstr.tests.test_xeger.TestXeger.test_literals) ... ERROR
> test_lookahead (rstr.tests.test_xeger.TestXeger.test_lookahead) ... ERROR
> test_lookbehind (rstr.tests.test_xeger.TestXeger.test_lookbehind) ... ERROR
> test_negation_group (rstr.tests.test_xeger.TestXeger.test_negation_group) ... 
> ERROR
> test_nondigits (rstr.tests.test_xeger.TestXeger.test_nondigits) ... ERROR
> test_nonword (rstr.tests.test_xeger.TestXeger.test_nonword) ... ERROR
> test_not_literal (rstr.tests.test_xeger.TestXeger.test_not_literal) ... ERROR
> test_or (rstr.tests.test_xeger.TestXeger.test_or) ... ERROR
> test_or_with_subpattern 
> (rstr.tests.test_xeger.TestXeger.test_or_with_subpattern) ... ERROR
> test_range (rstr.tests.test_xeger.TestXeger.test_range) ... ERROR
> test_word (rstr.tests.test_xeger.TestXeger.test_word) ... ERROR
> test_zero_or_more_greedy 
> (rstr.tests.test_xeger.TestXeger.test_zero_or_more_greedy) ... ERROR
> test_zero_or_more_non_greedy 
> (rstr.tests.test_xeger.TestXeger.test_zero_or_more_non_greedy) ... ERROR
> test_convenience_function 
> (rstr.tests.test_package_level_access.TestPackageLevelFunctions.test_convenience_function)
>  ... ok
> test_rstr 
> (rstr.tests.test_package_level_access.TestPackageLevelFunctions.test_rstr) 
> ... ok
> test_xeger 
> (rstr.tests.test_package_level_access.TestPackageLevelFunctions.test_xeger) 
> ... <unknown>:1: DeprecationWarning: invalid escape sequence '\d'
> ERROR
> 
> ======================================================================
> ERROR: test_backreference (rstr.tests.test_xeger.TestXeger.test_backreference)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 90, in 
> test_backreference
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_carot (rstr.tests.test_xeger.TestXeger.test_carot)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 66, in test_carot
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_character_group 
> (rstr.tests.test_xeger.TestXeger.test_character_group)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 62, in 
> test_character_group
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_digit (rstr.tests.test_xeger.TestXeger.test_digit)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 26, in test_digit
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_dollarsign (rstr.tests.test_xeger.TestXeger.test_dollarsign)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 70, in 
> test_dollarsign
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_dot (rstr.tests.test_xeger.TestXeger.test_dot)
> Verify that the dot character doesn't produce newlines.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 22, in test_dot
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_literal_with_range_repeat 
> (rstr.tests.test_xeger.TestXeger.test_literal_with_range_repeat)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 38, in 
> test_literal_with_range_repeat
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_literal_with_repeat 
> (rstr.tests.test_xeger.TestXeger.test_literal_with_repeat)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 34, in 
> test_literal_with_repeat
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_literals (rstr.tests.test_xeger.TestXeger.test_literals)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 13, in test_literals
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_lookahead (rstr.tests.test_xeger.TestXeger.test_lookahead)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 82, in test_lookahead
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_lookbehind (rstr.tests.test_xeger.TestXeger.test_lookbehind)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 86, in 
> test_lookbehind
>     assert re.search(pattern, self.rs.xeger(pattern))
>                               ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_negation_group 
> (rstr.tests.test_xeger.TestXeger.test_negation_group)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 78, in 
> test_negation_group
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_nondigits (rstr.tests.test_xeger.TestXeger.test_nondigits)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 30, in test_nondigits
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_nonword (rstr.tests.test_xeger.TestXeger.test_nonword)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 46, in test_nonword
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_not_literal (rstr.tests.test_xeger.TestXeger.test_not_literal)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 74, in 
> test_not_literal
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_or (rstr.tests.test_xeger.TestXeger.test_or)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 50, in test_or
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_or_with_subpattern 
> (rstr.tests.test_xeger.TestXeger.test_or_with_subpattern)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 54, in 
> test_or_with_subpattern
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_range (rstr.tests.test_xeger.TestXeger.test_range)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 58, in test_range
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_word (rstr.tests.test_xeger.TestXeger.test_word)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 42, in test_word
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_zero_or_more_greedy 
> (rstr.tests.test_xeger.TestXeger.test_zero_or_more_greedy)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 94, in 
> test_zero_or_more_greedy
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_zero_or_more_non_greedy 
> (rstr.tests.test_xeger.TestXeger.test_zero_or_more_non_greedy)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_xeger.py", line 98, in 
> test_zero_or_more_non_greedy
>     assert re.match(pattern, self.rs.xeger(pattern))
>                              ^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ======================================================================
> ERROR: test_xeger 
> (rstr.tests.test_package_level_access.TestPackageLevelFunctions.test_xeger)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/rstr/tests/test_package_level_access.py", line 13, 
> in test_xeger
>     assert re.match(r'^foo[\d]{10}bar$', rstr.xeger('^foo[\d]{10}bar$'))
>                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/rstr/xeger.py", line 63, in xeger
>     parsed = re.sre_parse.parse(pattern)
>              ^^^^^^^^^^^^
> AttributeError: module 're' has no attribute 'sre_parse'
> 
> ----------------------------------------------------------------------
> Ran 51 tests in 0.029s
> 
> FAILED (errors=22)
> Test failed: <unittest.runner.TextTestResult run=51 errors=22 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=51 errors=22 
> failures=0>
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: 
> python3.11 setup.py test 
> I: pybuild base:240: python3.10 setup.py test 
> /usr/lib/python3/dist-packages/setuptools/dist.py:771: UserWarning: Usage of 
> dash-separated 'description-file' will not be supported in future versions. 
> Please use the underscore name 'description_file' instead
>   warnings.warn(
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing rstr.egg-info/PKG-INFO
> /usr/lib/python3/dist-packages/setuptools/dist.py:160: UserWarning: newlines 
> not allowed and will break in the future
>   warnings.warn("newlines not allowed and will break in the future")
> writing dependency_links to rstr.egg-info/dependency_links.txt
> writing top-level names to rstr.egg-info/top_level.txt
> reading manifest file 'rstr.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> adding license file 'AUTHORS'
> writing manifest file 'rstr.egg-info/SOURCES.txt'
> running build_ext
> test_add_alphabet (rstr.tests.test_rstr.TestCustomAlphabets) ... ok
> test_alphabet_at_instantiation (rstr.tests.test_rstr.TestCustomAlphabets) ... 
> ok
> test_all_digits (rstr.tests.test_rstr.TestDigits) ... ok
> test_digits_exclude (rstr.tests.test_rstr.TestDigits) ... ok
> test_digits_include (rstr.tests.test_rstr.TestDigits) ... ok
> test_letters (rstr.tests.test_rstr.TestLetters) ... ok
> test_letters_exclude (rstr.tests.test_rstr.TestLetters) ... ok
> test_letters_include (rstr.tests.test_rstr.TestLetters) ... ok
> test_nondigits (rstr.tests.test_rstr.TestNondigits) ... ok
> test_nondigits_exclude (rstr.tests.test_rstr.TestNondigits) ... ok
> test_nondigits_include (rstr.tests.test_rstr.TestNondigits) ... ok
> test_alphabet_as_list (rstr.tests.test_rstr.TestRstr) ... ok
> test_custom_alphabet (rstr.tests.test_rstr.TestRstr) ... ok
> test_exclude (rstr.tests.test_rstr.TestRstr) ... ok
> test_exclude_as_list (rstr.tests.test_rstr.TestRstr) ... ok
> test_include (rstr.tests.test_rstr.TestRstr) ... ok
> test_include_as_list (rstr.tests.test_rstr.TestRstr) ... ok
> test_length_range (rstr.tests.test_rstr.TestRstr) ... ok
> test_specific_length (rstr.tests.test_rstr.TestRstr) ... ok
> test_alphabet_as_list (rstr.tests.test_rstr.TestSystemRandom) ... ok
> test_custom_alphabet (rstr.tests.test_rstr.TestSystemRandom) ... ok
> test_exclude (rstr.tests.test_rstr.TestSystemRandom) ... ok
> test_exclude_as_list (rstr.tests.test_rstr.TestSystemRandom) ... ok
> test_include (rstr.tests.test_rstr.TestSystemRandom) ... ok
> test_include_as_list (rstr.tests.test_rstr.TestSystemRandom) ... ok
> test_length_range (rstr.tests.test_rstr.TestSystemRandom) ... ok
> test_specific_length (rstr.tests.test_rstr.TestSystemRandom) ... ok
> test_backreference (rstr.tests.test_xeger.TestXeger) ... ok
> test_carot (rstr.tests.test_xeger.TestXeger) ... ok
> test_character_group (rstr.tests.test_xeger.TestXeger) ... ok
> test_digit (rstr.tests.test_xeger.TestXeger) ... ok
> test_dollarsign (rstr.tests.test_xeger.TestXeger) ... ok
> test_dot (rstr.tests.test_xeger.TestXeger)
> Verify that the dot character doesn't produce newlines. ... ok
> test_literal_with_range_repeat (rstr.tests.test_xeger.TestXeger) ... ok
> test_literal_with_repeat (rstr.tests.test_xeger.TestXeger) ... ok
> test_literals (rstr.tests.test_xeger.TestXeger) ... ok
> test_lookahead (rstr.tests.test_xeger.TestXeger) ... ok
> test_lookbehind (rstr.tests.test_xeger.TestXeger) ... ok
> test_negation_group (rstr.tests.test_xeger.TestXeger) ... ok
> test_nondigits (rstr.tests.test_xeger.TestXeger) ... ok
> test_nonword (rstr.tests.test_xeger.TestXeger) ... ok
> test_not_literal (rstr.tests.test_xeger.TestXeger) ... ok
> test_or (rstr.tests.test_xeger.TestXeger) ... ok
> test_or_with_subpattern (rstr.tests.test_xeger.TestXeger) ... ok
> test_range (rstr.tests.test_xeger.TestXeger) ... ok
> test_word (rstr.tests.test_xeger.TestXeger) ... ok
> test_zero_or_more_greedy (rstr.tests.test_xeger.TestXeger) ... ok
> test_zero_or_more_non_greedy (rstr.tests.test_xeger.TestXeger) ... ok
> test_convenience_function 
> (rstr.tests.test_package_level_access.TestPackageLevelFunctions) ... ok
> test_rstr (rstr.tests.test_package_level_access.TestPackageLevelFunctions) 
> ... ok
> test_xeger (rstr.tests.test_package_level_access.TestPackageLevelFunctions) 
> ... ok
> 
> ----------------------------------------------------------------------
> Ran 51 tests in 0.176s
> 
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.11 3.10" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/12/20/python-rstr_2.2.6-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to