Open penguinpee opened 1 year ago
After disabling maxfail=1
in pytest.ini
it turned out more tests are failing:
=========================================================================================================================== short test summary info ============================================================================================================================
FAILED docs/examples/2014paper.rst::2014paper.rst
FAILED docs/examples/emergence.rst::emergence.rst
FAILED docs/examples/index.rst::index.rst
FAILED docs/examples/magic_cut.rst::magic_cut.rst
FAILED docs/examples/xor.rst::xor.rst
FAILED test/test_actual.py::test_true_events - ValueError: Unable to configure handler 'queue'
FAILED test/test_actual.py::test_extrinsic_events - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_sia_cache_key_includes_config_dependencies - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_sia_single_micro_node_selfloops_have_phi - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_find_sia_parallel_standard_example - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_find_sia_parallel_noised_example - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_find_sia_parallel_micro - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_complexes_standard - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_all_complexes_standard - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_all_complexes_parallelization - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_sia_complete_graph_standard_example - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_sia_complete_graph_s_noised - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_sia_big_network_0_thru_3 - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_sia_macro - ValueError: Unable to configure handler 'queue'
FAILED test/test_big_phi.py::test_system_cut_styles - ValueError: Unable to configure handler 'queue'
FAILED test/test_ces.py::test_ces_distance_switches_to_small_phi_difference - ValueError: Unable to configure handler 'queue'
FAILED test/test_ces.py::test_parallel_and_sequential_ces_are_equal - ValueError: Unable to configure handler 'queue'
FAILED test/test_ces.py::test_ces_concepts_share_the_same_subsystem[True] - ValueError: Unable to configure handler 'queue'
FAILED test/test_concept_style_cuts.py::test_sia_concept_style - ValueError: Unable to configure handler 'queue'
FAILED test/test_concept_style_cuts.py::test_unpickle - ValueError: Unable to configure handler 'queue'
FAILED test/test_concept_style_cuts.py::test_concept_style_phi - ValueError: Unable to configure handler 'queue'
FAILED test/test_json.py::test_json_deserialization - ValueError: Unable to configure handler 'queue'
FAILED test/test_json.py::test_deserialization_memoizes_duplicate_objects - ValueError: Unable to configure handler 'queue'
FAILED test/test_macro_blackbox.py::test_degenerate - ValueError: Unable to configure handler 'queue'
FAILED test/test_parallel.py::test_map_square - ValueError: Unable to configure handler 'queue'
FAILED test/test_parallel.py::test_parallel_exception_handling - AssertionError: Regex pattern did not match.
FAILED test/test_parallel.py::test_config_persists_through_paralellization - ValueError: Unable to configure handler 'queue'
FAILED test/test_subsystem_expand.py::test_expand_cause_repertoire - ValueError: Unable to configure handler 'queue'
FAILED test/test_subsystem_expand.py::test_expand_effect_repertoire - ValueError: Unable to configure handler 'queue'
===================================================================================================== 34 failed, 520 passed, 21 skipped, 3 xfailed, 439 warnings in 26.23s =====================================================================================================
It looks like all of the failures are related to logging handler configuration. This change may be relevant:
See also: https://docs.python.org/3.12/library/logging.config.html#configuring-queuehandler-and-queuelistener
Python 3.12 has landed in Fedora. Rebuilding pyphi with Python 3.12 results in the following test failure: