Open
Description
Python 3.12 has landed in Fedora. Rebuilding pyphi with Python 3.12 results in the following test failure:
=================================== FAILURES ===================================
___________________________ [doctest] 2014paper.rst ____________________________
549
550 Figure 12
551 ~~~~~~~~~
552
553 **Assessing the integrated conceptual information Φ of a constellation C.**
554
555 To calculate :math:`\Phi^{\textrm{MIP}}` for a candidate set, we use the
556 function |compute.sia()|:
557
558 >>> sia = pyphi.compute.sia(subsystem)
UNEXPECTED EXCEPTION: ValueError("Unable to configure handler 'queue'")
Traceback (most recent call last):
File "/usr/lib64/python3.12/doctest.py", line 1357, in __run
exec(compile(example.source, filename, "single",
File "<doctest 2014paper.rst[78]>", line 1, in <module>
File "/builddir/build/BUILD/pyphi-1.2.1/pyphi/compute/subsystem.py", line 323, in sia
return _sia(_sia_cache_key(subsystem), subsystem)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/pyphi-1.2.1/pyphi/memory.py", line 35, in wrapper
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/pyphi-1.2.1/pyphi/utils.py", line 213, in time_annotated
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/pyphi-1.2.1/pyphi/compute/subsystem.py", line 262, in _sia
unpartitioned_ces = _ces(subsystem)
^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/pyphi-1.2.1/pyphi/compute/subsystem.py", line 208, in _ces
return ces(subsystem, parallel=config.PARALLEL_CUT_EVALUATION)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/pyphi-1.2.1/pyphi/utils.py", line 213, in time_annotated
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/pyphi-1.2.1/pyphi/compute/subsystem.py", line 96, in ces
return CauseEffectStructure(engine.run(parallel or
^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/pyphi-1.2.1/pyphi/compute/parallel.py", line 331, in run
return self.run_parallel()
^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/pyphi-1.2.1/pyphi/compute/parallel.py", line 266, in run_parallel
r.reraise()
File "/builddir/build/BUILD/pyphi-1.2.1/pyphi/compute/parallel.py", line 64, in reraise
raise self.exception.with_traceback(self.tb.as_traceback())
File "/builddir/build/BUILD/pyphi-1.2.1/pyphi/compute/parallel.py", line 174, in worker
configure_worker_logging(log_queue)
^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/pyphi-1.2.1/pyphi/compute/parallel.py", line 361, in configure_worker_logging
logging.config.dictConfig(
^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/logging/config.py", line 912, in dictConfig
dictConfigClass(config).configure()
^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/logging/config.py", line 588, in configure
raise ValueError('Unable to configure handler '
^^^^^^^^^^^^^^^^^
ValueError: Unable to configure handler 'queue'
/builddir/build/BUILD/pyphi-1.2.1/docs/examples/2014paper.rst:558: UnexpectedException
Metadata
Metadata
Assignees
Labels
No labels