Support for Python 3.10 #42

Open
opened 2022-07-16 23:56:37 -04:00 by daktak · 0 comments
(.venv) user@host /pub/git/matrix-puppeteer-line $ python -m matrix_puppeteer_line -g
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/pub/git/matrix-puppeteer-line/matrix_puppeteer_line/__main__.py", line 17, in <module>
    from mautrix.bridge.state_store.asyncpg import PgBridgeStateStore
  File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/mautrix/bridge/state_store/asyncpg.py", line 9, in <module>
    from mautrix.appservice.state_store.asyncpg import PgASStateStore
  File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/mautrix/appservice/state_store/asyncpg.py", line 6, in <module>
    from mautrix.client.state_store.asyncpg import PgStateStore as PgClientStateStore
  File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/mautrix/client/state_store/asyncpg/__init__.py", line 1, in <module>
    from .store import PgStateStore
  File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/mautrix/client/state_store/asyncpg/store.py", line 10, in <module>
    from mautrix.util.async_db import Database
  File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/mautrix/util/async_db/__init__.py", line 1, in <module>
    from .database import Database
  File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/mautrix/util/async_db/database.py", line 11, in <module>
    import asyncpg
  File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/asyncpg/__init__.py", line 8, in <module>
    from .connection import connect, Connection  # NOQA
  File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/asyncpg/connection.py", line 19, in <module>
    from . import connect_utils
  File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/asyncpg/connect_utils.py", line 28, in <module>
    from . import protocol
  File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/asyncpg/protocol/__init__.py", line 9, in <module>
    from .protocol import Protocol, Record, NO_TIMEOUT, BUILTIN_TYPE_NAME_MAP
ImportError: /pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/asyncpg/protocol/protocol.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyGen_Send
``` (.venv) user@host /pub/git/matrix-puppeteer-line $ python -m matrix_puppeteer_line -g Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/pub/git/matrix-puppeteer-line/matrix_puppeteer_line/__main__.py", line 17, in <module> from mautrix.bridge.state_store.asyncpg import PgBridgeStateStore File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/mautrix/bridge/state_store/asyncpg.py", line 9, in <module> from mautrix.appservice.state_store.asyncpg import PgASStateStore File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/mautrix/appservice/state_store/asyncpg.py", line 6, in <module> from mautrix.client.state_store.asyncpg import PgStateStore as PgClientStateStore File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/mautrix/client/state_store/asyncpg/__init__.py", line 1, in <module> from .store import PgStateStore File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/mautrix/client/state_store/asyncpg/store.py", line 10, in <module> from mautrix.util.async_db import Database File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/mautrix/util/async_db/__init__.py", line 1, in <module> from .database import Database File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/mautrix/util/async_db/database.py", line 11, in <module> import asyncpg File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/asyncpg/__init__.py", line 8, in <module> from .connection import connect, Connection # NOQA File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/asyncpg/connection.py", line 19, in <module> from . import connect_utils File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/asyncpg/connect_utils.py", line 28, in <module> from . import protocol File "/pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/asyncpg/protocol/__init__.py", line 9, in <module> from .protocol import Protocol, Record, NO_TIMEOUT, BUILTIN_TYPE_NAME_MAP ImportError: /pub/git/matrix-puppeteer-line/.venv/lib/python3.10/site-packages/asyncpg/protocol/protocol.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyGen_Send ```
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fair/matrix-puppeteer-line#42
No description provided.