[Debian-med-packaging] Bug#1082265: python-ruffus FTBFS with Python 3.13

Stefano Rivera stefanor at debian.org
Thu Sep 19 15:37:52 BST 2024


Source: python-ruffus
Version: 2.8.4-5
Severity: normal
User: debian-python at lists.debian.org
Usertags: python3.13

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- --test --system=custom \
	--test-args='set -e; \
		    cd {build_dir}/ruffus/test ; \
		    if [ "{version.major}" = 2 ] ; then \
		        if [ -e /<<PKGBUILDDIR>>/ruffus/test/Makefile ] ; then ln -s /<<PKGBUILDDIR>>/ruffus/test/Makefile ; else \
		            echo "Expected file /<<PKGBUILDDIR>>/ruffus/test/Makefile not found" ; \
		            echo "Use `find /<<PKGBUILDDIR>> -name Makefile | grep test` instead" ; \
		            ln -s `find /<<PKGBUILDDIR>> -name Makefile | grep test | head -n1` ; \
		        fi ; \
		        cp -a run_all_unit_tests.cmd /tmp/run_all_unit_tests.cmd ; \
		    else \
			sed "s/^python3/python{version}/" run_all_unit_tests3.cmd > /tmp/run_all_unit_tests.cmd ; \
		    fi ;\
                            PYTHONPATH={build_dir} HOME=`mktemp -d` bash /tmp/run_all_unit_tests.cmd'
I: pybuild base:311: set -e; \
		    cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test ; \
		    if [ "3" = 2 ] ; then \
		        if [ -e /<<PKGBUILDDIR>>/ruffus/test/Makefile ] ; then ln -s /<<PKGBUILDDIR>>/ruffus/test/Makefile ; else \
		            echo "Expected file /<<PKGBUILDDIR>>/ruffus/test/Makefile not found" ; \
		            echo "Use `find /<<PKGBUILDDIR>> -name Makefile | grep test` instead" ; \
		            ln -s `find /<<PKGBUILDDIR>> -name Makefile | grep test | head -n1` ; \
		        fi ; \
		        cp -a run_all_unit_tests.cmd /tmp/run_all_unit_tests.cmd ; \
		    else \
			sed "s/^python3/python3.13/" run_all_unit_tests3.cmd > /tmp/run_all_unit_tests.cmd ; \
		    fi ;\
                            PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build HOME=`mktemp -d` bash /tmp/run_all_unit_tests.cmd
Running test_file_name_parameters.py
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_file_name_parameters.py:800: SyntaxWarning: invalid escape sequence '\w'
  task.formatter("/(?P<name>\w+).test$"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_file_name_parameters.py:1592: SyntaxWarning: invalid escape sequence '\w'
  task.formatter("(?:.+/)?(?P<ID>\w+)\.(.+)"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_file_name_parameters.py:1594: SyntaxWarning: invalid escape sequence '\w'
  task.formatter("(?:.+/)?(?P<ID>\w+)\.(test2)"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_file_name_parameters.py:1633: SyntaxWarning: invalid escape sequence '\w'
  paths = self.do_task_product([tempdir + "/a.test1", tempdir + "/b.test1"],                          task.formatter("(?:.+/)?(?P<ID>\w+)\.(.+)"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_file_name_parameters.py:1635: SyntaxWarning: invalid escape sequence '\w'
  "/e.ignore"], task.formatter("(?:.+/)?(?P<ID>\w+)\.(test2)"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_file_name_parameters.py:1652: SyntaxWarning: invalid escape sequence '\w'
  paths = self.do_task_product([tempdir + "/a.test1", tempdir + "/b.test1"],                          task.formatter("(?:.+/)?(?P<ID>\w+)\.(.+)"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_file_name_parameters.py:1654: SyntaxWarning: invalid escape sequence '\w'
  "/e.ignore"], task.formatter("(?:.+/)?(?P<ID>\w+)\.(test2)"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py:502: SyntaxWarning: invalid escape sequence '\d'
  """
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/cmdline.py:668: SyntaxWarning: invalid escape sequence '\d'
  """
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/proxy_logger.py:26: SyntaxWarning: invalid escape sequence '\ '
  """
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/proxy_logger.py:323: SyntaxWarning: invalid escape sequence '\ '
  """
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/combinatorics.py:26: SyntaxWarning: invalid escape sequence '\.'
  """
................/usr/lib/python3.13/re/_parser.py:112: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb3d69030>
  def __init__(self, state, data=None):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.13/re/_parser.py:112: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb3d69210>
  def __init__(self, state, data=None):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.13/re/_parser.py:112: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb3d69300>
  def __init__(self, state, data=None):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.13/re/_parser.py:112: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb3d693f0>
  def __init__(self, state, data=None):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.13/re/_parser.py:112: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb3d694e0>
  def __init__(self, state, data=None):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.13/re/_parser.py:112: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb3d695d0>
  def __init__(self, state, data=None):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
........
----------------------------------------------------------------------
Ran 24 tests in 2.206s

OK
Running test_with_logger.py
..
----------------------------------------------------------------------
Ran 2 tests in 2.725s

OK
Running script test_with_logger.py
..
----------------------------------------------------------------------
Ran 2 tests in 3.039s

OK
Ignoring test_proxy_logger.py
Running test_exceptions.py
    Parallel task C: 
    Parallel task B: 
    Parallel task A: 
    Parallel task E: 
    Parallel task F: 
    Parallel task D: 
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO - 
    
    
    
Original exceptions:

    Exception #1
      'builtins.Exception(new)' raised in ...
       Task = def test_exceptions.parallel_task(...):
       Job  = [C -> 3]
    
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/task.py", line 712, in run_pooled_job_without_exceptions
        return_value = job_wrapper(params, user_defined_work_func,
                                   register_cleanup, touch_files_only)
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/task.py", line 523, in job_wrapper_generic
        return user_defined_work_func(*params)
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_exceptions.py", line 60, in parallel_task
        raise Exception("new")
    Exception: new
    
    
    Exception #2
      'builtins.Exception(new)' raised in ...
       Task = def test_exceptions.parallel_task(...):
       Job  = [B -> 3]
    
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/task.py", line 712, in run_pooled_job_without_exceptions
        return_value = job_wrapper(params, user_defined_work_func,
                                   register_cleanup, touch_files_only)
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/task.py", line 523, in job_wrapper_generic
        return user_defined_work_func(*params)
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_exceptions.py", line 60, in parallel_task
        raise Exception("new")
    Exception: new
    
    
    Exception #3
      'builtins.Exception(new)' raised in ...
       Task = def test_exceptions.parallel_task(...):
       Job  = [E -> 4]
    
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/task.py", line 712, in run_pooled_job_without_exceptions
        return_value = job_wrapper(params, user_defined_work_func,
                                   register_cleanup, touch_files_only)
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/task.py", line 523, in job_wrapper_generic
        return user_defined_work_func(*params)
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_exceptions.py", line 60, in parallel_task
        raise Exception("new")
    Exception: new
    
    
    Exception #4
      'builtins.Exception(new)' raised in ...
       Task = def test_exceptions.parallel_task(...):
       Job  = [A -> 1]
    
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/task.py", line 712, in run_pooled_job_without_exceptions
        return_value = job_wrapper(params, user_defined_work_func,
                                   register_cleanup, touch_files_only)
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/task.py", line 523, in job_wrapper_generic
        return user_defined_work_func(*params)
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_exceptions.py", line 60, in parallel_task
        raise Exception("new")
    Exception: new
    
    
    Exception #5
      'builtins.Exception(new)' raised in ...
       Task = def test_exceptions.parallel_task(...):
       Job  = [F -> 4]
    
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/task.py", line 712, in run_pooled_job_without_exceptions
        return_value = job_wrapper(params, user_defined_work_func,
                                   register_cleanup, touch_files_only)
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/task.py", line 523, in job_wrapper_generic
        return user_defined_work_func(*params)
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_exceptions.py", line 60, in parallel_task
        raise Exception("new")
    Exception: new
    
    
    Exception #6
      'builtins.Exception(new)' raised in ...
       Task = def test_exceptions.parallel_task(...):
       Job  = [D -> 4]
    
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/task.py", line 712, in run_pooled_job_without_exceptions
        return_value = job_wrapper(params, user_defined_work_func,
                                   register_cleanup, touch_files_only)
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/task.py", line 523, in job_wrapper_generic
        return user_defined_work_func(*params)
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_exceptions.py", line 60, in parallel_task
        raise Exception("new")
    Exception: new
    
    
.    Parallel task B: 
    Parallel task C: 
    Parallel task A: 
    Parallel task D: 
    Parallel task E: 
    Parallel task F: 
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
./usr/lib/python3.13/weakref.py:216: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffff94d4dc60>
  yield k, v
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.13/weakref.py:216: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffff94d4dc60>
  yield k, v
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.13/threading.py:1475: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffff94d4dc60>
  return list(_active.values()) + list(_limbo.values())
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.13/_weakrefset.py:64: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffff94d4dc60>
  with _IterationGuard(self):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.13/weakref.py:216: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffff94d4dc60>
  yield k, v
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.13/multiprocessing/connection.py:251: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffff94d4dc60>
  return _ForkingPickler.loads(buf.getbuffer())
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.13/multiprocessing/process.py:80: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffff94d4dc60>
  def __init__(self, group=None, target=None, name=None, args=(), kwargs={},
ResourceWarning: Enable tracemalloc to get the object allocation traceback
    Parallel task A: 
    Parallel task C: 
    Parallel task B: 
    Parallel task D: 
   INFO -     Raising exception
    Parallel task E: 
    Parallel task F: 
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
.
----------------------------------------------------------------------
Ran 3 tests in 1.429s

OK
Running test_task_file_dependencies.py
.
----------------------------------------------------------------------
Ran 1 test in 0.029s

OK
Running test_task_misc.py
.
----------------------------------------------------------------------
Ran 1 test in 0.001s

OK
Running test_inputs_with_multiple_args_raising_exception.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.001s

OK
	Expected exception thrown 2
	Expected exception thrown 2
Running test_collate.py
..
----------------------------------------------------------------------
Ran 2 tests in 1.030s

OK
Running test_empty_files_decorator.py

    Warning printed out correctly
.
    Warning printed out correctly
.
----------------------------------------------------------------------
Ran 2 tests in 0.140s

OK
Running test_transform_with_no_re_matches.py
    Ruffus Version =  2.8.4

    Warning printed out correctly
.    In Task 'test::test_transform_with_no_re_matches.task_2':
        No jobs were run because no file names matched.
        Please make sure that the regular expression is correctly specified. 

    Warning printed out correctly
.
----------------------------------------------------------------------
Ran 2 tests in 0.768s

OK
    In Task 'test_transform_with_no_re_matches.task_2':
        No jobs were run because no file names matched.
        Please make sure that the regular expression is correctly specified. 
Running test_transform_inputs.py
..
----------------------------------------------------------------------
Ran 2 tests in 1.834s

OK
Running test_files_decorator.py
..
----------------------------------------------------------------------
Ran 2 tests in 1.632s

OK
Running test_verbosity.py
./<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py:648: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb1a3ac50>
  def apply_func_to_sequence(seq, func, tuple_of_conforming_types=(path_str_type,), tuple_of_sequences_types=(list, tuple, set)):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py:648: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb1a3b1f0>
  def apply_func_to_sequence(seq, func, tuple_of_conforming_types=(path_str_type,), tuple_of_sequences_types=(list, tuple, set)):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
..../<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py:403: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb1a3b1f0>
  *(list(reversed(res["subdir"][0:(n_levels - 1)]))+[basename]))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py:403: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb1a3ac50>
  *(list(reversed(res["subdir"][0:(n_levels - 1)]))+[basename]))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py:403: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb1040d60>
  *(list(reversed(res["subdir"][0:(n_levels - 1)]))+[basename]))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py:403: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb1041120>
  *(list(reversed(res["subdir"][0:(n_levels - 1)]))+[basename]))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py:403: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb1041300>
  *(list(reversed(res["subdir"][0:(n_levels - 1)]))+[basename]))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py:403: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb1040e50>
  *(list(reversed(res["subdir"][0:(n_levels - 1)]))+[basename]))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py:403: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb1041210>
  *(list(reversed(res["subdir"][0:(n_levels - 1)]))+[basename]))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py:403: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb10415d0>
  *(list(reversed(res["subdir"][0:(n_levels - 1)]))+[basename]))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
.
----------------------------------------------------------------------
Ran 6 tests in 0.035s

OK
Running test_transform_add_inputs.py
	Ruffus Version =  2.8.4
..
----------------------------------------------------------------------
Ran 2 tests in 1.819s

OK
Running test_split_regex_and_collate.py
/usr/lib/python3.13/socket.py:237: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb5a27e20>
  def __enter__(self):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
	Split into 5 files each
	Sequences aligned
	%Identity calculated
	Results recombined
/usr/lib/python3.13/shutil.py:714: ResourceWarning: unclosed database in <sqlite3.Connection object at 0xffffb5a27e20>
  def rmtree(path, ignore_errors=False, onerror=None, *, onexc=None, dir_fd=None):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
.	Split into 5 files each
	Sequences aligned
	%Identity calculated
	Results recombined
.
----------------------------------------------------------------------
Ran 2 tests in 1.577s

OK
Running test_tutorial7.py
.
----------------------------------------------------------------------
Ran 1 test in 1.000s

OK
     hooray
     hooray again
     whoppee again
Running test_ruffus_utility.py
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_ruffus_utility.py:511: SyntaxWarning: invalid escape sequence '\.'
  regex_str = "([a-z]+)\.([a-z]+)\.([a-z]+)\.([a-z]+)"
...F..............
======================================================================
FAIL: test_compile_regex (test_ruffus_utility.Test_compile_regex.test_compile_regex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py", line 1355, in compile_regex
    matching_regex = re.compile(regex.args[0])
  File "/usr/lib/python3.13/re/__init__.py", line 289, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python3.13/re/__init__.py", line 350, in _compile
    p = _compiler.compile(pattern, flags)
  File "/usr/lib/python3.13/re/_compiler.py", line 743, in compile
    p = _parser.parse(p, flags)
  File "/usr/lib/python3.13/re/_parser.py", line 985, in parse
    raise source.error("unbalanced parenthesis")
re.PatternError: unbalanced parenthesis at position 2

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_ruffus_utility.py", line 277, in test_compile_regex
    compile_regex("Dummy Task", regex(".*)"), Exception, "test1")
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/ruffus_utility.py", line 1358, in compile_regex
    raise error_object(enclosing_task, ("{descriptor_string}: "
    ...<6 lines>...
                       )
Exception: ('Dummy Task', "test1: regular expression regex('.*)') is malformed\n[re.PatternError: (unbalanced parenthesis at position 2)]")

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test/test_ruffus_utility.py", line 279, in test_compile_regex
    self.assertTrue(e.args == ('Dummy Task', "test1: regular expression regex('.*)') is malformed\n[sre_constants.error: (unbalanced parenthesis at position 2)]") or
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                    e.args == ('Dummy Task', "test1: regular expression regex('.*)') is malformed\n[sre_constants.error: (unbalanced parenthesis)]") or
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                    e.args == ('Dummy Task', "test1: regular expression regex('.*)') is malformed\n[re.error: (unbalanced parenthesis at position 2)]"))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: False is not true

----------------------------------------------------------------------
Ran 18 tests in 0.006s

FAILED (failures=1)
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: set -e; \
		    cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build/ruffus/test ; \
		    if [ "3" = 2 ] ; then \
		        if [ -e /<<PKGBUILDDIR>>/ruffus/test/Makefile ] ; then ln -s /<<PKGBUILDDIR>>/ruffus/test/Makefile ; else \
		            echo "Expected file /<<PKGBUILDDIR>>/ruffus/test/Makefile not found" ; \
		            echo "Use `find /<<PKGBUILDDIR>> -name Makefile | grep test` instead" ; \
		            ln -s `find /<<PKGBUILDDIR>> -name Makefile | grep test | head -n1` ; \
		        fi ; \
		        cp -a run_all_unit_tests.cmd /tmp/run_all_unit_tests.cmd ; \
		    else \
			sed "s/^python3/python3.13/" run_all_unit_tests3.cmd > /tmp/run_all_unit_tests.cmd ; \
		    fi ;\
                            PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ruffus/build HOME=`mktemp -d` bash /tmp/run_all_unit_tests.cmd
I: pybuild base:311: set -e; \
		    cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test ; \
		    if [ "3" = 2 ] ; then \
		        if [ -e /<<PKGBUILDDIR>>/ruffus/test/Makefile ] ; then ln -s /<<PKGBUILDDIR>>/ruffus/test/Makefile ; else \
		            echo "Expected file /<<PKGBUILDDIR>>/ruffus/test/Makefile not found" ; \
		            echo "Use `find /<<PKGBUILDDIR>> -name Makefile | grep test` instead" ; \
		            ln -s `find /<<PKGBUILDDIR>> -name Makefile | grep test | head -n1` ; \
		        fi ; \
		        cp -a run_all_unit_tests.cmd /tmp/run_all_unit_tests.cmd ; \
		    else \
			sed "s/^python3/python3.12/" run_all_unit_tests3.cmd > /tmp/run_all_unit_tests.cmd ; \
		    fi ;\
                            PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build HOME=`mktemp -d` bash /tmp/run_all_unit_tests.cmd
Running test_file_name_parameters.py
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_file_name_parameters.py:800: SyntaxWarning: invalid escape sequence '\w'
  task.formatter("/(?P<name>\w+).test$"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_file_name_parameters.py:1592: SyntaxWarning: invalid escape sequence '\w'
  task.formatter("(?:.+/)?(?P<ID>\w+)\.(.+)"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_file_name_parameters.py:1594: SyntaxWarning: invalid escape sequence '\w'
  task.formatter("(?:.+/)?(?P<ID>\w+)\.(test2)"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_file_name_parameters.py:1633: SyntaxWarning: invalid escape sequence '\w'
  paths = self.do_task_product([tempdir + "/a.test1", tempdir + "/b.test1"],                          task.formatter("(?:.+/)?(?P<ID>\w+)\.(.+)"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_file_name_parameters.py:1635: SyntaxWarning: invalid escape sequence '\w'
  "/e.ignore"], task.formatter("(?:.+/)?(?P<ID>\w+)\.(test2)"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_file_name_parameters.py:1652: SyntaxWarning: invalid escape sequence '\w'
  paths = self.do_task_product([tempdir + "/a.test1", tempdir + "/b.test1"],                          task.formatter("(?:.+/)?(?P<ID>\w+)\.(.+)"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_file_name_parameters.py:1654: SyntaxWarning: invalid escape sequence '\w'
  "/e.ignore"], task.formatter("(?:.+/)?(?P<ID>\w+)\.(test2)"),
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/ruffus_utility.py:502: SyntaxWarning: invalid escape sequence '\d'
  """
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/cmdline.py:668: SyntaxWarning: invalid escape sequence '\d'
  """
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/proxy_logger.py:26: SyntaxWarning: invalid escape sequence '\ '
  """
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/proxy_logger.py:323: SyntaxWarning: invalid escape sequence '\ '
  """
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/combinatorics.py:26: SyntaxWarning: invalid escape sequence '\.'
  """
........................
----------------------------------------------------------------------
Ran 24 tests in 2.221s

OK
Running test_with_logger.py
..
----------------------------------------------------------------------
Ran 2 tests in 2.686s

OK
Running script test_with_logger.py
..
----------------------------------------------------------------------
Ran 2 tests in 2.569s

OK
Ignoring test_proxy_logger.py
Running test_exceptions.py
    Parallel task A: 
    Parallel task B: 
   INFO -     Raising exception
    Parallel task C: 
    Parallel task E: 
    Parallel task D: 
    Parallel task F: 
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO - 
    
    
    
Original exceptions:

    Exception #1
      'builtins.Exception(new)' raised in ...
       Task = def test_exceptions.parallel_task(...):
       Job  = [A -> 1]
    
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/task.py", line 712, in run_pooled_job_without_exceptions
        return_value = job_wrapper(params, user_defined_work_func,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/task.py", line 523, in job_wrapper_generic
        return user_defined_work_func(*params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_exceptions.py", line 60, in parallel_task
        raise Exception("new")
    Exception: new
    
    
    Exception #2
      'builtins.Exception(new)' raised in ...
       Task = def test_exceptions.parallel_task(...):
       Job  = [B -> 3]
    
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/task.py", line 712, in run_pooled_job_without_exceptions
        return_value = job_wrapper(params, user_defined_work_func,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/task.py", line 523, in job_wrapper_generic
        return user_defined_work_func(*params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_exceptions.py", line 60, in parallel_task
        raise Exception("new")
    Exception: new
    
    
    Exception #3
      'builtins.Exception(new)' raised in ...
       Task = def test_exceptions.parallel_task(...):
       Job  = [E -> 4]
    
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/task.py", line 712, in run_pooled_job_without_exceptions
        return_value = job_wrapper(params, user_defined_work_func,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/task.py", line 523, in job_wrapper_generic
        return user_defined_work_func(*params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_exceptions.py", line 60, in parallel_task
        raise Exception("new")
    Exception: new
    
    
    Exception #4
      'builtins.Exception(new)' raised in ...
       Task = def test_exceptions.parallel_task(...):
       Job  = [D -> 4]
    
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/task.py", line 712, in run_pooled_job_without_exceptions
        return_value = job_wrapper(params, user_defined_work_func,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/task.py", line 523, in job_wrapper_generic
        return user_defined_work_func(*params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_exceptions.py", line 60, in parallel_task
        raise Exception("new")
    Exception: new
    
    
    Exception #5
      'builtins.Exception(new)' raised in ...
       Task = def test_exceptions.parallel_task(...):
       Job  = [C -> 3]
    
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/task.py", line 712, in run_pooled_job_without_exceptions
        return_value = job_wrapper(params, user_defined_work_func,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/task.py", line 523, in job_wrapper_generic
        return user_defined_work_func(*params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_exceptions.py", line 60, in parallel_task
        raise Exception("new")
    Exception: new
    
    
    Exception #6
      'builtins.Exception(new)' raised in ...
       Task = def test_exceptions.parallel_task(...):
       Job  = [F -> 4]
    
    Traceback (most recent call last):
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/task.py", line 712, in run_pooled_job_without_exceptions
        return_value = job_wrapper(params, user_defined_work_func,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/task.py", line 523, in job_wrapper_generic
        return user_defined_work_func(*params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_exceptions.py", line 60, in parallel_task
        raise Exception("new")
    Exception: new
    
    
.    Parallel task A: 
    Parallel task C: 
    Parallel task B: 
    Parallel task D: 
    Parallel task E: 
    Parallel task F: 
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
.    Parallel task B: 
    Parallel task C: 
    Parallel task A: 
   INFO -     Raising exception
   INFO -     Raising exception
    Parallel task F: 
    Parallel task E: 
   INFO -     Raising exception
    Parallel task D: 
   INFO -     Raising exception
   INFO -     Raising exception
   INFO -     Raising exception
.
----------------------------------------------------------------------
Ran 3 tests in 1.273s

OK
Running test_task_file_dependencies.py
.
----------------------------------------------------------------------
Ran 1 test in 0.029s

OK
Running test_task_misc.py
.
----------------------------------------------------------------------
Ran 1 test in 0.001s

OK
Running test_inputs_with_multiple_args_raising_exception.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.000s

OK
	Expected exception thrown 2
	Expected exception thrown 2
Running test_collate.py
..
----------------------------------------------------------------------
Ran 2 tests in 1.025s

OK
Running test_empty_files_decorator.py

    Warning printed out correctly
.
    Warning printed out correctly
.
----------------------------------------------------------------------
Ran 2 tests in 0.131s

OK
Running test_transform_with_no_re_matches.py
    Ruffus Version =  2.8.4

    Warning printed out correctly
.    In Task 'test::test_transform_with_no_re_matches.task_2':
        No jobs were run because no file names matched.
        Please make sure that the regular expression is correctly specified. 

    Warning printed out correctly
.
----------------------------------------------------------------------
Ran 2 tests in 0.774s

OK
    In Task 'test_transform_with_no_re_matches.task_2':
        No jobs were run because no file names matched.
        Please make sure that the regular expression is correctly specified. 
Running test_transform_inputs.py
..
----------------------------------------------------------------------
Ran 2 tests in 1.747s

OK
Running test_files_decorator.py
..
----------------------------------------------------------------------
Ran 2 tests in 1.620s

OK
Running test_verbosity.py
......
----------------------------------------------------------------------
Ran 6 tests in 0.041s

OK
Running test_transform_add_inputs.py
	Ruffus Version =  2.8.4
..
----------------------------------------------------------------------
Ran 2 tests in 1.826s

OK
Running test_split_regex_and_collate.py
	Split into 5 files each
	Sequences aligned
	%Identity calculated
	Results recombined
.	Split into 5 files each
	Sequences aligned
	%Identity calculated
	Results recombined
.
----------------------------------------------------------------------
Ran 2 tests in 1.616s

OK
Running test_tutorial7.py
.
----------------------------------------------------------------------
Ran 1 test in 1.013s

OK
     hooray
     hooray again
     whoppee again
Running test_ruffus_utility.py
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_ruffus_utility.py:511: SyntaxWarning: invalid escape sequence '\.'
  regex_str = "([a-z]+)\.([a-z]+)\.([a-z]+)\.([a-z]+)"
..................
----------------------------------------------------------------------
Ran 18 tests in 0.003s

OK
Running test_filesre_combine.py
.
----------------------------------------------------------------------
Ran 1 test in 0.489s

OK
Running test_filesre_split_and_combine.py
    Split into 50 files
    Sequences aligned
    %Identity calculated
    Results recombined
.
----------------------------------------------------------------------
Ran 1 test in 1.455s

OK
Running test_branching_dependencies.py


     Run pipeline normally...
     OK


     Touch task2 only:
       First delete b.1 for task2...
       Then run with touch_file_only...
     Touching has made task2 up to date...

     Then run normally again...
.

     Run pipeline normally...
     OK


     Touch task2 only:
       First delete b.1 for task2...
       Then run with touch_file_only...
     Touching has made task2 up to date...

     Then run normally again...
.
----------------------------------------------------------------------
Ran 2 tests in 4.965s

OK
Running test_split_and_combine.py
    Split into 10 files
    Sequences aligned
    %Identity calculated
    Results recombined
.    Split into 10 files
    Sequences aligned
    %Identity calculated
    Results recombined
.
----------------------------------------------------------------------
Ran 2 tests in 1.720s

OK
Running test_runtime_data.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.890s

OK
Running test_pausing.py
..
----------------------------------------------------------------------
Ran 2 tests in 2.418s

OK
Running test_active_if.py
....
----------------------------------------------------------------------
Ran 4 tests in 3.313s

OK
Running test_softlink_uptodate.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.704s

OK
Running test_newstyle_proxy.py
    Run start_task only
    Run final_task: linked_file_name_task should run as well
    Run final_task again: All jobs should be up to date
.
----------------------------------------------------------------------
Ran 1 test in 0.560s

OK
Running test_job_history_with_exceptions.py
...
..
..
----------------------------------------------------------------------
Ran 5 tests in 8.826s

OK
Running test_mkdir.py
.    Loose cannon!
.    Loose cannon!
.
----------------------------------------------------------------------
Ran 3 tests in 2.101s

OK
Running test_posttask_merge.py
..
----------------------------------------------------------------------
Ran 2 tests in 3.070s

OK
Running test_cmdline.py
....
----------------------------------------------------------------------
Ran 4 tests in 0.002s

OK
Running test_graphviz.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.002s

OK
Running test_ruffus_utility_parse_task_arguments.py
.....
----------------------------------------------------------------------
Ran 5 tests in 0.001s

OK
Running test_split_subdivide_checkpointing.py
     1 Run pipeline normally...
     2 Check that running again does nothing. (All up to date).
     3 Running again with forced tasks to generate more files...
     4 Check that running again does nothing. (All up to date).
     5 Running again with forced tasks to generate even more files...
     6 Check that running again does nothing. (All up to date).
.     1 Run pipeline normally...
     2 Check that running again does nothing. (All up to date).
     3 Running again with forced tasks to generate more files...
     4 Check that running again does nothing. (All up to date).
     5 Running again with forced tasks to generate even more files...
     6 Check that running again does nothing. (All up to date).
.
----------------------------------------------------------------------
Ran 2 tests in 13.673s

OK
Running test_pipeline_printout_graph.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.413s

OK
     Run pipeline normally...
     Run pipeline normally...
Running test_follows_mkdir.py
..
----------------------------------------------------------------------
Ran 2 tests in 1.465s

OK
Running test_N_x_M_and_collate.py
.
OK
.
----------------------------------------------------------------------
Ran 2 tests in 1.913s

OK

OK
Running test_unicode_filenames.py
..
----------------------------------------------------------------------
Ran 2 tests in 1.563s

OK
Running test_subpipeline.py
.
----------------------------------------------------------------------
Ran 1 test in 2.298s

OK
Running test_regex_error_messages.py
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_regex_error_messages.py:302: SyntaxWarning: invalid escape sequence '\['
  'Missing files.*\[{tempdir}a_name.tmp1, {tempdir}a_name.tmp2'.format(tempdir=tempdir), s.getvalue(), re.DOTALL))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_regex_error_messages.py:344: SyntaxWarning: invalid escape sequence '\['
  'Missing files.*\[{tempdir}a_name.tmp1, {tempdir}a_name.tmp2'.format(tempdir=tempdir), s.getvalue(), re.DOTALL))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_regex_error_messages.py:362: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*invalid group reference",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_regex_error_messages.py:367: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*invalid group reference",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_regex_error_messages.py:401: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*unknown group name",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_regex_error_messages.py:406: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*unknown group name",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_regex_error_messages.py:418: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*unknown group name",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_regex_error_messages.py:423: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*unknown group name",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_regex_error_messages.py:436: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*invalid group reference",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_regex_error_messages.py:441: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*invalid group reference",
............
----------------------------------------------------------------------
Ran 12 tests in 2.985s

OK
Running test_newstyle_regex_error_messages.py
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_regex_error_messages.py:310: SyntaxWarning: invalid escape sequence '\['
  'Missing files.*\[{tempdir}/a_name.tmp1, {tempdir}/a_name.tmp2'.format(tempdir=tempdir), s.getvalue(), re.DOTALL))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_regex_error_messages.py:352: SyntaxWarning: invalid escape sequence '\['
  'Missing files.*\[{tempdir}/a_name.tmp1, {tempdir}/a_name.tmp2'.format(tempdir=tempdir), s.getvalue(), re.DOTALL))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_regex_error_messages.py:370: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*invalid group reference",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_regex_error_messages.py:375: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*invalid group reference",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_regex_error_messages.py:409: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*unknown group name",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_regex_error_messages.py:414: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*unknown group name",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_regex_error_messages.py:426: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*unknown group name",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_regex_error_messages.py:431: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*unknown group name",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_regex_error_messages.py:444: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*invalid group reference",
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_regex_error_messages.py:449: SyntaxWarning: invalid escape sequence '\('
  "File '.*?' does not match regex\('.*?'\) and pattern '.*?':\n.*invalid group reference",
............
----------------------------------------------------------------------
Ran 12 tests in 3.000s

OK
Running test_combinatorics.py
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:388: SyntaxWarning: invalid escape sequence '\['
  '\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:391: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.e_name.h_name.tmp2\]'.format(tempdir=tempdir), s.getvalue(), re.DOTALL))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:463: SyntaxWarning: invalid escape sequence '\['
  '\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:465: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.b_name.tmp2\]'.format(tempdir=tempdir), s.getvalue(), re.DOTALL))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:489: SyntaxWarning: invalid escape sequence '\['
  '\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:492: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.b_name.c_name.tmp2\]'.format(tempdir=tempdir), s.getvalue()))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:516: SyntaxWarning: invalid escape sequence '\['
  self.assertTrue(re.search('\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:518: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.b_name.tmp2\]'.format(tempdir=tempdir), s.getvalue()))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:541: SyntaxWarning: invalid escape sequence '\['
  self.assertTrue(re.search('\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:544: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.b_name.c_name.tmp2\]'.format(tempdir=tempdir), s.getvalue()))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:568: SyntaxWarning: invalid escape sequence '\['
  self.assertTrue(re.search('\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:570: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.b_name.tmp2\]'.format(tempdir=tempdir), s.getvalue()))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:593: SyntaxWarning: invalid escape sequence '\['
  self.assertTrue(re.search('\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_combinatorics.py:596: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.b_name.c_name.tmp2\]'.format(tempdir=tempdir), s.getvalue()))
.................
----------------------------------------------------------------------
Ran 17 tests in 7.534s

OK
Running test_newstyle_combinatorics.py
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:400: SyntaxWarning: invalid escape sequence '\['
  '\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:403: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.e_name.h_name.tmp2\]'.format(tempdir=tempdir), s.getvalue(), re.DOTALL))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:474: SyntaxWarning: invalid escape sequence '\['
  '\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:476: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.b_name.tmp2\]'.format(tempdir=tempdir), s.getvalue(), re.DOTALL))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:500: SyntaxWarning: invalid escape sequence '\['
  '\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:503: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.b_name.c_name.tmp2\]'.format(tempdir=tempdir), s.getvalue()))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:527: SyntaxWarning: invalid escape sequence '\['
  self.assertTrue(re.search('\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:529: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.b_name.tmp2\]'.format(tempdir=tempdir), s.getvalue()))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:552: SyntaxWarning: invalid escape sequence '\['
  self.assertTrue(re.search('\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:555: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.b_name.c_name.tmp2\]'.format(tempdir=tempdir), s.getvalue()))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:579: SyntaxWarning: invalid escape sequence '\['
  self.assertTrue(re.search('\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:581: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.b_name.tmp2\]'.format(tempdir=tempdir), s.getvalue()))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:604: SyntaxWarning: invalid escape sequence '\['
  self.assertTrue(re.search('\[.*{tempdir}/a_name.tmp1, '
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruffus/build/ruffus/test/test_newstyle_combinatorics.py:607: SyntaxWarning: invalid escape sequence '\]'
  '.*{tempdir}/a_name.b_name.c_name.tmp2\]'.format(tempdir=tempdir), s.getvalue()))
.................
----------------------------------------------------------------------
Ran 17 tests in 7.301s

OK
Running test_job_completion_checksums.py
..................
----------------------------------------------------------------------
Ran 18 tests in 6.003s

OK
Running test_transform_formatter.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.279s

OK
DONE!!!
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" --test --system=custom "--test-args=set -e; \\\
		    cd {build_dir}/ruffus/test ; \\\
		    if [ \"{version.major}\" = 2 ] ; then \\\
		        if [ -e /<<PKGBUILDDIR>>/ruffus/test/Makefile ] ; then ln -s /<<PKGBUILDDIR>>/ruffus/test/Makefile ; else \\\
		            echo \"Expected file /<<PKGBUILDDIR>>/ruffus/test/Makefile not found\" ; \\\
		            echo \"Use \`find /<<PKGBUILDDIR>> -name Makefile | grep test\` instead\" ; \\\
		            ln -s \`find /<<PKGBUILDDIR>> -name Makefile | grep test | head -n1\` ; \\\
		        fi ; \\\
		        cp -a run_all_unit_tests.cmd /tmp/run_all_unit_tests.cmd ; \\\
		    else \\\
			sed \"s/^python3/python{version}/\" run_all_unit_tests3.cmd > /tmp/run_all_unit_tests.cmd ; \\\
		    fi ;\\\
                            PYTHONPATH={build_dir} HOME=\`mktemp -d\` bash /tmp/run_all_unit_tests.cmd" returned exit code 13
make[1]: *** [debian/rules:25: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T07:38:17Z

If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/788696/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano



More information about the Debian-med-packaging mailing list