barneygale / quarry

Python library that implements the Minecraft network protocol and data types
Other
532 stars 74 forks source link

Python 3.10 Bug #124

Closed Ow1e closed 2 years ago

Ow1e commented 3 years ago

Running Example Downtime Server on Python 3.10 (Darwin)


  File "/Users/owie/Desktop/Tazr/server.py", line 2, in <module>
    from quarry.net.server import ServerFactory, ServerProtocol
  File "/Users/owie/Desktop/Tazr/venv/lib/python3.10/site-packages/quarry/net/server.py", line 5, in <module>
    from quarry.net.protocol import Factory, Protocol, ProtocolError, \
  File "/Users/owie/Desktop/Tazr/venv/lib/python3.10/site-packages/quarry/net/protocol.py", line 5, in <module>
    from quarry.types.buffer import BufferUnderrun, buff_types
  File "/Users/owie/Desktop/Tazr/venv/lib/python3.10/site-packages/quarry/types/buffer/__init__.py", line 6, in <module>
    from quarry.types.buffer.v1_9 import Buffer1_9
  File "/Users/owie/Desktop/Tazr/venv/lib/python3.10/site-packages/quarry/types/buffer/v1_9.py", line 2, in <module>
    from quarry.types.chunk import PackedArray, BlockArray
  File "/Users/owie/Desktop/Tazr/venv/lib/python3.10/site-packages/quarry/types/chunk.py", line 1, in <module>
    from collections import Sequence, MutableSequence
ImportError: cannot import name 'Sequence' from 'collections' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)```
dries007 commented 2 years ago

Will be fixed on 1.9