pyiron / pylammpsmpi

Parallel Lammps Python interface - control a mpi4py parallel LAMMPS instance from a serial python process or a Jupyter notebook
https://pylammpsmpi.readthedocs.io
BSD 3-Clause "New" or "Revised" License
30 stars 4 forks source link

Try Python 3.10 #74

Closed jan-janssen closed 2 years ago

jan-janssen commented 3 years ago

At least LAMMPS is still missing for Python 3.10

jan-janssen commented 3 years ago

Lammps is waiting for https://github.com/conda-forge/quippy-feedstock/pull/9

jan-janssen commented 3 years ago

The corresponding pull request is merged - I just wait for the packages to become available on conda-forge

jan-janssen commented 3 years ago
======================================================================
18
ERROR: setUpClass (test_pylammpsmpi_cluster.TestLocalLammpsLibrary)
19
----------------------------------------------------------------------
20
Traceback (most recent call last):
21
  File "/home/runner/work/pylammpsmpi/pylammpsmpi/tests/test_pylammpsmpi_cluster.py", line 18, in setUpClass
22
    cls.lmp = LammpsLibrary(cores=2, mode='dask', client=client)
23
  File "/home/runner/work/pylammpsmpi/pylammpsmpi/pylammpsmpi/lammps_wrapper.py", line 40, in __init__
24
    fut = self.lmp.start_process()
25
  File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/distributed/actor.py", line 171, in func
26
    q = asyncio.Queue(loop=self._io_loop.asyncio_loop)
27
  File "/usr/share/miniconda/envs/test/lib/python3.10/asyncio/queues.py", line 33, in __init__
28
    super().__init__(loop=loop)
29
  File "/usr/share/miniconda/envs/test/lib/python3.10/asyncio/mixins.py", line 17, in __init__
30
    raise TypeError(
31
TypeError: As of 3.10, the *loop* parameter was removed from Queue() since it is no longer necessary
32

33
----------------------------------------------------------------------
34
Ran 6 tests in 1.109s
jan-janssen commented 3 years ago

It is an issue with the distributed package https://github.com/dask/distributed/issues/5350