wmayner / pyphi

A toolbox for integrated information theory.
https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1006343
Other
372 stars 97 forks source link

Update Tests for 4.0 #123

Closed ajbailey4 closed 2 weeks ago

ajbailey4 commented 1 month ago

Updates test suite for 4.0. After these changes, someone should be able to create a new environment, clone the project, install all dependencies (including all optional dependencies), and run pytest --slow --veryslow, and all 657 tests that are not skipped will pass.

Some tests are marked as outdated, and doctests are not run.

Some changes were also made to pyphi itself in order to pass tests that were failing:

New JSONs were also uploaded for test_iit4, test_relations, and test_big_phi.

Dependencies were also updated so that pytest-lazy-fixture is installed, and pytest and numpy do not use versions that are too new.

wmayner commented 2 weeks ago

Thanks @ajbailey4 !