Open penguinpee opened 5 months ago
Hi @penguinpee,
thank you for the report!
Python 3.13 builds are not yet included in Pyunicorn's CI. Will definitely look into this in the future. Currently, Python 3.8/3.9/3.10/3.11/3.12 are actively maintained.
If you need to run Python 3.13 and can find a fix, feel free to send a PR! :)
Cheers, f
Thanks. One could argue that Python 3.13 is more actively maintained than the current stable releases as it is prepared for release in three month time. It will be the version Fedora 41 ships with, also planned for October.
Sure! Establishing Python 3.13 support is definitely on the TODO.
Edit: What I meant to say was that currently Pyunicorn is actively maintained to run on Python 3.8/3.9/3.10/3.11/3.12. As we have not been able to establish Python 3.13 support yet, please resort to previous versions if possible.
Building pyunicorn (from master) with Python 3.13 (3.13.0b2) and igraph 0.11.5 the igraph tests fail.
Example of failing igraph test
```python __________________________ test_number_internal_links __________________________ [gw7] linux -- Python 3.13.0 /usr/bin/python3 def test_number_internal_links(): net = InteractingNetworks.SmallTestNetwork() > res = net.number_internal_links([0, 3, 5]) tests/test_core/test_interacting_networks.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib64/python3.13/site-packages/pyunicorn/core/interacting_networks.py:655: in number_internal_links n_links = self.internal_adjacency(node_list).sum() ../BUILDROOT/usr/lib64/python3.13/site-packages/pyunicorn/core/interacting_networks.py:402: in internal_adjacency return np.array(subgraph.get_adjacency(type=2).data).astype(np.int8) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =List of all failed tests (all with SystemError):
With Python 3.12 those tests succeed.